-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Use a realpath for the temporary build directory. #3701
Conversation
Some systems have /tmp symlinked which confuses custom builds, such as numpy. This ensures that real path is passed and that such builds resolve their paths correctly during build and install. Added test for the change and also for the previous related fix: pypa#707 --- *This was migrated from pypa#3079 to reparent it to the ``master`` branch. Please see original pull request for any previous discussion.*
This seems to have caused the pypy tests on master to fail. Most seem related to a temporary PyPI issue, but there's a Unicode error in there that seems to still be happening. |
Hmm, that's strange. The tests were passing on PyPy before this landed. |
Yeah, may not be this change. I just had a failure from my latest PR, and when I checked, the builds on master had been failing since this one was committed - but that may be a coincidence. |
I wonder - could a server used in the test be returning non-ASCII data? Can't see the error at the moment because I see you restarted the test. |
I didn't restart the test, I did merge something else though :) It's totally possible something is returning non ASCII data. |
Ah, OK. I'll look at the test again when it completes, and see if I can work out what's going on. |
@pfmoore Also, if you look at the code change, the patch is dealing with directories and only strings used in the newly added tests are the prefix/suffix for the temporary directory names. They are plain strings and will be treated correctly by Python 2 or 3. Thank you for checking what else could cause the failures you're seeing. |
@zvezdan It appears to have cleared itself up now (or @dstufft fixed it - I didn't get to it before it started working, anyway). Sorry if I gave the impression I thought your PR was faulty - I didn't mean to, I was more wondering if anyone else had noticed the failure after this went in and was looking into it. Anyway, it's gone away now, so no problem :-) |
@pfmoore Thanks again! |
With previously committed changes we now have everything in place for upgrade of setuptools, virtualenv, pip, and pex. We also upgrade pytest and flake8 to match versions used internally at LinkedIn. Also, bumped the version to 0.6.0 and removed the issue with pip-7 because we now use pip-9 with our patch applied (pypa/pip#3701).
With previously committed changes we now have everything in place for upgrade of setuptools, virtualenv, pip, and pex. We also upgrade pytest and flake8 to match versions used internally at LinkedIn. Also, bumped the version to 0.6.0 and removed the issue with pip-7 because we now use pip-9 with our patch applied (pypa/pip#3701).
Some systems have /tmp symlinked which confuses custom builds, such as
numpy. This ensures that real path is passed and that such builds
resolve their paths correctly during build and install.
Added test for the change and also for the previous related fix: #707
This was migrated from #3079 to reparent it to the
master
branch. Please see original pull request for any previous discussion.