Skip to content

Commit f7b4996

Browse files
authored
[skip ci] Tweaks in preparation for the 2.8.1 release. (#3421)
1 parent f1594cb commit f7b4996

File tree

4 files changed

+17
-15
lines changed

4 files changed

+17
-15
lines changed

docs/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Starting with version 1.8.0, pybind11 releases use a `semantic versioning
1010
IN DEVELOPMENT
1111
--------------
1212

13-
v2.8.0 (Oct 27, 2021)
13+
v2.8.1 (Oct 27, 2021)
1414
---------------------
1515

1616
Changes and additions:

docs/release.rst

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ To release a new version of pybind11:
2727
``include/pybind11/detail/common.h``. PATCH should be a simple integer.
2828
- Update the version HEX just below, as well.
2929
- Update ``pybind11/_version.py`` (match above)
30-
- Run ``nox -s tests_packaging``` to ensure this was done correctly.
30+
- Run ``nox -s tests_packaging`` to ensure this was done correctly.
3131
- Ensure that all the information in ``setup.cfg`` is up-to-date, like
3232
supported Python versions.
3333
- Add release date in ``docs/changelog.rst``.
@@ -50,13 +50,15 @@ To release a new version of pybind11:
5050
- Make a GitHub release (this shows up in the UI, sends new release
5151
notifications to users watching releases, and also uploads PyPI packages).
5252
(Note: if you do not use an existing tag, this creates a new lightweight tag
53-
for you, so you could skip the above step).
54-
- GUI method: click "Create a new release" on the far right, fill in the tag
55-
name (if you didn't tag above, it will be made here), fill in a release
56-
name like "Version X.Y.Z", and optionally copy-and-paste the changelog into
57-
the description (processed as markdown by Pandoc). Check "pre-release" if
58-
this is a beta/RC. You can get partway there with
59-
``cat docs/changelog.rst | pandoc -f rst -t gfm``.
53+
for you, so you could skip the above step.)
54+
55+
- GUI method: Under `releases <https://github.com/pybind/pybind11/releases>`_
56+
click "Draft a new release" on the far right, fill in the tag name
57+
(if you didn't tag above, it will be made here), fill in a release name
58+
like "Version X.Y.Z", and copy-and-paste the markdown-formatted (!) changelog
59+
into the description (usually ``cat docs/changelog.rst | pandoc -f rst -t gfm``).
60+
Check "pre-release" if this is a beta/RC.
61+
6062
- CLI method: with ``gh`` installed, run ``gh release create vX.Y.Z -t "Version X.Y.Z"``
6163
If this is a pre-release, add ``-p``.
6264

@@ -65,15 +67,15 @@ To release a new version of pybind11:
6567
- Update version macros in ``include/pybind11/detail/common.h`` (set PATCH to
6668
``0.dev1`` and increment MINOR).
6769
- Update ``_version.py`` to match
68-
- Run ``nox -s tests_packaging``` to ensure this was done correctly.
70+
- Run ``nox -s tests_packaging`` to ensure this was done correctly.
6971
- Add a spot for in-development updates in ``docs/changelog.rst``.
7072
- ``git add``, ``git commit``, ``git push``
7173

7274
If a version branch is updated, remember to set PATCH to ``1.dev1``.
7375

7476
If you'd like to bump homebrew, run:
7577

76-
.. code-block::
78+
.. code-block:: console
7779
7880
brew bump-formula-pr --url https://github.com/pybind/pybind11/archive/vX.Y.Z.tar.gz
7981

include/pybind11/detail/common.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
#pragma once
1111

1212
#define PYBIND11_VERSION_MAJOR 2
13-
#define PYBIND11_VERSION_MINOR 9
14-
#define PYBIND11_VERSION_PATCH 0.dev1
13+
#define PYBIND11_VERSION_MINOR 8
14+
#define PYBIND11_VERSION_PATCH 1
1515

1616
// Similar to Python's convention: https://docs.python.org/3/c-api/apiabiversion.html
1717
// Additional convention: 0xD = dev
18-
#define PYBIND11_VERSION_HEX 0x020900D1
18+
#define PYBIND11_VERSION_HEX 0x02080100
1919

2020
#define PYBIND11_NAMESPACE_BEGIN(name) namespace name {
2121
#define PYBIND11_NAMESPACE_END(name) }

pybind11/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ def _to_int(s):
88
return s
99

1010

11-
__version__ = "2.9.0.dev1"
11+
__version__ = "2.8.1"
1212
version_info = tuple(_to_int(s) for s in __version__.split("."))

0 commit comments

Comments
 (0)