Skip to content

Commit 929ae79

Browse files
committed
change(docs): Add dependency standard-imghdr
* Update docker image to python:3.13-bookworm to drop deprecated imghdr and replace it by standard-imghdr.
1 parent cd2c98e commit 929ae79

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ combine_reports:
525525

526526
build_docs:
527527
stage: build_docs
528-
image: python:3.12-bookworm # 3.12 is the last version with imghdr
528+
image: python:3.13-bookworm
529529
tags:
530530
- build_docs
531531
rules:
@@ -549,7 +549,7 @@ build_docs:
549549

550550
.deploy_docs_template:
551551
stage: deploy_docs
552-
image: python:3.12-bookworm # 3.12 is the last version with imghdr
552+
image: python:3.13-bookworm
553553
tags:
554554
- deploy
555555
needs:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
docs = [
6363
"esp-docs~=1.10",
6464
"sphinx-tabs",
65+
"standard-imghdr; python_version >= '3.13'"
6566
]
6667

6768
[tool.setuptools]

0 commit comments

Comments
 (0)