Skip to content

fix(stl): determine the sequence length only once in array_caster #11496

fix(stl): determine the sequence length only once in array_caster

fix(stl): determine the sequence length only once in array_caster #11496

Triggered via pull request November 15, 2026 02:19
Status Success
Total duration 42m 14s
Artifacts –

ci.yml

on: pull_request
🧱 abi3 on newer Pythons
4m 37s
🧱 abi3 on newer Pythons
🧱 abi3t on GIL-enabled Python
4m 30s
🧱 abi3t on GIL-enabled Python
🐍 3.10 • CUDA 12.2 • Ubuntu 22.04
11m 7s
🐍 3.10 • CUDA 12.2 • Ubuntu 22.04
🐍 3 • NVHPC 26.5 • C++17 • x64
23m 14s
🐍 3 • NVHPC 26.5 • C++17 • x64
🐍 3 • ICC latest • x64
25m 37s
🐍 3 • ICC latest • x64
🐍 3.11 • Debian • x86 • Install
4m 0s
🐍 3.11 • Debian • x86 • Install
Documentation build test
1m 9s
Documentation build test
Matrix: centos
Matrix: clang
Matrix: gcc
Matrix: inplace
Matrix: manylinux
Matrix: mingw
Matrix: ⚡
Matrix: stable-abi-abi3t-from-gil
Matrix: 🧱
Matrix: 🐍
Matrix: 🐍
Matrix: 📐
Matrix: win32-debug
Matrix: win32
Matrix: windows-2022
Matrix: windows_arm_clang_msvc
Matrix: windows_arm_clang_msys2
Matrix: windows_clang
Fit to window
Zoom out
Zoom in

Annotations

