Skip to content

Commit

Permalink
apacheGH-39537: [Packaging][Python] Add a numpy<2 pin to the install …
Browse files Browse the repository at this point in the history
…requirements for the 15.x release branch (apache#39538)

### Rationale for this change

PyArrow wheels for the 15.0.0 release will not be compatible with future numpy 2.0 packages, therefore it is recommended to add this upper pin now for _releases_. We will keep the more flexible pin on the development branch (by reverting this commit on main, but so it can be cherry-picked in the release branch)

* Closes: apache#39537

Authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
  • Loading branch information
jorisvandenbossche authored and zanmato1984 committed Feb 28, 2024
1 parent b531d44 commit 992e8f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ def has_ext_modules(foo):


install_requires = (
'numpy >= 1.16.6',
'numpy >= 1.16.6, <2',
)


Expand Down

0 comments on commit 992e8f9

Please sign in to comment.