- 05 Aug, 2024 1 commit
-
-
Leave it for later to resolve the `ubuntu-latest bazel` failure: * https://github.com/pybind/pybind11_bazel/issues/94 ``` ERROR: /home/runner/work/pybind11_abseil/pybind11_abseil/pybind11_abseil/tests/BUILD:92:17: Linking pybind11_abseil/tests/missing_import.so failed: (Exit 1): gcc failed: error executing CppLink command (from target //pybind11_abseil/tests:missing_import.so) /usr/bin/gcc @bazel-out/k8-fastbuild/bin/pybind11_abseil/tests/missing_import.so-2.params Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging /usr/bin/ld.gold: undefs: unknown -z option ``` PiperOrigin-RevId: 659560021
Ralf W. Grosse-Kunstleve committed
-
- 27 Jul, 2024 2 commits
-
-
This change migrates users of APIs removed in NumPy 2.0 to their recommended replacements (https://numpy.org/devdocs/numpy_2_0_migration_guide.html). PiperOrigin-RevId: 656738213
Peter Hawkins committed -
Without this a failure of the `ubuntu-latest bazel` job cancels the `ubuntu-latest cmake` job or vice versa, which is totally not useful. PiperOrigin-RevId: 656737649
Ralf W. Grosse-Kunstleve committed
-
- 18 Jun, 2024 1 commit
-
-
Fixes `build_and_test / ubuntu-latest cmake` failure as reported here: * https://github.com/pybind/pybind11_abseil/pull/25#issuecomment-2173642297 PiperOrigin-RevId: 644276088
Ralf W. Grosse-Kunstleve committed
-
- 17 Jun, 2024 1 commit
-
-
Belated minor follow-on to https://github.com/google/pybind11k/pull/30108. This is to avoid confusing people with an obsolete name. Similar to: https://github.com/google/pybind11k/pull/30126 The new and unrelated `build_and_test / ubuntu-latest cmake` failure will be addressed separately (see https://github.com/pybind/pybind11_abseil/pull/25#issuecomment-2173642297). PiperOrigin-RevId: 644009757
Ralf W. Grosse-Kunstleve committed
-
- 01 Apr, 2024 1 commit
-
-
Compared to other string-kind `type_caster`s in pybind11, `type_caster<absl::Cord>` is unusual in that it returns `bytes`. All other string-kind `type_caster`s return `str` and can be directed to use `bytes` instead via `return_value_policy::_return_as_bytes`. There is no `return_value_policy::return_as_str` that we could use here. Introducing such a policy just for `type_caster<absl::Cord>` seems heavy-handed. The existing `return_value_policy::_clif_automatic` fits this niche case organically and is fully sufficient for the purposes of PyCLIF-pybind11. PiperOrigin-RevId: 620916112
Ralf W. Grosse-Kunstleve committed
-
- 21 Mar, 2024 1 commit
-
-
PiperOrigin-RevId: 617961866
Ralf W. Grosse-Kunstleve committed
-
- 20 Mar, 2024 1 commit
-
-
It shouldn't be (and previously wasn't?!) needed, AFAIK, but something about `use_repo_rule()` seems to require it now... PiperOrigin-RevId: 617625049
Paul Wankadia committed
-
- 29 Feb, 2024 1 commit
-
-
Fixes #19. PiperOrigin-RevId: 611461599
Paul Wankadia committed
-
- 28 Feb, 2024 2 commits
-
-
Fixes #19. PiperOrigin-RevId: 611177855
Paul Wankadia committed -
PiperOrigin-RevId: 611131739
Olga Silina committed
-
- 23 Feb, 2024 1 commit
-
-
Test Python dependencies now use rules_python Update deps PiperOrigin-RevId: 609605937
pybind11_abseil authors committed
-
- 22 Feb, 2024 1 commit
-
-
pybind11_abseil doesn't need it; Abseil does. (Therefore, leave it in `WORKSPACE` for now.) PiperOrigin-RevId: 609405813
Paul Wankadia committed
-
- 20 Feb, 2024 2 commits
-
-
https://github.com/pybind/pybind11_abseil/pull/17
PiperOrigin-RevId: 608701939
pybind11_abseil authors committed -
I renamed Bazel files to have `.bazel` extensions, which matters for pybind11_abseil due to its "floating" use of pybind11_bazel. PiperOrigin-RevId: 608631652
Paul Wankadia committed
-
- 16 Feb, 2024 2 commits
-
-
PiperOrigin-RevId: 607777670
pybind11_abseil authors committed -
Update README for consistency with internal files. Document around issue with transitive dependency discovery for Bzlmod with http_archive. PiperOrigin-RevId: 607701389
pybind11_abseil authors committed
-
- 15 Feb, 2024 2 commits
-
-
PiperOrigin-RevId: 607462173
pybind11_abseil authors committed -
Added support for Bzlmod, indicated that WORKSPACE is deprecated and will be removed at a later date. Moved Python dependency support for Bazel from virtualenv to rules_python. PiperOrigin-RevId: 607438140
pybind11_abseil authors committed
-
- 24 Jan, 2024 2 commits
-
-
PiperOrigin-RevId: 601222599
pybind11_abseil authors committed -
PiperOrigin-RevId: 601195303
pybind11_abseil authors committed
-
- 10 Jan, 2024 1 commit
-
-
Following the suggestion here: https://github.com/pybind/pybind11/pull/4786#issuecomment-1885448824 Piggy-backed: Minor pre-commit auto-fix for top_level_CMakeLists.txt PiperOrigin-RevId: 597371220
Ralf W. Grosse-Kunstleve committed
-
- 09 Jan, 2024 5 commits
-
-
Note: This change is the result of exploring and discarding multiple approaches to fixing the zero-refcount bug in a more general way. The only approach that worked out is this local fix in the callback code. Fundamentally, code involving `StatusOr<PyObject *>` objects is inherently unsafe and bug prone, because ownership of the Python reference is not managed automatically. Ideally use of `StatusOr<PyObject *>` would generate compilation errors (e.g. via `static_assert`), which would be easy to achieve just in the pybind11_abseil repo, but would require significant sprawling changes around the Google codebase. Unfortunately, currently this is infeasible. The command used for manual leak checking (see `# Manual verification` comments in status_testing_no_cpp_eh_test_lib.py) was: ``` blaze run //third_party/pybind11_abseil/tests:status_testing_no_cpp_eh_test ``` The `top` command was used to visually monitor `RES` for about 10 seconds, for each test case. PiperOrigin-RevId: 597061300
Ralf W. Grosse-Kunstleve committed -
PiperOrigin-RevId: 597049635
pybind11_abseil authors committed -
This change builds on https://github.com/google/pywrapcc/pull/30022. PiperOrigin-RevId: 597047935
Ralf W. Grosse-Kunstleve committed -
PiperOrigin-RevId: 597043524
pybind11_abseil authors committed -
PiperOrigin-RevId: 597039706
pybind11_abseil authors committed
-
- 08 Jan, 2024 1 commit
-
-
Preparation for changing pybind11 handling of callbacks with `Status`, `StatusOr` returns to capture C++ exceptions. PiperOrigin-RevId: 596700611
Ralf W. Grosse-Kunstleve committed
-
- 03 Jan, 2024 1 commit
-
-
Secondary changes: * pybind11 needs to be pinned to a version right before https://github.com/pybind/pybind11/pull/4786 was merged, to avoid `ctest` `permission denied` errors (to be debugged separately). * `find_package(PythonLibs REQUIRED)` is removed. It is deprecated (https://github.com/pybind/pybind11/blob/master/docs/faq.rst) and evidently not needed. * More complete logging. PiperOrigin-RevId: 595435856
Ralf W. Grosse-Kunstleve committed
-
- 12 Dec, 2023 1 commit
-
-
PiperOrigin-RevId: 590290022
Ralf W. Grosse-Kunstleve committed
-
- 06 Nov, 2023 1 commit
-
-
PiperOrigin-RevId: 579841851
Matt McDonald committed
-
- 31 Oct, 2023 1 commit
-
-
The header was meant to be deprecated for >1 year, but this was not documented. Also adopt the ``` // IWYU pragma: always_keep // See pybind11/docs/type_caster_iwyu.rst ``` comment used in https://github.com/google/pywrapcc/pull/30073. Currently pybind11/docs/type_caster_iwyu.rst only exists in google/pywrapcc#30073, but the intend is to upstream the changes (see PR description). See also: https://clangd.llvm.org/design/include-cleaner PiperOrigin-RevId: 578314470
Ralf W. Grosse-Kunstleve committed
-
- 20 Oct, 2023 2 commits
-
-
E.g. see https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUPragmas.md. PiperOrigin-RevId: 575331556
Thomas Köppe committed -
This is a functional no-op. Note that `_` was deprecated already in Dec 2021 (https://github.com/pybind/pybind11/pull/3423). PiperOrigin-RevId: 575085924
Ralf W. Grosse-Kunstleve committed
-
- 18 Oct, 2023 1 commit
-
-
It is unclear what exactly broke testing with the standard command: ``` ./scripts/google_run_tests.sh --make_jobs=48 ``` ``` /usr/local/google/home/rwgk/tmp/pybind11_abseil/tmp_build/_deps/abseil-cpp-src/absl/strings/internal/str_format/extension.h:34:6: warning: elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword 34 | enum class FormatConversionChar : uint8_t; | ~~~~ ^~~~~ | ----- /usr/local/google/home/rwgk/tmp/pybind11_abseil/tmp_build/_deps/abseil-cpp-src/absl/strings/internal/str_format/extension.h:34:33: error: found ‘:’ in nested-name-specifier, expected ‘::’ 34 | enum class FormatConversionChar : uint8_t; | ^ | :: ``` Updating abseil-cpp to the same version as used in the bazel WORKSPACE file fixes the cmake build failures. PiperOrigin-RevId: 574639457Ralf W. Grosse-Kunstleve committed
-
- 10 Oct, 2023 1 commit
-
-
PiperOrigin-RevId: 572292285
Matt McDonald committed
-
- 25 Sep, 2023 1 commit
-
-
Doc fixes: Update filename in README.md, remove obsolete and broken references to pybind11_protobuf. Fixes in response to https://github.com/pybind/pybind11_abseil/issues/10 PiperOrigin-RevId: 568278228
Ralf W. Grosse-Kunstleve committed
-
- 06 Sep, 2023 2 commits
-
-
PiperOrigin-RevId: 563208705
pybind11_abseil authors committed -
Resolves `-Wunused-parameter` warnings in external environments. PiperOrigin-RevId: 563117864
Ralf W. Grosse-Kunstleve committed
-
- 18 Aug, 2023 1 commit
-
-
PiperOrigin-RevId: 558257360
pybind11_abseil authors committed
-