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

3.6.0: pep517 build fails #1311

Closed
kloczek opened this issue Jun 25, 2023 · 4 comments
Closed

3.6.0: pep517 build fails #1311

kloczek opened this issue Jun 25, 2023 · 4 comments
Labels
installation-issues Issue related to installation problems.

Comments

@kloczek
Copy link

kloczek commented Jun 25, 2023

Looks like something is wrong with new release

+ /usr/bin/python3 -sBm build -w --no-isolation
* Getting build dependencies for wheel...
<string>:10: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
    main()
  File "/usr/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
  File "/usr/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
    return hook(config_settings)
  File "/usr/lib/python3.8/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=['wheel'])
  File "/usr/lib/python3.8/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
    self.run_setup()
  File "/usr/lib/python3.8/site-packages/setuptools/build_meta.py", line 338, in run_setup
    exec(code, locals())
  File "<string>", line 76, in <module>
TypeError: 'type' object is not subscriptable

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
@kloczek kloczek added the bug label Jun 25, 2023
@snowman2
Copy link
Member

See: #1111

@snowman2 snowman2 added installation-issues Issue related to installation problems. and removed bug labels Jun 25, 2023
@kloczek
Copy link
Author

kloczek commented Jun 25, 2023

If is only python 3.8 issue feel free to close this ticket because I'm moving soon to 3.9.

@snowman2
Copy link
Member

I am fairly confident that this is a Python 3.8 issue. If you run into troubles with Python 3.9, feel free to open another issue.

@kloczek
Copy link
Author

kloczek commented Jun 29, 2023

As I'm now in process of moving to 3.9 I'll accept your expertise.
Thx 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation-issues Issue related to installation problems.
Projects
None yet
Development

No branches or pull requests

2 participants