Skip to content

Commit 36813cf

Browse files
committed
chore: back to work
1 parent 1d3b04e commit 36813cf

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

docs/changelog.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ Changelog
66
Starting with version 1.8.0, pybind11 releases use a `semantic versioning
77
<http://semver.org>`_ policy.
88

9+
IN DEVELOPMENT
10+
--------------
11+
12+
Changes will be added here periodically.
13+
14+
915
Version 2.9.1 (Feb 2, 2022)
1016
---------------------------
1117

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 1
13+
#define PYBIND11_VERSION_MINOR 10
14+
#define PYBIND11_VERSION_PATCH 0.dev1
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 0x02090100
18+
#define PYBIND11_VERSION_HEX 0x020A00D1
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.1"
11+
__version__ = "2.10.0.dev1"
1212
version_info = tuple(_to_int(s) for s in __version__.split("."))

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,11 @@ def build_expected_version_hex(matches):
4545
if serial is None:
4646
msg = 'Invalid PYBIND11_VERSION_PATCH: "{}"'.format(patch_level_serial)
4747
raise RuntimeError(msg)
48-
return "0x{:02x}{:02x}{:02x}{}{:x}".format(
49-
major, minor, patch, level[:1].upper(), serial
48+
return (
49+
"0x"
50+
+ "{:02x}{:02x}{:02x}{}{:x}".format(
51+
major, minor, patch, level[:1], serial
52+
).upper()
5053
)
5154

5255

0 commit comments

Comments
 (0)