Automatic Releases #567
Merged
Automatic Releases #567
Cirrus CI / linux_arm64 IMAGE:python:3.9-slim arm_container:python:3.9-slim
failed
Mar 4, 2024 in 52s
Task Summary
Instruction test failed in 00:07
Details
✅ 00:00 clone
✅ 00:41 install
✅ 00:01 arch_check
❌ 00:07 test
│ exit code: 1
╰─> [43 lines of output]
WARNING setuptools_scm.run_cmd command git missing: [Errno 2] No such file or directory: 'git'
ERROR setuptools_scm._get_version_impl command git not found while parsing the scm, using fallbacks
Traceback (most recent call last):
File "/root/.local/share/hatch/env/virtual/pact-python/XZqP7kBn/pact-python/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 167, in prepare_metadata_for_build_editable
hook = backend.prepare_metadata_for_build_editable
AttributeError: module 'hatchling.build' has no attribute 'prepare_metadata_for_build_editable'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/pip-build-env-al0swifa/overlay/lib/python3.9/site-packages/setuptools_scm/_get_version_impl.py", line 35, in parse_scm_version
return _entrypoints.version_from_entrypoint(
File "/tmp/pip-build-env-al0swifa/overlay/lib/python3.9/site-packages/setuptools_scm/_entrypoints.py", line 55, in version_from_entrypoint
maybe_version: version.ScmVersion | None = fn(root, config=config)
File "/tmp/pip-build-env-al0swifa/overlay/lib/python3.9/site-packages/setuptools_scm/git.py", line 208, in parse
_require_command("git")
File "/tmp/pip-build-env-al0swifa/overlay/lib/python3.9/site-packages/setuptools_scm/_run_cmd.py", line 207, in require_command
raise CommandNotFoundError(name)
setuptools_scm._run_cmd.CommandNotFoundError: git
Traceback (most recent call last):
File "/root/.local/share/hatch/env/virtual/pact-python/XZqP7kBn/pact-python/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/root/.local/share/hatch/env/virtual/pact-python/XZqP7kBn/pact-python/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/root/.local/share/hatch/env/virtual/pact-python/XZqP7kBn/pact-python/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 176, in prepare_metadata_for_build_editable
whl_basename = build_hook(metadata_directory, config_settings)
File "/tmp/pip-build-env-al0swifa/overlay/lib/python3.9/site-packages/hatchling/build.py", line 82, in build_editable
return os.path.basename(next(builder.build(directory=wheel_directory, versions=['editable'])))
File "/tmp/pip-build-env-al0swifa/overlay/lib/python3.9/site-packages/hatchling/builders/plugin/interface.py", line 90, in build
self.metadata.validate_fields()
File "/tmp/pip-build-env-al0swifa/overlay/lib/python3.9/site-packages/hatchling/metadata/core.py", line 243, in validate_fields
_ = self.version
File "/tmp/pip-build-env-al0swifa/overlay/lib/python3.9/site-packages/hatchling/metadata/core.py", line 128, in version
self._version = self._get_version()
File "/tmp/pip-build-env-al0swifa/overlay/lib/python3.9/site-packages/hatchling/metadata/core.py", line 226, in _get_version
version = self.hatch.version.cached
File "/tmp/pip-build-env-al0swifa/overlay/lib/python3.9/site-packages/hatchling/metadata/core.py", line 1424, in cached
raise type(e)(message) from None
LookupError: Error getting the version from source `vcs`: setuptools-scm was unable to detect version for /tmp/cirrus-ci-build.
Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.
For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
����������������������������������������������������������������������������������������������������������������������������������������������������������
Loading