docs: prepare for 2.6.2 (#2820)

* docs: prepare for 2.6.2

* chore: pre-commit autoupdate
This commit is contained in:
Henry Schreiner 2021-01-25 16:09:36 -05:00 committed by GitHub
parent 42e7380705
commit 8e5d3d234e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 6 deletions

View File

@ -15,7 +15,7 @@
repos: repos:
# Standard hooks # Standard hooks
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0 rev: v3.4.0
hooks: hooks:
- id: check-added-large-files - id: check-added-large-files
- id: check-case-conflict - id: check-case-conflict
@ -46,7 +46,7 @@ repos:
# Flake8 also supports pre-commit natively (same author) # Flake8 also supports pre-commit natively (same author)
- repo: https://gitlab.com/pycqa/flake8 - repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3 rev: 3.8.4
hooks: hooks:
- id: flake8 - id: flake8
additional_dependencies: [flake8-bugbear, pep8-naming] additional_dependencies: [flake8-bugbear, pep8-naming]
@ -63,7 +63,7 @@ repos:
# Check static types with mypy # Check static types with mypy
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.790 rev: v0.800
hooks: hooks:
- id: mypy - id: mypy
# The default Python type ignores .pyi files, so let's rerun if detected # 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) # Checks the manifest for missing files (native support)
- repo: https://github.com/mgedmin/check-manifest - repo: https://github.com/mgedmin/check-manifest
rev: "0.43" rev: "0.46"
hooks: hooks:
- id: check-manifest - id: check-manifest
# This is a slow hook, so only run this if --hook-stage manual is passed # This is a slow hook, so only run this if --hook-stage manual is passed

View File

@ -7,8 +7,8 @@ Starting with version 1.8.0, pybind11 releases use a `semantic versioning
<http://semver.org>`_ policy. <http://semver.org>`_ policy.
v2.6.2 (TBA, not yet released) v2.6.2 (Jan 26, 2021)
------------------------------ ---------------------
Minor missing functionality added: Minor missing functionality added:
@ -62,6 +62,10 @@ Bug fixes:
overloads. overloads.
`#2698 <https://github.com/pybind/pybind11/pull/2698>`_ `#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 * Fix bug where the constructor of ``object`` subclasses would not throw on
being passed a Python object of the wrong type. being passed a Python object of the wrong type.
`#2701 <https://github.com/pybind/pybind11/pull/2701>`_ `#2701 <https://github.com/pybind/pybind11/pull/2701>`_
@ -74,6 +78,11 @@ Bug fixes:
than set an empty string. than set an empty string.
`#2745 <https://github.com/pybind/pybind11/pull/2745>`_ `#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 * Fixed assertion error related to unhandled (later overwritten) exception in
CPython 3.8 and 3.9 debug builds. CPython 3.8 and 3.9 debug builds.
`#2685 <https://github.com/pybind/pybind11/pull/2685>`_ `#2685 <https://github.com/pybind/pybind11/pull/2685>`_