You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cleanup policy may result in a complete removal of a project #119
shapely had an action building the nightly wheels failing for slightly over a month which resulted in no new uploads for more than 30 days. At that point, the cleanup kicked in and removed the wheel as it was older that 30 days, resulting in shapely being completely removed from the index.
I understand we don't want too old stuff there but shall we try to prevent this from happening? I think that it may be wise to ensure that a project that is admitted to the channel is present there, even with a slightly older wheel. Shapely's development is slow and 30 days mean very little in most times, so there would be no difference.
It was reported over in shapely today (shapely/shapely#2202) as it caused unexpected behaviour when trying to follow the docs.
I think that it may be wise to ensure that a project that is admitted to the channel is present there, even with a slightly older wheel.
@martinfleis Hm. I would take the other view that if a wheel isn't being updated in a month then it isn't a "nightly".
I understand that this wasn't a high priority fix the build (no judgement there at all), but in general (assuming that the build would be working) would shapely be uploading wheels on a more than once per month basis? I don't see harm in just reuploading the same wheel.
I agree with @matthewfeickert here as I got bitten by this exact problem above, e.g. the build of the dev testing CI job was passing and I assumed we were testing dev/nightly versions, but unfortunately something was broken upstream and in fact we did test an outdated version, that was even older than the latest release.
And this maybe in fact a good feedback loop too in case the upstream hasn't even noticed that something is going wrong for a month already.
A small correction here is that this removal of shapely from the index was in fact not related to a failing build, but simply because no commit was done in 30 days over the holiday period (and as Martin mentioned, shapely's development cycle is quite slow, so also in other periods it can happen that no commit is merged to main for some time).
And because we are not building wheels "nightly" on a fixed schedule but only on commits to main, no nightly wheel got uploaded for that time.
(now that we made some commits again, there was indeed a CI failure briefly preventing to upload new nightly wheels, but that was quickly resolved)
Ah, sorry, Martin was of course correct nonetheless ..! We do have a weekly scheduled wheel build+upload as well, and that was indeed failing. But because no other PRs were active or merged during that period, we didn't notice the failure through the typical means to see CI is failing. We should maybe set up some notification for when the scheduled action fails.
We should maybe set up some notification for when the scheduled action fails.
Yes, unfortunately, github is not great in regard of issuing notifications about failing cron jobs, so you probably need to hack around so the failing job status triggers an issue opening.
Yes, unfortunately, github is not great in regard of issuing notifications about failing cron jobs
I wonder if we should set up a send-email action via a Scientific Python sendgrid account, so that all projects can send notification as needed? We've needed this feature quite a few times now.
Reacted by Matthew Feickert, Brigitta Sipőcz and Jarrod Millman
Or maybe an open issue action instead? Then we can cc whomever is in charge of the given package and they will have control whether to receive a GitHub email or just the notification
Thinking about who would notify who: will we open an issue when a package disappears from the repository? Or should projects simply do the open-issue-on-failure in their own CI?
We can provide an example how to do that, if that'd be helpful.
Activity
matthewfeickert commentedon Jan 16, 2025
@martinfleis Hm. I would take the other view that if a wheel isn't being updated in a month then it isn't a "nightly".
I understand that this wasn't a high priority fix the build (no judgement there at all), but in general (assuming that the build would be working) would
shapelybe uploading wheels on a more than once per month basis? I don't see harm in just reuploading the same wheel.edit: I'll readd
shapelynow btw.edit to the edit: Ah, I see that you already restored
shapelyon https://anaconda.org/scientific-python-nightly-wheels/shapely with shapely/shapely#2203 👍 Thanks!bsipocz commentedon Jan 16, 2025
I agree with @matthewfeickert here as I got bitten by this exact problem above, e.g. the build of the dev testing CI job was passing and I assumed we were testing dev/nightly versions, but unfortunately something was broken upstream and in fact we did test an outdated version, that was even older than the latest release.
And this maybe in fact a good feedback loop too in case the upstream hasn't even noticed that something is going wrong for a month already.
jorisvandenbossche commentedon Jan 16, 2025
A small correction here is that this removal of shapely from the index was in fact not related to a failing build, but simply because no commit was done in 30 days over the holiday period (and as Martin mentioned, shapely's development cycle is quite slow, so also in other periods it can happen that no commit is merged to main for some time).
And because we are not building wheels "nightly" on a fixed schedule but only on commits to main, no nightly wheel got uploaded for that time.
(now that we made some commits again, there was indeed a CI failure briefly preventing to upload new nightly wheels, but that was quickly resolved)
jorisvandenbossche commentedon Jan 16, 2025
Ah, sorry, Martin was of course correct nonetheless ..! We do have a weekly scheduled wheel build+upload as well, and that was indeed failing. But because no other PRs were active or merged during that period, we didn't notice the failure through the typical means to see CI is failing. We should maybe set up some notification for when the scheduled action fails.
bsipocz commentedon Jan 16, 2025
Yes, unfortunately, github is not great in regard of issuing notifications about failing cron jobs, so you probably need to hack around so the failing job status triggers an issue opening.
martinfleis commentedon Jan 16, 2025
Alright, I understand the reasoning behind this and I suppose it makes sense to keep it this way.
stefanv commentedon Jan 18, 2025
I wonder if we should set up a send-email action via a Scientific Python sendgrid account, so that all projects can send notification as needed? We've needed this feature quite a few times now.
matthewfeickert commentedon Jan 18, 2025
That sounds like an excellent idea! ➕ to this.
bsipocz commentedon Jan 18, 2025
Or maybe an open issue action instead? Then we can cc whomever is in charge of the given package and they will have control whether to receive a GitHub email or just the notification
stefanv commentedon Jan 22, 2025
Thinking about who would notify who: will we open an issue when a package disappears from the repository? Or should projects simply do the open-issue-on-failure in their own CI?
We can provide an example how to do that, if that'd be helpful.