# Adding wheels for a new Python release - Update Git main - [x] `git checkout main` - [x] Add classifier for new Python version to `setup.py` - [x] Add new Python version to lists in `.github/workflows/python.yml` - [x] Commit and open a PR - [x] Merge the PR when CI passes - [x] Add new Python jobs to [branch protection required checks](https://github.com/openslide/openslide-python/settings/branches) - Build new wheels - [x] Check out a new branch from the most recent release tag - [x] Add new Python version to lists in `.github/workflows/python.yml`, commit, and open a DNM PR - [x] Find the [workflow run](https://github.com/openslide/openslide-python/actions) for the PR; download its wheels artifact - [x] Close the PR - [x] In OpenSlide Python checkout, `git checkout v<version> && git clean -dxf && mkdir dist` - [x] Copy downloaded wheels _from new Python release only_ into `dist` directory - [x] `twine upload dist/*` - [x] Upload new wheels to [GitHub release](https://github.com/openslide/openslide-python/releases) - [x] Update MacPorts package - [x] Update website: Python 3 versions in `download/index.md` - https://github.com/openslide/openslide.github.io/pull/38
Adding wheels for a new Python release
git checkout mainsetup.py.github/workflows/python.yml.github/workflows/python.yml, commit, and open a DNM PRgit checkout v<version> && git clean -dxf && mkdir distdistdirectorytwine upload dist/*download/index.md- Release Windows build 20230414; update MacPorts to Python 3.11 openslide.github.io#38