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

Mock is a test dependency and should not be in install_requires #50

Closed
NotoriousPyro opened this issue Apr 5, 2022 · 0 comments · May be fixed by #51
Closed

Mock is a test dependency and should not be in install_requires #50

NotoriousPyro opened this issue Apr 5, 2022 · 0 comments · May be fixed by #51

Comments

@NotoriousPyro
Copy link

NotoriousPyro commented Apr 5, 2022

"mock>=4.0.3",

https://setuptools.pypa.io/en/latest/userguide/dependency_management.html#optional-dependencies

This causes mock to be included as a production dependency in the requirements.txt when using pip-compile:

mock==4.0.3 \
    --hash=sha256:122fcb64ee37cfad5b3f48d7a7d51875d7031aaf3d8be7c42e2bee25044eee62 \
    --hash=sha256:7d3fbbde18228f4ff2f1f119a45cdffa458b4c0dee32eb4d2bb2f82554bac7bc
    # via appengine-python-standard
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

Successfully merging a pull request may close this issue.

2 participants