René's URL Explorer Experiment


Title: Sphinx doc builds recently fail on Python 3.9 and higher · Issue #1802 · gitpython-developers/GitPython · GitHub

Open Graph Title: Sphinx doc builds recently fail on Python 3.9 and higher · Issue #1802 · gitpython-developers/GitPython

X Title: Sphinx doc builds recently fail on Python 3.9 and higher · Issue #1802 · gitpython-developers/GitPython

Description: This bug was discovered by @et-repositories in #1799. The problem was not introduced in that (currently unmerged) pull request. It affects all branches including the main branch. I've proposed a fix in #1803. The bug On Python 3.9 and hi...

Open Graph Description: This bug was discovered by @et-repositories in #1799. The problem was not introduced in that (currently unmerged) pull request. It affects all branches including the main branch. I've proposed a fi...

X Description: This bug was discovered by @et-repositories in #1799. The problem was not introduced in that (currently unmerged) pull request. It affects all branches including the main branch. I've proposed ...

Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/1802

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sphinx doc builds recently fail on Python 3.9 and higher","articleBody":"This bug [was discovered](https://github.com/gitpython-developers/GitPython/pull/1799#discussion_r1451969138) by @et-repositories in #1799. The problem was not introduced in that (currently unmerged) pull request. [It affects all branches including the main branch.](https://github.com/gitpython-developers/GitPython/pull/1799#discussion_r1452412391) I've proposed a fix in #1803.\r\n\r\n### The bug\r\n\r\nOn Python 3.9 and higher, on all platforms, building the docs has begun to fail:\r\n\r\n```text\r\n(.venv) C:\\Users\\ek\\source\\repos\\GitPython [main ≡]\u003e make -C doc html\r\nmake: Entering directory '/c/Users/ek/source/repos/GitPython/doc'\r\nmkdir -p build/html build/doctrees\r\nsphinx-build -b html -d build/doctrees  -W source build/html\r\nRunning Sphinx v4.3.0\r\n\r\nSphinx version error:\r\nThe sphinxcontrib.applehelp extension used by this project needs at least Sphinx v5.0; it therefore cannot be built with this version.\r\nmake: *** [Makefile:32: html] Error 2\r\nmake: Leaving directory '/c/Users/ek/source/repos/GitPython/doc'\r\n```\r\n\r\nThis has happened due to a change in indirect documentation build dependencies whose version numbers are not pinned. It is not due to any code change in GitPython (neither on the main branch nor in any open pull requests).\r\n\r\n### Analysis\r\n\r\nThe cause is:\r\n\r\n- GitPython's `doc/requirements.txt` file pins [Sphinx](https://pypi.org/project/Sphinx/) at version 4.3.0.\r\n- For Sphinx 4.3.0, the latest version of [sphinxcontrib-applehelp](https://pypi.org/project/sphinxcontrib-applehelp/) is 1.0.4, due to sphinxcontrib-applehelp 1.0.5 [requiring `Sphinx\u003e=5`](https://github.com/sphinx-doc/sphinxcontrib-applehelp/commit/604e2cb89264b6e2669ac8c15a70d93c1e06d9d3). No version of sphinxcontrib-applehelp since 1.0.5 is actually compatible with major version 4 of Sphinx.\r\n- On 12 January 2024, sphinxcontrib-applehelp 1.0.8 was released. This is not compatible with any earlier versions of Sphinx than its predecessors. However, [to eliminate a circular dependency](https://github.com/sphinx-doc/sphinxcontrib-applehelp/pull/15) where Sphinx and sphinxcontrib-applehelp would both depend on each other, sphinxcontrib-applehelp 1.0.8 no longer declares a dependency on Sphinx. (More precisely, it moves that declared requirement into a new extra.) This causes `pip` be unaware that sphinxcontrib-applehelp 1.0.8 is not really compatible with Sphinx 4.3.0.\r\n\r\nThus, running `pip install -r doc/requirements.txt` now installs both Sphinx 4.3.0 and sphinxcontrib-applehelp 1.0.8, even though they are not actually compatible with each other, and the error shown above occurs when attempting to build documentation.\r\n\r\nNote that, separately from the above, the latest version of sphinxcontrib-applehelp that supports Python 3.7 (which GitPython still supports) is sphinxcontrib-applehelp 1.0.2.\r\n\r\n#### Other plugins are likewise affected\r\n\r\nThe first incompatibility to be identified and reported when running `make -C doc html` is with sphinxcontrib-applehelp, and the build terminates immediately. But the problem is not specific to that one plugin. Instead, that plugin's name is alphabetically the earliest, of those that have recently gotten releases that remove the circular dependency. The affected plugins relevant to GitPython's documentation builds are:\r\n\r\n| Plugin | Change | New release | Sphinx \\\u003c5 compatible | Python 3.7 compatible (if lower) |\r\n| --- | --- | --- | --- | --- |\r\n| [sphinxcontrib-applehelp](https://pypi.org/project/sphinxcontrib-applehelp/) | [PR #15](https://github.com/sphinx-doc/sphinxcontrib-applehelp/pull/15) | 1.0.8 | 1.0.4 | 1.0.2 |\r\n| [sphinxcontrib-devhelp](https://pypi.org/project/sphinxcontrib-devhelp/) | [PR #11](https://github.com/sphinx-doc/sphinxcontrib-devhelp/pull/11) | 1.0.6 | 1.0.2 | — |\r\n| [sphinxcontrib-htmlhelp](https://pypi.org/project/sphinxcontrib-htmlhelp/) | [PR #18](https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/pull/18) | 2.0.5 | 2.0.1 | 2.0.0 |\r\n| [sphinxcontrib-qthelp](https://pypi.org/project/sphinxcontrib-qthelp/) | [PR #15](https://github.com/sphinx-doc/sphinxcontrib-qthelp/pull/15) | 1.0.7 | 1.0.3 | — |\r\n| [sphinxcontrib-serializinghtml](https://pypi.org/project/sphinxcontrib-serializinghtml/) | [PR #10](https://github.com/sphinx-doc/sphinxcontrib-serializinghtml/pull/10) | 1.1.10 | 1.1.5 | — |\r\n\r\n### Can we upgrade Sphinx?\r\n\r\nSphinx 4 is quite old, and ideally GitPython would move to a later major version of Sphinx. However, this is not as simple as one might hope. Sphinx 5.0.0 and later will complain about ambiguities in documentation cross-references in more situations, or at least more situations than Sphinx 4.3.0. (As detailed below, this actually seems to start in Sphinx 4.4.0.)\r\n\r\nThat is a good thing, of course, because *usually* such ambiguities can be fixed easily, and doing so improves documentation. But it appears that GitPython has a particular kind of ambiguity that is difficult to fix without either making a breaking change or causing the documentation to become confusing.\r\n\r\nThis is the failure:\r\n\r\n```\r\n(.venv) C:\\Users\\ek\\source\\repos\\GitPython [sphinx ≡ +0 ~1 -0 ~]\u003e make -C doc html\r\nmake: Entering directory '/c/Users/ek/source/repos/GitPython/doc'\r\nmkdir -p build/html build/doctrees\r\nsphinx-build -b html -d build/doctrees  -W source build/html\r\nRunning Sphinx v5.3.0\r\nbuilding [mo]: targets for 0 po files that are out of date\r\nbuilding [html]: targets for 7 source files that are out of date\r\nupdating environment: [new config] 7 added, 0 changed, 0 removed\r\nreading sources... [100%] tutorial\r\nlooking for now-outdated files... none found\r\npickling environment... done\r\nchecking consistency... done\r\npreparing documents... done\r\nwriting output... [100%] tutorial\r\n\r\nWarning, treated as error:\r\nC:\\Users\\ek\\source\\repos\\GitPython\\git\\objects\\tag.py:docstring of git.objects.tag.TagObject:1:more than one target found for cross-reference 'Actor': git.objects.util.Actor, git.util.Actor\r\nmake: *** [Makefile:32: html] Error 2\r\nmake: Leaving directory '/c/Users/ek/source/repos/GitPython/doc'\r\n```\r\n\r\nThat is shown above with Sphinx 5.3.0, the latest version that supports all versions of Python that GitPython supports. But I also tested it on Sphinx 5.0.0, the lowest version compatible with recent versions of sphinxcontrib-applehelp and the other plugins noted above, with the same result.\r\n\r\n#### What Sphinx 5 is talking about\r\n\r\nGitPython has Sphinx treat warnings as errors by placing `-W` in `SPHINXOPTS`, which is good since otherwise one risks building documentation whose text or cross-references are markedly different from what one expects. I recommend against removing or significantly weakening that. However, for testing purposes one can also pass `--keep-going` to reveal the other warnings that would occur:\r\n\r\n```text\r\nC:\\Users\\ek\\source\\repos\\GitPython\\git\\objects\\tag.py:docstring of git.objects.tag.TagObject:1: WARNING: more than one target found for cross-reference 'Actor': git.objects.util.Actor, git.util.Actor\r\nC:\\Users\\ek\\source\\repos\\GitPython\\git\\objects\\tag.py:docstring of git.objects.tag.TagObject.__init__:1: WARNING: more than one target found for cross-reference 'Actor': git.objects.util.Actor, git.util.Actor\r\nC:\\Users\\ek\\source\\repos\\GitPython\\git\\index\\base.py:docstring of git.index.base.IndexFile.commit:1: WARNING: more than one target found for cross-reference 'Actor': git.objects.util.Actor, git.util.Actor\r\nC:\\Users\\ek\\source\\repos\\GitPython\\git\\index\\base.py:docstring of git.index.base.IndexFile.commit:1: WARNING: more than one target found for cross-reference 'Actor': git.objects.util.Actor, git.util.Actor\r\n```\r\n\r\nNotwithstanding their inaccurate wording (possibly relating to interaction with sphinx-autodoc-typehints, I am not sure), these warnings are not actually issued for references in docstrings, but instead for references in type annotations. In `git.objects.tag.TagObject.__init__`:\r\n\r\nhttps://github.com/gitpython-developers/GitPython/blob/53ddf3826cb43d01242bf4638c7dca951b780b0f/git/objects/tag.py#L47\r\n\r\nIn `git.index.base.IndexFile.commit`:\r\n\r\nhttps://github.com/gitpython-developers/GitPython/blob/53ddf3826cb43d01242bf4638c7dca951b780b0f/git/index/base.py#L1082-L1083\r\n\r\nI don't know if this is really a *sufficient* condition to cause the problem, but the reported ambiguity is between [the `Actor` class in `git/util.py`](https://github.com/gitpython-developers/GitPython/blob/53ddf3826cb43d01242bf4638c7dca951b780b0f/git/util.py#L751), and the very same class [imported into `git/objects/util.py`](https://github.com/gitpython-developers/GitPython/blob/53ddf3826cb43d01242bf4638c7dca951b780b0f/git/objects/util.py#L17) and \"exported\" from it [by listing it in `__all__`](https://github.com/gitpython-developers/GitPython/blob/53ddf3826cb43d01242bf4638c7dca951b780b0f/git/objects/util.py#L80).\r\n\r\n#### Another ambiguity, possibly relevant\r\n\r\nIt seems like something more must be going on to cause the problem, since the imports, as a Python implementation must read them, import it from `git.util`, which I believe is never `git.objects.util`. This is a strange statement to make; shouldn't I be sure? Well, this is hard to reason about, because `git.util` already refers to two separate modules:\r\n\r\n- In a statement like `from git.util import X`, the `git.util` module is `git/util.py`, as one would expect.\r\n- In an expression like `git.util`, or a statement like `import git.util`, the `git.util` module is `git/index/util.py`.\r\n\r\nThis happens because `git/__init__.py` rebinds the `git.util` attribute:\r\n\r\nhttps://github.com/gitpython-developers/GitPython/blob/53ddf3826cb43d01242bf4638c7dca951b780b0f/git/__init__.py#L26\r\n\r\nI think this should be fixed--so it does not do that--in the next major version of GitPython. But I don't think there's any reasonable way to fix it without a breaking change. The workaround is to always use `from` imports when accessing things in the original `git.util`. (A secondary workaround is to use `sys.modules[\"git.util\"]`, which always refers to the original `git.util`.) I also do not know if it is a contributing factor in confusing Sphinx about whose `util` module's `Actor` is being referred to.\r\n\r\nI note that issue here for two reasons. One is in case it turns out to be relevant in later investigation. The other is that, even if it is causally unrelated, it seems to exacerbate the problem that there are no completely elegant solutions, as detailed in \"Possible fixes\" below.\r\n\r\n#### Versions between 4.3.0 and 5\r\n\r\nGitPython currently pins Sphinx at 4.3.0, and this could be brought up to 4.3.2 without introducing warnings about the `Actor` annotations.\r\n\r\nSphinx also has versions 4.4.0 and 4.5.0. I believe they do not themselves introduce generally breaking changes. However, like the versions of Sphinx 5 I tested (5.0.0 and 5.3.0), they detect the `Actor` annotation as ambiguous, failing in the same way. My guess is that this arises as an effect one one of [the documented changes in 4.4.0](https://www.sphinx-doc.org/en/master/changes.html#release-4-4-0-released-jan-17-2022), but I don't know which one or why.\r\n\r\n#### Is it Sphinx, or sphinx-autodoc-typehints?\r\n\r\nThe [sphinx-autodoc-typehints](https://pypi.org/project/sphinx-autodoc-typehints/) plugin depends on specific versions of Sphinx, such that when Sphinx is upgraded, it must sometimes be upgraded. With Sphinx 4.3.0, sphinx-autodoc-typehints 1.17.1 is used. Later versions of sphinx-autodoc-typehints can be used with later versions of Sphinx. Even Sphinx 4.4.0 allows a later version to be installed.\r\n\r\nSo is it really newer versions than 4.3.0 of Sphinx that consider the `Actor` annotation to be ambiguous, or is it the versions of sphinx-autodoc-typehints that comes with them?\r\n\r\nTo test this, I pinned recently updated plugins (see below), then also pinned sphinx-autodoc-typehints at 1.17.1 and tried Sphinx 4.4.0 and Sphinx 4.5.0. The failures still occurred. So it is really Sphinx, or at least that is an important part of it. It seems very unlikely that pinning sphinx-autodoc-typehints could solve this.\r\n\r\n### Possible fixes\r\n\r\n#### Import tweaks?\r\n\r\nI have tried changing relative imports to absolute imports, moving imports out of `if TYPE_CHECKING:`, and combinations of the two. None of that seems to make any difference. I didn't expect it to, but I figured it was worth a try.\r\n\r\n#### Importing `Actor` from where it is re-exported?\r\n\r\n`Actor` is actually defined in `git/util.py`. Ambiguities can often be overcome by making a reference more explicit as to what it means. But replacing `Actor` with `git.util.Actor` would not be an improvement. The ambiguity is in what `git.util` refers to, and at runtime, `git.util.Actor` would always be resolved as `git.index.util.Actor`, which we do not mean (and which I do not expect to exist).\r\n\r\nHowever, `git.objects.util.Actor` is the same class, and it can be referred to explicitly. It may be possible to make the Sphinx build work with no warnings, and without suppressing any warnings that could cause serious problems in generated documentation to go undetected, by annotating it that way, possibly in combination with other tweaks.\r\n\r\nI am reluctant to do this. Conceptually, that's not where `Actor` is from. As I understand it, it is offered through `git.objects.util` for convenience, not based on the idea that it ought really to have been defined there. Furthermore, I'm reluctant to make changes to Python code to get documentation to build, when the changes might make the code itself more confusing. After all, one of the ways the code is documented is the code itself.\r\n\r\n#### Exploring less compatible solutions?\r\n\r\nAnother possible *general* approach is to use the latest version of Sphinx, which only supports Python 3.9 and later, and see if there is a way to fix things up with that. I expect that to have the same problems, but I have not investigated this.\r\n\r\nWe can use different versions of Sphinx on different versions of Python, but the generated documentation may then differ. It is probably undesirable for the documentation to differ based on what version of Python we use to generate it, among versions GitPython documents support for.\r\n\r\n#### Pinning or reconfiguring sphinx-autodoc-typehints?\r\n\r\nAs noted above, pinning sphinx-autodoc-typehints is unlikely to solve this, but perhaps the plugin can be reconfigured in such a way that little accuracy is lost overall but where `Actor` is reported differently to Sphinx. I don't know how fruitful this would be.\r\n\r\n#### Pinning the recently updated plugins (#1803)\r\n\r\nA more conservative solution, which should not preclude a better solution later, is to list sphinxcontrib-applehelp and the other affected plugins explicitly in `doc/requirements.txt` and either:\r\n\r\n1. pin them at their latest versions that actually work with Sphinx 4.3.0, *or*\r\n2. pin them at *or below* those versions, so the same versions are used as had been selected before.\r\n\r\nWith the first approach, Python 3.7 support would have to be excluded (the documentation build step can be disabled on CI for Python 3.7), or Sphinx plugin dependency versions would have to be special-cased for Python 3.7, or versions compatible with Python 3.7 would have to be used on all Python versions.\r\n\r\nThe second approach avoids all that, but may make it harder for some automated tools to detect vulnerable versions, in the event that a security vulnerability is ever found and reported in any of these plugins. The second approach might also obscure what versions are actually known to work, but this could be minimized by specifying lower bounds (just low enough for Python 3.7 to have a compatible version) as well as upper bounds.\r\n\r\nThe 3.7 issue could also be avoided by dropping support for Python 3.7 (as the PSF has done). But since people who use GitPython (i.e., have it as a project dependency) don't generally build the documentation themselves, I don't recommend dropping 3.7 support for this reason.\r\n\r\nEven with that Python 3.7 issue to deal with, this is a conceptually straightforward and fairly simple change, which does not require any Python code to be modified. I think it makes sense to do this first to get Sphinx builds working again on the main branch (and any PRs that rebase onto it), and then possibly pursue better solutions.\r\n\r\nPR #1803 would fix the bug by pinning the plugins (addressing the Python 3.7 issue using the second approach, with lower as well as upper bounds on the two plugins that would otherwise not install on Python 3.7).","author":{"url":"https://github.com/EliahKagan","@type":"Person","name":"EliahKagan"},"datePublished":"2024-01-15T22:28:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/1802/GitPython/issues/1802"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:adcd4263-9e17-ecd9-4564-091ad913bc90
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA802:1732DD:8B8234:BA07F0:69683764
html-safe-nonceaa5399f9d0451641f63ae46ed362230f1ce090102431b2e05239a24f8fc8b0d2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODAyOjE3MzJERDo4QjgyMzQ6QkEwN0YwOjY5NjgzNzY0IiwidmlzaXRvcl9pZCI6IjM4MzM1MDkwNjk1NTUxMTY1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccfa080e7679a4258a0110ba130a3cfce2896a477e1f2ed8ca791d970b777bc0b
hovercard-subject-tagissue:2082753096
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gitpython-developers/GitPython/1802/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f2af6200d542f3ec21d0f3d07d0bf8617b4711b401a530fb793b44876e1158ac/gitpython-developers/GitPython/issues/1802
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f2af6200d542f3ec21d0f3d07d0bf8617b4711b401a530fb793b44876e1158ac/gitpython-developers/GitPython/issues/1802
og:image:altThis bug was discovered by @et-repositories in #1799. The problem was not introduced in that (currently unmerged) pull request. It affects all branches including the main branch. I've proposed a fi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameEliahKagan
hostnamegithub.com
expected-hostnamegithub.com
Nonee25f416bb6d8a5f8624aad6cebc375ab2c50ac58f2175f32a7093325e66e5515
turbo-cache-controlno-preview
go-importgithub.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git
octolytics-dimension-user_id503709
octolytics-dimension-user_logingitpython-developers
octolytics-dimension-repository_id1126087
octolytics-dimension-repository_nwogitpython-developers/GitPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1126087
octolytics-dimension-repository_network_root_nwogitpython-developers/GitPython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release32212b8b3bddd6432b3b35d27c050b1c22bd8cca
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/gitpython-developers/GitPython/issues/1802#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fissues%2F1802
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fissues%2F1802
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=gitpython-developers%2FGitPython
Reloadhttps://github.com/gitpython-developers/GitPython/issues/1802
Reloadhttps://github.com/gitpython-developers/GitPython/issues/1802
Reloadhttps://github.com/gitpython-developers/GitPython/issues/1802
gitpython-developers https://github.com/gitpython-developers
GitPythonhttps://github.com/gitpython-developers/GitPython
Please reload this pagehttps://github.com/gitpython-developers/GitPython/issues/1802
Notifications https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Fork 964 https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Star 5k https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Code https://github.com/gitpython-developers/GitPython
Issues 169 https://github.com/gitpython-developers/GitPython/issues
Pull requests 8 https://github.com/gitpython-developers/GitPython/pulls
Discussions https://github.com/gitpython-developers/GitPython/discussions
Actions https://github.com/gitpython-developers/GitPython/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/gitpython-developers/GitPython/security
Please reload this pagehttps://github.com/gitpython-developers/GitPython/issues/1802
Insights https://github.com/gitpython-developers/GitPython/pulse
Code https://github.com/gitpython-developers/GitPython
Issues https://github.com/gitpython-developers/GitPython/issues
Pull requests https://github.com/gitpython-developers/GitPython/pulls
Discussions https://github.com/gitpython-developers/GitPython/discussions
Actions https://github.com/gitpython-developers/GitPython/actions
Security https://github.com/gitpython-developers/GitPython/security
Insights https://github.com/gitpython-developers/GitPython/pulse
New issuehttps://github.com/login?return_to=https://github.com/gitpython-developers/GitPython/issues/1802
New issuehttps://github.com/login?return_to=https://github.com/gitpython-developers/GitPython/issues/1802
#1803https://github.com/gitpython-developers/GitPython/pull/1803
Sphinx doc builds recently fail on Python 3.9 and higherhttps://github.com/gitpython-developers/GitPython/issues/1802#top
#1803https://github.com/gitpython-developers/GitPython/pull/1803
acknowledgedhttps://github.com/gitpython-developers/GitPython/issues?q=state%3Aopen%20label%3A%22acknowledged%22
help wantedhttps://github.com/gitpython-developers/GitPython/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
https://github.com/EliahKagan
https://github.com/EliahKagan
EliahKaganhttps://github.com/EliahKagan
on Jan 15, 2024https://github.com/gitpython-developers/GitPython/issues/1802#issue-2082753096
was discoveredhttps://github.com/gitpython-developers/GitPython/pull/1799#discussion_r1451969138
#1799https://github.com/gitpython-developers/GitPython/pull/1799
It affects all branches including the main branch.https://github.com/gitpython-developers/GitPython/pull/1799#discussion_r1452412391
#1803https://github.com/gitpython-developers/GitPython/pull/1803
Sphinxhttps://pypi.org/project/Sphinx/
sphinxcontrib-applehelphttps://pypi.org/project/sphinxcontrib-applehelp/
requiring Sphinx>=5https://github.com/sphinx-doc/sphinxcontrib-applehelp/commit/604e2cb89264b6e2669ac8c15a70d93c1e06d9d3
to eliminate a circular dependencyhttps://github.com/sphinx-doc/sphinxcontrib-applehelp/pull/15
sphinxcontrib-applehelphttps://pypi.org/project/sphinxcontrib-applehelp/
PR #15https://github.com/sphinx-doc/sphinxcontrib-applehelp/pull/15
sphinxcontrib-devhelphttps://pypi.org/project/sphinxcontrib-devhelp/
PR #11https://github.com/sphinx-doc/sphinxcontrib-devhelp/pull/11
sphinxcontrib-htmlhelphttps://pypi.org/project/sphinxcontrib-htmlhelp/
PR #18https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/pull/18
sphinxcontrib-qthelphttps://pypi.org/project/sphinxcontrib-qthelp/
PR #15https://github.com/sphinx-doc/sphinxcontrib-qthelp/pull/15
sphinxcontrib-serializinghtmlhttps://pypi.org/project/sphinxcontrib-serializinghtml/
PR #10https://github.com/sphinx-doc/sphinxcontrib-serializinghtml/pull/10
GitPython/git/objects/tag.pyhttps://github.com/gitpython-developers/GitPython/blob/53ddf3826cb43d01242bf4638c7dca951b780b0f/git/objects/tag.py#L47
53ddf38https://github.com/gitpython-developers/GitPython/commit/53ddf3826cb43d01242bf4638c7dca951b780b0f
GitPython/git/index/base.pyhttps://github.com/gitpython-developers/GitPython/blob/53ddf3826cb43d01242bf4638c7dca951b780b0f/git/index/base.py#L1082-L1083
53ddf38https://github.com/gitpython-developers/GitPython/commit/53ddf3826cb43d01242bf4638c7dca951b780b0f
the Actor class in git/util.pyhttps://github.com/gitpython-developers/GitPython/blob/53ddf3826cb43d01242bf4638c7dca951b780b0f/git/util.py#L751
imported into git/objects/util.pyhttps://github.com/gitpython-developers/GitPython/blob/53ddf3826cb43d01242bf4638c7dca951b780b0f/git/objects/util.py#L17
by listing it in __all__https://github.com/gitpython-developers/GitPython/blob/53ddf3826cb43d01242bf4638c7dca951b780b0f/git/objects/util.py#L80
GitPython/git/__init__.pyhttps://github.com/gitpython-developers/GitPython/blob/53ddf3826cb43d01242bf4638c7dca951b780b0f/git/__init__.py#L26
53ddf38https://github.com/gitpython-developers/GitPython/commit/53ddf3826cb43d01242bf4638c7dca951b780b0f
the documented changes in 4.4.0https://www.sphinx-doc.org/en/master/changes.html#release-4-4-0-released-jan-17-2022
sphinx-autodoc-typehintshttps://pypi.org/project/sphinx-autodoc-typehints/
#1803https://github.com/gitpython-developers/GitPython/pull/1803
#1803https://github.com/gitpython-developers/GitPython/pull/1803
acknowledgedhttps://github.com/gitpython-developers/GitPython/issues?q=state%3Aopen%20label%3A%22acknowledged%22
help wantedhttps://github.com/gitpython-developers/GitPython/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.