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

setup.py test is deprecated #3317

Merged
merged 4 commits into from Oct 11, 2021
Merged

setup.py test is deprecated #3317

merged 4 commits into from Oct 11, 2021

Conversation

jamesmyatt
Copy link
Contributor

@codecov-commenter
Copy link

codecov-commenter commented Oct 9, 2021

Codecov Report

Merging #3317 (e7fdf1d) into master (76c518b) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3317   +/-   ##
=======================================
  Coverage   81.39%   81.39%           
=======================================
  Files         289      289           
  Lines       14210    14210           
=======================================
  Hits        11566    11566           
  Misses       2644     2644           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 76c518b...e7fdf1d. Read the comment docs.

@rusty1s
Copy link
Member

rusty1s commented Oct 11, 2021

Thanks. I always wanted to fix this :)

@rusty1s rusty1s merged commit ad743c0 into pyg-team:master Oct 11, 2021
@jamesmyatt
Copy link
Contributor Author

jamesmyatt commented Oct 11, 2021

Hi @rusty1s. Thanks for merging this. Looks like you've undone the changes to setup.py. Why is this?

Including setup_requires and test_requires in setup.py is now considered bad practice. Also including pytest-runner in the test extras also seems like a bad idea, since it's only purpose is the setuptools integration, so it will unnecessarily bloat your test environment. See https://github.com/pytest-dev/pytest-runner#deprecation-notice

@rusty1s
Copy link
Member

rusty1s commented Oct 11, 2021

Initially I thought that allowing testing via python setup.py test should still work. I reverted that change once again. Sorry for that :)

@jamesmyatt
Copy link
Contributor Author

No problem. Just wanted to understand.

@jamesmyatt jamesmyatt deleted the feature/remove-setup-test branch October 11, 2021 12:15
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.

None yet

3 participants