The Init environment of nebula need to be updated #5968
Labels
affects/none
PR/issue: this bug affects none version.
severity/none
Severity of bug
type/bug
Type: something is unexpected
Describe the bug (required)
The Nebula Test framework, which
Init environment
seems to have lost compatibility with Python 3.12 following recent updates.
Some of the error when executing
make init-all
AttributeError: cython_sources
. Which require cpython < 3.0.0AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
Since This issue arises becauserequirements.txt
specifiessetuptools==59.6.0
, but theImpImporter
feature has been removed, causing a conflict with Python 3.12.To improve user experience, the guidance for
make tests
should be clarified to prevent confusion.Additionally, the
--user
parameter in Makefiles prevents tests from being initialized in a virtual environment. Can we consider removing or adjusting this to ensure compatibility?Additional context
The text was updated successfully, but these errors were encountered: