diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1d12237a..beb481fe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,6 +33,8 @@ jobs: - os: ubuntu-20.04 python-version: '3.9' deps: minimal + pip-args: --constraint requirements/min_constraints.txt + fail-fast: false concurrency: @@ -48,12 +50,13 @@ jobs: - run: | python -m pip install --upgrade pip - python -m pip install -r requirements/dev.txt + python -m pip install -r requirements/dev.txt ${{ matrix.pip-args }} - if: matrix.deps == 'minimal' run: | pipx run uv pip compile pyproject.toml --resolution=lowest-direct > mindeps.txt - python -m pip install --requirement mindeps.txt + python -m pip install --requirement mindeps.txt \ + --only-binary ':all:' ${{ matrix.pip-args }} - name: Build run: | diff --git a/pyproject.toml b/pyproject.toml index f4e4aa54..7d7c7688 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ requires-python = ">=3.9, <4" dependencies = [ "colorspacious>=1.1.0", "matplotlib>=3.5", - "numpy>=1.22.4", + "numpy>=1.19.5", ] [project.urls] diff --git a/requirements/min_constraints.txt b/requirements/min_constraints.txt new file mode 100644 index 00000000..9f9659ac --- /dev/null +++ b/requirements/min_constraints.txt @@ -0,0 +1 @@ +scipy<1.11