Skip to content

feat(typing): allow annotate methods with pos_only when only have the self argument #8575

feat(typing): allow annotate methods with pos_only when only have the self argument

feat(typing): allow annotate methods with pos_only when only have the self argument #8575

Triggered via pull request November 11, 2024 15:24
Status Cancelled
Total duration 12m 2s
Artifacts

ci.yml

on: pull_request
Manylinux on 🐍 3.13t β€’ GIL
5m 15s
Manylinux on 🐍 3.13t β€’ GIL
🐍 3.10 β€’ CUDA 12.2 β€’ Ubuntu 22.04
6m 36s
🐍 3.10 β€’ CUDA 12.2 β€’ Ubuntu 22.04
🐍 3 β€’ NVHPC 23.5 β€’ C++17 β€’ x64
11m 32s
🐍 3 β€’ NVHPC 23.5 β€’ C++17 β€’ x64
🐍 3 β€’ ICC latest β€’ x64
11m 35s
🐍 3 β€’ ICC latest β€’ x64
🐍 3.9 β€’ Debian β€’ x86 β€’ Install
3m 54s
🐍 3.9 β€’ Debian β€’ x86 β€’ Install
Documentation build test
49s
Documentation build test
macos-13 β€’ brew install llvm
8m 18s
macos-13 β€’ brew install llvm
Matrix: centos
Matrix: clang
Matrix: deadsnakes
Matrix: gcc
Matrix: mingw
Matrix: standard
Matrix: win32-debug
Matrix: win32
Matrix: windows-2022
Matrix: windows_clang
Fit to window
Zoom out
Zoom in

Annotations

