← Back to issue list

chore(deps): add pygit to doc requirements

View original Github issue

Metadata

Project
snapcraft
Number
#4375
Type
pull request
State
merged
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

Merged to add pygit to documentation requirements, fixing a Sphinx build failure from a missing pygit2 module. Approved by two reviewers and passed CI checks.

Suggested action:

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint`? - [x] Have you successfully run `pytest tests/unit`? ----- #4368 broke sphinx: ``` python -m sphinx -T -E -W --keep-going -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html Running Sphinx v7.2.6 making output directory... done loading intersphinx inventory from https://docs.python.org/3/objects.inv... Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/canonical-snapcraft/checkouts/latest/tools/docs/gen_cli_docs.py", line 13, in <module> from snapcraft import cli File "/home/docs/checkouts/readthedocs.org/user_builds/canonical-snapcraft/checkouts/latest/tools/docs/../../snapcraft/cli.py", line 37, in <module> from . import commands File "/home/docs/checkouts/readthedocs.org/user_builds/canonical-snapcraft/checkouts/latest/tools/docs/../../snapcraft/commands/__init__.py", line 63, in <module> from .remote import RemoteBuildCommand File "/home/docs/checkouts/readthedocs.org/user_builds/canonical-snapcraft/checkouts/latest/tools/docs/../../snapcraft/commands/remote.py", line 33, in <module> from snapcraft.remote import is_repo File "/home/docs/checkouts/readthedocs.org/user_builds/canonical-snapcraft/checkouts/latest/tools/docs/../../snapcraft/remote/__init__.py", line 20, in <module> from .git import GitRepo, is_repo File "/home/docs/checkouts/readthedocs.org/user_builds/canonical-snapcraft/checkouts/latest/tools/docs/../../snapcraft/remote/git.py", line 22, in <module> import pygit2 ModuleNotFoundError: No module named 'pygit2' ```

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged to add pygit to documentation requirements, fixing a Sphinx build failure from a missing pygit2 module. Approved by two reviewers and passed CI checks.
qwen3.6-35b-a3b-mtp-q6 Merged a fix for a Sphinx documentation build failure caused by a missing pygit2 dependency. Added pygit2 to doc requirements to resolve the ModuleNotFoundError introduced in PR #4368.
qwen3.6-35b-a3b-mtp-q6 Merged to resolve a Sphinx documentation build failure. The change adds pygit2 to documentation requirements, fixing the ModuleNotFoundError encountered during ReadTheDocs generation.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#194 chore(deps): update documentation dependencies craft-store merged Merged automated updates for documentation dependencies furo, sphinx-design, and sphinx-notfound-page. Approved by two reviewers, passed CI checks, and merged with minimal changes across two files.
76%
#162 chore: add fields and docstrings to package repository models craft-archives merged Merged following approval by two reviewers. Added Pydantic fields and docstrings to package repository models. A failing CI test was acknowledged as pre-existing and unrelated to the changes.
76%
#207 chore(deps): drop Pydantic dependency craft-cli merged Merged changes remove the unused Pydantic dependency, resolving issue #201. Approved by two reviewers, passed CI checks, and reduced code by three lines across three files without impacting the 94.76% test coverage.
76%
#160 chore(deps): update documentation dependencies craft-store merged Merged automated documentation dependency updates. Renovate bot upgraded pyspelling to 2.10 and sphinx-tabs to 3.4.5. The changes received two approvals, passed CI checks, and were successfully merged.
75%
#176 chore(deps): update documentation dependencies craft-cli merged Merged automated updates for documentation dependencies: furo, sphinx-design, sphinx-lint, and sphinx-toolbox. Approved and merged without impacting code coverage.
74%
#120 chore(deps): update documentation dependencies starbase merged Merged automated documentation dependency updates. Renovate bot upgraded furo, sphinx-design, sphinx-lint, and sphinx-toolbox. Change passed CI, received approval, and was successfully merged.
74%
#72 chore(deps): update documentation dependencies craft-application merged Merged automated documentation dependency updates for furo, sphinx-design, sphinx-lint, and sphinx-toolbox. Approved by two reviewers, passed CI, and merged without impacting code coverage.
74%
#122 chore(deps): update documentation dependencies craft-store merged Merged automated updates for documentation dependencies including sphinx-lint, sphinx-tabs, sphinx-reredirects, sphinxext-opengraph, and lxd-sphinx-extensions. Changes passed CI, received approval, and were merged.
74%
#191 chore(deps): update dependency docs/sphinx-lint to v0.8.1 craft-cli merged Merged automated dependency update for docs/sphinx-lint from v0.6.8 to v0.8.1. Approved by reviewer, passed CI checks, and merged without coverage changes.
74%
#198 chore(deps): update dependency remote/pygit2 to ~=1.14.1 - autoclosed craft-application closed Renovate dependency update for remote/pygit2 to ~=1.14.1 was autoclosed and abandoned. Automerge was disabled by configuration, and the request received zero reviews or comments.
73%