Skip to content

1.1.405 not respecting PYTHONPATH and PYTHONEXECUTABLE anymore #10901

@haras-unicorn

Description

@haras-unicorn

Describe the bug
I can confirm in 403 it was respecting venv env varibles. In 405 it doesn't anymore - or it supports it partially.

Code or Screenshots
With 403:

> pyright --version
WARNING: there is a new pyright version available (v1.1.403 -> v1.1.405).
Please install the new version or set PYRIGHT_PYTHON_FORCE_VERSION to `latest`

pyright 1.1.403

> pyright
WARNING: there is a new pyright version available (v1.1.403 -> v1.1.405).
Please install the new version or set PYRIGHT_PYTHON_FORCE_VERSION to `latest`

0 errors, 0 warnings, 0 informations

With 405:

> pyright --version
pyright 1.1.405

> pyright
/home/haras/repos/personal/glacial/src/synthesis/src/glacial_synthesis/__init__.py
  /home/haras/repos/personal/glacial/src/synthesis/src/glacial_synthesis/__init__.py:11:10 - error: Import "soundfile" could not be resolved (reportMissingImports)
1 error, 0 warnings, 0 informations

Full repros are here:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions