-
-
Notifications
You must be signed in to change notification settings - Fork 611
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
Allow editable packages in requirements.in when using --generate-hashes #524
Conversation
Any idea why using editable packages fail on Windows with Python 2.7 with the error:
I do not have a Windows box handy to easily test. |
I just tried with the head of master, and it seems to work. Try rebasing on master to see if it works now. |
Rebased but and still receiving appveyor only issues. The error is different tho, I now see:
Looks like appveyor is failing to clean a temporary directory. I'm unable to investigate this as I don't have a Windows box to easily test with. Any thoughts? |
I'll try to setup a Windows+Py3 environment and investigate this. |
(Catching up) (like #424) |
Updated PR.
Thanks. Ready for review. |
Dang, still a py3 error on appveyor. I'll try to reproduce. |
This is not only an appveyor issue: This really happens on windows with python 3.
Then:
|
This is not part of your change though. You can work around this (in the context of this PR) by using You can also remove |
Thanks for the investigation! I really appreciate it. I've made the suggested updates:
|
Thank you for your contribution, and for your time 👍 |
Describe the changes here.
Use case:
Editable packages are useful to install private company packages from
VCS. It is also useful to use --generate-hashes to help verify that 3rd
party packages are correct and not tampered with. Previously, combining
these two features would result in the error:
Can now use both editable packages and --generate-hashes features when
compiling a requirements.in file.
Changelog friendly entry: Allow editable packages in requirements.in with --generate-hashes
Contributor checklist