Commit Graph

  • c630e22c1c Add static_asserts to enforce that py::smart_holder is combined with py::trampoline_self_life_support (#5633) Ralf W. Grosse-Kunstleve 2025-04-30 22:12:13 -07:00
  • c7f3460f18 Fix gcc compiler warnings (#5523) Robert Haschke 2025-04-30 19:29:00 +02:00
  • d3fee42905 chore(deps): bump astral-sh/setup-uv from 5 to 6 in the actions group (#5632) dependabot[bot] 2025-04-28 11:28:07 -07:00
  • bc4a66dff0 fix: provide useful behavior of default py::slice (#5620) Bryn Lloyd 2025-04-17 00:42:34 +02:00
  • 5c498583cc fix: upgrade 20.04 runners to 22.04 (fix for ICC, NVHPC) (#5621) Bryn Lloyd 2025-04-16 14:13:23 +02:00
  • 223e2e9da2 Fix missing pythonic type hints for native_enum (#5619) Bryn Lloyd 2025-04-16 06:38:15 +02:00
  • 3c586340fb Add class doc string to native_enum (#5617) Bryn Lloyd 2025-04-15 08:19:06 +02:00
  • b3bb31ca51 ci: work on speeding up further (#5613) Henry Schreiner 2025-04-14 17:25:32 -04:00
  • cbcc23855e Factor out pybind11/gil_simple.h (#5614) Ralf W. Grosse-Kunstleve 2025-04-13 19:48:32 -07:00
  • ee04df0d02 Updated STL casters and py::buffer to use collections.abc (#5566) Tim Ohliger 2025-04-14 04:47:19 +02:00
  • f3c1913827 Remove obsolete "E501" line in pyproject.toml (#5539) Ralf W. Grosse-Kunstleve 2025-04-10 23:09:02 -07:00
  • 662a88cbc1 ci: speed up ci a bit by thinning out matrix (#5602) Henry Schreiner 2025-04-10 23:21:57 -04:00
  • a2951abbec chore(deps): update pre-commit hooks (#5605) pre-commit-ci[bot] 2025-04-10 18:31:28 -04:00
  • d25e91fb8f fix(cmake): warning about missing file (#5612) Henry Schreiner 2025-04-10 17:48:16 -04:00
  • 31e52b2cd3 Add holder caster traits tests in test_smart_ptr.cpp,py (#5603) Ralf W. Grosse-Kunstleve 2025-04-10 12:37:50 -07:00
  • e38beb96c4 [skip ci] Move "Pitfalls with raw pointers and shared ownership" section to a more prominent location. (#5611) Ralf W. Grosse-Kunstleve 2025-04-10 12:12:00 -07:00
  • 1bd1d1ced8 Change PyCFunction cast in function_record_pyobject.h to sidestep unhelpful compiler warnings. (#5608) Ralf W. Grosse-Kunstleve 2025-04-10 12:09:59 -07:00
  • 708ce4d9c7 Fix GraalPy version parsing on dev builds (#5609) Michael Šimáček 2025-04-09 18:09:15 +02:00
  • a28ea8ccc5 Eliminate pybindit namespace (#5607) Ralf W. Grosse-Kunstleve 2025-04-08 20:46:24 -07:00
  • 6d1f28fe2b feat: remove make_simple_namespace (#5597) Henry Schreiner 2025-04-08 23:44:18 -04:00
  • 73ad3099fb fix: fully deprecate get_type_of (deprecated in 2.6 but no warning (#5596) Henry Schreiner 2025-04-08 23:43:49 -04:00
  • b70b8eb332 chore: require pytest 6 consistently (#5599) Henry Schreiner 2025-04-04 15:35:55 -04:00
  • fdab860a32 feat: drop PYBIND11_NUMPY_1_ONLY (#5595) Henry Schreiner 2025-04-03 22:08:56 -04:00
  • 55b1357d8e chore: update nox and test deps (#5594) Henry Schreiner 2025-04-02 08:24:15 -04:00
  • 8ef10a0ec9 ci: update to GraalPy 24.2 and mention in README (#5586) Henry Schreiner 2025-03-31 22:50:55 -04:00
  • d27fdaa272 chore: update for CMake 4.0 (#5593) Henry Schreiner 2025-03-31 22:50:40 -04:00
  • e03ec30632 Squashed function_record_std_launder/manuscript — 57b9a0af815d19b236b74be06a172bc5c9956618 — 2025-03-30 20:14:21 -0700 (#5592) Ralf W. Grosse-Kunstleve 2025-03-31 15:54:38 -07:00
  • a34fcdc48d [ci skip] Response to question by gh-henryiii (https://github.com/pybind/pybind11/pull/5580#discussion_r2019137216) (#5591) Ralf W. Grosse-Kunstleve 2025-03-30 19:56:07 -07:00
  • 8726ed22d8 Fix build failure when shared_ptr<T> points to private std::enable_shared_from_this base (#5590) Ralf W. Grosse-Kunstleve 2025-03-30 19:43:40 -07:00
  • e7e5d6e5bb Make wrapped C++ functions pickleable (#5580) Ralf W. Grosse-Kunstleve 2025-03-28 11:50:37 -07:00
  • 8f00d1eea0 fix: set __file__ on submodules (#5584) Henry Schreiner 2025-03-28 12:57:39 -04:00
  • c1cd022f16 tests: Add test for boost::histogram::func_transform situation. (#5582) Ralf W. Grosse-Kunstleve 2025-03-28 08:36:02 -07:00
  • f365314ec0 Enable Conversions Between Native Python Enum Types and C++ Enums (#5555) Ralf W. Grosse-Kunstleve 2025-03-24 20:31:59 -07:00
  • 48eb5ad9b9 Remove PyPy 3.8 and 3.9 testing. Make a pass through the entire repo to remove obviously obsolete workarounds for PyPy < 3.10. (#5578) Ralf W. Grosse-Kunstleve 2025-03-23 20:35:14 -07:00
  • 566894d5f1 Fix null pointer dereference in attr_with_type_hint (#5576) Michael Carlstrom 2025-03-23 10:09:46 -07:00
  • 974eba77a5 Change PYBIND11_MODULE to use multi-phase init (PEP 489) (#5574) b-pass 2025-03-21 11:03:34 -04:00
  • 97022f83ce TEST: test passes on PyPy macOS (#5569) Matti Picus 2025-03-21 07:41:33 +02:00
  • 6412615ebb Update NDArray[object] to be NDArray[numpy.object_] (#5571) Michael Carlstrom 2025-03-20 20:57:51 -07:00
  • bb504dd809 fix: FindPython by default logic error (#5561) Henry Schreiner 2025-03-20 17:38:30 -04:00
  • 655c60d84c docs: fix incorrect name (PYBIND11_NEWPYTHON) (#5570) Henry Schreiner 2025-03-19 12:45:26 -04:00
  • 9f08625d60 Updated py::capsule type hint to use new types.CapsuleType (#5567) Tim Ohliger 2025-03-18 19:29:57 +01:00
  • dfe7e65b45 feat(types): Use typing.SupportsInt and typing.SupportsFloat and fix other typing based bugs. (#5540) Michael Carlstrom 2025-03-18 07:56:34 -07:00
  • 16b5abd428 chore: bump catch download to 2.13.10 (#5568) Henry Schreiner 2025-03-17 17:18:00 -04:00
  • d28904f12e feat: FindPython by default (#5553) Henry Schreiner 2025-03-11 18:10:26 -04:00
  • 06e8ee2e35 chore(deps): bump actions/attest-build-provenance in the actions group (#5556) dependabot[bot] 2025-03-10 15:54:17 -04:00
  • d422fda125 chore(deps): bump jinja2 from 3.1.5 to 3.1.6 in /docs (#5554) dependabot[bot] 2025-03-06 17:18:19 -05:00
  • e24e300c75 chore(deps): update pre-commit hooks (#5547) pre-commit-ci[bot] 2025-03-06 14:22:10 -05:00
  • a822be20d7 chore(deps): bump the actions group with 2 updates (#5546) dependabot[bot] 2025-03-06 14:21:54 -05:00
  • ded70fe605 Add pkgconf-pypi entrypoint (#5552) Dustin Spicuzza 2025-03-06 14:21:24 -05:00
  • 79be5c8316 test: Explicitly mark char as signed in dtype tests (#5545) Paul Ganssle 2025-03-06 03:19:54 -05:00
  • 68a11bb65b [ci skip] Change/add notes: THIS BRANCH IS OBSOLETE. archive/smart_holder Ralf W. Grosse-Kunstleve 2025-03-05 13:58:53 -08:00
  • 2943a27a14 squash-merge smart_holder branch into master (#5542) Ralf W. Grosse-Kunstleve 2025-03-05 12:40:53 -08:00
  • aed215c4d4 [smart_holder] Remove obsolete detail::type_info::default_holder member. (#5541) Ralf W. Grosse-Kunstleve 2025-02-22 11:12:12 -08:00
  • 5ab036bf08 [smart_holder] Simplification: Enable smart_holder functionality unconditionally. (#5531) Ralf W. Grosse-Kunstleve 2025-02-22 10:22:20 -08:00
  • dc37cba85d Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2025-02-20 19:26:42 -08:00
  • d8565ac731 Sync Py_TPFLAGS_MANAGED_DICT for PyPy3.11 across the codebase (#5537) Michał Górny 2025-02-20 22:53:45 +01:00
  • 09b9f44ab7 add recently released pypy3.11 (#5534) Matti Picus 2025-02-20 20:04:16 +02:00
  • 73825f351b Improved reference_internal documentation (#5528) gentlegiantJGC 2025-02-20 17:53:56 +00:00
  • 7903850034 Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2025-02-19 09:39:01 -08:00
  • b7c33009ac Start pybind11v3: Remove all code for PYBIND11_INTERNALS_VERSIONs 4 and 5 (#5530) Ralf W. Grosse-Kunstleve 2025-02-19 09:24:02 -08:00
  • eba3d617ee Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2025-02-17 23:18:23 -08:00
  • 241524223a feat(types) Numpy.typing.NDArray (#5212) Michael Carlstrom 2025-02-18 02:13:05 -05:00
  • ad0d55a616 Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2025-02-16 13:07:16 -08:00
  • 34a118fd36 Add release_gil_before_calling_cpp_dtor annotation for class_ (#5522) Ralf W. Grosse-Kunstleve 2025-02-16 11:01:41 -08:00
  • 7d37eb9949 Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2025-02-12 19:47:31 -08:00
  • c316cf3620 Make PYBIND11_INTERNALS_VERSION 6 the default on all platforms. (#5512) Ralf W. Grosse-Kunstleve 2025-02-12 15:05:58 -08:00
  • 31d7c870cf Remove some maybe-uninitialized warnings (#5516) daizhirui 2025-02-08 10:43:25 -08:00
  • 664876eebf Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2025-02-04 09:44:56 -08:00
  • d2e7e8c687 chore(deps): update pre-commit hooks (#5513) pre-commit-ci[bot] 2025-02-04 08:36:08 -08:00
  • ab44b307b2 Skip transient crash on GraalPy on OS X (#5514) Michael Šimáček 2025-02-04 16:48:47 +01:00
  • 8862cd4e7d chore(deps): bump seanmiddleditch/gha-setup-ninja in the actions group (#5509) dependabot[bot] 2025-02-02 21:54:30 -08:00
  • fe87568f0b PyPy 3.11 does not implement Py_TPFLAGS_MANAGED_DICT (#5508) Matti Picus 2025-02-03 16:52:04 +11:00
  • 84017e8c18 Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2025-01-29 16:09:01 -08:00
  • 82845c3b48 chore(deps): bump actions/attest-build-provenance in the actions group (#5503) dependabot[bot] 2025-01-29 15:57:39 -08:00
  • 924261e814 chore(cmake): Add an author warning that auto-calculated PYTHON_MODULE_EXTENSION may not respect SETUPTOOLS_EXT_SUFFIX during cross-compilation (#5495) Xuehai Pan 2025-01-25 06:21:05 +08:00
  • c19c291b98 feat: --extension-suffix for pybind11 command (#5360) Nikul Patel 2025-01-24 22:13:21 +00:00
  • 167bb5f271 fix(cmake): don't strip with BUILD_TYPE None (#5392) Jochen Sprickerhof 2025-01-24 23:08:47 +01:00
  • 1b7aa0bb66 feat: rework of arg/return type hints to support .noconvert() (#5486) Tim Ohliger 2025-01-24 23:01:06 +01:00
  • 195a7c9892 Resolve mypy error after git merge master: Ralf W. Grosse-Kunstleve 2025-01-16 11:29:59 -08:00
  • dbd79474b4 Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2025-01-16 11:28:10 -08:00
  • 15d9dae14b Fix data race when using shared variables (free threading) (#5494) Sam Gross 2025-01-16 14:13:21 -05:00
  • 945e251a6c chore(deps): bump jinja2 from 3.1.4 to 3.1.5 in /docs (#5490) dependabot[bot] 2025-01-08 21:02:02 -08:00
  • a09cf61844 chore(deps): update pre-commit hooks (#5488) pre-commit-ci[bot] 2025-01-06 18:43:31 -08:00
  • 449f413a95 Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2024-12-30 19:54:48 -08:00
  • c5ed9d4b19 Fix module type hint (#5469) gentlegiantJGC 2024-12-31 03:53:30 +00:00
  • 3c85ffcf5a Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2024-12-21 16:23:55 -08:00
  • cf020a1de2 feat(types) Allow setting types for attributes (#5460) Michael Carlstrom 2024-12-21 16:22:08 -08:00
  • 58042d4270 Resolve new ruff error. Ralf W. Grosse-Kunstleve 2024-12-20 01:51:16 -08:00
  • 4629fbc4d5 Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2024-12-20 01:44:48 -08:00
  • 5b503f7ec9 chore(deps): bump actions/attest-build-provenance in the actions group (#5468) dependabot[bot] 2024-12-20 01:42:32 -08:00
  • 3e419485c3 PYBIND11_PLATFORM_ABI_ID Modernization Continued (platforms other than MSVC) (#5439) Ralf W. Grosse-Kunstleve 2024-12-20 01:39:32 -08:00
  • 741d86f2e3 Drop Clang dev CI job (#5464) Ralf W. Grosse-Kunstleve 2024-12-12 11:15:21 -08:00
  • 3ebdc503d2 chore(deps): bump actions/attest-build-provenance in the actions group (#5461) dependabot[bot] 2024-12-09 10:24:06 -08:00
  • b17555f340 chore(deps): update pre-commit hooks (#5459) pre-commit-ci[bot] 2024-12-08 15:21:49 -08:00
  • 1d09fc8300 Option for arg/return type hints and correct typing for std::filesystem::path (#5450) Tim Ohliger 2024-12-08 20:30:49 +01:00
  • a6d1ff2460 fix: make PYBIND11_WARNING_POP actually pop clang diagnostics (#5448) James Morris 2024-12-08 10:16:41 -05:00
  • e7c9b90739 chore(deps): bump pypa/cibuildwheel in the actions group (#5451) dependabot[bot] 2024-11-24 19:01:42 -08:00
  • 83b92ceb35 Try to fix reentrant write transient failures in tests (#5447) Michael Šimáček 2024-11-18 23:39:59 +01:00
  • 8edb638336 Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2024-11-17 11:47:47 -08:00
  • 330aae51cf Remove mingw-w64-i686-python-numpy from mingw32 build (it does not seem to exist anymore). (#5445) Ralf W. Grosse-Kunstleve 2024-11-17 11:46:55 -08:00