-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
TST: tox option to exclude scipy #15742
Conversation
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
👋 Thank you for your draft pull request! Do you know that you can use |
This comment was marked as resolved.
This comment was marked as resolved.
I have no idea why flynt is failing here. Looks unrelated. @nstarman or @WilliamJamieson , what is going on with flynt here? EDIT: OK, nvm. It passed again after I downgrade it back to Python 3.10. Didn't know it is sensitive to Python version. 🤷 |
OK, looks like I got it: https://github.com/astropy/astropy/actions/runs/7217133913/job/19664457683?pr=15742
p.s. Link check failure is unrelated. You can ignore it. |
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.
It's a great idea, thank you @pllim
I note that I was expecting this combo to run alongside the "all dev devs" one, not to replace it, but maybe there's a cost to having both that I'm not seeing ?
I guess we can. I just thought we already have enough jobs as it is, and we have so much traffic that the devdeps in CI for PR and push basically runs constantly, so no point also calling it again in cron job. But perhaps having both in cron is safer in case this repo gets a slow period. What do others think? |
@dhomeier , do you have any opinions here? |
I don't have a strong opinion, but also think this can be read both ways – we typically have a dozen or more full runs of ci_workflows every day, so any standard job on top of that in cron_weekly or actually even cron_daily has fairly negligible impact. There is the same job just with Bottom line is probably I'd see cron_weekly as primarily serving the really long and expensive jobs like the exotic archs, while this job could well go into cron_daily – along with the old |
so we can test devdeps without scipy-dev as dhomeier requested in astropygh-15701
9c2baa4
to
f78da7f
Compare
I thought about it but I only want to deal with devdeps failures once a week, so I opted to keep it in weekly but make it a new job with older Python 3.10. Testing cutting age stuff with oldest supported Python seems like we are just asking for trouble. |
@neutrinoceros and @dhomeier , what do you think now? https://github.com/astropy/astropy/actions/runs/7465080616/job/20313469760?pr=15742 |
If I'm reading this right, this means that |
You can ignore devinfra failures. I have a patch already at matplotlib/pytest-mpl#219 that is being tested at #15820 |
linkcheck and predeps failures are also unrelated. What is important here is that the new job is successful and did not pull in scipy. |
Ah sorry I completely missed the point ! |
There is a pip freeze right before the test starts, see https://github.com/astropy/astropy/actions/runs/7465080616/job/20313469760?pr=15742 |
Please ignore everything I said (apparently) 😅 |
That was the point of testing it. ;-) And I take your point that it would be enough to deal with this once a week, had only thought about CI resources. |
between scipy and no scipy as dhomeier requested
@dhomeier , OK I flipped the Python versions as you requested. If it looks good now, can you please approve? Thanks! |
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.
Thanks, remaining weekly jobs should be no issue!
How do we enable auto-merge here? |
Auto merge won't make sense since the new job isn't required. Thanks for the approval. I will keep an eye on it and merge when the optional new job passes. |
Has already, just waiting for the slower archs, so I thought about shortening that... |
This comment was marked as resolved.
This comment was marked as resolved.
I cancelled the really long jobs and merged. Hmm... I guess backport isn't critical since auto-backport failed. I'll update the milestone. |
Description
This pull request is to add tox option to exclude scipy so we can test devdeps without scipy-dev. I opted to run this combo in weekly cron. The setup and cadence are all negotiable.
Also cc @neutrinoceros
Fixes #15701