Skip to content

Commit 0c69e1e

Browse files
authoredJun 26, 2024
chore: prepare for 2.13.0 (#5198)
* chore: prepare for 2.13.0 Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * Update changelog.rst --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent 2be85c6 commit 0c69e1e

File tree

5 files changed

+15
-8
lines changed

5 files changed

+15
-8
lines changed
 

‎.github/workflows/pip.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858

5959
- name: Prepare env
6060
run: |
61-
python -m pip install -r tests/requirements.txt build twine!=5.1.0
61+
python -m pip install -r tests/requirements.txt build twine
6262
6363
- name: Python Packaging tests
6464
run: pytest tests/extra_python_package/

‎docs/changelog.rst

+10-3
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,15 @@ New Features:
3333

3434
.. feat(types)
3535
36-
* Support for ``type[T]`` was added to pybind11/typing.h.
36+
* Support for ``Union``, ``Optional``, ``type[T]``, ``typing.TypeGuard``,
37+
``typing.TypeIs``, ``typing.Never``, ``typing.NoReturn`` and
38+
``typing.Literal`` was added to ``pybind11/typing.h``.
3739
`#5166 <https://github.com/pybind/pybind11/pull/5166>`_
38-
39-
* ``Union`` and ``Optional`` were added to ``pybind11/typing.h``.
4040
`#5165 <https://github.com/pybind/pybind11/pull/5165>`_
41+
`#5194 <https://github.com/pybind/pybind11/pull/5194>`_
42+
`#5193 <https://github.com/pybind/pybind11/pull/5193>`_
43+
`#5192 <https://github.com/pybind/pybind11/pull/5192>`_
44+
4145

4246
.. feat(cmake)
4347
@@ -93,6 +97,9 @@ CI:
9397
* Use ``macos-13`` (Intel) for CI jobs for now (will drop Python 3.7 soon).
9498
`#5109 <https://github.com/pybind/pybind11/pull/5109>`_
9599

100+
* Releases now have artifact attestations, visible at
101+
https://github.com/pybind/pybind11/attestations.
102+
`#5196 <https://github.com/pybind/pybind11/pull/5196>`_
96103

97104
Other:
98105

‎include/pybind11/detail/common.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111

1212
#define PYBIND11_VERSION_MAJOR 2
1313
#define PYBIND11_VERSION_MINOR 13
14-
#define PYBIND11_VERSION_PATCH 0.dev1
14+
#define PYBIND11_VERSION_PATCH 0
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 0x020D00D1
18+
#define PYBIND11_VERSION_HEX 0x020D0000
1919

2020
// Define some generic pybind11 helper macros for warning management.
2121
//

‎noxfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def tests_packaging(session: nox.Session) -> None:
4545
Run the packaging tests.
4646
"""
4747

48-
session.install("-r", "tests/requirements.txt")
48+
session.install("-r", "tests/requirements.txt", "pip")
4949
session.run("pytest", "tests/extra_python_package", *session.posargs)
5050

5151

‎pybind11/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ def _to_int(s: str) -> int | str:
88
return s
99

1010

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

0 commit comments

Comments
 (0)
Failed to load comments.