-
Notifications
You must be signed in to change notification settings - Fork 272
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
Add CI run running on oldest supported versions of core dependencies #2619
base: main
Are you sure you want to change the base?
Conversation
d497789
to
71a2b27
Compare
This comment has been minimized.
This comment has been minimized.
.github/workflows/ci.yml
Outdated
- if: contains(matrix.extra-args, 'oldest-deps') && contains(github.event.pull_request.labels.*.name, 'documentation-only') == false | ||
run: | | ||
micromamba install -n cta-dev -y numpy=1.24 numba=0.57 scipy=1.10 astropy=5.3 matplotlib=3.6 |
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.
Is there really no other way than hardcoding the version numbers in the ci.yml
config file? Seems easy to have it get out of synch, but may that doesn't lead to any hard to solve problems?
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.
I didn't find an elegant solution to this. astropy for example also hard-codes their oldest supported versions (in tox.ini in this case):
https://github.com/astropy/astropy/blob/fc2ef61cf6dbb3a06a5e9d11c19995960902e63b/tox.ini#L76-L90
No description provided.