Skip to content

fix: move pytest from install_requires to dev extra (fixes #623)#624

Open
fazalpsinfo-cmyk wants to merge 1 commit into
brightwind-dev:masterfrom
fazalpsinfo-cmyk:fix/move-pytest-to-dev
Open

fix: move pytest from install_requires to dev extra (fixes #623)#624
fazalpsinfo-cmyk wants to merge 1 commit into
brightwind-dev:masterfrom
fazalpsinfo-cmyk:fix/move-pytest-to-dev

Conversation

@fazalpsinfo-cmyk

Copy link
Copy Markdown

Description

pytest is listed in install_requires so it gets installed into every environment including production/runtime. It is only used for testing and should be a dev dependency.

Changes

  • setup.py: Removed pytest>=4.1.0 from install_requires and added it under extras_require['dev']

Install with pip install brightwind[dev] to include test dependencies.

Closes #623


Support my work: https://buymeacoffee.com/muhamedfazalps

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 this pull request may close these issues.

[pytest/dependencies] pytest is declared as a runtime install dependency

1 participant