forked from rosa/hakurei
internal/rosa/package/python: 3.14.5 to 3.14.6
Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -3,11 +3,11 @@ package python {
|
|||||||
website = "https://www.python.org";
|
website = "https://www.python.org";
|
||||||
anitya = 13254;
|
anitya = 13254;
|
||||||
|
|
||||||
version# = "3.14.5";
|
version# = "3.14.6";
|
||||||
source = remoteTar {
|
source = remoteTar {
|
||||||
url = "https://www.python.org/ftp/python/"+version+
|
url = "https://www.python.org/ftp/python/"+version+
|
||||||
"/Python-"+version+".tgz";
|
"/Python-"+version+".tgz";
|
||||||
checksum = "zYIpDlk2ftZ-UVGCQS1rthle2OHoyXV653ztWiopKV1NhmIJf1K2hHbkwM4DozQ9";
|
checksum = "yynwXnElUvlAweA_RkBKQY35P59Gu5YU6ickJs6Z-blIoHgw5KgKXROY1gq2w0ez";
|
||||||
compress = gzip;
|
compress = gzip;
|
||||||
};
|
};
|
||||||
patches = [ "zipfile-no-default-strict_timestamps.patch" ];
|
patches = [ "zipfile-no-default-strict_timestamps.patch" ];
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
diff --git a/Lib/zipfile/__init__.py b/Lib/zipfile/__init__.py
|
diff --git a/Lib/zipfile/__init__.py b/Lib/zipfile/__init__.py
|
||||||
index 19aea290b58..51603ba9510 100644
|
index 2b6e6163b96..180b1bdb42a 100644
|
||||||
--- a/Lib/zipfile/__init__.py
|
--- a/Lib/zipfile/__init__.py
|
||||||
+++ b/Lib/zipfile/__init__.py
|
+++ b/Lib/zipfile/__init__.py
|
||||||
@@ -617,7 +617,7 @@ def _decodeExtra(self, filename_crc):
|
@@ -621,7 +621,7 @@ def _decodeExtra(self, filename_crc):
|
||||||
extra = extra[ln+4:]
|
extra = extra[ln+4:]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@@ -10,13 +10,13 @@ index 19aea290b58..51603ba9510 100644
|
|||||||
+ def from_file(cls, filename, arcname=None, *, strict_timestamps=False):
|
+ def from_file(cls, filename, arcname=None, *, strict_timestamps=False):
|
||||||
"""Construct an appropriate ZipInfo for a file on the filesystem.
|
"""Construct an appropriate ZipInfo for a file on the filesystem.
|
||||||
|
|
||||||
filename should be the path to a file or directory on the filesystem.
|
filename should be the path to a file or directory on the
|
||||||
@@ -1412,7 +1412,7 @@ class ZipFile:
|
@@ -1421,7 +1421,7 @@ class ZipFile:
|
||||||
_windows_illegal_name_trans_table = None
|
_ignore_invalid_names = False
|
||||||
|
|
||||||
def __init__(self, file, mode="r", compression=ZIP_STORED, allowZip64=True,
|
def __init__(self, file, mode="r", compression=ZIP_STORED, allowZip64=True,
|
||||||
- compresslevel=None, *, strict_timestamps=True, metadata_encoding=None):
|
- compresslevel=None, *, strict_timestamps=True, metadata_encoding=None):
|
||||||
+ compresslevel=None, *, strict_timestamps=False, metadata_encoding=None):
|
+ compresslevel=None, *, strict_timestamps=False, metadata_encoding=None):
|
||||||
"""Open the ZIP file with mode read 'r', write 'w', exclusive create 'x',
|
"""Open the ZIP file with mode read 'r', write 'w', exclusive create
|
||||||
or append 'a'."""
|
'x', or append 'a'."""
|
||||||
if mode not in ('r', 'w', 'x', 'a'):
|
if mode not in ('r', 'w', 'x', 'a'):
|
||||||
|
|||||||
Reference in New Issue
Block a user