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

chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.3.2 #608

Merged
merged 1 commit into from
Mar 11, 2024

chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.3.2

4105ac3
Select commit
Loading
Failed to load commit list.
Merged

chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.3.2 #608

chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.3.2
4105ac3
Select commit
Loading
Failed to load commit list.
Cirrus CI / linux_arm64 IMAGE:python:3.11-slim arm_container:python:3.11-slim failed Mar 9, 2024 in 50s

Task Summary

Instruction test failed in 00:06

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:00 clone
✅ 00:34 install
✅ 00:01 arch_check
❌ 00:06 test

      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/tmp/pip-build-env-73fcbf7i/overlay/lib/python3.11/site-packages/setuptools_scm/_get_version_impl.py", line 35, in parse_scm_version
          return _entrypoints.version_from_entrypoint(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-73fcbf7i/overlay/lib/python3.11/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-73fcbf7i/overlay/lib/python3.11/site-packages/setuptools_scm/git.py", line 208, in parse
          _require_command("git")
        File "/tmp/pip-build-env-73fcbf7i/overlay/lib/python3.11/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.11/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.11/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.11/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-73fcbf7i/overlay/lib/python3.11/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-73fcbf7i/overlay/lib/python3.11/site-packages/hatchling/builders/plugin/interface.py", line 90, in build
          self.metadata.validate_fields()
        File "/tmp/pip-build-env-73fcbf7i/overlay/lib/python3.11/site-packages/hatchling/metadata/core.py", line 243, in validate_fields
          _ = self.version
              ^^^^^^^^^^^^
        File "/tmp/pip-build-env-73fcbf7i/overlay/lib/python3.11/site-packages/hatchling/metadata/core.py", line 128, in version
          self._version = self._get_version()
                          ^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-73fcbf7i/overlay/lib/python3.11/site-packages/hatchling/metadata/core.py", line 226, in _get_version
          version = self.hatch.version.cached
                    ^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-73fcbf7i/overlay/lib/python3.11/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.
����������������������������������������������������������������������������������������������������������������������������������������������������������