Closed rocode closed 2 years ago
Resolved in v1.1.1 via https://github.com/IamTheFij/release-gitter/commit/3f23ddd3cce8dce523fdf89e97b72b055b1954bb
Forward progress:
Error Log:
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
Prepare meta /tmp/pip-modern-metadata-30zfphkh None
Traceback (most recent call last):
File "/pc/clone/QS-gDmx1QpG9ZloEk2_gYA/py_env-python3/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
main()
File "/pc/clone/QS-gDmx1QpG9ZloEk2_gYA/py_env-python3/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/pc/clone/QS-gDmx1QpG9ZloEk2_gYA/py_env-python3/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 164, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "/tmp/pip-build-env-edq6mpyj/overlay/lib/python3.8/site-packages/pseudo_builder.py", line 74, in prepare_metadata_for_build_wheel
version = metadata.version.removeprefix("v")
AttributeError: 'str' object has no attribute 'removeprefix'
[end of output]
Looks like "removeprefix" was added in 3.9 as well.
Thanks! I got it in the main file but not in the pseudo builder. I'll push 1.1.2 soon.
Pushed. Should be live soon.
Update is live now. 👍
release-gitter wheel fails to build when running on Python version 3.8 or earlier.
Error Log:
This issue appears to be because of this line in release_gitter.py.
REF: https://github.com/pre-commit-ci/issues/issues/132#issuecomment-1170598329