Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork966
Commit8d97906
committed
Don't support building documentation on Python 3.8
This discontinues supporting building documentation on Python 3.8.It does not affect installing or running GitPython on Python 3.8(except when the `doc` extra is used, but this is only used forbuilding documentation). The reason is that it is no longerpossible to use the same version of Sphinx on Python 3.8 as on themost recent supported versions of Python, because Python 3.14 nolonger has `ast.Str` (using `str.Constant` for string literalsinstead), which causes the oldest version of `sphinx` that runs onPython 3.14 to be `sphinx` 7.2.0, while the newest version that isinstallable on Python 3.8 is `sphinx` 7.1.2.The immediately preceding commit changes the requirements for the`doc` extra to specify a newer `sphinx` version for Python 3.9 andlater. This can't be done on Python 3.8. Because there can besubtle differences in documentation generated with different`sphinx` versions, and because Python 3.8 has been end-of-life forsome time, it is not really worth carrying conditional dependenciesfor the `sphinx` version in `doc/requirements.txt`.Note that, while it is probably not a very good idea to useGitPython (or anything) on Python 3.8 since it is end-of-life, thischange does not stop supporting installing GitPython on that or anyother version it has been supporting. Installing and usingGitPython remains supported all the way back to Python 3.7 at thistime. This only affects the `doc` extra and its requirements.This change is analogous to the change made in#1956, whichfollowed up on the change in#1964 in the same way this changefollows up on the change in the immediately preceding commit.1 parentd1ca2af commit8d97906
2 files changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
110 | 115 | | |
111 | 116 | | |
112 | 117 | | |
113 | | - | |
| 118 | + | |
114 | 119 | | |
115 | 120 | | |
116 | 121 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
0 commit comments
Comments
(0)