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

Question: should a requirements.txt live alongside a Pipfile file? #877

Closed
walterdolce opened this issue Oct 11, 2017 · 3 comments
Closed

Comments

@walterdolce
Copy link

Do you think a requirements.txt file should live alongside a Pipenv file?

I am aware pipenv can import dependencies from the requirements.txt file "and forget about it". I was thinking more of a scenario where people and/or tools wouldn't use pipenv on a machine but would still fallback to pip. Think "legacy package users" here, if that makes any sense.

Would you advise on doing whilst pipenv (hopefully) takes over the old ways of managing dependencies and virtual environments?

Thank you in advance.

@sobolevn
Copy link
Contributor

sobolevn commented Oct 12, 2017

I am using this hack. Sometimes ipython, sphinx, and other packages fail to be installed (with my specific configuration).
So, I store them in requirements.txt.

@nateprewitt
Copy link
Sponsor Member

@walterdolce, we leave those kinds of decisions up to project maintainers. Ideally, we would eventually be moved over to the pipfile spec and requirements.txt would be phased out. As we're in this transitionary state though, having both doesn't have any significant downsides. If you think you may have a population of users that won't be using Pipenv, then feel free to include it.

@nateprewitt
Copy link
Sponsor Member

Just make sure that they both stay in sync, otherwise you'll have issues.

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

3 participants