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

Deprecated import: setuptools.command.test #2069

Closed
ni-jfitzger opened this issue Jan 25, 2025 · 0 comments · Fixed by #2070
Closed

Deprecated import: setuptools.command.test #2069

ni-jfitzger opened this issue Jan 25, 2025 · 0 comments · Fixed by #2070

Comments

@ni-jfitzger
Copy link
Collaborator

ni-jfitzger commented Jan 25, 2025

Our setup.py files are importing setuptools.command.test, but it's been deprecated for years and may have even been temporarily deleted in the past. We need to replace it with something else.

Making nifake installers
Creating sdist and wheel: generated/nifake/dist
<string>:5: SetuptoolsDeprecationWarning: The test command is disabled and references to it are deprecated.
!!

        ********************************************************************************
        Please remove any references to `setuptools.command.test` in all supported versions of the affected package.

        This deprecation is overdue, please update your project and remove deprecated
        calls to avoid build errors in the future.
        ********************************************************************************

!!
<string>:5: SetuptoolsDeprecationWarning: The test command is disabled and references to it are deprecated.
!!

        ********************************************************************************
        Please remove any references to `setuptools.command.test` in all supported versions of the affected package.

        This deprecation is overdue, please update your project and remove deprecated
        calls to avoid build errors in the future.
        ********************************************************************************

!!
/tmp/build-env-kzq7vfdx/lib/python3.12/site-packages/setuptools/_distutils/dist.py:270: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/tmp/build-env-kzq7vfdx/lib/python3.12/site-packages/setuptools/_distutils/dist.py:270: UserWarning: Unknown distribution option: 'test_suite'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant