You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched in the issues and found no similar issues.
Describe the bug
PyHive is still using the long deprecated test command which was removed with 72.0.0 / pypa/setuptools#4458.
This means that any package using the setuptools.commands.test module cannot be installed anymore with setuptools==72.0.0.
This affects a lot of packages (see pypa/setuptools#4519), including PyHive:
Collecting pyhive==0.7.0 (from -r requirements-typehint.txt (line 717))
Downloading PyHive-0.7.0.tar.gz (46 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.5/46.5 kB 160.8 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "/home/localstack/Repos/localstack-ext/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/home/localstack/Repos/localstack-ext/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/localstack/Repos/localstack-ext/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-u4z1mnw7/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 327, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-u4z1mnw7/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 297, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-u4z1mnw7/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 497, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-u4z1mnw7/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 313, in run_setup
exec(code, locals())
File "<string>", line 4, in <module>
ModuleNotFoundError: No module named 'setuptools.command.test'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
This can easily be reproduced with the following snippet:
Code of Conduct
Search before asking
Describe the bug
PyHive is still using the long deprecated
test
command which was removed with72.0.0
/ pypa/setuptools#4458.This means that any package using the
setuptools.commands.test
module cannot be installed anymore withsetuptools==72.0.0
.This affects a lot of packages (see pypa/setuptools#4519), including PyHive:
This can easily be reproduced with the following snippet:
As far as I can tell, the test command in setuptools isn't even used anymore:
kyuubi/.github/workflows/python.yml
Lines 58 to 61 in d9d2109
Affects Version(s)
all versions?
Kyuubi Server Log Output
No response
Kyuubi Engine Log Output
No response
Kyuubi Server Configurations
No response
Kyuubi Engine Configurations
No response
Additional context
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: