Skip to content

Commit

Permalink
TST: revert numpy bump
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Mar 1, 2024
1 parent 4f9a1b5 commit 72cc18b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -29,10 +29,16 @@ jobs:
- '3.10'
- '3.11'
- '3.12'
with-viscm:
- true

include:
- os: ubuntu-20.04
python-version: '3.9'
deps: minimal
pip-args: --constraint requirements/min_constraints.txt
with-viscm: false

fail-fast: false

concurrency:
Expand All @@ -48,12 +54,16 @@ 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.with-viscm
run: python -m pip install "viscm>=0.10"

- 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: |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -34,7 +34,7 @@ requires-python = ">=3.9, <4"
dependencies = [
"colorspacious>=1.1.0",
"matplotlib>=3.5",
"numpy>=1.23.0",
"numpy>=1.19.5",
]

[project.urls]
Expand Down
1 change: 0 additions & 1 deletion requirements/dev.txt
Expand Up @@ -2,4 +2,3 @@ pyqt5>=5.12
pytest>=4.6.0
pytest-cov
pytest-mpl
viscm>=0.10
2 changes: 2 additions & 0 deletions requirements/min_constraints.txt
@@ -0,0 +1,2 @@
scipy<1.11
contourpy<1.2

0 comments on commit 72cc18b

Please sign in to comment.