23 warnings and 45 notices
📐 (ubuntu-latest, 3.12, -DPYBIND11_TYPE_CREATION_VIA_SPEC=OFF) / 🧪: ../../../../../../../opt/hostedtoolcache/Python/3.12.16/x64/lib/python3.12/site-packages/_pytest/python.py#L144
Passing a non-Collection iterable to parametrize is deprecated. Test: test_const_name.py::test_const_name, argvalues type: enumerate Please convert to a list or tuple. See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
🐍 3.9 • MSVC 2022 • x86 -DCMAKE_CXX_STANDARD=17
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: ilammy/msvc-dev-cmd@v1.13.0. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
🐍 3.13 • MSVC 2022 • x86
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: ilammy/msvc-dev-cmd@v1.13.0. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
📐 (ubuntu-latest, 3.14, -DPYBIND11_TYPE_CREATION_VIA_SPEC=OFF -DPYBIND11_TEST_PRECOMPILE=ON) / 🧪: ../../../../../../../opt/hostedtoolcache/Python/3.14.10/x64/lib/python3.14/site-packages/_pytest/python.py#L144
Passing a non-Collection iterable to parametrize is deprecated. Test: test_const_name.py::test_const_name, argvalues type: enumerate Please convert to a list or tuple. See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
🧱 (ubuntu-latest, 3.14, -DPYBIND11_TEST_STABLE_ABI=ON -DPYBIND11_TEST_PRECOMPILE=ON) / 🧪: ../../../../../../../opt/hostedtoolcache/Python/3.14.10/x64/lib/python3.14/site-packages/_pytest/python.py#L144
Passing a non-Collection iterable to parametrize is deprecated. Test: test_const_name.py::test_const_name, argvalues type: enumerate Please convert to a list or tuple. See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
🐍 3.9 • MSVC 2022 (Debug) • x86 -DCMAKE_CXX_STANDARD=20
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: ilammy/msvc-dev-cmd@v1.13.0. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
⚡ (ubuntu-latest, 3.14t) / 🧪: ../../../../../../../opt/hostedtoolcache/Python/3.14.10/x64-freethreaded/lib/python3.14t/site-packages/_pytest/python.py#L144
Passing a non-Collection iterable to parametrize is deprecated. Test: test_const_name.py::test_const_name, argvalues type: enumerate Please convert to a list or tuple. See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
🐍 (ubuntu-latest, 3.13, -DCMAKE_CXX_STANDARD=23 -DPYBIND11_SIMPLE_GIL_MANAGEMENT=ON) / 🧪: ../../../../../../../opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/site-packages/_pytest/python.py#L144
Passing a non-Collection iterable to parametrize is deprecated. Test: test_const_name.py::test_const_name, argvalues type: enumerate Please convert to a list or tuple. See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
⚡ (ubuntu-latest, 3.13) / 🧪: ../../../../../../../opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/site-packages/_pytest/python.py#L144
Passing a non-Collection iterable to parametrize is deprecated. Test: test_const_name.py::test_const_name, argvalues type: enumerate Please convert to a list or tuple. See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
🧱 (ubuntu-latest, 3.14, -DPYBIND11_TEST_STABLE_ABI=ON -DPYBIND11_STABLE_ABI_VERSION=3.14) / 🧪: ../../../../../../../opt/hostedtoolcache/Python/3.14.10/x64/lib/python3.14/site-packages/_pytest/python.py#L144
Passing a non-Collection iterable to parametrize is deprecated. Test: test_const_name.py::test_const_name, argvalues type: enumerate Please convert to a list or tuple. See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
🧱 (ubuntu-latest, 3.15t, -DPYBIND11_TEST_STABLE_ABI=ON) / 🧪: ../../../../../../../opt/hostedtoolcache/Python/3.15.2/x64-freethreaded/lib/python3.15t/site-packages/_pytest/python.py#L144
Passing a non-Collection iterable to parametrize is deprecated. Test: test_const_name.py::test_const_name, argvalues type: enumerate Please convert to a list or tuple. See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
🧱 (ubuntu-latest, 3.12, -DPYBIND11_TEST_STABLE_ABI=ON) / 🧪: ../../../../../../../opt/hostedtoolcache/Python/3.12.16/x64/lib/python3.12/site-packages/_pytest/python.py#L144
Passing a non-Collection iterable to parametrize is deprecated. Test: test_const_name.py::test_const_name, argvalues type: enumerate Please convert to a list or tuple. See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
🐍 3 • windows-latest • mingw32
[msystem-mingw32] MINGW32 is deprecated because 32-bit environments are being phased out. There is no direct replacement. To acknowledge and suppress this warning, add 'msystem-mingw32' to 'suppress-deprecation-warnings'.
🐍 (ubuntu-latest, graalpy-25.0, -DCMAKE_CXX_STANDARD=20) / 🧪: ../../../../../../../opt/hostedtoolcache/GraalPy/25.0.3/x64/lib/python3.12/site-packages/_pytest/python.py#L144
Passing a non-Collection iterable to parametrize is deprecated. Test: test_const_name.py::test_const_name, argvalues type: enumerate Please convert to a list or tuple. See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
🐍 (ubuntu-latest, pypy-3.12-v8.0.0, -DCMAKE_CXX_STANDARD=20) / 🧪: ../../../../../../../opt/hostedtoolcache/PyPy/3.12.14/x64/lib/pypy3.12/site-packages/_pytest/python.py#L144
Passing a non-Collection iterable to parametrize is deprecated. Test: test_const_name.py::test_const_name, argvalues type: enumerate Please convert to a list or tuple. See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
🐍 (ubuntu-latest, 3.15t, -DCMAKE_CXX_STANDARD=17 -DPYBIND11_TEST_SMART_HOLDER=ON) / 🧪: ../../../../../../../opt/hostedtoolcache/Python/3.15.2/x64-freethreaded/lib/python3.15t/site-packages/_pytest/python.py#L144
Passing a non-Collection iterable to parametrize is deprecated. Test: test_const_name.py::test_const_name, argvalues type: enumerate Please convert to a list or tuple. See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
🐍 (ubuntu-latest, 3.14t, -DCMAKE_CXX_STANDARD=17 -DPYBIND11_TEST_SMART_HOLDER=ON) / 🧪: ../../../../../../../opt/hostedtoolcache/Python/3.14.10/x64-freethreaded/lib/python3.14t/site-packages/_pytest/python.py#L144
Passing a non-Collection iterable to parametrize is deprecated. Test: test_const_name.py::test_const_name, argvalues type: enumerate Please convert to a list or tuple. See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
🐍 3 • windows-latest • mingw64
[msystem-mingw64] MINGW64 is deprecated. Migrate to UCRT64 or CLANG64. To acknowledge and suppress this warning, add 'msystem-mingw64' to 'suppress-deprecation-warnings'.
🐍 (ubuntu-latest, pypy-3.11-v7.3.23, -DCMAKE_CXX_STANDARD=17) / 🧪: ../../../../../../../opt/hostedtoolcache/PyPy/3.11.15/x64/lib/pypy3.11/site-packages/_pytest/python.py#L144
Passing a non-Collection iterable to parametrize is deprecated. Test: test_const_name.py::test_const_name, argvalues type: enumerate Please convert to a list or tuple. See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
🐍 (ubuntu-latest, graalpy-25.3, -DCMAKE_CXX_STANDARD=20) / 🧪: ../../../../../../../opt/hostedtoolcache/GraalPy/25.3.4/x64/lib/python3.13/site-packages/_pytest/python.py#L144
Passing a non-Collection iterable to parametrize is deprecated. Test: test_const_name.py::test_const_name, argvalues type: enumerate Please convert to a list or tuple. See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
🐍 (ubuntu-latest, 3.10, -DCMAKE_CXX_STANDARD=20) / 🧪: ../../../../../../../opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/site-packages/_pytest/python.py#L144
Passing a non-Collection iterable to parametrize is deprecated. Test: test_const_name.py::test_const_name, argvalues type: enumerate Please convert to a list or tuple. See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
🐍 (ubuntu-latest, 3.15, -DCMAKE_CXX_STANDARD=20) / 🧪: ../../../../../../../opt/hostedtoolcache/Python/3.15.2/x64/lib/python3.15/site-packages/_pytest/python.py#L144
Passing a non-Collection iterable to parametrize is deprecated. Test: test_const_name.py::test_const_name, argvalues type: enumerate Please convert to a list or tuple. See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
🐍 (ubuntu-latest, 3.12, -DPYBIND11_TEST_SMART_HOLDER=ON -DPYBIND11_SIMPLE_GIL_MANAGEMENT=ON) / 🧪: ../../../../../../../opt/hostedtoolcache/Python/3.12.16/x64/lib/python3.12/site-packages/_pytest/python.py#L144
Passing a non-Collection iterable to parametrize is deprecated. Test: test_const_name.py::test_const_name, argvalues type: enumerate Please convert to a list or tuple. See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
🧱 abi3t on GIL-enabled Python
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🧱 abi3 on newer Pythons
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
📐 (ubuntu-latest, 3.12, -DPYBIND11_TYPE_CREATION_VIA_SPEC=OFF) / 🧪
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 3.12 • macos-latest • x64 inplace C++14
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
🧱 abi3t from GIL-enabled Python • ubuntu-latest
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 3 • GCC 9 • C++20 • x64
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🧱 (macos-latest, 3.15t, -DPYBIND11_TEST_STABLE_ABI=ON -DPYBIND11_TEST_PRECOMPILE=ON) / 🧪
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
📐 (ubuntu-latest, 3.14, -DPYBIND11_TYPE_CREATION_VIA_SPEC=OFF -DPYBIND11_TEST_PRECOMPILE=ON) / 🧪
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Documentation build test
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 3 • GCC 13 • C++20 • x64 • cxx_flags
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 3 • almalinux:9 • x64
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 3 • Clang 16 • C++20 • x64
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🧱 (ubuntu-latest, 3.14, -DPYBIND11_TEST_STABLE_ABI=ON -DPYBIND11_TEST_PRECOMPILE=ON) / 🧪
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
📐 (macos-latest, 3.13, -DPYBIND11_TYPE_CREATION_VIA_SPEC=OFF) / 🧪
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
🧱 (macos-latest, 3.13, -DPYBIND11_TEST_STABLE_ABI=ON -DCMAKE_CXX_STANDARD=17) / 🧪
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
🐍 3 • almalinux:8 • x64
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
⚡ (macos-latest, 3.13) / 🧪
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
⚡ (ubuntu-latest, 3.14t) / 🧪
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 3 • Clang 11 • C++20 • x64
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 (ubuntu-latest, 3.13, -DCMAKE_CXX_STANDARD=23 -DPYBIND11_SIMPLE_GIL_MANAGEMENT=ON) / 🧪
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 3 • Clang 18 • C++20 • x64 • cxx_flags
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
⚡ (ubuntu-latest, 3.13) / 🧪
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Manylinux on 🐍 3.14t (quay.io/pypa/manylinux_2_28_x86_64:latest)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 3 • GCC 10 • C++17 • x64
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🧱 (ubuntu-latest, 3.14, -DPYBIND11_TEST_STABLE_ABI=ON -DPYBIND11_STABLE_ABI_VERSION=3.14) / 🧪
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 3 • Clang 5 • C++14 • x64
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Manylinux on 🐍 3.14t (quay.io/pypa/musllinux_1_2_x86_64:latest)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 (macos-latest, 3.14, -DCMAKE_CXX_STANDARD=14) / 🧪
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
🧱 (ubuntu-latest, 3.15t, -DPYBIND11_TEST_STABLE_ABI=ON) / 🧪
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🧱 (ubuntu-latest, 3.12, -DPYBIND11_TEST_STABLE_ABI=ON) / 🧪
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 (ubuntu-latest, graalpy-25.0, -DCMAKE_CXX_STANDARD=20) / 🧪
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 (ubuntu-latest, pypy-3.12-v8.0.0, -DCMAKE_CXX_STANDARD=20) / 🧪
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 (ubuntu-latest, 3.15t, -DCMAKE_CXX_STANDARD=17 -DPYBIND11_TEST_SMART_HOLDER=ON) / 🧪
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 3.10 • CUDA 12.2 • Ubuntu 22.04
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 (ubuntu-latest, 3.14t, -DCMAKE_CXX_STANDARD=17 -DPYBIND11_TEST_SMART_HOLDER=ON) / 🧪
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 (ubuntu-latest, pypy-3.11-v7.3.23, -DCMAKE_CXX_STANDARD=17) / 🧪
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 (macos-latest, pypy-3.12-v8.0.1) / 🧪
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
🐍 (ubuntu-latest, graalpy-25.3, -DCMAKE_CXX_STANDARD=20) / 🧪
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 (ubuntu-latest, 3.10, -DCMAKE_CXX_STANDARD=20) / 🧪
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 (ubuntu-latest, 3.15, -DCMAKE_CXX_STANDARD=20) / 🧪
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 (macos-latest, 3.12, -DCMAKE_CXX_STANDARD=17 -DPYBIND11_DISABLE_HANDLE_TYPE_NAME_DEFAULT_IMP... / 🧪
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
🐍 (ubuntu-latest, 3.12, -DPYBIND11_TEST_SMART_HOLDER=ON -DPYBIND11_SIMPLE_GIL_MANAGEMENT=ON) / 🧪
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🐍 (macos-latest, graalpy-25.3) / 🧪
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
🐍 (macos-latest, 3.14t, -DCMAKE_CXX_STANDARD=20) / 🧪
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
🐍 (macos-latest, 3.15, -DCMAKE_CXX_STANDARD=17) / 🧪
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.