aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Schreiner <HenrySchreinerIII@gmail.com>2021-01-25 16:09:36 -0500
committerGitHub <noreply@github.com>2021-01-25 16:09:36 -0500
commit8e5d3d234ef3bbd9efdbba865d1e606d4c5e97bb (patch)
tree165e6625e36333e4df9b35a60cb8fbb3a8f413d4
parent42e73807053eb1baa6790b2bef2e66b9c343146b (diff)
downloadpybind11-8e5d3d234ef3bbd9efdbba865d1e606d4c5e97bb.tar.gz
docs: prepare for 2.6.2 (#2820)
* docs: prepare for 2.6.2 * chore: pre-commit autoupdate
-rw-r--r--.pre-commit-config.yaml8
-rw-r--r--docs/changelog.rst13
2 files changed, 15 insertions, 6 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 85254a8a..6781ac4f 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -15,7 +15,7 @@
repos:
# Standard hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v3.2.0
+ rev: v3.4.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
@@ -46,7 +46,7 @@ repos:
# Flake8 also supports pre-commit natively (same author)
- repo: https://gitlab.com/pycqa/flake8
- rev: 3.8.3
+ rev: 3.8.4
hooks:
- id: flake8
additional_dependencies: [flake8-bugbear, pep8-naming]
@@ -63,7 +63,7 @@ repos:
# Check static types with mypy
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: v0.790
+ rev: v0.800
hooks:
- id: mypy
# The default Python type ignores .pyi files, so let's rerun if detected
@@ -74,7 +74,7 @@ repos:
# Checks the manifest for missing files (native support)
- repo: https://github.com/mgedmin/check-manifest
- rev: "0.43"
+ rev: "0.46"
hooks:
- id: check-manifest
# This is a slow hook, so only run this if --hook-stage manual is passed
diff --git a/docs/changelog.rst b/docs/changelog.rst
index a1410a7a..0fdada9f 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -7,8 +7,8 @@ Starting with version 1.8.0, pybind11 releases use a `semantic versioning
<http://semver.org>`_ policy.
-v2.6.2 (TBA, not yet released)
-------------------------------
+v2.6.2 (Jan 26, 2021)
+---------------------
Minor missing functionality added:
@@ -62,6 +62,10 @@ Bug fixes:
overloads.
`#2698 <https://github.com/pybind/pybind11/pull/2698>`_
+* When casting to a C++ integer, ``__index__`` is always called and not
+ considered as conversion, consistent with Python 3.8+.
+ `#2801 <https://github.com/pybind/pybind11/pull/2801>`_
+
* Fix bug where the constructor of ``object`` subclasses would not throw on
being passed a Python object of the wrong type.
`#2701 <https://github.com/pybind/pybind11/pull/2701>`_
@@ -74,6 +78,11 @@ Bug fixes:
than set an empty string.
`#2745 <https://github.com/pybind/pybind11/pull/2745>`_
+* The module key in builtins that pybind11 uses to store its internals changed
+ from std::string to a python str type (more natural on Python 2, no change on
+ Python 3).
+ `#2814 <https://github.com/pybind/pybind11/pull/2814>`_
+
* Fixed assertion error related to unhandled (later overwritten) exception in
CPython 3.8 and 3.9 debug builds.
`#2685 <https://github.com/pybind/pybind11/pull/2685>`_