Skip to content

Commit

Permalink
GH-39537: [Packaging][Python] Add a numpy<2 pin to the install requir…
Browse files Browse the repository at this point in the history
…ements for the 15.x release branch (#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: #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 raulcd committed Jan 10, 2024
1 parent aa52a1a commit f0dae89
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 f0dae89

Please sign in to comment.