-
-
Notifications
You must be signed in to change notification settings - Fork 454
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
Configure PyPI for release automation #2114
Comments
We can try |
@sobolevn Looks like you only configured the |
We don't have any release workflow for
Main thing to think about is that if we want the ability to keep different release numbers between the packages we can't use the same GitHub releases. |
Doh, sorry. I had a brief look at the diff before and saw it doing something with django-stubs/.github/workflows/test.yml Lines 174 to 179 in ea8e425
Diverging version numbers are a PITA that we don't want in any case. Otherwise we would also need a separate set of git tags for django-stubs/django-stubs-ext, separate release notes, etc. And possibly other maintenance complexity. The closest thing to a policy is currently documented in
So, you could make the ext release conditional on whether stubs and ext version numbers match in But I think releasing both packages regardless of whether there were any changes in ext is clearer and also more foolproof. |
Yeah, I agree. It should not be a problem to release just the same package. But it can be a problem not to release something. |
Yeah I'm in on this as well. I don't think there's any harm in releasing We just have to think a little bit about the design of the workflow(s) so that the releases can fail and be retried independently |
@flaeppe Are you interested in adding release automation for
That would be nice to have. But even a non-retriable release workflow would be more useful than what we have now. |
Sure I can try when I'm able to (see #2150) |
PR #1950 introduced automation for making releases. But when I tried this out on Tuesday, it did not work: https://github.com/typeddjango/django-stubs/actions/runs/8892716988/job/24417384679
It requires some setup to be done on PyPI side. I believe only @sobolevn can do it. See below:
#2087 (comment)
#2087 (comment)
The text was updated successfully, but these errors were encountered: