File tree Expand file tree Collapse file tree 3 files changed +2
-16
lines changed Expand file tree Collapse file tree 3 files changed +2
-16
lines changed Original file line number Diff line number Diff line change 1- 3.13.5
1+ 3.13.7
Original file line number Diff line number Diff line change 11# Set variables reused in Dockerfile
2- ARG PYTHON_IMAGE_VERSION=3.13.5 -slim-bookworm
2+ ARG PYTHON_IMAGE_VERSION=3.13.7 -slim-bookworm
33
44# First things first, we build an image which is where we're going to compile
55# our static assets with. We use this stage in development.
Original file line number Diff line number Diff line change 44import hmac
55import os .path
66import re
7- import sys
87import tarfile
98import tempfile
109import zipfile
177176_manylinux_arches = _jointlinux_arches | {"ppc64" }
178177_musllinux_arches = _jointlinux_arches
179178
180- # Remove this patch once 3.13.6 is available.
181- if sys .version_info >= (3 , 13 , 6 ): # pragma: no cover
182- raise RuntimeError ("Patched _block() not needed in Python 3.13.6+" )
183-
184-
185- def _block_patched (self , count , _orig_block = tarfile .TarInfo ._block ):
186- if count < 0 : # pragma: no cover
187- raise tarfile .InvalidHeaderError ("invalid offset" )
188- return _orig_block (self , count )
189-
190-
191- tarfile .TarInfo ._block = _block_patched # type: ignore[attr-defined]
192-
193179
194180# Actual checking code;
195181def _valid_platform_tag (platform_tag ):
You can’t perform that action at this time.
0 commit comments