Skip to content

Commit 5b70d42

Browse files
Update all patch/minor versions (test) (#1662)
* Update all patch/minor versions * Fix lock * Ignore new mypy issues --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Stéphane Brunner <stephane.brunner@camptocamp.com>
1 parent f499cb5 commit 5b70d42

File tree

6 files changed

+184
-193
lines changed

6 files changed

+184
-193
lines changed

poetry.lock

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

pyproject.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@ version = "0.0.0"
1616
python = ">=3.10,<3.14"
1717
numpy = { version = "2.2.6", optional = true }
1818
scikit-image = { version = "0.25.2", optional = true }
19-
opencv-contrib-python-headless = { version = "4.11.0.86", optional = true }
19+
opencv-contrib-python-headless = { version = "4.12.0.88", optional = true }
2020
deskew = { version = "1.5.3", optional = true }
2121
"ruamel.yaml" = "0.18.14"
22-
Pillow = "11.2.1"
22+
Pillow = "11.3.0"
2323
pypdf = { version = "6.0.0", optional = true }
2424
pyzbar = { version = "0.1.9", optional = true }
2525
reportlab = { version = "4.4.3", optional = true }
2626
weasyprint = { version = "66.0", optional = true }
2727
cffi = { version = "1.17.1", optional = true }
28-
pikepdf = { version = "9.8.1", optional = true }
28+
pikepdf = { version = "9.10.2", optional = true }
2929
lxml= { version = "6.0.0", optional = true }
3030
zxing-cpp = { version = "2.3.0", optional = true }
3131
pyperclip = "1.9.0"
3232
deepmerge = "2.0"
3333
matplotlib = { version = "3.10.5", optional = true }
34-
typing-extensions = "4.13.2"
34+
typing-extensions = "4.14.1"
3535
Jinja2 = { version = "3.1.6", optional = true }
3636
natsort = { version = "8.4.0", optional = true }
3737
nbformat = { version = "5.10.4", optional = true }
@@ -42,7 +42,7 @@ aiofiles = "24.1.0"
4242
types-aiofiles = "24.1.0.20250516"
4343
polygon-math = "1.3.1"
4444
aiohttp = "3.12.15"
45-
sentry-sdk = "2.29.1"
45+
sentry-sdk = "2.34.1"
4646
typer-slim = "0.16.0"
4747
shellingham = "1.5.4" # Used by typer to detect the shell
4848

@@ -77,16 +77,16 @@ sane = ["python-sane"]
7777
prospector = { version = "1.17.3", extras = ["with_bandit", "with_mypy", "with_pyroma", "with_ruff"] }
7878
prospector-profile-duplicated = "1.10.5"
7979
prospector-profile-utils = "1.26.1"
80-
pytest = "8.3.5"
80+
pytest = "8.4.1"
8181
pytest-profiling = "1.8.1"
8282
pytest-rerunfailures = "15.1"
8383
pytest-asyncio = "1.1.0"
8484
pyroma = "5.0"
85-
typing-extensions = "4.13.2"
85+
typing-extensions = "4.14.1"
8686
c2cwsgiutils = { version = "6.1.7", extras = ["test_images"] }
8787
types-requests = "2.32.0.20250515"
8888
nbconvert = "7.16.6"
89-
ipykernel = "6.29.5"
89+
ipykernel = "6.30.1"
9090

9191
[tool.poetry-dynamic-versioning]
9292
enable = true

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
poetry==2.1.4
2-
poetry-dynamic-versioning==1.8.2
2+
poetry-dynamic-versioning==1.9.1
33
poetry-plugin-export==1.9.0
4-
pip==25.1.1
4+
pip==25.2

scan_to_paperless/process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1724,7 +1724,7 @@ async def split(
17241724
process_file = tempfile.NamedTemporaryFile( # pylint: disable=consider-using-with
17251725
suffix=".png",
17261726
)
1727-
cv2.imwrite(process_file.name, context.image)
1727+
cv2.imwrite(process_file.name, context.image) # type: ignore[arg-type]
17281728
save(
17291729
context,
17301730
root_folder,

scan_to_paperless/process_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def _get_mask(
173173
mask,
174174
cv2.bitwise_not(
175175
cv2.resize(
176-
cv2.imread(str(mask_file), cv2.IMREAD_GRAYSCALE),
176+
cv2.imread(str(mask_file), cv2.IMREAD_GRAYSCALE), # type: ignore[arg-type]
177177
(mask.shape[1], mask.shape[0]),
178178
),
179179
),
@@ -184,7 +184,7 @@ def _get_mask(
184184
if os.environ.get("PROGRESS", "FALSE") == "TRUE" and self.root_folder:
185185
self.save_progress_images(config_section.replace("_", "-"), final_mask)
186186
elif self.root_folder and mask_file:
187-
final_mask = cv2.imread(str(mask_file), cv2.IMREAD_GRAYSCALE)
187+
final_mask = cv2.imread(str(mask_file), cv2.IMREAD_GRAYSCALE) # type: ignore[assignment]
188188
if self.image is not None and final_mask is not None:
189189
return cast(
190190
"NpNdarrayInt",

scan_to_paperless/status.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
/>
2929
<link
3030
rel="stylesheet"
31-
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.3/font/bootstrap-icons.min.css"
32-
integrity="sha512-dPXYcDub/aeb08c63jRq/k6GaKccl256JQy/AnOq7CAnEZ9FzSL9wSbcZkMp4R26vBsMLFYH4kQ67/bbV8XaCQ=="
31+
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.13.1/font/bootstrap-icons.min.css"
32+
integrity="sha512-t7Few9xlddEmgd3oKZQahkNI4dS6l80+eGEzFQiqtyVYdvcSG2D3Iub77R20BdotfRPA9caaRkg1tyaJiPmO0g=="
3333
crossorigin="anonymous"
3434
referrerpolicy="no-referrer"
3535
/>

0 commit comments

Comments
 (0)