-
-
Notifications
You must be signed in to change notification settings - Fork 616
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
pip-sync broken on Windows #722
Labels
bug
Something is not working
Comments
Yes, this is exactly why we do it by leaving the file around in pip-compile. |
Hello @miuliano, thanks for the report, i'll try to fix it ASAP. Thank you @davidovich for the info! It should have been done the same as in compile. |
atugushev
added a commit
to atugushev/pip-tools
that referenced
this issue
Jan 25, 2019
3 tasks
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Calling pip-sync on Windows returns:
This was introduced in 3.3.1 by the change to using
tempfile.NamedTemporaryFile
in sync.py to create the requirements file before passing it topip install
viasubprocess.check_call
. This is caused by Windows requiring reopened temporary files to be opened with theO_TEMPORARY
flag. For context see https://stackoverflow.com/a/15235559.Environment Versions
Steps to replicate
pip-sync -r <requirements_file>
Expected result
Command should complete successfully.
Actual result
The text was updated successfully, but these errors were encountered: