Skip to content

Commit

Permalink
Merge pull request #150 from stephencrowell/dev/fix-numpy-pin
Browse files Browse the repository at this point in the history
Add numpy pin for python 3.12
  • Loading branch information
bjrichardwebster committed Jun 4, 2024
2 parents 103e734 + 5c240bb commit dc1d172
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
2 changes: 2 additions & 0 deletions docs/release_notes/pending_release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ Updates / New Features

Fixes
-----

* Added `numpy` pin `^1.26` for Python 3.12.
18 changes: 16 additions & 2 deletions poetry.lock

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

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ python = "^3.8"
# https://stackoverflow.com/questions/77431252/why-doesnt-poetry-select-the-good-version-of-my-dependency
numpy = [
{version = ">=1.22,<1.25", python = "~3.8"}, # CVE-2021-34141
{version = ">=1.22,^1.25", python = ">=3.9,<3.13" } # CVE-2021-34141
{version = ">=1.22,^1.25", python = ">=3.9,<3.12" }, # CVE-2021-34141
{version = "^1.26", python = ">=3.12,<3.13" } # py3.12 only supports >= 1.26
]
scikit-image = [
# Hinge because minimum support 0.20.0 for py3.11
Expand Down

0 comments on commit dc1d172

Please sign in to comment.