This repository has been archived by the owner on Jul 3, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Follow-up to #81. This PR proposes removing
setup.py
metadata that is only required to runpython setup.py test
.This project's CI doesn't use that command, and
setuptools
maintainers consider that command deprecated.Additions
None
Removals
tests_require
fromsetup.py
requirements-test.txt
intosetup.py
Changes
Testing
Ran the following to emulate CircleCI locally.
docker run \ --rm \ -v $(pwd):/usr/local/src \ --workdir /usr/local/src \ -it circleci/python:3.7 \ /bin/bash
And then installed
hamilton
and ran its tests.Screenshots
None
Notes
From https://pypi.org/project/pytest-runner/#description
And from "Why you shouldn't invoke setup.py directly"
See the table at https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary, which recommends using
pytest
(ashamilton
already does) instead of runningpython setup.py test
.Thanks for your time and consideration.
Todos
None
Checklist
Testing checklist
Python