Skip to content

[smart_holder] git merge master - #3813

Merged
rwgk merged 11 commits into
pybind:smart_holderfrom
rwgk:sh_merge_master
Mar 18, 2022
Merged

[smart_holder] git merge master#3813
rwgk merged 11 commits into
pybind:smart_holderfrom
rwgk:sh_merge_master

Conversation

@rwgk

@rwgkrwgk commented Mar 18, 2022

Copy link
Copy Markdown
Collaborator

Description

Helper/scratch PR for testing.

Suggested changelog entry:

oleksandr-pavlykand others added 4 commits March 11, 2022 12:18
…ind#3797)
* PYBIND11_OBJECT_CVT should use namespace for error_already_set()
This change makes the macro usable outside of pybind11 namespace.
* added test for use of PYBIND11_OBJECT_CVT for classes in external to pybind11 namespaces
* Extended test_pytypes.cpp and test_pytest.py
The added test defines a dummy function that takes a custom-defined class external::float_
that uses PYBIND11_OBJECT_CVT
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixed issues pointed out by CI
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixed memory leak in default constructor
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates:
- [github.com/asottile/pyupgrade: v2.31.0 → v2.31.1](asottile/pyupgrade@v2.31.0...v2.31.1)
- [github.com/sirosen/texthooks: 0.2.2 → 0.3.1](sirosen/texthooks@0.2.2...0.3.1)
- [github.com/hadialqattan/pycln: v1.2.4 → v1.2.5](hadialqattan/pycln@v1.2.4...v1.2.5)
- [github.com/pre-commit/mirrors-mypy: v0.931 → v0.940](pre-commit/mirrors-mypy@v0.931...v0.940)
- [github.com/mgedmin/check-manifest: 0.47 → 0.48](mgedmin/check-manifest@0.47...0.48)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
The docs were not 100% the same as we advertise with our
tooling function: most users do not want to strip symbols
in Debug builds.
laramieland others added 7 commits March 18, 2022 11:10
Nearly every call site of cast_op<T> uses an r-value reference.
Except stl.h variant_caster::load_alternative for handling std::variant.
Fix that.
…ind#3797)
* PYBIND11_OBJECT_CVT should use namespace for error_already_set()
This change makes the macro usable outside of pybind11 namespace.
* added test for use of PYBIND11_OBJECT_CVT for classes in external to pybind11 namespaces
* Extended test_pytypes.cpp and test_pytest.py
The added test defines a dummy function that takes a custom-defined class external::float_
that uses PYBIND11_OBJECT_CVT
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixed issues pointed out by CI
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixed memory leak in default constructor
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates:
- [github.com/asottile/pyupgrade: v2.31.0 → v2.31.1](asottile/pyupgrade@v2.31.0...v2.31.1)
- [github.com/sirosen/texthooks: 0.2.2 → 0.3.1](sirosen/texthooks@0.2.2...0.3.1)
- [github.com/hadialqattan/pycln: v1.2.4 → v1.2.5](hadialqattan/pycln@v1.2.4...v1.2.5)
- [github.com/pre-commit/mirrors-mypy: v0.931 → v0.940](pre-commit/mirrors-mypy@v0.931...v0.940)
- [github.com/mgedmin/check-manifest: 0.47 → 0.48](mgedmin/check-manifest@0.47...0.48)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
The docs were not 100% the same as we advertise with our
tooling function: most users do not want to strip symbols
in Debug builds.
@rwgk

rwgk commented Mar 18, 2022

Copy link
Copy Markdown
CollaboratorAuthor

Force push was after

@rwgk

rwgk commented Mar 18, 2022

Copy link
Copy Markdown
CollaboratorAuthor

The one CI failure is an infrastructure flake (pypy-3.7 • windows-2022 • x64). Safe to ignore, based on all the previous testing.

@rwgk
rwgk merged commit 2a93b34 into pybind:smart_holderMar 18, 2022
@github-actionsgithub-actionsBot added the needs changelog Possibly needs a changelog entry label Mar 18, 2022
@rwgk
rwgk deleted the sh_merge_master branch March 18, 2022 18:59
@rwgkrwgk removed the needs changelog Possibly needs a changelog entry label Mar 18, 2022
@rwgkrwgk mentioned this pull request Feb 10, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@rwgk@Skylion007@oleksandr-pavlyk@ax3l@JonTriebenbach@laramiel