62 errors
🐍 3.11 β€’ ubuntu-latest β€’ x64: tests/test_enum.py#L297
test_generated_dunder_methods_pos_only AssertionError: assert None is not None + where None = <function match at 0x7f6fa8152d40>('^__or__\\(self: [\\w\\.]+, other: [\\w\\.]+, /\\)', 'Return self|value.') + where <function match at 0x7f6fa8152d40> = re.match + and 'Return self|value.' = <method-wrapper '__or__' of pybind11_type object at 0x56289a23fd60>.__doc__
🐍 3.11 β€’ ubuntu-latest β€’ x64
Process completed with exit code 2.
🐍 3 β€’ Clang dev β€’ C++11 β€’ x64
Process completed with exit code 2.
🐍 3 β€’ Clang 17 β€’ C++20 β€’ x64
Process completed with exit code 2.
🐍 3 β€’ Clang 18 β€’ C++20 β€’ x64
Process completed with exit code 2.
🐍 3.13 β€’ ubuntu-20.04 β€’ x64: tests/test_enum.py#L297
test_generated_dunder_methods_pos_only AssertionError: assert None is not None + where None = <function match at 0x7fb0b5af79c0>('^__or__\\(self: [\\w\\.]+, other: [\\w\\.]+, /\\)', 'Return self|value.') + where <function match at 0x7fb0b5af79c0> = re.match + and 'Return self|value.' = <method-wrapper '__or__' of pybind11_type object at 0x55ded55515e0>.__doc__
🐍 3.13 β€’ ubuntu-20.04 β€’ x64
Process completed with exit code 2.
🐍 3.12 β€’ ubuntu-20.04 β€’ x64: tests/test_enum.py#L297
test_generated_dunder_methods_pos_only AssertionError: assert None is not None + where None = <function match at 0x7f5da4591940>('^__or__\\(self: [\\w\\.]+, other: [\\w\\.]+, /\\)', 'Return self|value.') + where <function match at 0x7f5da4591940> = re.match + and 'Return self|value.' = <method-wrapper '__or__' of pybind11_type object at 0x55b9bd607a60>.__doc__
🐍 3.12 β€’ ubuntu-20.04 β€’ x64
Process completed with exit code 2.
🐍 3.11 (deadsnakes) β€’ x64
Process completed with exit code 2.
🐍 3 β€’ GCC 12 β€’ C++20β€’ x64
Process completed with exit code 2.
🐍 3 β€’ GCC 13 β€’ C++20β€’ x64
Process completed with exit code 2.
Manylinux on 🐍 3.13t β€’ GIL
Process completed with exit code 2.
🐍 pypy-3.10 β€’ ubuntu-20.04 β€’ x64: tests/test_enum.py#L297
test_generated_dunder_methods_pos_only TypeError: can't use a string pattern on a bytes-like object
🐍 pypy-3.10 β€’ ubuntu-20.04 β€’ x64: tests/test_pickling.py#L105
test_new_style_pickle_getstate_pos_only AttributeError: module 'pybind11_tests.pickling' has no attribute 'PickleableWithDictNew'
🐍 pypy-3.10 β€’ ubuntu-20.04 β€’ x64
Process completed with exit code 2.
🐍 3.13 β€’ windows-2022 β€’ x64
Process completed with exit code 1.
🐍 3.10 β€’ windows-latest β€’ clang-latest
Process completed with exit code 1.
🐍 3.12 β€’ MSVC 2019 β€’ x86 -DCMAKE_CXX_STANDARD=20
Process completed with exit code 1.
🐍 graalpy-24.1 β€’ ubuntu-20.04 β€’ x64: tests/test_enum.py#L298
test_generated_dunder_methods_pos_only TypeError: object of type 'NoneType' has no len()
🐍 graalpy-24.1 β€’ ubuntu-20.04 β€’ x64
Process completed with exit code 2.
🐍 pypy-3.9 β€’ ubuntu-20.04 β€’ x64: tests/test_pickling.py#L105
test_new_style_pickle_getstate_pos_only AttributeError: module 'pybind11_tests.pickling' has no attribute 'PickleableWithDictNew'
🐍 pypy-3.9 β€’ ubuntu-20.04 β€’ x64
Process completed with exit code 2.
🐍 pypy-3.8 β€’ ubuntu-20.04 β€’ x64 -DPYBIND11_FINDPYTHON=ON: tests/test_pickling.py#L105
test_new_style_pickle_getstate_pos_only AttributeError: module 'pybind11_tests.pickling' has no attribute 'PickleableWithDictNew'
🐍 pypy-3.8 β€’ ubuntu-20.04 β€’ x64 -DPYBIND11_FINDPYTHON=ON
Process completed with exit code 2.
🐍 3.11 β€’ MSVC 2019 β€’ x86 -DCMAKE_CXX_STANDARD=20
Process completed with exit code 1.
🐍 3.10 β€’ CUDA 12.2 β€’ Ubuntu 22.04
Process completed with exit code 2.
🐍 3 β€’ windows-latest β€’ mingw32
Process completed with exit code 2.
🐍 3 β€’ windows-latest β€’ mingw64
Process completed with exit code 2.
🐍 3.10 β€’ MSVC 2019 β€’ x86 -DCMAKE_CXX_STANDARD=20
Process completed with exit code 1.
🐍 graalpy-24.1 β€’ macos-13 β€’ x64
Process completed with exit code 2.
🐍 3.13 β€’ macos-13 β€’ x64
Process completed with exit code 2.
🐍 pypy-3.9 β€’ macos-13 β€’ x64
Process completed with exit code 2.
🐍 pypy-3.10 β€’ macos-13 β€’ x64
Process completed with exit code 2.
macos-13 β€’ brew install llvm
Process completed with exit code 2.
🐍 pypy-3.8 β€’ macos-13 β€’ x64
Process completed with exit code 2.
🐍 pypy-3.10 β€’ windows-2022 β€’ x64
Process completed with exit code 1.
🐍 pypy-3.9 β€’ windows-2022 β€’ x64
Process completed with exit code 1.
🐍 3.12 β€’ macos-13 β€’ x64
Process completed with exit code 2.
🐍 pypy-3.8 β€’ windows-2022 β€’ x64
Process completed with exit code 1.
🐍 3.9 β€’ windows-2022 β€’ x64 -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded
Canceling since a higher priority waiting request for 'test-refs/pull/5403/merge' exists
🐍 3.8 β€’ windows-2022 β€’ x64
Canceling since a higher priority waiting request for 'test-refs/pull/5403/merge' exists
🐍 3.8 β€’ windows-2022 β€’ x64
The operation was canceled.
🐍 3.9 β€’ windows-2019 β€’ x64
Canceling since a higher priority waiting request for 'test-refs/pull/5403/merge' exists
🐍 3.9 β€’ windows-2019 β€’ x64
The operation was canceled.
🐍 3.8 β€’ windows-2019 β€’ x64 -DPYBIND11_FINDPYTHON=ON
Canceling since a higher priority waiting request for 'test-refs/pull/5403/merge' exists
🐍 3.8 β€’ windows-2019 β€’ x64 -DPYBIND11_FINDPYTHON=ON
The operation was canceled.
🐍 3 β€’ ICC latest β€’ x64
Canceling since a higher priority waiting request for 'test-refs/pull/5403/merge' exists
🐍 3 β€’ ICC latest β€’ x64
The operation was canceled.
🐍 3 β€’ NVHPC 23.5 β€’ C++17 β€’ x64
Canceling since a higher priority waiting request for 'test-refs/pull/5403/merge' exists
🐍 3 β€’ NVHPC 23.5 β€’ C++17 β€’ x64
The operation was canceled.
🐍 3.8 β€’ ubuntu-20.04 β€’ x64 -DPYBIND11_FINDPYTHON=ON -DCMAKE_CXX_FLAGS="-D_=1"
Canceling since a higher priority waiting request for 'test-refs/pull/5403/merge' exists
🐍 3.9 β€’ ubuntu-20.04 β€’ x64
Canceling since a higher priority waiting request for 'test-refs/pull/5403/merge' exists
🐍 3.9 β€’ ubuntu-20.04 β€’ x64
The operation was canceled.
🐍 3.9 β€’ macos-13 β€’ x64
Canceling since a higher priority waiting request for 'test-refs/pull/5403/merge' exists
🐍 3.9 β€’ macos-13 β€’ x64
The operation was canceled.
🐍 3.8 β€’ macos-13 β€’ x64
Canceling since a higher priority waiting request for 'test-refs/pull/5403/merge' exists
🐍 3.8 β€’ macos-13 β€’ x64
The operation was canceled.