Skip to content
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

Release 0.2.1 checklist #1565

Open
11 tasks
andrewkern opened this issue Jul 1, 2024 · 3 comments
Open
11 tasks

Release 0.2.1 checklist #1565

andrewkern opened this issue Jul 1, 2024 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@andrewkern
Copy link
Member

andrewkern commented Jul 1, 2024

Checklist for doing a new release, copied from the last one (#1319):

  • Update Changelog for new release via PR
  • Create a release using the GitHub UI. This creates the appropriate tag.
  • Locally, git fetch upstream --tags, git checkout upstream/main
  • python3 -m build (note: you need the build and twine modules installed)
  • python3 -m twine upload dist/[stuff] for instance python -m twine upload dist/{stdpopsim-0.2.1a1.tar.gz,stdpopsim-0.2.1a1-py3-none-any.whl} (note: this now uses "API tokens" from PyPI possibly stored in ~/.pypirc to upload; see here for the ever-changing procedure)
  • check on pypi that the update actually worked
  • check docs build succeeded (also check the docs URL substituting the release tag where latest or stable usually is)
  • upload to zenodo
  • update version and DOI in CITATION.cff (once added)
  • conda-forge will do an automatic PR in the stdpopsim-feedstock repo; winni2k says:

"The key things I checked were that the version number is correct, the SHA sum has changed, and that the build number is reset to zero. Any other problems should be caught by the automated build system."

Post-release:

  • make copy of this issue for the next release

Reference: https://packaging.python.org/tutorials/packaging-projects/, tskit-dev/pyslim#292

@andrewkern andrewkern added the enhancement New feature or request label Jul 1, 2024
@petrelharp petrelharp changed the title need to push a new release Release 0.2.1 checklist Jul 2, 2024
@petrelharp
Copy link
Contributor

petrelharp commented Jul 2, 2024

Here is the list of issues to do: https://github.com/popsim-consortium/stdpopsim/milestone/4

Major topics:

@petrelharp petrelharp added this to the Version 0.2.1 milestone Jul 5, 2024
@nspope
Copy link
Collaborator

nspope commented Jul 5, 2024

also #1558

@petrelharp
Copy link
Contributor

petrelharp commented Jul 6, 2024

Also TODO: I have dealt with #1404 and merged it, but someone else ought to review the code (whoops). Done: thanks, @nspope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants