Skip to content

Commit 651fcf0

Browse files
authored
Merge pull request #1954 from EliahKagan/py313-doc
Upgrade sphinx to ~7.1.2
2 parents 900fc33 + 16fc99f commit 651fcf0

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

‎doc/requirements.txt‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
sphinx==4.3.2
1+
sphinx>=7.1.2, <7.2 ; python_version>="3.8"
2+
sphinx==4.3.2 ; python_version<"3.8"
3+
sphinxcontrib-applehelp>=1.0.2, <=1.0.4 ; python_version<"3.8"
4+
sphinxcontrib-devhelp==1.0.2 ; python_version<"3.8"
5+
sphinxcontrib-htmlhelp>=2.0.0, <=2.0.1 ; python_version<"3.8"
6+
sphinxcontrib-qthelp==1.0.3 ; python_version<"3.8"
7+
sphinxcontrib-serializinghtml==1.1.5 ; python_version<"3.8"
28
sphinx_rtd_theme
3-
sphinxcontrib-applehelp>=1.0.2, <=1.0.4
4-
sphinxcontrib-devhelp==1.0.2
5-
sphinxcontrib-htmlhelp>=2.0.0, <=2.0.1
6-
sphinxcontrib-qthelp==1.0.3
7-
sphinxcontrib-serializinghtml==1.1.5
89
sphinx-autodoc-typehints

‎git/index/base.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
fromgit.objectsimportBlob, Commit, Object, Submodule, Tree
2929
fromgit.objects.utilimportSerializable
3030
fromgit.utilimport (
31+
Actor,
3132
LazyMixin,
3233
LockedFD,
3334
join_path_native,
@@ -76,7 +77,6 @@
7677

7778
fromgit.refs.referenceimportReference
7879
fromgit.repoimportRepo
79-
fromgit.utilimportActor
8080

8181

8282
Treeish=Union[Tree, Commit, str, bytes]
@@ -1117,8 +1117,8 @@ def commit(
11171117
message: str,
11181118
parent_commits: Union[List[Commit], None] =None,
11191119
head: bool=True,
1120-
author: Union[None, "Actor"] =None,
1121-
committer: Union[None, "Actor"] =None,
1120+
author: Union[None, Actor] =None,
1121+
committer: Union[None, Actor] =None,
11221122
author_date: Union[datetime.datetime, str, None] =None,
11231123
commit_date: Union[datetime.datetime, str, None] =None,
11241124
skip_hooks: bool=False,

‎git/objects/tag.py‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
importsys
1515

1616
fromgit.compatimportdefenc
17-
fromgit.utilimporthex_to_bin
17+
fromgit.utilimportActor, hex_to_bin
1818

1919
from . importbase
2020
from .utilimportget_object_type_by_name, parse_actor_and_date
@@ -30,7 +30,6 @@
3030

3131
ifTYPE_CHECKING:
3232
fromgit.repoimportRepo
33-
fromgit.utilimportActor
3433

3534
from .blobimportBlob
3635
from .commitimportCommit
@@ -64,7 +63,7 @@ def __init__(
6463
binsha: bytes,
6564
object: Union[None, base.Object] =None,
6665
tag: Union[None, str] =None,
67-
tagger: Union[None, "Actor"] =None,
66+
tagger: Union[None, Actor] =None,
6867
tagged_date: Union[int, None] =None,
6968
tagger_tz_offset: Union[int, None] =None,
7069
message: Union[str, None] =None,

0 commit comments

Comments
(0)