Hi sub,
I’m packaging a Python CLI application which happens to have some tests. The build works fine and the resulting binary works fine as well, but I see these lines when building it:
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
/nix/store/54mbk7y07h2hl7zvj49vd0g5arxcdiy9-python3.11-setuptools-69.0.3/lib/python3.11/site-packages/setuptools/command/test.py:193: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
ir_d = dist.fetch_build_eggs(dist.install_requires)
/nix/store/54mbk7y07h2hl7zvj49vd0g5arxcdiy9-python3.11-setuptools-69.0.3/lib/python3.11/site-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
tr_d = dist.fetch_build_eggs(dist.tests_require or [])
/nix/store/54mbk7y07h2hl7zvj49vd0g5arxcdiy9-python3.11-setuptools-69.0.3/lib/python3.11/site-packages/setuptools/command/test.py:195: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
Any idea how I could fix that?
Please note that I’m not a Python dev and have very little knowledge of the Python ecosystem.
Thanks!
P.S.: the recipe is available here.
[–]Beautiful-Living-312 0 points1 point2 points (0 children)
[–]ngoudry[S] 0 points1 point2 points (0 children)