mirror of
https://github.com/espressif/esptool.git
synced 2025-10-14 02:43:11 +08:00
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:
@@ -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:
|
||||
|
@@ -62,6 +62,7 @@
|
||||
docs = [
|
||||
"esp-docs~=1.10",
|
||||
"sphinx-tabs",
|
||||
"standard-imghdr; python_version >= '3.13'"
|
||||
]
|
||||
|
||||
[tool.setuptools]
|
||||
|
Reference in New Issue
Block a user