To release a new version of pybind11:
- Update the version number and push to pypi
- Update
pybind11/_version.py
(set release version, remove ‘dev’) - Update version in
docs/conf.py
- Tag release date in
docs/changelog.rst
. git add
andgit commit
.git tag -a vX.Y.Z -m 'vX.Y.Z release'
.git push
git push --tags
.python setup.py sdist upload
.python setup.py bdist_wheel upload
.
- Update
- Update conda-forge (https://github.com/conda-forge/pybind11-feedstock)
- change version number in
meta.yml
- update checksum to match the one computed by pypi
- change version number in
- Get back to work
- Update
_version.py
(add ‘dev’ and increment minor). - Update version macros in
include/pybind11/common.h
git add
andgit commit
.git push
- Update