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

setuptools' tests_require deprecation #198

Open
ArsenArsen opened this issue Dec 16, 2024 · 0 comments
Open

setuptools' tests_require deprecation #198

ArsenArsen opened this issue Dec 16, 2024 · 0 comments
Labels

Comments

@ArsenArsen
Copy link

Describe the bug
when running pip install -v . in the pytest-flask project directory, setuptools produces a warning:

/tmp/pip-build-env-gy9vaagi/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)

it seems that tests_require was removed - it was deprecated for a while: https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-tests-require

test_require seems to be empty anyway, probably best to just drop it

To Reproduce
Steps to reproduce the behavior:

  1. pip install -v .

Expected behavior
no warning

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. macOS Catalina]: Gentoo GNU/Linux
  • Python Version [e.g. 3.8.5]: 3.12.8
  • pytest-flask version [e.g. 0.15.0]: trunk
@ArsenArsen ArsenArsen added the bug label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant