HEAD | f33f6af | chore(deps): update pre-commit hooks (#5084) * chore(deps): update pre-commit hooks updates: - [github.com/pre-commit/mirrors-clang-format: v17.0.6 → v18.1.2](https://github.com/pre-commit/mirrors-clang-format/compare/v17.0.6...v18.1.2) - [github.com/astral-sh/ruff-pre-commit: v0.2.0 → v0.3.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.0...v0.3.5) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.9.0) - [github.com/Lucas-C/pre-commit-hooks: v1.5.4 → v1.5.5](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.5.4...v1.5.5) - [github.com/sirosen/texthooks: 0.6.4 → 0.6.6](https://github.com/sirosen/texthooks/compare/0.6.4...0.6.6) - [github.com/shellcheck-py/shellcheck-py: v0.9.0.6 → v0.10.0.1](https://github.com/shellcheck-py/shellcheck-py/compare/v0.9.0.6...v0.10.0.1) - [github.com/PyCQA/pylint: v3.0.3 → v3.1.0](https://github.com/PyCQA/pylint/compare/v3.0.3...v3.1.0) - [github.com/python-jsonschema/check-jsonschema: 0.28.0 → 0.28.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.0...0.28.1) * style: pre-commit fixes * fix(types): correction for better typing Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com> | 02 April 2024, 15:14:08 UTC |
refs/heads/array-sequence-fix | 619fb23 | std::array<> caster: support arbitrary sequences This PR brings the std::array<> caster in sync with the other STL type casters: to accept an arbitrary sequence as input (rather than a list, which is too restrictive). | 09 November 2018, 09:15:17 UTC |
refs/heads/cpp17-aligned-new | 1423623 | only use over-aligned new/delete if needed | 09 November 2018, 11:32:12 UTC |
refs/heads/dependabot/github_actions/actions-8d07389e21 | 7ec65b9 | chore(deps): bump the actions group with 1 update Bumps the actions group with 1 update: [actions/labeler](https://github.com/actions/labeler). Updates `actions/labeler` from 4 to 5 - [Release notes](https://github.com/actions/labeler/releases) - [Commits](https://github.com/actions/labeler/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/labeler dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> | 01 April 2024, 02:08:23 UTC |
refs/heads/fold-expression-caster | fd3a93c | Use C++17 fold expressions when casting tuples and argument lists This commit introduces the use of C++17-style fold expressions when casting tuples & the argument lists of functions. This change can improve performance of the resulting bindings: because fold expressions have short-circuiting semantics, pybind11 e.g. won't try to cast the second argument of a function if the first one failed. This is particularly effective when working with functions that have many overloads with long argument lists. | 29 December 2019, 23:47:23 UTC |
refs/heads/henryiii-patch-1 | 9fa6acd | ci: patch for CentOS 8 build | 17 June 2021, 21:55:59 UTC |
refs/heads/henryiii-patch-2 | d8c30a8 | fix: drop _DEBUG undefinition | 18 November 2021, 14:56:35 UTC |
refs/heads/internals_ptr | 78e074b | clang-tidy fix | 02 November 2022, 22:17:46 UTC |
refs/heads/issue1561_fix | 8986743 | fixed regression in STL type caster RVPs (fixes #1561) | 09 November 2018, 12:22:13 UTC |
refs/heads/master | f33f6af | chore(deps): update pre-commit hooks (#5084) * chore(deps): update pre-commit hooks updates: - [github.com/pre-commit/mirrors-clang-format: v17.0.6 → v18.1.2](https://github.com/pre-commit/mirrors-clang-format/compare/v17.0.6...v18.1.2) - [github.com/astral-sh/ruff-pre-commit: v0.2.0 → v0.3.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.0...v0.3.5) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.9.0) - [github.com/Lucas-C/pre-commit-hooks: v1.5.4 → v1.5.5](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.5.4...v1.5.5) - [github.com/sirosen/texthooks: 0.6.4 → 0.6.6](https://github.com/sirosen/texthooks/compare/0.6.4...0.6.6) - [github.com/shellcheck-py/shellcheck-py: v0.9.0.6 → v0.10.0.1](https://github.com/shellcheck-py/shellcheck-py/compare/v0.9.0.6...v0.10.0.1) - [github.com/PyCQA/pylint: v3.0.3 → v3.1.0](https://github.com/PyCQA/pylint/compare/v3.0.3...v3.1.0) - [github.com/python-jsonschema/check-jsonschema: 0.28.0 → 0.28.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.0...0.28.1) * style: pre-commit fixes * fix(types): correction for better typing Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com> | 02 April 2024, 15:14:08 UTC |
refs/heads/revert-4220-fix-nvcc-11.4-11.8 | dba00d7 | Revert "fix: NVCC 11.4.0 - 11.8.0 host bug workaround (#4220)" This reverts commit 6cb214748d6ec3a61fdc35ee27f9a90d170dd242. | 08 October 2022, 01:15:56 UTC |
refs/heads/smart_holder | cfe7356 | Fix merge accident in pybind11/detail/descr.h (#5086) This was noticed only when manually reviewing the diffs with the Google review tools. | 02 April 2024, 18:11:44 UTC |
refs/heads/stable | 01ab935 | Merge branch 'master' into stable | 27 March 2024, 23:52:11 UTC |
refs/heads/undefined-macos | e076c45 | macOS: disable fixup chains when linking extension modules On macOS, extension library builds usually rely on the flag ``-undefined dynamic_lookup`` to get the linker to temporarily accept missing CPython API symbols. As the name implies, those symbols are then dynamically resolved when Python imports such an extension library. Binaries produced in this way are more portable since they don't contain a hardcoded path to the CPython library. This is critical when distributing binary wheels on PyPI, etc.. When targeting macOS>=12, XCode recently started to generate a somewhat ominous warning: ``-undefined dynamic_lookup may not work with chained fixups`` For further detail on what chained fixups are, see the following informative WWDC https://developer.apple.com/videos/play/wwdc2022/110362/ (the relevant part starts about 20mins into the video) The message that the dynamic resolution functionality became broken. I reported this to Apple via feedback request FB11767124. Apple investigated the request and updated the behavior of ``ld`` starting with XCode 14.3b1+: it now disables the fixup chain linker optimization whenever ``-undefined dynamic_lookup`` is specified. The feedback from Apple also stated that the parameter ``-Wl,-no_fixup_chains`` should be specified on pre-14.3 XCode versions to ensure correct behavior. This commit realizes those changes by passing a flag to *always* disable fixup chains. Related discussion is available in the CPython repository (https://github.com/python/cpython/issues/97524). | 31 October 2022, 21:11:16 UTC |
refs/heads/v1.8 | 121360c | v1.8.1 release | 12 July 2016, 15:51:48 UTC |
refs/heads/v2.0 | 07de0d8 | removed mdash characters from setup.py | 04 January 2017, 14:17:18 UTC |
refs/heads/v2.1 | 1df91d3 | v2.1.1 release version bump | 07 April 2017, 00:04:13 UTC |
refs/heads/v2.10 | 5b0a6fc | chore: bump version to 3.10.4 Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> | 16 March 2023, 21:03:10 UTC |
refs/heads/v2.11 | 8a099e4 | Fix version number mishap: actually update 0 to 1 (#4756) | 17 July 2023, 17:24:25 UTC |
refs/heads/v2.12 | 3e9dfa2 | docs: a few missed changes for 2.12 (#5074) | 27 March 2024, 23:24:54 UTC |
refs/heads/v2.2 | a23996f | flake8 fix | 24 October 2018, 11:25:25 UTC |
refs/heads/v2.3 | a1b71df | fix issue #1804 (warning about redefined macros) | 19 June 2019, 08:48:36 UTC |
refs/heads/v2.4 | 80d4524 | v2.4.3 release | 14 October 2019, 23:57:24 UTC |
refs/heads/v2.5 | 3b1dbeb | v2.5.0 release | 31 March 2020, 10:55:48 UTC |
refs/heads/v2.6 | 8de7772 | chore: prepare for the 2.6.2 release (#2821) | 27 January 2021, 02:26:45 UTC |
refs/heads/v2.7 | 5b44324 | include/pybind11/numpy.h: gcc 4.8.4 does not have is_trivially_copyable (#3270) | 15 September 2021, 17:52:32 UTC |
refs/heads/v2.8 | f7b4996 | [skip ci] Tweaks in preparation for the 2.8.1 release. (#3421) | 27 October 2021, 21:35:10 UTC |
refs/heads/v2.9 | 914c06f | chore: set to version 2.9.2 | 31 March 2022, 03:12:13 UTC |
refs/heads/void-caster-fix | 0991e90 | fix py::cast<void *> Pybind11 provides a cast operator between opaque void* pointers on the C++ side and capsules on the Python side. The py::cast<void *> expression was not aware of this possibility and incorrectly triggered a compile-time assertion ("Unable to cast type to reference: value is local to type caster") that is now fixed. | 11 November 2018, 16:24:32 UTC |
refs/reviewable/pr2438/r1 | 4cca280 | Fix bug roundtripping datetime.time objects after midnight in eastern hemisphere timezones (#2417) | 26 August 2020, 22:25:46 UTC |
refs/reviewable/pr2438/r2 | 8361044 | tests: only annotate on Linux | 27 August 2020, 13:34:45 UTC |
refs/reviewable/pr2438/r3 | af8efcf | tests: check more timezones | 27 August 2020, 13:52:52 UTC |
refs/reviewable/pr2438/r4 | 8a301ec | tests: check more timezones | 27 August 2020, 13:52:52 UTC |
refs/reviewable/pr2438/r5 | 83379f9 | Fix review remarks: remove useless comment and skip setting TZ environment variable on Windows | 27 August 2020, 21:59:43 UTC |
refs/reviewable/pr2746/r1 | 6967576 | Adding a valgrind build on debug Python 3.9 Co-authored-by: Boris Staletic <boris.staletic@gmail.com> | 26 December 2020, 00:29:45 UTC |
refs/reviewable/pr2746/r10 | 2c5833d | Cleanup nodelete holder objects in test_smart_ptr, and enable those tests | 27 December 2020, 22:04:42 UTC |
refs/reviewable/pr2746/r11 | 8173ee8 | Suppress multiprocessing errors | 28 December 2020, 01:50:13 UTC |
refs/reviewable/pr2746/r12 | 5e6d3ab | Ignore old-style __init__ warnings | 28 December 2020, 13:40:50 UTC |
refs/reviewable/pr2746/r13 | 20b0d79 | Reformat cmake | 28 December 2020, 18:13:37 UTC |
refs/reviewable/pr2746/r14 | 67d278a | Don't install SciPy on Python 3.10 | 28 December 2020, 21:10:44 UTC |
refs/reviewable/pr2746/r15 | 8e36026 | Some extra comments about the function_record ownership dance | 28 December 2020, 22:33:16 UTC |
refs/reviewable/pr2746/r16 | 267fb87 | Simplify ignoreOldStyleInitWarnings with py::exec | 28 December 2020, 23:12:34 UTC |
refs/reviewable/pr2746/r17 | 41fdea6 | Appease the formatting overlords - they are angry | 29 December 2020, 00:30:07 UTC |
refs/reviewable/pr2746/r18 | 727b3ae | Numpy seems to be spelled with a big P | 29 December 2020, 01:09:07 UTC |
refs/reviewable/pr2746/r19 | 529d766 | Only wrap single class_::defs to ignore DeprecationWarnings about old-style __init__ | 29 December 2020, 13:34:12 UTC |
refs/reviewable/pr2746/r2 | b5c8f3b | Enable assertions in debug python | 26 December 2020, 14:50:57 UTC |
refs/reviewable/pr2746/r20 | 1243bd6 | Cleanup nodelete holder objects in test_smart_ptr, and enable those tests | 27 December 2020, 22:04:42 UTC |
refs/reviewable/pr2746/r21 | 2e84115 | Suppress multiprocessing errors | 28 December 2020, 01:50:13 UTC |
refs/reviewable/pr2746/r22 | f9bb0bd | Ignore old-style __init__ warnings | 28 December 2020, 13:40:50 UTC |
refs/reviewable/pr2746/r23 | 609c736 | Reformat cmake | 28 December 2020, 18:13:37 UTC |
refs/reviewable/pr2746/r24 | d95694c | Simplify ignoreOldStyleInitWarnings with py::exec | 28 December 2020, 23:12:34 UTC |
refs/reviewable/pr2746/r25 | 5b8f55e | Numpy seems to be spelled with a big P | 29 December 2020, 01:09:07 UTC |
refs/reviewable/pr2746/r26 | 7b38a76 | Append single entry from valgrind-misc.supp to valgrind-python.supp, make clear this is only CPython, and format CMake valgrind target decently | 30 December 2020, 22:47:03 UTC |
refs/reviewable/pr2746/r27 | 2505bd3 | Add Valgrind suppression files - Introduce suppression file, populate it with a first suppression taken from CPython, and fix one leak in the tests - Suppress leak in NumPy - More clean tests! - Tests with names a-e passing (except for test_buffer) - Suppress multiprocessing errors - Merge multiprocessing suppressions into other suppression files - Numpy seems to be spelled with a big P - Append single entry from valgrind-misc.supp to valgrind-python.supp, and make clear valgrind-python.supp is only CPython Co-authored-by: Boris Staletic <boris.staletic@gmail.com> | 26 December 2020, 23:34:56 UTC |
refs/reviewable/pr2746/r28 | 7a09521 | Add a memcheck cmake target - Add a memcheck cmake target - Reformat cmake - Appease the formatting overlords - they are angry - Format CMake valgrind target decently | 28 December 2020, 16:19:37 UTC |
refs/reviewable/pr2746/r29 | e26e714 | Update CI config to new action versions | 14 January 2021, 19:00:14 UTC |
refs/reviewable/pr2746/r3 | 4889a59 | Use YannickJadoul/deadsnakes-action@dbg-versions fork branch of deadsnakes/action | 26 December 2020, 19:20:46 UTC |
refs/reviewable/pr2746/r30 | 3c6efb6 | ci: cleanup | 15 January 2021, 04:26:45 UTC |
refs/reviewable/pr2746/r31 | 8abf0da | Merge Valgrind and other deadsnakes builds | 15 January 2021, 13:56:58 UTC |
refs/reviewable/pr2746/r4 | 2973c03 | Update use of deadsnakes action | 26 December 2020, 22:03:42 UTC |
refs/reviewable/pr2746/r5 | 9804ef1 | Tests with names a-e passing (except for test_buffer) | 27 December 2020, 02:08:30 UTC |
refs/reviewable/pr2746/r6 | 448e5b4 | Enable more already clean tests | 27 December 2020, 12:45:48 UTC |
refs/reviewable/pr2746/r7 | d82e8e1 | Plug leaking function_record objects when exceptions are thrown, and enable test_kwargs_and_defaults.py | 27 December 2020, 18:22:46 UTC |
refs/reviewable/pr2746/r8 | b7f0370 | test_numpy_* apparently all work | 27 December 2020, 18:35:22 UTC |
refs/reviewable/pr2746/r9 | 15f40d2 | Cleanup nodelete holder objects in test_smart_ptr, and enable those tests | 27 December 2020, 22:04:42 UTC |
refs/tags/archive/llvm_sanitizer_mods | 4aaa7a2 | [WIP] Testing with ASAN, MSAN, TSAN. | 01 November 2020, 04:13:31 UTC |
refs/tags/archive/pr2198_list_caster_bytes_uint8 | 04859f2 | also commenting out the new lambda function in test_stl.cpp | 04 December 2020, 03:48:43 UTC |
refs/tags/archive/pr2409_2020_10_18_two_defines | d9b29d5 | fixing accident in merge conflict resolution + black reformatting | 18 October 2020, 07:07:49 UTC |
refs/tags/archive/pr2672_sideline_cast_shtc_interleaved | 249df7c | Manipulating failing ConstructorStats test to pass, to be able to run all tests with ASAN. This version of the code is ASAN clean with unique_ptr or smart_holder as the default. This change needs to be reverted after adopting the existing move-only-if-refcount-is-1 logic used by type_caster_base. | 10 February 2021, 00:14:47 UTC |
refs/tags/archive/pr2672_sideline_cast_shtc_interleaved_openspiel_pattern | f70c493 | Demonstrating that py::cast<std::unique_ptr<Foo>>(foo_py); works with py::classh (it does not build with class_). | 29 January 2021, 21:27:29 UTC |
refs/tags/archive/pr2672_test_unique_ptr_member | 4255d6c | Fixing another `git rebase master` accident. | 24 February 2021, 04:18:27 UTC |
refs/tags/archive/pr2672_use_smart_holder_as_default_v1 | bb80e68 | Merge branch 'test_unique_ptr_member' into pr2672_use_smart_holder_as_default | 22 February 2021, 14:09:09 UTC |
refs/tags/archive/pr2687_move_holder_test_premature_delete | 0c395cf | demonstrate premature delete using current #2687 | 24 November 2020, 03:13:40 UTC |
refs/tags/archive/xxx_value_ptr_xxx_holder | 6a194b5 | pass_shared_vrederived test | 17 December 2020, 08:20:44 UTC |
refs/tags/archive/yclass_v0 | 410e364 | first quick experiment adding yclass | 18 November 2020, 16:52:09 UTC |
refs/tags/milestones_reached/pr2672_as_deployed_with_cl_358092606 | 797fe06 | Adding source code comments in response to review. | 18 February 2021, 04:02:49 UTC |
refs/tags/v2.12.0 | 3e9dfa2 | docs: a few missed changes for 2.12 (#5074) | 27 March 2024, 23:24:54 UTC |
refs/tags/v2.6.0b1 | 319b996 | fix: metadata was adding quotes to distinfo | 30 September 2020, 21:17:59 UTC |
refs/tags/v2.6.0rc1 | d46f332 | fix: allow cmake varibles from Python calls to be cached (#2570) | 09 October 2020, 21:33:45 UTC |
refs/tags/v2.6.0rc2 | c4a8b5b | chore: bump to 2.6.0rc2 | 14 October 2020, 20:37:25 UTC |
refs/tags/v2.6.0rc3 | c16da99 | chore: bump to 2.6.0rc3 | 16 October 2020, 21:34:53 UTC |