Skip to content

Commit

Permalink
Merge pull request #32745 from liferoad/numpy-2-fix
Browse files Browse the repository at this point in the history
Fixed the tox and pyproject settings for numpy 2
  • Loading branch information
liferoad authored Oct 11, 2024
2 parents 5f4342b + d629485 commit ae56318
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sdks/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ requires = [
# Avoid https://github.com/pypa/virtualenv/issues/2006
"distlib==0.3.7",
# Numpy headers
"numpy>=1.14.3,<1.27", # Update setup.py as well.
"numpy>=1.14.3,<2.2.0", # Update setup.py as well.
# having cython here will create wheels that are platform dependent.
"cython>=3.0,<4",
## deps for generating external transform wrappers:
Expand Down
1 change: 1 addition & 0 deletions sdks/python/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ commands =
[testenv:py{39,310}-pandas-{14,15,20}]
deps =
14: pandas>=1.4.3,<1.5.0
14: numpy>=1.14.3,<1.27.0
# Exclude 1.5.0 and 1.5.1 because of https://github.com/pandas-dev/pandas/issues/45725
15: pandas>=1.5.2,<1.6.0
20: pandas>=2.0.0,<2.1.0
Expand Down

0 comments on commit ae56318

Please sign in to comment.