Closed tlvu closed 1 year ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
LGTM... don't know why precommit check is failing
@Zeitsperre Does it means the regex is missing <>=
?
stderr:
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
Traceback (most recent call last):
File "/pc/clone/tlXngWg1Q22J-O_IAQZnTQ/py_env-python3/lib/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
main()
File "/pc/clone/tlXngWg1Q22J-O_IAQZnTQ/py_env-python3/lib/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/pc/clone/tlXngWg1Q22J-O_IAQZnTQ/py_env-python3/lib/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 152, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-o930eag7/overlay/lib/python3.11/site-packages/poetry/core/masonry/api.py", line 40, in prepare_metadata_for_build_wheel
poetry = Factory().create_poetry(Path(".").resolve(), with_groups=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-o930eag7/overlay/lib/python3.11/site-packages/poetry/core/factory.py", line 57, in create_poetry
raise RuntimeError("The Poetry configuration is invalid:\n" + message)
RuntimeError: The Poetry configuration is invalid:
- [extras.pipfile_deprecated_finder.2] 'pip-shims<=0.3.4' does not match '^[a-zA-Z-_.0-9]+$'
This is odd, I do not see any regex in https://github.com/Ouranosinc/PAVICS-landing/blob/master/.pre-commit-config.yaml
Merged anyways to fix Jenkins in production and since my change is completely unrelated to the pre-commit hook failure.
Passed Jenkins build:
http://jenkins.ouranos.ca/job/PAVICS-e2e-workflow-tests/job/current-production-version/98/console
To fix the following Jenkins failure: