Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Init environment of nebula need to be updated #5968

Open
JackChuengQAQ opened this issue Nov 3, 2024 · 0 comments
Open

The Init environment of nebula need to be updated #5968

JackChuengQAQ opened this issue Nov 3, 2024 · 0 comments
Labels
affects/none PR/issue: this bug affects none version. severity/none Severity of bug type/bug Type: something is unexpected

Comments

@JackChuengQAQ
Copy link
Contributor

Describe the bug (required)

The Nebula Test framework, which Init environment

depends on Python 3 (>=3.7) and several third-party libraries such as nebula-python, reformat-gherkin, pytest, and pytest-bdd,

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.0
  • AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? Since This issue arises because requirements.txt specifies setuptools==59.6.0, but the ImpImporter 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

@JackChuengQAQ JackChuengQAQ added the type/bug Type: something is unexpected label Nov 3, 2024
@github-actions github-actions bot added affects/none PR/issue: this bug affects none version. severity/none Severity of bug labels Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/none PR/issue: this bug affects none version. severity/none Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

1 participant