Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31898 - [python2-virtualenvwrapper] depends on python-virtualenv

Attached to Project: Community Packages
Opened by Mikkel Oscar Lyderik (moscar) - Thursday, 11 October 2012, 12:01 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 24 October 2012, 11:52 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

python2-virtualenvwrapper depends on python-virtualenv causing the enviroments created using the virtualenvwrapper to be with python3 as the python executable, when one would expect python2 as the python executable.

This is because /usr/bin/virtualenvwrapper.sh (provided by python2-virtualenvwrapper) uses stuff like "virtualenv" rather than "virtualenv2"

Also there is no python-virtualenvwrapper package in the repos.


To fix this python2-virtualenvwrapper should not depend on python-virtualenv and /usr/bin/virtualenvwrapper.sh should use virtualenv2 rather than virtualenv.

Maybe change /usr/bin/virtualenvwrapper.sh to virtualenvwrapper2.sh and create a python-virtualenvwrapper package for python3.


$ pacman -Qi python2-virtualenvwrapper
Name : python2-virtualenvwrapper
Version : 3.6-2
URL : http://www.doughellmann.com/projects/virtualenvwrapper/
Licenses : BSD
Groups : None
Provides : None
Depends On : python-virtualenv python2-virtualenv python2-virtualenv-clone python2-stevedore
Optional Deps : None
Required By : None
Conflicts With : python-virtualenvwrapper<=3.6-1
Replaces : python-virtualenvwrapper<=3.6-1
Installed Size : 148.00 KiB
Packager : Evangelos Foutras <evangelos@foutrelis.com>
Architecture : any
Build Date : 2012-09-30T06:15:39 CEST
Install Date : 2012-10-11T12:48:01 CEST
Install Reason : Explicitly installed
Install Script : No
Description : Extensions to Ian Bicking's virtualenv tool
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Wednesday, 24 October 2012, 11:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  Packaged renamed back to python-virtualenvwrapper. Python 2 virtual environments can still be created using the -p parameter of mkvirtualenv or the VIRTUALENVWRAPPER_VIRTUALENV environment variable.
Comment by Evangelos Foutras (foutrelis) - Thursday, 11 October 2012, 14:26 GMT
You can use 'mkvirtualenv -p python2 <name>' to create Python 2 virtual environments.
Comment by Mikkel Oscar Lyderik (moscar) - Thursday, 11 October 2012, 15:14 GMT
OK great, but maybe the package name should be changed to indicate that it works with both python2 and python3 then?

Loading...