Skip to content
Merged
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

* Import `@override` from `typing_extensions` conditionally.

## 2.6.3 - 2026-05-07

* Add an "ocr" extra.
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dependencies = [
"djvulibre-python (>=0.9.3)",
"fpdf2 (>=2.8)",
"loguru (>=0.7)",
"typing_extensions (>=4.5.0); python_version < '3.12'",
"pdfrw (>=0.4)",
"pillow (>=12.2.0)",
]
Expand Down
8 changes: 7 additions & 1 deletion src/dpsprep/options.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
import json
import sys
from collections.abc import Iterator, Mapping
from dataclasses import dataclass
from typing import Any, Literal, cast, get_args

import click
from typing_extensions import override


if sys.version_info < (3, 12):
from typing_extensions import override
else:
from typing import override

from dpsprep.exceptions import DpsPrepConfigError
from dpsprep.ranges import (
Expand Down
2 changes: 2 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading