pybind11/.github/workflows
Ralf W. Grosse-Kunstleve bd8985aa0f
[smart_holder] Introduce PYBIND11_SMART_HOLDER_DISABLE option. (#5348)
* Step 1: Establish new `PYBIND11_SMART_HOLDER_ENABLED` macro, but only under include/pybind11/

At the stage `PYBIND11_HAS_INTERNALS_WITH_SMART_HOLDER_SUPPORT` and `PYBIND11_SMART_HOLDER_ENABLED` are still equivalent.

* Systematically replace all `PYBIND11_HAS_INTERNALS_WITH_SMART_HOLDER_SUPPORT` with `PYBIND11_SMART_HOLDER_ENABLED` under tests/ and ubench/

As at the previous stage, `PYBIND11_HAS_INTERNALS_WITH_SMART_HOLDER_SUPPORT` and `PYBIND11_SMART_HOLDER_ENABLED` are still equivalent.

* Introduce `PYBIND11_SMART_HOLDER_DISABLE` option.

* `#ifdef` out entire `wrap()` function to avoid `unused-parameter` warning-as-error under macos-13

```
/Users/runner/work/pybind11/pybind11/tests/test_class_sh_trampoline_basic.cpp:67:23: error: unused parameter 'm' [-Werror,-Wunused-parameter]
void wrap(py::module_ m, const char *py_class_name) {
                      ^
/Users/runner/work/pybind11/pybind11/tests/test_class_sh_trampoline_basic.cpp:67:38: error: unused parameter 'py_class_name' [-Werror,-Wunused-parameter]
void wrap(py::module_ m, const char *py_class_name) {
                                     ^
2 errors generated.
```
2024-09-01 14:34:36 -07:00
..
ci.yml [smart_holder] Introduce PYBIND11_SMART_HOLDER_DISABLE option. (#5348) 2024-09-01 14:34:36 -07:00
configure.yml Merge branch 'master' into sh_merge_master 2024-08-14 22:34:20 -07:00
emscripten.yaml [smart_holder] Configure only one job per OS kind to build and run tests with -DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT (#5307) 2024-08-13 23:59:12 -07:00
format.yml Merge branch 'master' into sh_merge_master 2024-07-29 11:18:11 -07:00
labeler.yml chore(deps): bump the actions group with 1 update (#5082) 2024-05-10 16:34:41 -04:00
pip.yml Merge branch 'master' into sh_merge_master 2024-08-26 10:25:25 -07:00
upstream.yml chore(deps): bump the actions group with 3 updates (#5024) 2024-02-13 20:50:51 -05:00