Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-cyclopts for openSUSE:Factory
checked in at 2026-09-10 11:49:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cyclopts (Old)
and /work/SRC/openSUSE:Factory/.python-cyclopts.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cyclopts"
Thu Sep 10 11:49:23 2026 rev:17 rq:1376809 version:4.25.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cyclopts/python-cyclopts.changes
2026-09-08 17:01:23.924198824 +0200
+++
/work/SRC/openSUSE:Factory/.python-cyclopts.new.1265/python-cyclopts.changes
2026-09-10 11:52:05.377347827 +0200
@@ -1,0 +2,6 @@
+Thu Sep 10 05:43:09 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to 4.25.2:
+ * Reject NaN in numeric range validators
+
+-------------------------------------------------------------------
Old:
----
cyclopts-4.25.1.tar.gz
New:
----
cyclopts-4.25.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cyclopts.spec ++++++
--- /var/tmp/diff_new_pack.PtZrCW/_old 2026-09-10 11:52:05.996373790 +0200
+++ /var/tmp/diff_new_pack.PtZrCW/_new 2026-09-10 11:52:05.997373832 +0200
@@ -18,7 +18,7 @@
%bcond_without libalternatives
Name: python-cyclopts
-Version: 4.25.1
+Version: 4.25.2
Release: 0
Summary: Intuitive, easy CLIs based on python type hints
License: Apache-2.0
++++++ cyclopts-4.25.1.tar.gz -> cyclopts-4.25.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cyclopts-4.25.1/PKG-INFO new/cyclopts-4.25.2/PKG-INFO
--- old/cyclopts-4.25.1/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
+++ new/cyclopts-4.25.2/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.5
Name: cyclopts
-Version: 4.25.1
+Version: 4.25.2
Summary: Intuitive, easy CLIs based on type hints.
Project-URL: Homepage, https://github.com/BrianPugh/cyclopts
Project-URL: Repository, https://github.com/BrianPugh/cyclopts
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cyclopts-4.25.1/cyclopts/_version.py
new/cyclopts-4.25.2/cyclopts/_version.py
--- old/cyclopts-4.25.1/cyclopts/_version.py 2020-02-02 01:00:00.000000000
+0100
+++ new/cyclopts-4.25.2/cyclopts/_version.py 2020-02-02 01:00:00.000000000
+0100
@@ -18,7 +18,7 @@
commit_id: str | None
__commit_id__: str | None
-__version__ = version = '4.25.1'
-__version_tuple__ = version_tuple = (4, 25, 1)
+__version__ = version = '4.25.2'
+__version_tuple__ = version_tuple = (4, 25, 2)
__commit_id__ = commit_id = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cyclopts-4.25.1/cyclopts/validators/_number.py
new/cyclopts-4.25.2/cyclopts/validators/_number.py
--- old/cyclopts-4.25.1/cyclopts/validators/_number.py 2020-02-02
01:00:00.000000000 +0100
+++ new/cyclopts-4.25.2/cyclopts/validators/_number.py 2020-02-02
01:00:00.000000000 +0100
@@ -69,16 +69,17 @@
if not isinstance(value, int | float):
return
- if self.lt is not None and value >= self.lt:
+ # Negate the required comparison so NaN cannot bypass a bound.
+ if self.lt is not None and not value < self.lt:
raise ValueError(f"Must be < {self.lt}.")
- if self.lte is not None and value > self.lte:
+ if self.lte is not None and not value <= self.lte:
raise ValueError(f"Must be <= {self.lte}.")
- if self.gt is not None and value <= self.gt:
+ if self.gt is not None and not value > self.gt:
raise ValueError(f"Must be > {self.gt}.")
- if self.gte is not None and value < self.gte:
+ if self.gte is not None and not value >= self.gte:
raise ValueError(f"Must be >= {self.gte}.")
if self.modulo is not None and value % self.modulo: