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

Continous Integration on Python 3.10.0 alpha during local install: "Getting requirements to build wheel did not run successfully." #61

Open
SylvainDe opened this issue Apr 16, 2023 · 0 comments

Comments

@SylvainDe
Copy link
Owner

SylvainDe commented Apr 16, 2023

First failure

Date: 16 March 2023
Build: https://github.com/SylvainDe/DidYouMean-Python/actions/runs/4710538550
Jobs: Python 3.10.0 alpha (all versions, 1 to 6 but not 7)

  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.10.0-alpha.6/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.0-alpha.6/x64/lib
Python 3.10.0a6 (default, Mar 10 2021, 15:17:15) [GCC 9.3.0]
sys.version_info(major=3, minor=10, micro=0, releaselevel='alpha', serial=6)
('CPython', '', '')
pip 23.1 from /opt/hostedtoolcache/Python/3.10.0-alpha.6/x64/lib/python3.10/site-packages/pip (python 3.10)
Run pip install .
  pip install .
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.10.0-alpha.6/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.0-alpha.6/x64/lib
Processing /home/runner/work/DidYouMean-Python/DidYouMean-Python
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [25 lines of output]
      Traceback (most recent call last):
        File "/opt/hostedtoolcache/Python/3.10.0-alpha.6/x64/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/opt/hostedtoolcache/Python/3.10.0-alpha.6/x64/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/opt/hostedtoolcache/Python/3.10.0-alpha.6/x64/lib/python3.10/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-zrfrth81/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/tmp/pip-build-env-zrfrth81/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 320, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-zrfrth81/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 484, in run_setup
          super(_BuildMetaLegacyBackend,
        File "/tmp/pip-build-env-zrfrth81/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 335, in run_setup
          exec(code, locals())
        File "<string>", line 9, in <module>
        File "/tmp/pip-build-env-zrfrth81/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 107, in setup
          _install_setup_requires(attrs)
        File "/tmp/pip-build-env-zrfrth81/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 75, in _install_setup_requires
          dist = MinimalDistribution(attrs)
        File "/tmp/pip-build-env-zrfrth81/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 57, in __init__
          super().__init__(filtered)
        File "/tmp/pip-build-env-zrfrth81/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 486, in __init__
          for ep in metadata.entry_points(group='distutils.setup_keywords'):
      TypeError: entry_points() got an unexpected keyword argument 'group'
      [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: 21.0.1 -> 23.1
Notice:  To update, run: pip install --upgrade pip
Error: Process completed with exit code 1.

Last success

Date: 15 March 2023
Build: https://github.com/SylvainDe/DidYouMean-Python/actions/runs/4704999557
Jobs: all

Python 3.10.0a6 (default, Mar 10 2021, 15:17:15) [GCC 9.3.0]
sys.version_info(major=3, minor=10, micro=0, releaselevel='alpha', serial=6)
('CPython', '', '')
pip 23.0.1 from /opt/hostedtoolcache/Python/3.10.0-alpha.6/x64/lib/python3.10/site-packages/pip (python 3.10)
Run pip install .
  pip install .
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.10.0-alpha.6/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.0-alpha.6/x64/lib
Processing /home/runner/work/DidYouMean-Python/DidYouMean-Python
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Installing collected packages: BetterErrorMessages
  DEPRECATION: BetterErrorMessages is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for BetterErrorMessages: started
  Running setup.py install for BetterErrorMessages: finished with status 'done'
Successfully installed BetterErrorMessages-0.4
SylvainDe added a commit that referenced this issue Apr 19, 2023
SylvainDe added a commit that referenced this issue May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant