Skip to content

Commit

Permalink
Rollback to Python 3.10, zimscraperlib 2.0 does not support 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Nov 16, 2023
1 parent 5dab2d1 commit bd67bbb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-bookworm
FROM python:3.10-bookworm
LABEL org.opencontainers.image.source https://github.com/openzim/youtube

# Install necessary packages
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ build-backend = "hatchling.build"
name = "youtube2zim"
authors = [{ name = "Kiwix", email = "[email protected]" }]
keywords = ["kiwix", "zim", "offline", "youtube"]
requires-python = ">=3.11"
requires-python = ">=3.10,<3.11"
description = "Make ZIM file from a Youtube channel, user or playlist(s)"
readme = "README.md"
license = { text = "GPL-3.0-or-later" }
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
]
dependencies = [
Expand Down Expand Up @@ -222,5 +222,5 @@ exclude_lines = ["no cov", "if __name__ == .__main__.:", "if TYPE_CHECKING:"]
include = ["src", "tests", "tasks.py"]
exclude = [".env/**", ".venv/**", "src/youtube2zim/templates", ".hatch"]
extraPaths = ["src"]
pythonVersion = "3.11"
pythonVersion = "3.10"
typeCheckingMode = "basic"

0 comments on commit bd67bbb

Please sign in to comment.