change(docs): Add dependency standard-imghdr

* Update docker image to python:3.13-bookworm to drop deprecated imghdr and replace
  it by standard-imghdr.
This commit is contained in:
Jaroslav Safka
2025-08-27 08:56:40 +02:00
parent cd2c98e995
commit 929ae7908f
2 changed files with 3 additions and 2 deletions

View File

@@ -525,7 +525,7 @@ combine_reports:
build_docs:
stage: build_docs
image: python:3.12-bookworm # 3.12 is the last version with imghdr
image: python:3.13-bookworm
tags:
- build_docs
rules:
@@ -549,7 +549,7 @@ build_docs:
.deploy_docs_template:
stage: deploy_docs
image: python:3.12-bookworm # 3.12 is the last version with imghdr
image: python:3.13-bookworm
tags:
- deploy
needs:

View File

@@ -62,6 +62,7 @@
docs = [
"esp-docs~=1.10",
"sphinx-tabs",
"standard-imghdr; python_version >= '3.13'"
]
[tool.setuptools]