-
Notifications
You must be signed in to change notification settings - Fork 81
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
Packaging issue with Python 3 on Fedora #102
Comments
Hi, sorry for not replying earlier. I think there has also been a discussion via email, but I'd like to mention a couple of things here:
Btw, due to how distracted I've been, if you want I can give you commit access to fix some things (like, falling back on |
PS: I forgot to mention... there's another reason why I haven't bothered with an alternative to |
I know of the However, as it turns out that's not how I'll try and ask if this can be improved on the Fedora side.
I haven't, I'm still very happy using |
Good :) Let me know if you find a resolution. Anyhow, it should also be possible to have a Python3-pew packaged in Fedora that depends on the Python2-virtualenv package, shouldn't it? It's not pretty, but it should be a problem that it'll sort itself, as soon as Fedora drops Python2 |
That is in fact how I "solved" this problem a few weeks ago. 😉 |
I think you're right, it looks as though that commit fixed this. I hope you don't mind if I close this issue as a result! |
I'm trying to package Pew for Fedora.
I have a repository with work-in-progress packages, however one thing is problematic.
I've chosen to build Pew for Python 3, because at this point I'd rather not do anything related to Python 2 if I don't have to. 😉
So I built Pew and its dependencies as Python 3 modules, and overall everything is working fine... except one tiny little detail.
The
/usr/bin/virtualenv
command on Fedora is the Python 2 version. For Python 3, the command is/usr/bin/virtualenv-3.4
.As a result, even though I've built Pew for Python 3, I still need to add a dependency on the Python 2 version of virtualenv. 😞
This
virtualenv
/virtualenv-3.4
issue is Fedora-specific, as far as I know (Debian only ships/usr/bin/virtualenv
for the Python 3 version it seems), so I'd understand if that's not something you want to work around upstream.Possible solutions I can think of include:
virtualenv
command doesn't exist, tryvirtualenv-3.4
, orvirtualenv-3.5
, or... Which is clearly not very smart.subprocess
-ing the command, and instead use a Python module (maybevenv
for Python >= 3.3 ?)What do you think?
The text was updated successfully, but these errors were encountered: