Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
ba9f919b
Unverified
Commit
ba9f919b
authored
Oct 04, 2021
by
Henry Schreiner
Browse files
chore: get back to work after 2.8.0
parent
97976c16
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
4 deletions
+12
-4
docs/changelog.rst
docs/changelog.rst
+6
-0
docs/release.rst
docs/release.rst
+2
-0
include/pybind11/detail/common.h
include/pybind11/detail/common.h
+3
-3
pybind11/_version.py
pybind11/_version.py
+1
-1
No files found.
docs/changelog.rst
View file @
ba9f919b
...
@@ -6,6 +6,12 @@ Changelog
...
@@ -6,6 +6,12 @@ Changelog
Starting with version 1.8.0, pybind11 releases use a `semantic versioning
Starting with version 1.8.0, pybind11 releases use a `semantic versioning
<http://semver.org>`_ policy.
<http://semver.org>`_ policy.
IN DEVELOPMENT
--------------
v2.8.0 (Oct 4, 2021)
v2.8.0 (Oct 4, 2021)
--------------------
--------------------
...
...
docs/release.rst
View file @
ba9f919b
...
@@ -27,6 +27,7 @@ To release a new version of pybind11:
...
@@ -27,6 +27,7 @@ To release a new version of pybind11:
``include/pybind11/detail/common.h``. PATCH should be a simple integer.
``include/pybind11/detail/common.h``. PATCH should be a simple integer.
- Update the version HEX just below, as well.
- Update the version HEX just below, as well.
- Update ``pybind11/_version.py`` (match above)
- Update ``pybind11/_version.py`` (match above)
- Run ``nox -s tests_packaging``` to ensure this was done correctly.
- Ensure that all the information in ``setup.cfg`` is up-to-date, like
- Ensure that all the information in ``setup.cfg`` is up-to-date, like
supported Python versions.
supported Python versions.
- Add release date in ``docs/changelog.rst``.
- Add release date in ``docs/changelog.rst``.
...
@@ -64,6 +65,7 @@ To release a new version of pybind11:
...
@@ -64,6 +65,7 @@ To release a new version of pybind11:
- Update version macros in ``include/pybind11/detail/common.h`` (set PATCH to
- Update version macros in ``include/pybind11/detail/common.h`` (set PATCH to
``0.dev1`` and increment MINOR).
``0.dev1`` and increment MINOR).
- Update ``_version.py`` to match
- Update ``_version.py`` to match
- Run ``nox -s tests_packaging``` to ensure this was done correctly.
- Add a spot for in-development updates in ``docs/changelog.rst``.
- Add a spot for in-development updates in ``docs/changelog.rst``.
- ``git add``, ``git commit``, ``git push``
- ``git add``, ``git commit``, ``git push``
...
...
include/pybind11/detail/common.h
View file @
ba9f919b
...
@@ -10,12 +10,12 @@
...
@@ -10,12 +10,12 @@
#pragma once
#pragma once
#define PYBIND11_VERSION_MAJOR 2
#define PYBIND11_VERSION_MAJOR 2
#define PYBIND11_VERSION_MINOR
8
#define PYBIND11_VERSION_MINOR
9
#define PYBIND11_VERSION_PATCH 0
#define PYBIND11_VERSION_PATCH 0
.dev1
// Similar to Python's convention: https://docs.python.org/3/c-api/apiabiversion.html
// Similar to Python's convention: https://docs.python.org/3/c-api/apiabiversion.html
// Additional convention: 0xD = dev
// Additional convention: 0xD = dev
#define PYBIND11_VERSION_HEX 0x020
80000
#define PYBIND11_VERSION_HEX 0x020
900D1
#define PYBIND11_NAMESPACE_BEGIN(name) namespace name {
#define PYBIND11_NAMESPACE_BEGIN(name) namespace name {
#define PYBIND11_NAMESPACE_END(name) }
#define PYBIND11_NAMESPACE_END(name) }
...
...
pybind11/_version.py
View file @
ba9f919b
...
@@ -8,5 +8,5 @@ def _to_int(s):
...
@@ -8,5 +8,5 @@ def _to_int(s):
return
s
return
s
__version__
=
"2.
8
.0"
__version__
=
"2.
9
.0
.dev1
"
version_info
=
tuple
(
_to_int
(
s
)
for
s
in
__version__
.
split
(
"."
))
version_info
=
tuple
(
_to_int
(
s
)
for
s
in
__version__
.
split
(
"."
))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment