-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Closed
Labels
buildThe build process and cross-buildThe build process and cross-buildpendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug description:
Nanobind C python packages fails to build for python 3.13.3 due to circular import.
All other versions works, I have no way to solver this.
Source:
https://github.com/compas-dev/compas_shapeop/tree/main/src/compas_shapeop
======================================================================================================================================= ERRORS ========================================================================================================================================
____________________________________________________________________________________________________________________ ERROR collecting tests/test_dynamicsolver.py _____________________________________________________________________________________________________________________
ImportError while importing test module 'C:\brg\code\forks\compas_shapeop\tests\test_dynamicsolver.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\brg\code\forks\compas_shapeop\tests\test_dynamicsolver.py:3: in <module>
from compas_shapeop import Solver
..\venv-test\Lib\site-packages\compas_shapeop\__init__.py:8: in <module>
from .shapeop import Solver
..\venv-test\Lib\site-packages\compas_shapeop\shapeop.py:9: in <module>
from . import _shapeop
E ImportError: cannot import name '_shapeop' from partially initialized module 'compas_shapeop' (most likely due to a circular import) (C:\Users\petrasv\AppData\Local\Temp\cibw-run-5_x5v_b7\cp313-win_amd64\venv-test\Lib\site-packages\compas_shapeop\__init__.py)
=============================================================================================================================== short test summary info ===============================================================================================================================
ERROR ..\..\..\..\..\..\..\..\brg\code\forks\compas_shapeop\tests\test_dynamicsolver.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================================================================================== 1 error in 2.72s ===================================================================================================================================
CPython versions tested on:
3.13
Operating systems tested on:
Windows
Metadata
Metadata
Assignees
Labels
buildThe build process and cross-buildThe build process and cross-buildpendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error