Sync from SUSE:SLFO:Main python-zipp revision ea9846391a2f80a5a1ca9d9ec035a17f

This commit is contained in:
Adrian Schröter 2024-09-13 16:27:46 +02:00
parent 06b86002ab
commit 0564a35d5d
4 changed files with 57 additions and 18 deletions

View File

@ -1,3 +1,44 @@
-------------------------------------------------------------------
Mon Jun 10 11:06:50 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.19.2 (CVE-2024-5569, bsc#1227547):
* No significant changes.
* Improved handling of malformed zip files.
* Implement is_symlink.
* No significant changes.
-------------------------------------------------------------------
Sat Mar 16 13:12:20 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.18.1:
* No significant changes.
-------------------------------------------------------------------
Thu Mar 14 13:51:41 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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.
-------------------------------------------------------------------
Mon Nov 27 09:06:16 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 21 12:39:13 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Apr 21 12:39:13 UTC 2023 - Dirk Müller <dmueller@suse.com>
@ -51,7 +92,7 @@ Tue Aug 23 20:33:38 UTC 2022 - Dirk Müller <dmueller@suse.com>
Sun May 29 19:02:36 UTC 2022 - Dirk Müller <dmueller@suse.com> Sun May 29 19:02:36 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 3.8.0: - update to 3.8.0:
* Removed compatibility code. * Removed compatibility code.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 4 16:40:24 UTC 2022 - Dirk Müller <dmueller@suse.com> Tue Jan 4 16:40:24 UTC 2022 - Dirk Müller <dmueller@suse.com>
@ -62,14 +103,14 @@ Tue Jan 4 16:40:24 UTC 2022 - Dirk Müller <dmueller@suse.com>
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 4 14:41:33 UTC 2022 - Dirk Müller <dmueller@suse.com> Tue Jan 4 14:41:33 UTC 2022 - Dirk Müller <dmueller@suse.com>
- add python-rpm-macros buildrequires - add python-rpm-macros buildrequires
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Oct 16 19:42:16 UTC 2021 - Dirk Müller <dmueller@suse.com> Sat Oct 16 19:42:16 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 3.6.0: - update to 3.6.0:
* Only ``Path`` is exposed in the public API. * Only ``Path`` is exposed in the public API.
* Remove news file intended only for CPython. * Remove news file intended only for CPython.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jul 17 13:36:17 UTC 2021 - Dirk Müller <dmueller@suse.com> Sat Jul 17 13:36:17 UTC 2021 - Dirk Müller <dmueller@suse.com>
@ -81,7 +122,7 @@ Sat Jul 17 13:36:17 UTC 2021 - Dirk Müller <dmueller@suse.com>
Mon Mar 8 09:07:01 UTC 2021 - Dirk Müller <dmueller@suse.com> Mon Mar 8 09:07:01 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 3.4.1: - update to 3.4.1:
* refresh packaging * refresh packaging
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 25 14:52:25 UTC 2020 - Dirk Mueller <dmueller@suse.com> Wed Nov 25 14:52:25 UTC 2020 - Dirk Mueller <dmueller@suse.com>
@ -140,7 +181,7 @@ Mon Mar 9 12:20:53 UTC 2020 - pgajdos@suse.com
Thu Aug 29 14:07:59 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com> Thu Aug 29 14:07:59 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- update to 0.6.0 - update to 0.6.0
* When adding implicit dirs, ensure that ancestral directories * When adding implicit dirs, ensure that ancestral directories
are added and that duplicates are excluded. are added and that duplicates are excluded.
* The library now relies on more_itertools. * The library now relies on more_itertools.
@ -159,7 +200,7 @@ Thu Jun 6 15:51:59 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
Thu May 16 20:56:11 UTC 2019 - ranand@suse.com Thu May 16 20:56:11 UTC 2019 - ranand@suse.com
- update to 0.5.1 - update to 0.5.1
* Declared package as backport. * Declared package as backport.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 14 23:13:22 UTC 2019 - svasudevan@suse.com Tue May 14 23:13:22 UTC 2019 - svasudevan@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file # spec file for package python-zipp
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,7 +16,6 @@
# #
%{?sle15_python_module_pythons}
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test" %if "%{flavor}" == "test"
%define psuffix -test %define psuffix -test
@ -25,15 +24,16 @@
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%endif %endif
%{?sle15_python_module_pythons}
Name: python-zipp%{psuffix} Name: python-zipp%{psuffix}
Version: 3.15.0 Version: 3.19.2
Release: 0 Release: 0
Summary: Pathlib-compatible object wrapper for zip files Summary: Pathlib-compatible object wrapper for zip files
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/jaraco/zipp URL: https://github.com/jaraco/zipp
Source: https://files.pythonhosted.org/packages/source/z/zipp/zipp-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/z/zipp/zipp-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.6} BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 56} BuildRequires: %{python_module setuptools >= 56}
BuildRequires: %{python_module setuptools_scm >= 3.4.1} BuildRequires: %{python_module setuptools_scm >= 3.4.1}
@ -44,8 +44,10 @@ BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module jaraco.functools} BuildRequires: %{python_module jaraco.functools}
BuildRequires: %{python_module jaraco.itertools} BuildRequires: %{python_module jaraco.itertools}
BuildRequires: %{python_module jaraco.test}
BuildRequires: %{python_module more-itertools} BuildRequires: %{python_module more-itertools}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module zipp >= %{version}}
%endif %endif
%python_subpackages %python_subpackages
@ -70,10 +72,6 @@ rm -r zipp.egg-info
%if %{with test} %if %{with test}
%check %check
# skip performance test (we do not have func_timeout sofar)
sed -i -e 's:import func_timeout::' \
-e 's:@func_timeout.func_set_timeout(.):@unittest.skip("skip performance test"):' \
tests/test_zipp.py
%pytest %pytest
%endif %endif

BIN
zipp-3.15.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
zipp-3.19.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.