__PYVENV_LAUNCHER__ overriding specified path to exectuable
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.9k
- Forks
- 1.4k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Running inside a virtualenv (created with pyvenv) created the env variable __PYVENV_LAUNCHER__. When I want to run an executable outside the virtualenv, the only way I can do so is if I unset __PYVENV_LAUNCHER__, since having this env var present overrides the path to executable specified.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at setuptools/command/easy_install.py around line 1938 and reproduce the behavior inside a pyvenv-created virtualenv with PYVENV_LAUNCHER set. Trace how the launcher environment variable affects the requested executable path; done means an explicitly specified executable outside the virtualenv is honored without manually unsetting the variable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 30/100