-
Notifications
You must be signed in to change notification settings - Fork 62
Relax numpy versions #2156
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
Relax numpy versions #2156
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi this looks useful to me so think it would be useful to have it somewhere shared, maybe could move it to the new build scripts repo? https://github.com/TomographicImaging/Build-scripts
casperdcl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just saw this; lgtm
- fix: test correct numpy version with `--extra-deps numpy=x.x` instead of `--numpy=x.x` (fixes #2156) - fix: collect distributions in one job for upload & reindex (fixes #1918) - optimise + share one build (per OS/Python version) across multiple numpy versions + per PR: min py/np version, ubuntu + `master`: min & max py/np, all OS + `tag` or `workflow_dispatch`: all versions, all OS
- fix: test correct numpy version with `--extra-deps numpy=x.x` instead of `--numpy=x.x` (fixes #2156) - fix: collect distributions in one job for upload & reindex (fixes #1918) - optimise + share one build (per OS/Python version) across multiple numpy versions + per PR: min py/np version, ubuntu + `master`: min & max py/np, all OS + `tag` or `workflow_dispatch`: all versions, all OS
Changes
This relaxes our numpy requirements as we don't need to build against a specific version.
I've added a convenience script that will build and test each version combination locally on windows or linux.
Follow-ups #2090 #2091 will recommend installing via environment files, or checking the tested version table.
Testing you performed
Related issues/links
closes #2092
Checklist
Contribution Notes
Please read and adhere to the developer guide and local patterns and conventions.