Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.
/ devel Public archive

Drop dependency on virtualenv executable #86

Merged
merged 1 commit into from
Sep 15, 2017
Merged

Drop dependency on virtualenv executable #86

merged 1 commit into from
Sep 15, 2017

Conversation

Ichimonji10
Copy link

@Ichimonji10 Ichimonji10 commented Sep 7, 2017

Python 3.3 and newer ships with the "venv" module, which is capable of
creating and managing virtualenvs. The virtualenv executable is only
needed if using an older version of Python.

Use python -m venv when creating virtualenvs. This drops the
dependency on the virtualenv executable. (And whatever packages provide
that executable.) Deployments of Pulp 3 will be faster and
more reliable if they use code that ships with the standard library
instead of third-party packages.

@mention-bot
Copy link

@Ichimonji10, thanks for your PR! By analyzing the history of the files in this pull request, we identified @asmacdo, @werwty and @seandst to be potential reviewers.

@Ichimonji10
Copy link
Author

As usual, it would be great if a Vagrant user could test this.

@dralley dralley self-requested a review September 15, 2017 20:15
Copy link
Contributor

@dralley dralley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested in vagrant environment. 👍

Python 3.3 and newer ships with the "venv" module, which is capable of
creating and managing virtualenvs. The virtualenv executable is only
needed if using an older version of Python.

Use `python -m venv` when creating virtualenvs. This drops the
dependency on the virtualenv executable. (And whatever packages provide
that executable.) Deployments of Pulp 3 will be faster and more reliable
if they use code that ships with the standard library instead of
third-party packages.
@Ichimonji10
Copy link
Author

Yay!

Rebased on upstream/3.0-dev and re-tested.

@dralley dralley merged commit d1e2a0b into pulp:3.0-dev Sep 15, 2017
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.

3 participants