Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-wcmatch for openSUSE:Factory 
checked in at 2024-06-10 17:38:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wcmatch (Old)
 and      /work/SRC/openSUSE:Factory/.python-wcmatch.new.19518 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-wcmatch"

Mon Jun 10 17:38:00 2024 rev:6 rq:1179650 version:8.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-wcmatch/python-wcmatch.changes    
2024-03-13 22:23:00.278066650 +0100
+++ /work/SRC/openSUSE:Factory/.python-wcmatch.new.19518/python-wcmatch.changes 
2024-06-10 17:38:16.988395461 +0200
@@ -1,0 +2,8 @@
+Mon Jun 10 08:27:22 UTC 2024 - Dirk Müller <[email protected]>
+
+- update to 8.5.2:
+  * Fix `pathlib` issue with inheritance on Python
+    versions greater than 3.12.
+  * Fix `EXTMATCH` case with `!(...)` patterns.
+
+-------------------------------------------------------------------

Old:
----
  wcmatch-8.5.1.tar.gz

New:
----
  wcmatch-8.5.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-wcmatch.spec ++++++
--- /var/tmp/diff_new_pack.ukGdkZ/_old  2024-06-10 17:38:17.736423133 +0200
+++ /var/tmp/diff_new_pack.ukGdkZ/_new  2024-06-10 17:38:17.736423133 +0200
@@ -19,7 +19,7 @@
 %{?sle15_python_module_pythons}
 %{?python_enable_dependency_generator}
 Name:           python-wcmatch
-Version:        8.5.1
+Version:        8.5.2
 Release:        0
 Summary:        Wildcard/glob file name matcher
 License:        MIT

++++++ wcmatch-8.5.1.tar.gz -> wcmatch-8.5.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wcmatch-8.5.1/PKG-INFO new/wcmatch-8.5.2/PKG-INFO
--- old/wcmatch-8.5.1/PKG-INFO  2020-02-02 01:00:00.000000000 +0100
+++ new/wcmatch-8.5.2/PKG-INFO  2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.3
 Name: wcmatch
-Version: 8.5.1
+Version: 8.5.2
 Summary: Wildcard/glob file name matcher.
 Project-URL: Homepage, https://github.com/facelessuser/wcmatch
 Author-email: Isaac Muse <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wcmatch-8.5.1/docs/src/markdown/about/changelog.md 
new/wcmatch-8.5.2/docs/src/markdown/about/changelog.md
--- old/wcmatch-8.5.1/docs/src/markdown/about/changelog.md      2020-02-02 
01:00:00.000000000 +0100
+++ new/wcmatch-8.5.2/docs/src/markdown/about/changelog.md      2020-02-02 
01:00:00.000000000 +0100
@@ -1,5 +1,10 @@
 # Changelog
 
+## 8.5.2
+
+-   **FIX**: Fix `pathlib` issue with inheritance on Python versions greater 
than 3.12.
+-   **FIX**: Fix `EXTMATCH` case with `!(...)` patterns.
+
 ## 8.5.1
 
 -   **FIX**: Fix issue with type check failure in `wcmatch.glob`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wcmatch-8.5.1/docs/src/markdown/wcmatch.md 
new/wcmatch-8.5.2/docs/src/markdown/wcmatch.md
--- old/wcmatch-8.5.1/docs/src/markdown/wcmatch.md      2020-02-02 
01:00:00.000000000 +0100
+++ new/wcmatch-8.5.2/docs/src/markdown/wcmatch.md      2020-02-02 
01:00:00.000000000 +0100
@@ -310,9 +310,9 @@
 `HIDDEN` enables the crawling of hidden directories and will return hidden 
files if the wildcard pattern matches. This
 enables not just dot files, but system hidden files as well.
 
-#### `wcmatch.SYMLINK, wcmatch.SL` {: #symlink}
+#### `wcmatch.SYMLINKS, wcmatch.SL` {: #symlinks}
 
-`SYMLINK` enables the crawling of symlink directories. By default, symlink 
directories are ignored during the file
+`SYMLINKS` enables the crawling of symlink directories. By default, symlink 
directories are ignored during the file
 crawl.
 
 #### `wcmatch.CASE, wcmatch.C` {: #case}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wcmatch-8.5.1/pyproject.toml 
new/wcmatch-8.5.2/pyproject.toml
--- old/wcmatch-8.5.1/pyproject.toml    2020-02-02 01:00:00.000000000 +0100
+++ new/wcmatch-8.5.2/pyproject.toml    2020-02-02 01:00:00.000000000 +0100
@@ -71,7 +71,7 @@
 [tool.ruff]
 line-length = 120
 
-select = [
+lint.select = [
     "A",    # flake8-builtins
     "B",    # flake8-bugbear
     "D",    # pydocstyle
@@ -87,7 +87,7 @@
     "PERF"  # Perflint
 ]
 
-ignore = [
+lint.ignore = [
     "E741",
     "D202",
     "D401",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wcmatch-8.5.1/tests/test_fnmatch.py 
new/wcmatch-8.5.2/tests/test_fnmatch.py
--- old/wcmatch-8.5.1/tests/test_fnmatch.py     2020-02-02 01:00:00.000000000 
+0100
+++ new/wcmatch-8.5.2/tests/test_fnmatch.py     2020-02-02 01:00:00.000000000 
+0100
@@ -148,6 +148,10 @@
         ['!(test)', 'abc', True, fnmatch.D | fnmatch.E],
         ['!(test)', '..', False, fnmatch.D | fnmatch.E],
 
+        # Negation list followed by extended list
+        ['!(2)_@(foo|bar)', '1_foo', True, fnmatch.E],
+        ['!(!(2|3))_@(foo|bar)', '2_foo', True, fnmatch.E],
+
         # POSIX style character classes
         ['[[:alnum:]]bc', 'zbc', True, 0],
         ['[[:alnum:]]bc', '1bc', True, 0],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wcmatch-8.5.1/wcmatch/__meta__.py 
new/wcmatch-8.5.2/wcmatch/__meta__.py
--- old/wcmatch-8.5.1/wcmatch/__meta__.py       2020-02-02 01:00:00.000000000 
+0100
+++ new/wcmatch-8.5.2/wcmatch/__meta__.py       2020-02-02 01:00:00.000000000 
+0100
@@ -194,5 +194,5 @@
     return Version(major, minor, micro, release, pre, post, dev)
 
 
-__version_info__ = Version(8, 5, 1, "final")
+__version_info__ = Version(8, 5, 2, "final")
 __version__ = __version_info__._get_canonical()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wcmatch-8.5.1/wcmatch/_wcparse.py 
new/wcmatch-8.5.2/wcmatch/_wcparse.py
--- old/wcmatch-8.5.1/wcmatch/_wcparse.py       2020-02-02 01:00:00.000000000 
+0100
+++ new/wcmatch-8.5.2/wcmatch/_wcparse.py       2020-02-02 01:00:00.000000000 
+0100
@@ -1435,7 +1435,8 @@
                         extended.append(self._restrict_extended_slash())
                     extended.append(self.sep)
                 elif c == "|":
-                    self.clean_up_inverse(extended, temp_inv_nest and 
self.inv_nest)
+                    if self.inv_nest:
+                        self.clean_up_inverse(extended, temp_inv_nest)
                     extended.append(c)
                     if temp_after_start:
                         self.set_start_dir()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wcmatch-8.5.1/wcmatch/pathlib.py 
new/wcmatch-8.5.2/wcmatch/pathlib.py
--- old/wcmatch-8.5.1/wcmatch/pathlib.py        2020-02-02 01:00:00.000000000 
+0100
+++ new/wcmatch-8.5.2/wcmatch/pathlib.py        2020-02-02 01:00:00.000000000 
+0100
@@ -1,7 +1,5 @@
 """Pathlib implementation that uses our own glob."""
 from __future__ import annotations
-import ntpath
-import posixpath
 import pathlib
 import os
 from . import glob
@@ -109,7 +107,7 @@
         sep = ''
         name = str(self)
         if isinstance(self, Path) and name and self.is_dir():
-            sep = self._flavour.sep
+            sep = self.parser.sep if util.PY313 else self._flavour.sep
 
         return name + sep
 
@@ -227,17 +225,15 @@
         yield from self.glob(patterns, flags=flags | _EXTMATCHBASE, 
limit=limit, exclude=exclude)
 
 
-class PurePosixPath(PurePath):
+class PurePosixPath(PurePath, pathlib.PurePosixPath):
     """Pure Posix path."""
 
-    _flavour = pathlib._posix_flavour if not util.PY312 else posixpath  # 
type: ignore[attr-defined]
     __slots__ = ()
 
 
-class PureWindowsPath(PurePath):
+class PureWindowsPath(PurePath, pathlib.PureWindowsPath):
     """Pure Windows path."""
 
-    _flavour = pathlib._windows_flavour if not util.PY312 else ntpath  # type: 
ignore[attr-defined]
     __slots__ = ()
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wcmatch-8.5.1/wcmatch/util.py 
new/wcmatch-8.5.2/wcmatch/util.py
--- old/wcmatch-8.5.1/wcmatch/util.py   2020-02-02 01:00:00.000000000 +0100
+++ new/wcmatch-8.5.2/wcmatch/util.py   2020-02-02 01:00:00.000000000 +0100
@@ -11,6 +11,7 @@
 
 PY310 = (3, 10) <= sys.version_info
 PY312 = (3, 12) <= sys.version_info
+PY313 = (3, 13) <= sys.version_info
 
 UNICODE = 0
 BYTES = 1

Reply via email to