- Notifications
You must be signed in to change notification settings - Fork1.3k
Open
Description
Summary
Some Python packages seem to be unsupported, such as greenlet (https://github.com/python-greenlet/greenlet)
Expected use case
I encountered an error while usingpip3 install playwright
:
Collecting playwright Obtaining dependency information for playwright from https://files.pythonhosted.org/packages/ac/d5/e8c57a4f6fd46059fb2d51da2d22b47afc886b42400f06b742cd4a9ba131/playwright-1.53.0-py3-none-macosx_11_0_arm64.whl.metadata Using cached playwright-1.53.0-py3-none-macosx_11_0_arm64.whl.metadata (3.5 kB)Collecting pyee<14,>=13 (from playwright) Obtaining dependency information for pyee<14,>=13 from https://files.pythonhosted.org/packages/9b/4d/b9add7c84060d4c1906abe9a7e5359f2a60f7a9a4f67268b2766673427d8/pyee-13.0.0-py3-none-any.whl.metadata Using cached pyee-13.0.0-py3-none-any.whl.metadata (2.9 kB)Collecting greenlet<4.0.0,>=3.1.1 (from playwright) Using cached greenlet-3.2.3.tar.gz (185 kB) 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 ╰─> [46 lines of output] running egg_info writing src/greenlet.egg-info/PKG-INFO writing dependency_links to src/greenlet.egg-info/dependency_links.txt Traceback (most recent call last): File "/Users/spensercai/Dev/PerformanceTesting/Python/rpython_venv/lib/rustpython3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module> main() File "/Users/spensercai/Dev/PerformanceTesting/Python/rpython_venv/lib/rustpython3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 347, in main json_out['missing_hook_name'] = e.hook_name or hook_name File "/Users/spensercai/Dev/PerformanceTesting/Python/rpython_venv/lib/rustpython3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/Users/spensercai/Dev/PerformanceTesting/Python/rpython_venv/lib/rustpython3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) File "/private/var/folders/_p/jkkb8lc14nvblh9605plbctm0000gn/T/pip-build-env-v9hzjhnu/overlay/lib/rustpython3.13/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) File "/private/var/folders/_p/jkkb8lc14nvblh9605plbctm0000gn/T/pip-build-env-v9hzjhnu/overlay/lib/rustpython3.13/site-packages/setuptools/build_meta.py", line 303, in _get_build_requires requirements += e.specifiers File "/private/var/folders/_p/jkkb8lc14nvblh9605plbctm0000gn/T/pip-build-env-v9hzjhnu/overlay/lib/rustpython3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires self.run_setup() File "/private/var/folders/_p/jkkb8lc14nvblh9605plbctm0000gn/T/pip-build-env-v9hzjhnu/overlay/lib/rustpython3.13/site-packages/setuptools/build_meta.py", line 326, in run_setup see_url="https://blog.ganssle.io/articles/2021/10/" File "/private/var/folders/_p/jkkb8lc14nvblh9605plbctm0000gn/T/pip-build-env-v9hzjhnu/overlay/lib/rustpython3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup exec(code, locals()) File "<string>", line 266, in <module> File "/private/var/folders/_p/jkkb8lc14nvblh9605plbctm0000gn/T/pip-build-env-v9hzjhnu/overlay/lib/rustpython3.13/site-packages/setuptools/__init__.py", line 115, in setup return distutils.core.setup(**attrs) File "/private/var/folders/_p/jkkb8lc14nvblh9605plbctm0000gn/T/pip-build-env-v9hzjhnu/overlay/lib/rustpython3.13/site-packages/setuptools/_distutils/core.py", line 186, in setup return run_commands(dist) File "/private/var/folders/_p/jkkb8lc14nvblh9605plbctm0000gn/T/pip-build-env-v9hzjhnu/overlay/lib/rustpython3.13/site-packages/setuptools/_distutils/core.py", line 216, in run_commands raise SystemExit("error: " + str(msg)) File "/private/var/folders/_p/jkkb8lc14nvblh9605plbctm0000gn/T/pip-build-env-v9hzjhnu/overlay/lib/rustpython3.13/site-packages/setuptools/_distutils/core.py", line 202, in run_commands dist.run_commands() File "/private/var/folders/_p/jkkb8lc14nvblh9605plbctm0000gn/T/pip-build-env-v9hzjhnu/overlay/lib/rustpython3.13/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands self.run_command(cmd) File "/private/var/folders/_p/jkkb8lc14nvblh9605plbctm0000gn/T/pip-build-env-v9hzjhnu/overlay/lib/rustpython3.13/site-packages/setuptools/dist.py", line 1102, in run_command super().run_command(command) File "/private/var/folders/_p/jkkb8lc14nvblh9605plbctm0000gn/T/pip-build-env-v9hzjhnu/overlay/lib/rustpython3.13/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command cmd_obj.run() File "/private/var/folders/_p/jkkb8lc14nvblh9605plbctm0000gn/T/pip-build-env-v9hzjhnu/overlay/lib/rustpython3.13/site-packages/setuptools/command/egg_info.py", line 305, in run writer(self, ep.name, os.path.join(self.egg_info, ep.name)) File "/private/var/folders/_p/jkkb8lc14nvblh9605plbctm0000gn/T/pip-build-env-v9hzjhnu/overlay/lib/rustpython3.13/site-packages/setuptools/command/_requirestxt.py", line 119, in write_requirements dist.install_requires or (), dist.extras_require or {} File "/private/var/folders/_p/jkkb8lc14nvblh9605plbctm0000gn/T/pip-build-env-v9hzjhnu/overlay/lib/rustpython3.13/site-packages/setuptools/command/_requirestxt.py", line 35, in _prepare extras = _convert_extras_requirements(extras_require) File "/private/var/folders/_p/jkkb8lc14nvblh9605plbctm0000gn/T/pip-build-env-v9hzjhnu/overlay/lib/rustpython3.13/site-packages/setuptools/command/_requirestxt.py", line 47, in _convert_extras_requirements output = defaultdict[str, _Ordered[Requirement]](dict) TypeError: There are no type variables left in dict[~_T, None] [end of output] note: This error originates from a subprocess, and is likely not a problem with pip.error: subprocess-exited-with-error× Getting requirements to build wheel did not run successfully.│ exit code: 1╰─> See above for output.note: This error originates from a subprocess, and is likely not a problem with pip.[notice] A new release of pip is available: 23.2.1 -> 25.1.1[notice] To update, run: pip install --upgrade pip
It seems that Greenlet is not supported in RustPython.