← Back to issue list

Does not install from pip

View original Github issue

Metadata

Project
snapcraft
Number
#4145
Type
issue
State
closed
Author
xloem
Labels
—
Created
Updated
Closed

Current evaluation

Closed with no documented explanation or linked fix for the pip installation failure.

Resolution: closed stale

Reason: Issue #4145 was closed without a resolving PR, commit, version, or maintainer explanation. The report remained inactive for 1152 days.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description `subprocess.CalledProcessError: Command '['git', 'describe', '--always', '--long']' returned non-zero exit status 128.` looks like the installer is written to build from git, whereas the package is also published to pypi? ### To Reproduce `python3 -m pip install snapcraft` ### Environment Red Hat Enterprise Linux 7.9 Python 3.10.11 Pip 2.3.1 Snapcraft 4.8.1 ### Relevant log output ```shell Defaulting to user installation because normal site-packages is not writeable Collecting snapcraft Using cached snapcraft-4.8.1.tar.gz (839 kB) Installing build dependencies: started Installing build dependencies: still running... Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'error' error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [21 lines of output] fatal: not a git repository (or any of the parent directories): .git Traceback (most recent call last): File "/home/user/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module> main() File "/home/user/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/home/user/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) File "/tmp/pip-build-env-itkf783u/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) File "/tmp/pip-build-env-itkf783u/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-itkf783u/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/tmp/pip-build-env-itkf783u/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "<string>", line 167, in <module> File "<string>", line 42, in determine_version File "/usr/local/lib/python3.10/subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['git', 'describe', '--always', '--long']' returned non-zero exit status 128. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ``` ### Additional context _No response_

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale Closed with no documented explanation or linked fix for the pip installation failure.
stealth/space-bunny-alpha — closed stale Snapcraft #4145 was closed without a documented fix, discussion, or linked resolution for the pip installation failure.
stealth/space-bunny-alpha — closed stale Closed without a documented fix or maintainer explanation; the reported pip installation failure was not resolved by a recorded PR or commit.
stealth/space-bunny-alpha — closed stale The reported pip-build failure for Snapcraft 4.8.1 was closed with no documented fix, replacement, or maintainer explanation.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The PyPI source build fails because the setup script runs git commands outside a repository, breaking pip installation.
qwen/qwen3.6-35b-a3b — — The pip installation fails because the build script runs git describe on a PyPI source tarball lacking a .git directory. The issue was closed without comments or resolution, indicating it was abandoned.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The build script fails during PyPI installation because it executes git commands on a non-git source distribution. No fix was implemented or merged.
qwen3.6-35b-a3b-mtp-q6 — — Abandoned. Closed without resolution. The pip build failure from a missing .git directory during version detection was not addressed.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.