Skip to content

Commit 7e1efb2

Browse files
authored
Allow Python 3.12 (#135)
Fedora 40 uses Python 3.12. kobodl uses module `distutils` which was removed from Python 3.12. So run `poetry add setuptools`. This bumps the minimum supported Python version to 3.9. Poetry demanded that the lock file be updated after the change, so run `poetry lock --no-update`.
1 parent 036b1da commit 7e1efb2

File tree

2 files changed

+25
-76
lines changed

2 files changed

+25
-76
lines changed

poetry.lock

Lines changed: 23 additions & 75 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ keywords = ["Kobo", "eBook", "Audiobook", "Downloader", "DRM"]
2828
kobodl = "kobodl:cli"
2929

3030
[tool.poetry.dependencies]
31-
python = ">=3.6,<3.11"
31+
python = ">=3.9,<3.13"
3232
beautifulsoup4 = "<5.0.0"
3333
click = "<8"
3434
dataclasses = "<1.0.0"
@@ -38,6 +38,7 @@ pycryptodome = "<4"
3838
requests = "^2.25"
3939
tabulate = "<0.9.0"
4040
pyperclip = "^1.8.2"
41+
setuptools = "^75.8.0"
4142

4243
[tool.poetry.dev-dependencies]
4344
tox = "^3.24.4"

0 commit comments

Comments
 (0)