Skip to content

Commit 3e9dfa2

Browse files
authoredMar 27, 2024
docs: a few missed changes for 2.12 (#5074)
1 parent 6b5674f commit 3e9dfa2

File tree

2 files changed

+31
-7
lines changed

2 files changed

+31
-7
lines changed
 

‎.github/workflows/labeler.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
pull-requests: write
1515
steps:
1616

17-
- uses: actions/labeler@main
17+
- uses: actions/labeler@v4
1818
if: >
1919
github.event.pull_request.merged == true &&
2020
!startsWith(github.event.pull_request.title, 'chore(deps):') &&

‎docs/changelog.rst

+30-6
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,21 @@ Bug fixes:
8585
somewhere else, such as modernjson's concat.
8686
`#4955 <https://github.com/pybind/pybind11/pull/4955>`_
8787

88+
* Use new PyCode API on Python 3.12+.
89+
`#4916 <https://github.com/pybind/pybind11/pull/4916>`_
90+
91+
* Minor cleanup from warnings reported by Clazy.
92+
`#4988 <https://github.com/pybind/pybind11/pull/4988>`_
93+
94+
* Remove typing and duplicate ``class_`` for ``KeysView``/``ValuesView``/``ItemsView``.
95+
`#4985 <https://github.com/pybind/pybind11/pull/4985>`_
96+
97+
* Use ``PyObject_VisitManagedDict()`` and ``PyObject_ClearManagedDict()`` on Python 3.13 and newer.
98+
`#4973 <https://github.com/pybind/pybind11/pull/4973>`_
99+
100+
* Update ``make_static_property_type()`` to make it compatible with Python 3.13.
101+
`#4971 <https://github.com/pybind/pybind11/pull/4971>`_
102+
88103
.. fix(types)
89104
90105
* Render typed iterators for ``make_iterator``, ``make_key_iterator``,
@@ -104,12 +119,21 @@ Bug fixes:
104119
* Enforce single line docstring signatures.
105120
`#4735 <https://github.com/pybind/pybind11/pull/4735>`_
106121

107-
* Special 'typed' wrappers now available in typing.h to annotate tuple, dict,
122+
* Special 'typed' wrappers now available in ``typing.h`` to annotate tuple, dict,
108123
list, set, and function.
109124
`#4259 <https://github.com/pybind/pybind11/pull/4259>`_
110125

126+
* Create ``handle_type_name`` specialization to type-hint variable length tuples.
127+
`#5051 <https://github.com/pybind/pybind11/pull/5051>`_
128+
111129
.. fix(build)
112130
131+
* Setting ``PYBIND11_FINDPYTHON`` to OFF will force the old FindPythonLibs mechanism to be used.
132+
`#5042 <https://github.com/pybind/pybind11/pull/5042>`_
133+
134+
* Skip empty ``PYBIND11_PYTHON_EXECUTABLE_LAST`` for the first cmake run.
135+
`#4856 <https://github.com/pybind/pybind11/pull/4856>`_
136+
113137
* Fix FindPython mode exports & avoid ``pkg_resources`` if
114138
``importlib.metadata`` available.
115139
`#4941 <https://github.com/pybind/pybind11/pull/4941>`_
@@ -132,15 +156,18 @@ Bug fixes:
132156
``CMAKE_BUILD_TYPE`` is unset.
133157
`#4780 <https://github.com/pybind/pybind11/pull/4780>`_
134158

135-
* Support DEBUG_POSFIX correctly for debug builds.
159+
* Support ``DEBUG_POSFIX`` correctly for debug builds.
136160
`#4761 <https://github.com/pybind/pybind11/pull/4761>`_
137161

138162
* Hardcode lto/thin lto for Emscripten cross-compiles.
139163
`#4642 <https://github.com/pybind/pybind11/pull/4642>`_
140164

165+
* Upgrade maximum supported CMake version to 3.27 to fix CMP0148 warnings.
166+
`#4786 <https://github.com/pybind/pybind11/pull/4786>`_
167+
141168
Documentation:
142169

143-
* Small fix to grammar in functions.rst.
170+
* Small fix to grammar in ``functions.rst``.
144171
`#4791 <https://github.com/pybind/pybind11/pull/4791>`_
145172

146173
* Remove upper bound in example pyproject.toml for setuptools.
@@ -156,9 +183,6 @@ CI:
156183

157184
Other:
158185

159-
* Use new PyCode API on Python 3.12+.
160-
`#4916 <https://github.com/pybind/pybind11/pull/4916>`_
161-
162186
* Use Ruff formatter instead of Black.
163187
`#4912 <https://github.com/pybind/pybind11/pull/4912>`_
164188

0 commit comments

Comments
 (0)
Failed to load comments.