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>

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.