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 #4871

Merged
merged 12 commits into from
Oct 4, 2023
Merged

Commits on Sep 12, 2023

  1. Configuration menu
    Copy the full SHA
    c9149d9 View commit details
    Browse the repository at this point in the history
  2. Update render for buffer sequence and handle (pybind#4831)

    * fix: Add capitalize render name of `py::buffer` and `py::sequence`
    
    * fix: Render `py::handle` same way as `py::object`
    
    * tests: Fix tests `handle` -> `object`
    
    * tests: Test capitaliation of `py::sequence` and `py::buffer`
    
    * style: pre-commit fixes
    
    * fix: Render `py::object` as `Any`
    
    * Revert "fix: Render `py::object` as `Any`"
    
    This reverts commit 7861dcf.
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Ralf W. Grosse-Kunstleve <[email protected]>
    3 people authored Sep 12, 2023
    Configuration menu
    Copy the full SHA
    b457367 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8c7b8dd View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. Fix small bug introduced with PR pybind#4735 (pybind#4845)

    * Bug fix: `result[0]` called if `result.empty()`
    
    * Add unit test that fails without the fix.
    Ralf W. Grosse-Kunstleve authored Sep 14, 2023
    Configuration menu
    Copy the full SHA
    d06d536 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2023

  1. Configuration menu
    Copy the full SHA
    4fb111b View commit details
    Browse the repository at this point in the history
  2. fix(cmake): support DEBUG_POSTFIX correctly (pybind#4761)

    * cmake: split extension
    
    Into suffix and debug postfix. Pybind11 is currently treating both as
    suffix, which is problematic when something else defines the
    DEBUG_POSTFIX because they will be concatenated.
    
    pybind11_extension sets SUFFIX to _d.something and if DEBUG_POSTFIX is
    set to _d.
    
        _d + _d.something = _d_d.something
    
    The issue has been reported at:
    
    pybind#4699
    
    * style: pre-commit fixes
    
    * fix(cmake): support postfix for old FindPythonInterp mode too
    
    Signed-off-by: Henry Schreiner <[email protected]>
    
    ---------
    
    Signed-off-by: Henry Schreiner <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Henry Schreiner <[email protected]>
    3 people authored Sep 15, 2023
    Configuration menu
    Copy the full SHA
    5891867 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. Avoid copy in iteration by using const auto & (pybind#4861)

    This change is fixing a Coverity AUTO_CAUSES_COPY issues.
    oleksandr-pavlyk authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    7e5edbc View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2023

  1. Add 2 missing throw error_already_set(); (pybind#4863)

    Fixes oversights in PR pybind#4570.
    Ralf W. Grosse-Kunstleve authored Sep 27, 2023
    Configuration menu
    Copy the full SHA
    f468b07 View commit details
    Browse the repository at this point in the history
  2. MAINT: Include numpy._core imports (pybind#4857)

    * MAINT: Include numpy._core imports
    
    * style: pre-commit fixes
    
    * Apply review comments
    
    * style: pre-commit fixes
    
    * Add no-inline attribute
    
    * Select submodule name based on numpy version
    
    * style: pre-commit fixes
    
    * Update pre-commit check
    
    * Add error_already_set and simplify if statement
    
    * Update .pre-commit-config.yaml
    
    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>
    Co-authored-by: Ralf W. Grosse-Kunstleve <[email protected]>
    3 people authored Sep 27, 2023
    Configuration menu
    Copy the full SHA
    0a756c0 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. Configuration menu
    Copy the full SHA
    dd64df7 View commit details
    Browse the repository at this point in the history
  2. chore(deps): update pre-commit hooks (pybind#4868)

    * chore(deps): update pre-commit hooks
    
    updates:
    - [github.com/psf/black-pre-commit-mirror: 23.7.0 → 23.9.1](psf/black-pre-commit-mirror@23.7.0...23.9.1)
    - [github.com/astral-sh/ruff-pre-commit: v0.0.287 → v0.0.292](astral-sh/ruff-pre-commit@v0.0.287...v0.0.292)
    - [github.com/codespell-project/codespell: v2.2.5 → v2.2.6](codespell-project/codespell@v2.2.5...v2.2.6)
    - [github.com/shellcheck-py/shellcheck-py: v0.9.0.5 → v0.9.0.6](shellcheck-py/shellcheck-py@v0.9.0.5...v0.9.0.6)
    - [github.com/PyCQA/pylint: v3.0.0a7 → v3.0.0](pylint-dev/pylint@v3.0.0a7...v3.0.0)
    
    * Update .pre-commit-config.yaml
    
    * style: pre-commit fixes
    
    * Update .pre-commit-config.yaml
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Henry Schreiner <[email protected]>
    pre-commit-ci[bot] and henryiii authored Oct 3, 2023
    Configuration menu
    Copy the full SHA
    2b2e4ca View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. Merge branch 'master' into sh_merge_master

    Ralf W. Grosse-Kunstleve committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    7953d19 View commit details
    Browse the repository at this point in the history