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

Remove extras-requires #75

Merged
merged 1 commit into from
Apr 24, 2023
Merged

Remove extras-requires #75

merged 1 commit into from
Apr 24, 2023

Conversation

sarahmonod
Copy link
Contributor

Having these dependencies both in requirements-*.txt as well as in setup.py allows for inconsistencies, such as the missing pyinstaller dependency that really should be in the test dependencies. After discussing this, it seems like it's harder to read the setup.py file by Docker and CI in general than the requirements-*.txt.

Describe your changes
This PR removes all extras_require sections from setup.py, such that the development dependencies are not part of the package that gets published to PyPI.

Testing performed
Reinstalling and running all of the tests and coverage locally with that new setup.

Additional context
PyCon US 2023 ftw.

@sarahmonod sarahmonod added the enhancement New feature or request label Apr 24, 2023
@sarahmonod sarahmonod self-assigned this Apr 24, 2023
@sarahmonod sarahmonod requested a review from godlygeek April 24, 2023 20:48
Having these dependencies both in `requirements-*.txt` as well as in
`setup.py` allows for inconsistencies, such as the missing `pyinstaller`
dependency that really should be in the test dependencies. After
discussing this, it seems like it's harder to read the `setup.py` file
by Docker and CI in general than the `requirements-*.txt`.

Signed-off-by: Gus Monod <gmonod1@bloomberg.net>
Copy link
Contributor

@godlygeek godlygeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@godlygeek godlygeek merged commit db0050f into bloomberg:main Apr 24, 2023
@sarahmonod sarahmonod deleted the extras-requires branch April 27, 2023 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants