Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version: 2
build:
os: ubuntu-24.04
tools:
python: '3.13'
python: '3.14'

# custom commands to run mkdocs build within hatch, as suggested by maintainer in
# https://github.com/readthedocs/readthedocs.org/issues/10706
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Upgrade to support only Python 3.14 (#266)
- Switch `yt-dlp` to `yt-dlp[default]` to install required JS dependency (#268)
- Upgrade dependencies (#xxx)

## [5.2.0] - 2025-10-02

### Added
Expand Down
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"

[project]
name = "zimscraperlib"
requires-python = ">=3.13,<3.14"
requires-python = ">=3.14,<3.15"
description = "Collection of python tools to re-use common code across scrapers"
readme = "README.md"
dependencies = [
Expand All @@ -26,9 +26,9 @@ dependencies = [
"regex>=2020.7.14",
"pymupdf>=1.24.0,<2.0",
"CairoSVG>=2.2.0,<3.0",
"beartype>=0.19,<0.22",
"beartype>=0.19,<0.23",
# youtube-dl should be updated as frequently as possible
"yt-dlp",
"yt-dlp[default]",
"pillow>=7.0.0,<12.0",
"urllib3>=1.26.5,<2.6.0",
"piexif==1.1.3", # this dep is a nightmare in terms of release management, better pinned just like in optimize-images anyway
Expand Down Expand Up @@ -157,10 +157,10 @@ build = "inv docs-build --args '{args}'"

[tool.black]
line-length = 88
target-version = ['py313']
target-version = ['py314']

[tool.ruff]
target-version = "py313"
target-version = "py314"
line-length = 88
src = ["src", "contrib"]

Expand Down Expand Up @@ -293,7 +293,7 @@ exclude_lines = [
include = ["contrib", "src", "tests", "tasks.py"]
exclude = [".env/**", ".venv/**"]
extraPaths = ["src"]
pythonVersion = "3.13"
pythonVersion = "3.14"
typeCheckingMode="strict"
disableBytesTypePromotions = true

Expand Down
Loading