Skip to content
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

'-e .' resolves to absolute path, breaking compatibility #663

Closed
rpkilby opened this issue May 24, 2018 · 5 comments
Closed

'-e .' resolves to absolute path, breaking compatibility #663

rpkilby opened this issue May 24, 2018 · 5 comments

Comments

@rpkilby
Copy link

rpkilby commented May 24, 2018

-e . resolves to an absolute path on the local machine, breaking the requirements.txt file for other users since they most likely don't have the package source installed at the same path. Luckily, it's not too difficult to keep up with the output, although it is annoying.

Environment Versions
  1. OS Type: macOS
  2. Python version: 3.6.0
  3. pip version: 10.0.1
  4. pip-tools version: 2.0.2
Steps to replicate
  1. Add package to requirements.in as -e .[extradep]
  2. pip-compile --output-file requirements.txt requirements.in
Expected result
  • requirements.txt contains -e .
  • requirements.txt contains resolved extra dependencies
Actual result
  • requirements.txt contains -e file:///absolute/path/to/package/on/local/machine
  • requirements.txt contains resolved extra dependencies
@strichter
Copy link

In my case the extra deps are not added to requirements.txt.

@rpkilby
Copy link
Author

rpkilby commented May 30, 2018

@strichter - your case might be related to #625.

@regisb
Copy link

regisb commented Jul 6, 2018

I observe the same behaviour, even though the local project does not have extra dependencies. This is annoying because it forces us to manually run pip install -e . after every pip-sync.
This issue seems to be related to PR #507.

moggers87 added a commit to Inboxen/Inboxen that referenced this issue Jul 13, 2018
@mm-matthias
Copy link

Duplicate of #204

@atugushev
Copy link
Member

Let's track it in #204.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants