Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-dep-logic for 
openSUSE:Factory checked in at 2026-06-15 19:42:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dep-logic (Old)
 and      /work/SRC/openSUSE:Factory/.python-dep-logic.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-dep-logic"

Mon Jun 15 19:42:09 2026 rev:9 rq:1359231 version:0.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dep-logic/python-dep-logic.changes        
2026-02-04 21:06:51.354506119 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-dep-logic.new.1981/python-dep-logic.changes  
    2026-06-15 19:45:12.375845388 +0200
@@ -1,0 +2,6 @@
+Sun Jun 14 10:28:52 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 0.6.0:
+  * Explicitly check for invalid versions in more places
+
+-------------------------------------------------------------------

Old:
----
  dep_logic-0.5.2.tar.gz

New:
----
  dep_logic-0.6.0.tar.gz

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

Other differences:
------------------
++++++ python-dep-logic.spec ++++++
--- /var/tmp/diff_new_pack.U2B9V2/_old  2026-06-15 19:45:14.811947478 +0200
+++ /var/tmp/diff_new_pack.U2B9V2/_new  2026-06-15 19:45:14.831948316 +0200
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-dep-logic
-Version:        0.5.2
+Version:        0.6.0
 Release:        0
 Summary:        Python dependency specifications supporting logical operations
 License:        Apache-2.0

++++++ dep_logic-0.5.2.tar.gz -> dep_logic-0.6.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dep_logic-0.5.2/PKG-INFO new/dep_logic-0.6.0/PKG-INFO
--- old/dep_logic-0.5.2/PKG-INFO        1970-01-01 01:00:00.000000000 +0100
+++ new/dep_logic-0.6.0/PKG-INFO        1970-01-01 01:00:00.000000000 +0100
@@ -1,20 +1,19 @@
 Metadata-Version: 2.1
 Name: dep-logic
-Version: 0.5.2
+Version: 0.6.0
 Summary: Python dependency specifications supporting logical operations
 Keywords: dependency,specification,logic,packaging
 Author-Email: Frost Ming <[email protected]>
 License: Apache-2.0
 Classifier: Intended Audience :: Developers
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: 3.12
 Classifier: Programming Language :: Python :: 3.13
 Classifier: License :: OSI Approved :: Apache Software License
-Requires-Python: >=3.8
+Requires-Python: >=3.9
 Requires-Dist: packaging>=22
 Description-Content-Type: text/markdown
 
@@ -33,7 +32,7 @@
 pip install dep-logic
 ```
 
-This library requires Python 3.8 or later.
+This library requires Python 3.9 or later.
 
 Currently, it contains two sub-modules:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dep_logic-0.5.2/README.md 
new/dep_logic-0.6.0/README.md
--- old/dep_logic-0.5.2/README.md       2025-08-02 02:21:50.185701600 +0200
+++ new/dep_logic-0.6.0/README.md       2026-05-19 13:17:43.453350300 +0200
@@ -13,7 +13,7 @@
 pip install dep-logic
 ```
 
-This library requires Python 3.8 or later.
+This library requires Python 3.9 or later.
 
 Currently, it contains two sub-modules:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dep_logic-0.5.2/pyproject.toml 
new/dep_logic-0.6.0/pyproject.toml
--- old/dep_logic-0.5.2/pyproject.toml  2025-08-02 02:21:58.426185000 +0200
+++ new/dep_logic-0.6.0/pyproject.toml  2026-05-19 13:17:55.957042500 +0200
@@ -7,7 +7,7 @@
 dependencies = [
     "packaging>=22",
 ]
-requires-python = ">=3.8"
+requires-python = ">=3.9"
 readme = "README.md"
 dynamic = []
 keywords = [
@@ -19,7 +19,6 @@
 classifiers = [
     "Intended Audience :: Developers",
     "Programming Language :: Python :: 3",
-    "Programming Language :: Python :: 3.8",
     "Programming Language :: Python :: 3.9",
     "Programming Language :: Python :: 3.10",
     "Programming Language :: Python :: 3.11",
@@ -27,7 +26,7 @@
     "Programming Language :: Python :: 3.13",
     "License :: OSI Approved :: Apache Software License",
 ]
-version = "0.5.2"
+version = "0.6.0"
 
 [project.license]
 text = "Apache-2.0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dep_logic-0.5.2/src/dep_logic/markers/single.py 
new/dep_logic-0.6.0/src/dep_logic/markers/single.py
--- old/dep_logic-0.5.2/src/dep_logic/markers/single.py 2025-08-02 
02:21:50.186701500 +0200
+++ new/dep_logic-0.6.0/src/dep_logic/markers/single.py 2026-05-19 
13:17:43.453745400 +0200
@@ -8,7 +8,7 @@
 
 from packaging.markers import default_environment
 from packaging.specifiers import InvalidSpecifier, Specifier
-from packaging.version import InvalidVersion
+from packaging.version import InvalidVersion, Version
 
 from dep_logic.markers.any import AnyMarker
 from dep_logic.markers.base import BaseMarker, EvaluationContext
@@ -202,7 +202,7 @@
                 pass
             else:
                 try:
-                    return spec.contains(lhs)
+                    return spec.contains(Version(lhs))
                 except InvalidVersion:
                     pass
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dep_logic-0.5.2/src/dep_logic/specifiers/range.py 
new/dep_logic-0.6.0/src/dep_logic/specifiers/range.py
--- old/dep_logic-0.5.2/src/dep_logic/specifiers/range.py       2025-08-02 
02:21:50.186701500 +0200
+++ new/dep_logic-0.6.0/src/dep_logic/specifiers/range.py       2026-05-19 
13:17:43.454097700 +0200
@@ -86,6 +86,8 @@
     def contains(
         self, version: UnparsedVersion, prereleases: bool | None = None
     ) -> bool:
+        if not isinstance(version, Version):
+            version = Version(version)
         return self.to_specifierset().contains(version, prereleases)
 
     def __invert__(self) -> BaseSpecifier:

Reply via email to