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

pip freeze loses structure from original requirements.txt #155

Closed
brylie opened this issue Dec 14, 2018 · 3 comments
Closed

pip freeze loses structure from original requirements.txt #155

brylie opened this issue Dec 14, 2018 · 3 comments

Comments

@brylie
Copy link

brylie commented Dec 14, 2018

The original requirements.txt file contains

# local package
-e .

When running pip freeze > requirements.txt the above line is lost, and may be easy to overlook when committing the new requirements.txt file.

Is the -e . important for the project to work 'correctly', in the context of a reproducible data science workflow? If so, is there another way to define the -e . flag, so that it won't be accidentally lost when freezing additional project requirements?

@brylie
Copy link
Author

brylie commented Dec 14, 2018

Possibly related to #5

@pjbull
Copy link
Member

pjbull commented Dec 14, 2018

Closing since nothing we can do about this at the moment, it is a bug in pip freeze.

This should work once pip 19.0 is out:
pypa/pip#5031

@pjbull pjbull closed this as completed Dec 14, 2018
@brylie
Copy link
Author

brylie commented Dec 15, 2018

Good to know there is an upstream issue. I am pretty novice to all of this. Thanks @pjbull!

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

2 participants