-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Creation of a new virtuelenv with Python 3.3 fails #329
Comments
Is that the latest version of virtualenv/pip? |
This looks similar to the issues I addressed on OS X for 3.3, which should be fixed in latest virtualenv/pip. You probably need the virtualenv on the base image to be 1.8.1 - if you need a PPA or whatever for that, then I'm not sure where to look but it should be easy to package. ISTR It's possible to create a travis vagrant instance from your OSS repos - can you point me at a scriptable reproducer and I can poke more. |
I'm going to hop on IRC to see if we can get a quicker turnaround |
Full logs: https://gist.github.com/3dd90923365081565e9e Looks like possibly something odd in the new ubuntu packaging with the minimal package PKG source https://launchpad.net/~python-dev/+archive/ppa
|
The package we use wasn't very heavily tested but the maintainer is very kind and I think we can ask him to rebuild it if we identify what is missing/wrong. |
You are hitting virtualenv bug #301 in combination of either http://bugs.python.org/issue15822 (3.3rc1) or http://bugs.python.org/issue15890 (rc2). |
Thanks @tpievila for the additional pointers. #301 is an error-reporting/debugging improvement, not something that will cause a failure itself; so if that's correct this is not something we can fix in virtualenv. Fortunately it looks like http://bugs.python.org/issue15822 is fixed in 3.3rc2, and http://bugs.python.org/issue15890 is not hard to work around if needed. Closing for now, unless more information is provided indicating this is a virtualenv bug. |
@carljm does it mean that using RC2 will solve the issue? We are not Python experts and working around Python issues is not necessarily something we can do. We would also prefer to not modify virtualenv in any way. |
The issue is still present with Python 3.3 RC2. Log with RC2. What our next steps should be? We cannot provide Python 3.3 on travis because of this :( Maybe some Python hackers would be interested in helping us a little bit? |
We use a different PPA for 3.3 this time, by the way. |
http://bugs.python.org/issue15822 should be fixed in rc2, and on further review it seems unlikely to me that you are hitting http://bugs.python.org/issue15890, since the consensus on that bug seems to be that it's not a regression, so if your umask was set too strictly you'd have seen that problem on earlier Pythons as well (also, not likely that a PPA build would be broken in that way). So it seems likely that @tpievila 's analysis was incorrect. Reviewing this thread, I don't see confirmation anywhere of the version of virtualenv/pip you are using, @michaelklishin ? |
pip 1.2.1, virtualenv 1.8.2. |
@michaelklishin I notice in your log that you're running virtualenv over top of an existing virtualenv directory; can you try (If you're working on this now, I'm also |
http://packages.ubuntu.com/quantal/i386/libpython3.3-minimal/filelist Gives |
@pnasrat here's what |
|
Note for self/others - http://bazaar.launchpad.net/~doko/python/pkg3.3-debian/files has the patches, etc. |
@Mezzle suggests there is a patch in Quantal that our package did not include. We are waiting for another build to finish to try it out with supposedly full patch set. |
oops fat fingered. |
@michaelklishin What is the value of |
|
Yes, @pnasrat 's hunch was correct; we need to add a new special case in virtualenv's |
I'm guessing this is still occuring - @carljm do you have time for this, else I'lll try take a poke on the weekend |
@pnasrat If I have time it won't be until mid-next-week at the earliest; if you have time this weekend that'd be great. |
Sure - I should have time then, I'm at conference during the week. |
Any progress on this? can someone who is not a virtualenv core contributor submit a fix? travis-ci.org users are already asking for 3.3. |
@carljm I think it's more a question of symlinking the plat-$(MULTIARCH) dir when building the virtualenv. |
Link PLATDIR for Python 3.3 compatibility. Closes #329.
Were there any Virtualenv releases that include this fix? We still cannot provide Python 3.3 on travis-ci.org because of this issue. |
I don't think any releases have included this fix yet. It could certainly be worth a bugfix release (@jezdez?) but in the meantime you should be able to use master virtualenv without negative consequences. |
+! for a release. |
When trying to provision 3.3 RC1 [upd.: and later RC2] for travis-ci.org, I am hitting the following (Chef output):
https://gist.github.com/c47e2107af831c83391b
I am not familiar with the Python ecosystem enough to understand if this qualifies as a virtualenv problem but decided to file this issue. If there are workarounds, I think we can tweak things just for 3.3.
The text was updated successfully, but these errors were encountered: