Skip to content

Fix Python plugin venv loading#839

Open
barnabasdomozi wants to merge 1 commit intoEricsson:masterfrom
barnabasdomozi:pythonplugin_fix_venv
Open

Fix Python plugin venv loading#839
barnabasdomozi wants to merge 1 commit intoEricsson:masterfrom
barnabasdomozi:pythonplugin_fix_venv

Conversation

@barnabasdomozi
Copy link
Collaborator

@barnabasdomozi barnabasdomozi commented Mar 18, 2026

Changes:

  • Updated the Python parser's dependencies to the latest version since
    newer Python versions require a more recent version of the Jedi
    parsing library to load the Python virtual environment (venv).

  • Minor fix: failing to load a virtual environment
    is a major misconfiguration issue, so the parser now exits
    with and error.

  • Removed PYBuiltin test case: these test cases have been flaky
    for some time, especially after the library version updates.
    Since whether a node is built-in is only shown in the info tree,
    this feature is not critical and was implemented back then as a
    nice-to-have.

Changes:
- Updated the Python parser's dependencies to the latest version since
newer Python versions require a more recent version of the Jedi
parsing library to load the Python virtual environment (venv).

- Minor fix: failing to load a virtual environment
is a major misconfiguration issue, so the parser now exits
with and error.

- Removed PYBuiltin test case: these test cases have been flaky
for some time, especially after the library version updates.
Since whether a node is built-in is only shown in the info tree,
this feature is not critical and was implemented back then as a
nice-to-have.
@barnabasdomozi barnabasdomozi force-pushed the pythonplugin_fix_venv branch from fbc8307 to fd009ea Compare March 18, 2026 17:31
@barnabasdomozi barnabasdomozi self-assigned this Mar 18, 2026
@barnabasdomozi barnabasdomozi added Kind: Bug ⚠️ Plugin: Python Issues related to the parsing and presentation of Python projects. Target: Parser labels Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Kind: Bug ⚠️ Plugin: Python Issues related to the parsing and presentation of Python projects. Target: Parser

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant