Skip to content

Commit def3c18

Browse files
committed
updated variables for v2.2.0 release
1 parent 6898679 commit def3c18

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
# The short X.Y version.
6464
version = '2.2'
6565
# The full version, including alpha/beta/rc tags.
66-
release = '2.2.dev0'
66+
release = '2.2.0'
6767

6868
# The language for content autogenerated by Sphinx. Refer to documentation
6969
# for a list of supported languages.

docs/release.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ To release a new version of pybind11:
22

33
- Update the version number and push to pypi
44
- Update ``pybind11/_version.py`` (set release version, remove 'dev').
5-
- Update ``PYBIND11_VERSION_MAJOR`` etc. in ``include/pybind11/common.h``.
5+
- Update ``PYBIND11_VERSION_MAJOR`` etc. in ``include/pybind11/detail/common.h``.
66
- Ensure that all the information in ``setup.py`` is up-to-date.
77
- Update version in ``docs/conf.py``.
88
- Tag release date in ``docs/changelog.rst``.

include/pybind11/detail/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393

9494
#define PYBIND11_VERSION_MAJOR 2
9595
#define PYBIND11_VERSION_MINOR 2
96-
#define PYBIND11_VERSION_PATCH dev0
96+
#define PYBIND11_VERSION_PATCH 0
9797

9898
/// Include Python header, disable linking to pythonX_d.lib on Windows in debug mode
9999
#if defined(_MSC_VER)

pybind11/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version_info = (2, 2, 'dev0')
1+
version_info = (2, 2, 0)
22
__version__ = '.'.join(map(str, version_info))

0 commit comments

Comments
 (0)