Skip to content

Configure a redirect to recommend venv #9680

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

Closed
wants to merge 3 commits into from

Conversation

winsonluk
Copy link
Contributor

This PR configures a redirect from https://pip.pypa.io/en/latest/warnings/venv to https://docs.python.org/3/tutorial/venv.html.

As part of #9394, users who run pip as root will be warned with the former URL. The redirected link will guide users towards installing venv to avoid root usage.

A redirect is preferred since the destination URL may change, and this decouples documentation from the code.

@pradyunsg
Copy link
Member

This isn't necessary.

We can configure redirects on the ReadTheDocs admin pages which is definitely the better approach here (see https://pip.pypa.io/surveys/backtracking for example)

@pradyunsg pradyunsg closed this Mar 3, 2021
@pradyunsg pradyunsg reopened this Mar 3, 2021
@pradyunsg pradyunsg closed this Mar 3, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants