python3-virtualenv is not in the CentOS Stream 9 composes. It's surprising to me because https://kojihub.stream.centos.org/koji/buildinfo?buildID=6539 has a recent changelog entry "Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937".
Can we add this to CentOS Stream 9 comps?
On Wed, Jul 28, 2021 at 4:16 PM Ken Dreyer kdreyer@redhat.com wrote:
python3-virtualenv is not in the CentOS Stream 9 composes. It's surprising to me because https://kojihub.stream.centos.org/koji/buildinfo?buildID=6539 has a recent changelog entry "Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937".
Can we add this to CentOS Stream 9 comps?
Don't bother. The command "python3 -m venv dirname" does very similar work and requires no additional RPM.
Thanks for explaining this.
I learned https://docs.python.org/3/library/venv.html is built into Python 3's standard lib, and it has a subset of features compared to https://pypi.org/project/virtualenv/ . It sounds like we have some work to do to switch Ceph and other upstream projects away from using virtualenv.
- Ken
On Wed, Jul 28, 2021 at 4:38 PM Nico Kadel-Garcia nkadel@gmail.com wrote:
On Wed, Jul 28, 2021 at 4:16 PM Ken Dreyer kdreyer@redhat.com wrote:
python3-virtualenv is not in the CentOS Stream 9 composes. It's surprising to me because https://kojihub.stream.centos.org/koji/buildinfo?buildID=6539 has a recent changelog entry "Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937".
Can we add this to CentOS Stream 9 comps?
Don't bother. The command "python3 -m venv dirname" does very similar work and requires no additional RPM. _______________________________________________ CentOS-devel mailing list CentOS-devel@centos.org https://lists.centos.org/mailman/listinfo/centos-devel
On 28. 07. 21 22:16, Ken Dreyer wrote:
python3-virtualenv is not in the CentOS Stream 9 composes.
Yes, python-virtualenv has been removed from RHEL/CentOS Stream 9.
The supported replacement is https://docs.python.org/3/library/venv.html
I plan to maintain tox+virtualenv in EPEL 9 (Next) as soon as it is possible.
On Fri, Aug 6, 2021 at 7:29 AM Miro Hrončok mhroncok@redhat.com wrote:
On 28. 07. 21 22:16, Ken Dreyer wrote:
python3-virtualenv is not in the CentOS Stream 9 composes.
Yes, python-virtualenv has been removed from RHEL/CentOS Stream 9.
The supported replacement is https://docs.python.org/3/library/venv.html
I plan to maintain tox+virtualenv in EPEL 9 (Next) as soon as it is possible.
Umm... Why, when venv is built into the basic python packages and works so well?
On 07. 08. 21 21:58, Nico Kadel-Garcia wrote:
On Fri, Aug 6, 2021 at 7:29 AM Miro Hrončok mhroncok@redhat.com wrote:
On 28. 07. 21 22:16, Ken Dreyer wrote:
python3-virtualenv is not in the CentOS Stream 9 composes.
Yes, python-virtualenv has been removed from RHEL/CentOS Stream 9.
The supported replacement is https://docs.python.org/3/library/venv.html
I plan to maintain tox+virtualenv in EPEL 9 (Next) as soon as it is possible.
Umm... Why, when venv is built into the basic python packages and works so well?
Because I like tox and tox uses virtualenv.
On Aug 7, 2021, at 18:30, Miro Hrončok mhroncok@redhat.com wrote:
Because I like tox and tox uses virtualenv.
Can you use the tox-venv plugin?
https://pypi.org/project/tox-venv/
-- Jonathan Billings
On 08. 08. 21 0:48, Jonathan Billings wrote:
On Aug 7, 2021, at 18:30, Miro Hrončok mhroncok@redhat.com wrote:
Because I like tox and tox uses virtualenv.
Can you use the tox-venv plugin?
https://pypi.org/project/tox-venv/ https://pypi.org/project/tox-venv/
Not without patching tox to only use this instead of virtualenv.