-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Why does pip wheel -r skip editable requirements? #3291
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
Comments
Well the point of installing an editable ( You can however The |
@xavfernandez thanks for looking into this. While I think I understand the point of Let my explain with a working example. Let's say I'm working on a project called git aggregator. I first install it with Then when I'm ready to release to production I freeze with
And then I want to package it for production with And, bummer, the result is incomplete because pip skips my editable package. Admitedly I could post-process Moreover #3379 does work and does not break any test. |
I would like to have an option in pip wheel to force creation of wheel even for editable elements |
great ! Thanks! |
After reading the documentation, I'm hoping the release process for my project could look like this:
Since my
dev-requirements.txt
contains editable references to several VCS controlled directories,pip freeze
generates lines such as-e [email protected]:...#egg=...
. That looks completely ok so far.However
pip wheel
then saysSkipping bdist_wheel for ... due to being editable
, which is not good. Removing the -e in the frozen requirements does not help because[email protected]:...
is not accepted as requirements lines.So I'm wondering if the above
pip freeze
+pip wheel
is a correct workflow (which I hope).My main question being why pip wheel needs to skip editable packages. I found a comment by @qwcode in #1775 hinting at something, but I could not understand the rationale. I my use case (ie releasing a project), it is perfectly desirable to have a wheel generated for editable requirements.
The text was updated successfully, but these errors were encountered: