You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the master branch of nanobind on a Debian 12.7 (bookworm) system, I get:
FAILED: tests/test_enum_ext.pyi
terminate called after throwing an instance of 'nanobind::python_error'
what(): Traceback (most recent call last):
File "/home/paul/master/nanobind/src/stubgen.py", line 1422, in <module>
File "/home/paul/master/nanobind/src/stubgen.py", line 1355, in main
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 676, in _load_unlocked
File "<frozen importlib._bootstrap>", line 573, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 1233, in create_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.11/enum.py", line 789, in __getattr__
AttributeError: _singles_mask_
Note that the attribute appears to be missing:
$ grep singles /usr/lib/python3.11/enum.py
$
Reproducible example code
CXX=clang++-16 cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug
cd build
ninja
Note: The use of ninja above is not relevant. Same issue occurs using the default, `make`.
The text was updated successfully, but these errors were encountered:
Problem description
Using the master branch of nanobind on a Debian 12.7 (bookworm) system, I get:
Note that the attribute appears to be missing:
Reproducible example code
The text was updated successfully, but these errors were encountered: