Skip to content

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

@NotoriousPyro

Description

@NotoriousPyro

"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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions