This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Generated requirements.txt contains test dependencies #1324
Comments
This seems to be intended behaviour. See: https://github.com/kennethreitz/pipenv/issues/245. We could use this script as a workaround (from the above): https://github.com/kennethreitz/pipenv/issues/245#issuecomment-283694215
|
jcox-dev
pushed a commit
that referenced
this issue
Oct 31, 2017
'pipenv lock -r' outputs a list of dependencies suitable for piping to requirements.txt file but it tends to include all (including dev) dependencies. This is expected behaviour and unlikely to change in Pipenv project but we can work around this by using the Pipenv API to generate our own requirements.txt file (with hashes). Fixes: #1324
jcox-dev
pushed a commit
that referenced
this issue
Oct 31, 2017
'pipenv lock -r' outputs a list of dependencies suitable for piping to requirements.txt file but it tends to include all (including dev) dependencies. This is expected behaviour and unlikely to change in Pipenv project but we can work around this by using the Pipenv API to generate our own requirements.txt file (with hashes). Fixes: #1324
Fixed in latest version of Pipenv: kennethreitz/pipenv#972 Upgrading Pipenv on Jenkins would solve this issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected behaviour
The dev dependencies should not in included in the requirements.txt when the app is deployed
Actual behaviour
The test dependencies are in the requirements.txt
Steps to reproduce the behaviour
pipenv lock -r > requirements.txt
The text was updated successfully, but these errors were encountered: