c8d1f3e33a- update to 3.21.0: * Improve performances of :meth:zipfile.Path.open for non- reading modes. (1a1928d) * Rely on cached_property to cache values on the instance. * Rely on save_method_args to save method args. * Make zipp.compat.overlay.zipfile hashable. * Replaced SanitizedNames with a more surgical fix for infinite loops, restoring support for names with special characters in the archive. (python/cpython#123270) * Made the zipfile compatibility overlay available as zipp.compat.overlay. * Also match directories in Path.glob.
devel
Dirk Mueller2024-11-20 17:30:04 +00:00
6b26be3c18Accepting request 1186491 from devel:languages:pythonAna Guerrero2024-07-11 18:30:24 +00:00
5a10aa4700- update to 3.19.2 (CVE-2024-5569, bsc#1227547):Daniel Garcia2024-07-10 05:16:54 +00:00
40a61f8e58Accepting request 1179936 from devel:languages:pythonAna Guerrero2024-06-11 16:27:08 +00:00
354e3651e5- update to 3.19.2: * No significant changes. * Improved handling of malformed zip files. * Implement is_symlink. * No significant changes.Dirk Mueller2024-06-10 11:06:56 +00:00
9508062ce4Accepting request 1160959 from devel:languages:pythonAna Guerrero2024-03-25 20:06:58 +00:00
0f841c06df- update to 3.18.1: * No significant changes.Dirk Mueller2024-03-16 13:12:41 +00:00
3fa9d7f8f3- update to 3.18.0: * Bypass ZipFile.namelist in glob for better performance. * Refactored glob functionality to support a more generalized solution with support for platform-specific path separators.Dirk Mueller2024-03-14 13:52:01 +00:00
c715b6c0b7Accepting request 1129068 from devel:languages:pythonAna Guerrero2023-11-28 21:18:08 +00:00
a2fd8b70c0- update to 3.17.0: * Added `CompleteDirs.inject classmethod to make available for use elsewhere. * Avoid matching path separators for '?' in glob. * In Path.match, Windows path separators are no longer honored. The fact that they were was incidental and never supported. (#92) * Fixed name/suffix/suffixes/stem operations when no filename is present and the Path is not at the root of the zipfile. (#96) * Reworked glob utilizing the namelist directly. (#101) * Replaced the fnmatch.translate` with a fresh glob-to-regex translator for more correct matching behavior. (#98) * Require Python 3.8 or later. * Removed compatibility code. - add python-rpm-macros buildrequires * Remove news file intended only for CPython. * refresh packaging * When adding implicit dirs, ensure that ancestral directories * Declared package as backport.Dirk Mueller2023-11-27 09:08:21 +00:00
20af1bfcf0- update to 3.15.0: * gh-102209: `test_implied_dirs_performance now tests * measures the time complexity experimentally. * Minor cleanup in tests, including #93. * In tests, add a fallback when func_timeout isn't available. * gh-101566: In CompleteDirs, override ZipFile.getinfo * to supply a ZipInfo for implied dirs. * gh-101144: Honor encoding as positional parameter * to Path.open() and Path.read_text(). * #85: Added support for new methods on Path: * match * glob and rglob * relative_to * is_symlink * Removed 'print' expression in test_pickle. * bpo-43651: Apply io.text_encoding on Python 3.10 and later. * #81: Path` objects are now pickleable if they've been * constructed from pickleable objects. Any restored objects * will re-construct the zip file with the original arguments.Dirk Mueller2023-04-15 10:24:39 +00:00
e8f7e84b35- update to 3.6.0: * Only `Path` is exposed in the public API. * Remove news file intended only for CPython.Dirk Mueller2021-10-16 19:43:11 +00:00
7bbd3c0efb- update to 3.4.0: #68 and bpo-42090: `Path.joinpath now takes arbitrary positional arguments and no longer accepts add as a keyword argument. Updated project metadata including badges. bpo-42043: Add tests capturing subclassing requirements. #9: Path objects now expose a .filename attribute and rely on that to resolve .name and .parent when the Path` object is at the root of the zipfile.Dirk Mueller2020-11-25 14:52:58 +00:00
d730c76af2- update to 3.2.0: * #57 and bpo-40564: Mutate the passed ZipFile object type instead of making a copy. Prevents issues when both the local copy and the caller's copy attempt to close the same file handle. * #56 and bpo-41035: `Path._next now honors subclasses. * #55: Path.is_file()` now returns False for non-existent names.Dirk Mueller2020-09-28 12:04:18 +00:00