-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[smart_holder] git merge master #5303
Commits on Aug 12, 2024
-
fix(cmake): add required emscripten flags (pybind#5298)
* fix(cmake): add required emscripten flags Signed-off-by: Henry Schreiner <[email protected]> * Update emscripten.yaml * fix(cmake): add required emscripten flags to headers target Signed-off-by: Henry Schreiner <[email protected]> * fix(cmake): incorrect detection of Emscripten Signed-off-by: Henry Schreiner <[email protected]> * fix(cmake): allow pybind11::headers to be modified Signed-off-by: Henry Schreiner <[email protected]> * fix(cmake): hide a warning when building the tests standalone Signed-off-by: Henry Schreiner <[email protected]> * fix(cmake): use explicit variable for is config Signed-off-by: Henry Schreiner <[email protected]> * fix(cmake): go back to ALIAS target Signed-off-by: Henry Schreiner <[email protected]> * chore: reduce overall diff Signed-off-by: Henry Schreiner <[email protected]> * chore: reduce overall diff Signed-off-by: Henry Schreiner <[email protected]> * chore: shorten code a bit Signed-off-by: Henry Schreiner <[email protected]> --------- Signed-off-by: Henry Schreiner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fc59f4e - Browse repository at this point
Copy the full SHA fc59f4eView commit details -
chore(deps): bump actions/attest-build-provenance in the actions group (
pybind#5297) Bumps the actions group with 1 update: [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance). Updates `actions/attest-build-provenance` from 1.4.0 to 1.4.1 - [Release notes](https://github.com/actions/attest-build-provenance/releases) - [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md) - [Commits](actions/attest-build-provenance@210c191...310b0a4) --- updated-dependencies: - dependency-name: actions/attest-build-provenance dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions ... 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 8d90b83 - Browse repository at this point
Copy the full SHA 8d90b83View commit details
Commits on Aug 13, 2024
-
docs: prepare for 2.13.2 (pybind#5299)
* docs: prepare for 2.13.2 Signed-off-by: Henry Schreiner <[email protected]> * Update changelog.rst * Update changelog.rst --------- Signed-off-by: Henry Schreiner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 40f2c78 - Browse repository at this point
Copy the full SHA 40f2c78View commit details -
fix: emscripten cmake issue (pybind#5301)
Signed-off-by: Henry Schreiner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1fe92c7 - Browse repository at this point
Copy the full SHA 1fe92c7View commit details -
fix: quote paths from pybind11-config (pybind#5302)
Signed-off-by: Henry Schreiner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8d9f4d5 - Browse repository at this point
Copy the full SHA 8d9f4d5View commit details -
Signed-off-by: Henry Schreiner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4a06eca - Browse repository at this point
Copy the full SHA 4a06ecaView commit details -
Make stl.h
list|set|map_caster
more user friendly. (pybind#4686)* Add `test_pass_std_vector_int()`, `test_pass_std_set_int()` in test_stl * Change `list_caster` to also accept generator objects (`PyGen_Check(src.ptr()`). Note for completeness: This is a more conservative change than google/pybind11clif#30042 * Drop in (currently unpublished) PyCLIF code, use in `list_caster`, adjust tests. * Use `PyObjectTypeIsConvertibleToStdSet()` in `set_caster`, adjust tests. * Use `PyObjectTypeIsConvertibleToStdMap()` in `map_caster`, add tests. * Simplify `list_caster` `load()` implementation, push str/bytes check into `PyObjectTypeIsConvertibleToStdVector()`. * clang-tidy cleanup with a few extra `(... != 0)` to be more consistent. * Also use `PyObjectTypeIsConvertibleToStdVector()` in `array_caster`. * Update comment pointing to clif/python/runtime.cc (code is unchanged). * Comprehensive test coverage, enhanced set_caster load implementation. * Resolve clang-tidy eror. * Add a long C++ comment explaining what led to the `PyObjectTypeIsConvertibleTo*()` implementations. * Minor function name change in test. * strcmp -> std::strcmp (thanks @Skylion007 for catching this) * Add `PyCallable_Check(items)` in `PyObjectTypeIsConvertibleToStdMap()` * Resolve clang-tidy error * Use `PyMapping_Items()` instead of `src.attr("items")()`, to be internally consistent with `PyMapping_Check()` * Update link to PyCLIF sources. * Fix typo (thanks @wangxf123456 for catching this) * Add `test_pass_std_vector_int()`, `test_pass_std_set_int()` in test_stl * Change `list_caster` to also accept generator objects (`PyGen_Check(src.ptr()`). Note for completeness: This is a more conservative change than google/pybind11clif#30042 * Drop in (currently unpublished) PyCLIF code, use in `list_caster`, adjust tests. * Use `PyObjectTypeIsConvertibleToStdSet()` in `set_caster`, adjust tests. * Use `PyObjectTypeIsConvertibleToStdMap()` in `map_caster`, add tests. * Simplify `list_caster` `load()` implementation, push str/bytes check into `PyObjectTypeIsConvertibleToStdVector()`. * clang-tidy cleanup with a few extra `(... != 0)` to be more consistent. * Also use `PyObjectTypeIsConvertibleToStdVector()` in `array_caster`. * Update comment pointing to clif/python/runtime.cc (code is unchanged). * Comprehensive test coverage, enhanced set_caster load implementation. * Resolve clang-tidy eror. * Add a long C++ comment explaining what led to the `PyObjectTypeIsConvertibleTo*()` implementations. * Minor function name change in test. * strcmp -> std::strcmp (thanks @Skylion007 for catching this) * Add `PyCallable_Check(items)` in `PyObjectTypeIsConvertibleToStdMap()` * Resolve clang-tidy error * Use `PyMapping_Items()` instead of `src.attr("items")()`, to be internally consistent with `PyMapping_Check()` * Update link to PyCLIF sources. * Fix typo (thanks @wangxf123456 for catching this) * Fix typo discovered by new version of codespell.
Ralf W. Grosse-Kunstleve authoredAug 13, 2024 Configuration menu - View commit details
-
Copy full SHA for 0d44d72 - Browse repository at this point
Copy the full SHA 0d44d72View commit details -
Merge branch 'master' into sh_merge_master
Ralf W. Grosse-Kunstleve committedAug 13, 2024 Configuration menu - View commit details
-
Copy full SHA for 28b0163 - Browse repository at this point
Copy the full SHA 28b0163View commit details