Skip to content
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

Merged
merged 8 commits into from
Aug 13, 2024
Merged

Commits on Aug 12, 2024

  1. 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]>
    henryiii authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    fc59f4e View commit details
    Browse the repository at this point in the history
  2. 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>
    dependabot[bot] authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    8d90b83 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. 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]>
    henryiii authored Aug 13, 2024
    Configuration menu
    Copy the full SHA
    40f2c78 View commit details
    Browse the repository at this point in the history
  2. fix: emscripten cmake issue (pybind#5301)

    Signed-off-by: Henry Schreiner <[email protected]>
    henryiii authored Aug 13, 2024
    Configuration menu
    Copy the full SHA
    1fe92c7 View commit details
    Browse the repository at this point in the history
  3. fix: quote paths from pybind11-config (pybind#5302)

    Signed-off-by: Henry Schreiner <[email protected]>
    henryiii authored Aug 13, 2024
    Configuration menu
    Copy the full SHA
    8d9f4d5 View commit details
    Browse the repository at this point in the history
  4. docs: prepare for 2.13.3

    Signed-off-by: Henry Schreiner <[email protected]>
    henryiii committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    4a06eca View commit details
    Browse the repository at this point in the history
  5. 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 authored Aug 13, 2024
    Configuration menu
    Copy the full SHA
    0d44d72 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'master' into sh_merge_master

    Ralf W. Grosse-Kunstleve committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    28b0163 View commit details
    Browse the repository at this point in the history