Skip to content

MAINT Bump Numpy min version for the build #29362

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

jeremiedbb
Copy link
Member

Closes #29360

@jeremiedbb jeremiedbb added the Quick Review For PRs that are quick to review label Jun 28, 2024
Copy link

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 4c347a6. Link to the linter CI: here

@lesteve
Copy link
Member

lesteve commented Jun 28, 2024

Yeah, so that was supposed to be easy right 😅 ... this does not work currently because we are building against a numpy<2 version and we do pip install --check-build-dependencies where the build requirements in pyproject.toml wants numpy>=2. The error is:

ERROR: Some build dependencies for file:///home/vsts/work/1/s conflict with the backend dependencies: numpy==1.26.4 is incompatible with numpy>=2.0.0.

Oh well maybe a good reason to try to have another look at #28721 which would do version checks inside meson.build rather than relying on --check-build-dependencies ...

@jeremiedbb
Copy link
Member Author

jeremiedbb commented Jun 28, 2024

Maybe we just don't want to require building against numpy 2.

If one wants to build and run against system Numpy, why should we prevent that ?

EDIT: I'm moving this discussion back to the issue

@jeremiedbb
Copy link
Member Author

Closing in favor of #28721

@jeremiedbb jeremiedbb closed this Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Quick Review For PRs that are quick to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bumping to NumPy 2 in build requirements
2 participants