pyproj4 / pyproj

Python interface to PROJ (cartographic projections and coordinate transformations library)
https://pyproj4.github.io/pyproj
MIT License
1.04k stars 211 forks source link

3.6.0: pep517 build fails #1311

Closed kloczek closed 1 year ago

kloczek commented 1 year ago

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
snowman2 commented 1 year ago

See: #1111

kloczek commented 1 year ago

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

snowman2 commented 1 year ago

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 commented 1 year ago

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