-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Add a note to the venv
documentation that users should **not** put their code _inside_ the virtual environment
#109414
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
Comments
/cc @vsajip |
There is an admonition:
I don't object to adding more information, but doesn't this
come under the "bleedin' obvious" category? |
That's what I thought, but based on https://mastodon.social/@fschulze/111053590685791015 and the amount of people we are running into with VS Code who are getting upset we don't format code we find in a virtual environment because we treat it as outside of a user's domain, it apparently isn't getting out enough into the general community. |
GH-109440) Co-authored-by: Victor Stinner <[email protected]>
…uction. (pythonGH-109440) (cherry picked from commit a6846d4) Co-authored-by: Vinay Sajip <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
…uction. (pythonGH-109440) (cherry picked from commit a6846d4) Co-authored-by: Vinay Sajip <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
…duction. (GH-109440) (#109481) gh-109414: Add some basic information about venvs in the introduction. (GH-109440) (cherry picked from commit a6846d4) Co-authored-by: Vinay Sajip <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
…uction. (pythonGH-109440) Co-authored-by: Victor Stinner <[email protected]>
Documentation
The
venv
docs don't explicitly call out that the virtual environment directory should be viewed as self-contained unit and not as a directory to place one's own code.Linked PRs
The text was updated successfully, but these errors were encountered: