- 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=38
This commit is contained in:
Dirk Mueller 2023-11-27 09:08:21 +00:00 committed by Git OBS Bridge
parent 69deed6d02
commit a2fd8b70c0
4 changed files with 30 additions and 16 deletions

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
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>

View File

@ -16,7 +16,6 @@
#
%{?sle15_python_module_pythons}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@ -25,15 +24,16 @@
%define psuffix %{nil}
%bcond_with test
%endif
%{?sle15_python_module_pythons}
Name: python-zipp%{psuffix}
Version: 3.15.0
Version: 3.17.0
Release: 0
Summary: Pathlib-compatible object wrapper for zip files
License: MIT
Group: Development/Languages/Python
URL: https://github.com/jaraco/zipp
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 setuptools >= 56}
BuildRequires: %{python_module setuptools_scm >= 3.4.1}
@ -70,10 +70,6 @@ rm -r zipp.egg-info
%if %{with test}
%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
%endif

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

Binary file not shown.

3
zipp-3.17.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:84e64a1c28cf7e91ed2078bb8cc8c259cb19b76942096c8d7b84947690cabaf0
size 20367