-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Comparing changes
Open a pull request
base repository: pybind/pybind11
base: v3.0.0rc3
head repository: pybind/pybind11
compare: v3.0.0rc4
- 17 commits
- 33 files changed
- 11 contributors
Commits on Jun 6, 2025
-
test: run pytest under Python devmode (#5715)
* test: run pytest under Python devmode * test: skip segfault bug with 3.14.0b1/2 * test: skip segfault bug with 3.14.0b1/2 * test: unset CMAKE_BUILD_PARALLEL_LEVEL
Configuration menu - View commit details
-
Copy full SHA for 6c5d25a - Browse repository at this point
Copy the full SHA 6c5d25aView commit details
Commits on Jun 10, 2025
-
chore(deps): bump requests from 2.32.3 to 2.32.4 in /docs (#5720)
Bumps [requests](https://github.com/psf/requests) from 2.32.3 to 2.32.4. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](psf/requests@v2.32.3...v2.32.4) --- updated-dependencies: - dependency-name: requests dependency-version: 2.32.4 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ff0e381 - Browse repository at this point
Copy the full SHA ff0e381View commit details -
Configuration menu - View commit details
-
Copy full SHA for 513d1f9 - Browse repository at this point
Copy the full SHA 513d1f9View commit details
Commits on Jun 11, 2025
-
fix: add support for const-only smart pointers (#5718)
* add support for const pointers in smart pointers * use c++11 compatible code * add template parameter in test * Make the const-removal clearly visible. This simplifies the production code changes significantly. For background see: https://claude.ai/share/4085d9ab-a859-44cc-bb56-450e472f817a * test without leaks * add namespace for test * rename test * fix test compilation * using namespace test_const_only_smart_ptr; * fix smartptr in test * smaller test body * move test * style: pre-commit fixes --------- Co-authored-by: Ralf W. Grosse-Kunstleve <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7ed76e2 - Browse repository at this point
Copy the full SHA 7ed76e2View commit details
Commits on Jun 12, 2025
-
chore(deps): bump pypa/cibuildwheel from 3.0.0rc2 to 3.0 in the actio…
…ns group (#5721) * chore(deps): bump pypa/cibuildwheel in the actions group Bumps the actions group with 1 update: [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel). Updates `pypa/cibuildwheel` from 3.0.0rc2 to 3.0.0 - [Release notes](https://github.com/pypa/cibuildwheel/releases) - [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md) - [Commits](pypa/cibuildwheel@v3.0.0rc2...v3.0.0) --- updated-dependencies: - dependency-name: pypa/cibuildwheel dependency-version: 3.0.0 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions ... Signed-off-by: dependabot[bot] <[email protected]> * Update tests-cibw.yml --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f8640da - Browse repository at this point
Copy the full SHA f8640daView commit details
Commits on Jun 13, 2025
-
Configuration menu - View commit details
-
Copy full SHA for d218b16 - Browse repository at this point
Copy the full SHA d218b16View commit details
Commits on Jun 14, 2025
-
Configuration menu - View commit details
-
Copy full SHA for f3bb007 - Browse repository at this point
Copy the full SHA f3bb007View commit details
Commits on Jun 17, 2025
-
docs: add documentation entry for warnings (#5356)
* [docs] Add entry for warnings * Fix code formatting * Update docs * Fix issue with docs * [skip ci] Minor edits. --------- Co-authored-by: Ralf W. Grosse-Kunstleve <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e2f86af - Browse repository at this point
Copy the full SHA e2f86afView commit details -
Eliminate cross-DSO RTTI reliance in
smart_holderfunctionality (fo……r platforms like macOS). (#5728) * Revert PR #5700 production code change (pybind11/detail/struct_smart_holder.h). ``` git checkout b194891~1 include/pybind11/detail/struct_smart_holder.h ``` * Introduce `get_internals().get_memory_guarded_delete()` * [skip ci] Only pass around `memory::get_guarded_delete` function pointer. * [skip ci] Change a variable name for internal consistency. Add 3 x NOTE: PYBIND11_INTERNALS_VERSION needs to be bumped if changes are made to this struct. * Add comment: get_internals().get_memory_guarded_delete does not need with_internals() * Traverse all DSOs to find memory::guarded_delete with matching RTTI. * Add nullptr check to dynamic_cast overload. Suggested by ChatGPT for these reasons: * Prevents runtime RTTI lookups on nullptr. * Helps avoid undefined behavior if users pass in nulls from failed casts or optional paths. * Ensures consistent return value semantics and no accidental access to vtable. * Improve smart_holder unique_ptr deleter compatibility checks across DSOs: * Replace RTTI-based detection of std::default_delete<T> with a constexpr check to avoid RTTI reliance * Add type_info_equal_across_dso_boundaries() fallback using type_info::name() for RTTI equality across macOS DSOs * Rename related flags and functions for clarity (e.g., builtin → std_default) * Improves ABI robustness and clarity of ownership checks in smart_holder * Trivial renaming for internal consistency: builtin_delete → std_default_delete * Add get_trampoline_self_life_support to detail::type_info (passes local testing). * Polish previous commit slightly. * [skip ci] Store memory::get_guarded_delete in `detail::type_info` instead of `detail::internals` (no searching across DSOs required). * Revert change suggested by ChatGPT. After double-checking, ChatGPT agrees this isn't needed. * Minor polishing.
Configuration menu - View commit details
-
Copy full SHA for 365d41a - Browse repository at this point
Copy the full SHA 365d41aView commit details -
Add support for
shared_ptr<const T>inpy::init()with `smart_hol……der` (#5731) * Add overload to enable `.def(py::init(&rtrn_shcp))`. Also uncomment `.def(py::init(&rtrn_uqcp))` and `.def(py::init(&rtrn_udcp))`, which happen to work already (not sure what change in the past made those work). * Introduce `construct_from_shared_ptr()` helper for DRY-ness.
Configuration menu - View commit details
-
Copy full SHA for 86e82dd - Browse repository at this point
Copy the full SHA 86e82ddView commit details
Commits on Jun 18, 2025
-
Configuration menu - View commit details
-
Copy full SHA for ad9180c - Browse repository at this point
Copy the full SHA ad9180cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2c0ab8 - Browse repository at this point
Copy the full SHA f2c0ab8View commit details -
ci: check latest on 3.13 (#5734)
Signed-off-by: Henry Schreiner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for be507b7 - Browse repository at this point
Copy the full SHA be507b7View commit details -
tests: handle 3.12 and 3.13 implementations and 3.14.0b3+ (#5732)
* Use pytest.importorskip to get _xxsubinterpreters * tests: use modern interpreter API Signed-off-by: Henry Schreiner <[email protected]> * tests: try to fix beta2 Signed-off-by: Henry Schreiner <[email protected]> * fix: remove debug printout Signed-off-by: Henry Schreiner <[email protected]> * tests: drop useless checks Signed-off-by: Henry Schreiner <[email protected]> * tests: improve check for 3.14.0b3 and b4+ Signed-off-by: Henry Schreiner <[email protected]> * style: pre-commit fixes --------- Signed-off-by: Henry Schreiner <[email protected]> Co-authored-by: Henry Schreiner <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c60c149 - Browse repository at this point
Copy the full SHA c60c149View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf3d1a7 - Browse repository at this point
Copy the full SHA cf3d1a7View commit details
Commits on Jun 19, 2025
-
chore(deps): bump urllib3 from 2.2.2 to 2.5.0 in /docs (#5735)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.2 to 2.5.0. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@2.2.2...2.5.0) --- updated-dependencies: - dependency-name: urllib3 dependency-version: 2.5.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for bdc56d9 - Browse repository at this point
Copy the full SHA bdc56d9View commit details -
chore: prepare for 3.0.0rc4 (#5736)
Signed-off-by: Henry Schreiner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ea3e33e - Browse repository at this point
Copy the full SHA ea3e33eView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.0.0rc3...v3.0.0rc4