-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Automate releases to pypi and github releases. #409
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
Comments
@takluyver if you have some minutes, it would good to get your feedback on if this seems reasonable. (or any other python packaging experts driving by) |
Sounds OK to me. The main thing is to make sure the version numbers clearly indicate prereleases so that users only get them if they specify I don't know how easy it would be to automate uploads for all the different platforms. Currently I think we're uploading at least the Linux and Windows wheels manually. |
I probably wouldn't do every release, just tag certain specific alphas or betas. Otherwise tying bug reports back to versions affected could be harder. Other than that this sounds sensible. |
Some time ago I implemented something like this for pygameweb at pygame/pygameweb#52 Having something that 'releases dev versions to pypi for testing' in a python package somewhere would be nice, but I don't have time for that now. So I'm just going to hack it into the pygame tree. |
I added a task list to the issue description of things that still need to be automated. My aim is to try and automate one or two things every .dev release, and to do the dev releases more often. |
Perhaps the (newish) Github Actions can help automate some of this. |
@illume I assigned this to you since you seemed to be doing it steadily anyway. |
Is this TODO list upto date, I guess releases are automated by now, right? |
Pre release 'dev' and release candidate('rc') builds of pygame through pip and pypi.
github release tasks to automate.
pypi tasks to automate.
documentation tasks to automate.
every merge into master releases a dev build.1.9.4.dev1+git.77.facebeef123
every release candidate tagged releases an rc build.1.9.4.rc1
How to install pre release builds.
Pip pre-release documentation
Requiring a specific development build is possible according to the documentation.
Version naming.
From packaging guide pre release versioning:
1.9.4.dev1+git.77.facebeef123
(version+local_version). With the dev1 becoming dev2, dev3. git describe can be used to get this info.1.9.4.rc1
will be release candidate 1.git describe, for getting commits since last release.
Can be used to get the number of commits since the last release.
Using this we can grab the info we need to build the pypi-happy version strings.
Note, it needs to use --tags if we don't have annotated tags. (which we should use going forwards).
Dev builds to test pypi instead?
No.
The text was updated successfully, but these errors were encountered: