-
Notifications
You must be signed in to change notification settings - Fork 6
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
git merge smart_holder #30062
git merge smart_holder #30062
Commits on Aug 4, 2023
-
CI: Reenable an NVHPC Test (google#4764)
Update from CentOS to Ubuntu and to a recent version of NVHPC (former: PGI). Co-authored-by: Ralf W. Grosse-Kunstleve <rwgk@google.com>
Configuration menu - View commit details
-
Copy full SHA for 824dc27 - Browse repository at this point
Copy the full SHA 824dc27View commit details
Commits on Aug 8, 2023
-
Add
py::set_error()
, use in updatedpy::exception<>
documentation (……google#4772) * Copy clang 17 compatibility fixes from PR google#4762 to a separate PR. * static py::exception<> -> static py::handle * Add `py::set_error()` but also try the suggestion of @malfet (pytorch/pytorch#106401 (review)). * clang 17 compatibility fixes (google#4767) * Copy clang 17 compatibility fixes from PR google#4762 to a separate PR. * Add gcc:13 C++20 * Add silkeh/clang:16-bullseye C++20 * chore(deps): update pre-commit hooks (google#4770) updates: - [github.com/psf/black: 23.3.0 → 23.7.0](psf/black@23.3.0...23.7.0) - [github.com/astral-sh/ruff-pre-commit: v0.0.276 → v0.0.281](astral-sh/ruff-pre-commit@v0.0.276...v0.0.281) - [github.com/asottile/blacken-docs: 1.14.0 → 1.15.0](adamchainz/blacken-docs@1.14.0...1.15.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * docs: Remove upper bound on pybind11 in example pyproject.toml for setuptools (google#4774) * docs: Remove upper bound on pybind11 in example pyproject.toml for setuptools * Update docs/compiling.rst --------- Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com> * Provide better type hints for a variety of generic types (google#4259) * Provide better type hints for a variety of generic types * Makes better documentation * tuple, dict, list, set, function * Move to py::typing * style: pre-commit fixes * Update copyright line with correct year and actual author. The author information was copy-pasted from the git log output. --------- Co-authored-by: Ralf W. Grosse-Kunstleve <rwgk@google.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Use `py::set_error()` everywhere possible (only one special case, in common.h). Overload `py::set_error(py::handle, py::handle)`. Change back to `static py::handle exc = ... .release();` Deprecate `py::exception<>::operator()` * Add `PYBIND11_WARNING_DISABLE` for INTEL and MSVC (and sort alphabetically). * `PYBIND11_WARNING_DISABLE_INTEL(10441)` does not work. For ICC only, falling back to the recommended `py::set_error()` to keep the testing simple. It is troublesome to add `--diag-disable=10441` specifically for test_exceptions.cpp, even that is non-ideal because it covers the entire file, not just the one line we need it for, and the value of exercising the trivial deprecated `operator()` on this one extra platform is practically zero. * Fix silly oversight. * NVHPC 23.5.0 generates deprecation warnings. They are currently not treated as errors, but falling back to using `py::set_error()` to not have to deal with that distraction. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Keto D. Zhang <keto.zhang@gmail.com> Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com> Co-authored-by: Dustin Spicuzza <dustin@virtualroadside.com>
Configuration menu - View commit details
-
Copy full SHA for 690a115 - Browse repository at this point
Copy the full SHA 690a115View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bf60c6 - Browse repository at this point
Copy the full SHA 4bf60c6View commit details -
Merge branch 'master' into smart_holder
Ralf W. Grosse-Kunstleve committedAug 8, 2023 Configuration menu - View commit details
-
Copy full SHA for 6f702e7 - Browse repository at this point
Copy the full SHA 6f702e7View commit details -
Tracking ci.yml changes from master.
Ralf W. Grosse-Kunstleve committedAug 8, 2023 Configuration menu - View commit details
-
Copy full SHA for b9e956b - Browse repository at this point
Copy the full SHA b9e956bView commit details -
test_type_caster_odr_guard: pytest.skip(...NVCOMPILER...)
Ralf W. Grosse-Kunstleve committedAug 8, 2023 Configuration menu - View commit details
-
Copy full SHA for 23cd912 - Browse repository at this point
Copy the full SHA 23cd912View commit details -
Merge branch 'smart_holder' into pywrapcc_merge_sh
Ralf W. Grosse-Kunstleve committedAug 8, 2023 Configuration menu - View commit details
-
Copy full SHA for 022222f - Browse repository at this point
Copy the full SHA 022222fView commit details