Skip to content

Commit

Permalink
Use different NumPy and SciPy version ranges depending on Python version
Browse files Browse the repository at this point in the history
This is in order to maintain support for Python 3.8 while still being able to
use more recent versions of the dependencies that incorporate Python 3.12
support.
  • Loading branch information
Tenzer authored and guilhermef committed Dec 5, 2023
1 parent cc4ff59 commit 6781fcf
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 3 deletions.
89 changes: 88 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,14 @@ pytest-tldr = "^0.2.5"
pytest-xdist = "^3.5.0"
yanc = "^0.3.3"
pyssim = "^0.7"
numpy = "^1.23.5"
scipy = "^1.9.3"
numpy = [
{version = "^1.23.5", python = "~3.8"},
{version = "^1.26.0", python = ">=3.9"}
]
scipy = [
{version = "^1.9.3", python = "~3.8"},
{version = "^1.11.2", python = ">=3.9"}
]


[build-system]
Expand Down

0 comments on commit 6781fcf

Please sign in to comment.