Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Are no-GIL interpreter supported yet? #5779

@clin1234

Description

@clin1234

Question

Got this following output:

(venv) cc@pretty:~$ pip install --ignore-requires-python angr
Collecting angr
  Using cached angr-9.2.182.tar.gz (3.3 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [89 lines of output]
      /tmp/pip-build-env-cwea8r4n/overlay/lib/python3.15t/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
      !!
      
              ********************************************************************************
              Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
      
              By 2026-Feb-18, you need to update your project and remove deprecated calls
              or your builds will no longer be supported.
      
              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
              ********************************************************************************
      
      !!
        corresp(dist, value, root_dir)
      /tmp/pip-build-env-cwea8r4n/overlay/lib/python3.15t/site-packages/setuptools/config/_apply_pyprojecttoml.py:55: SetuptoolsDeprecationWarning: 'tool.setuptools.license-files' is deprecated in favor of 'project.license-files' (available on setuptools>=77.0.0).
      !!
      
              ********************************************************************************
      
              By 2026-Feb-18, you need to update your project and remove deprecated calls
              or your builds will no longer be supported.
      
              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-files for details.
              ********************************************************************************
      
      !!
        _apply_tool_table(dist, config, filename)
      running dist_info
      creating /tmp/pip-modern-metadata-jp6c0e11/angr.egg-info
      writing /tmp/pip-modern-metadata-jp6c0e11/angr.egg-info/PKG-INFO
      writing dependency_links to /tmp/pip-modern-metadata-jp6c0e11/angr.egg-info/dependency_links.txt
      writing entry points to /tmp/pip-modern-metadata-jp6c0e11/angr.egg-info/entry_points.txt
      writing requirements to /tmp/pip-modern-metadata-jp6c0e11/angr.egg-info/requires.txt
      writing top-level names to /tmp/pip-modern-metadata-jp6c0e11/angr.egg-info/top_level.txt
      writing manifest file '/tmp/pip-modern-metadata-jp6c0e11/angr.egg-info/SOURCES.txt'
      reading manifest file '/tmp/pip-modern-metadata-jp6c0e11/angr.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      adding license file 'LICENSE'
      writing manifest file '/tmp/pip-modern-metadata-jp6c0e11/angr.egg-info/SOURCES.txt'
      creating '/tmp/pip-modern-metadata-jp6c0e11/angr-9.2.182.dist-info'
      Traceback (most recent call last):
        File "/home/cc/venv/lib64/python3.15t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
          main()
          ~~~~^^
        File "/home/cc/venv/lib64/python3.15t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
          json_out["return_val"] = hook(**hook_input["kwargs"])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/cc/venv/lib64/python3.15t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 175, in prepare_metadata_for_build_wheel
          return hook(metadata_directory, config_settings)
        File "/tmp/pip-build-env-cwea8r4n/overlay/lib/python3.15t/site-packages/setuptools/build_meta.py", line 374, in prepare_metadata_for_build_wheel
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File "/tmp/pip-build-env-cwea8r4n/overlay/lib/python3.15t/site-packages/setuptools/build_meta.py", line 317, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 121, in <module>
        File "/tmp/pip-build-env-cwea8r4n/overlay/lib/python3.15t/site-packages/setuptools/__init__.py", line 115, in setup
          return distutils.core.setup(**attrs)
                 ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
        File "/tmp/pip-build-env-cwea8r4n/overlay/lib/python3.15t/site-packages/setuptools/_distutils/core.py", line 186, in setup
          return run_commands(dist)
        File "/tmp/pip-build-env-cwea8r4n/overlay/lib/python3.15t/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
          dist.run_commands()
          ~~~~~~~~~~~~~~~~~^^
        File "/tmp/pip-build-env-cwea8r4n/overlay/lib/python3.15t/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands
          self.run_command(cmd)
          ~~~~~~~~~~~~~~~~^^^^^
        File "/tmp/pip-build-env-cwea8r4n/overlay/lib/python3.15t/site-packages/setuptools/dist.py", line 1102, in run_command
          super().run_command(command)
          ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
        File "/tmp/pip-build-env-cwea8r4n/overlay/lib/python3.15t/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
          cmd_obj.run()
          ~~~~~~~~~~~^^
        File "/tmp/pip-build-env-cwea8r4n/overlay/lib/python3.15t/site-packages/setuptools/command/dist_info.py", line 99, in run
          bdist_wheel = self.get_finalized_command('bdist_wheel')
        File "/tmp/pip-build-env-cwea8r4n/overlay/lib/python3.15t/site-packages/setuptools/_distutils/cmd.py", line 334, in get_finalized_command
          cmd_obj.ensure_finalized()
          ~~~~~~~~~~~~~~~~~~~~~~~~^^
        File "/tmp/pip-build-env-cwea8r4n/overlay/lib/python3.15t/site-packages/setuptools/_distutils/cmd.py", line 135, in ensure_finalized
          self.finalize_options()
          ~~~~~~~~~~~~~~~~~~~~~^^
        File "/tmp/pip-build-env-cwea8r4n/overlay/lib/python3.15t/site-packages/setuptools/command/bdist_wheel.py", line 250, in finalize_options
          self._validate_py_limited_api()
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
        File "/tmp/pip-build-env-cwea8r4n/overlay/lib/python3.15t/site-packages/setuptools/command/bdist_wheel.py", line 285, in _validate_py_limited_api
          raise ValueError(
          ...<4 lines>...
          )
      ValueError: `py_limited_api='cp310'` not supported. `Py_LIMITED_API` is currently incompatible with `Py_GIL_DISABLED`. See https://github.com/python/cpython/issues/111506.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> angr

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionIssues that do not require code changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions