Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-cma for openSUSE:Factory checked in at 2026-03-06 18:20:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cma (Old) and /work/SRC/openSUSE:Factory/.python-cma.new.561 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cma" Fri Mar 6 18:20:10 2026 rev:7 rq:1337148 version:4.4.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cma/python-cma.changes 2024-11-26 20:56:26.859801564 +0100 +++ /work/SRC/openSUSE:Factory/.python-cma.new.561/python-cma.changes 2026-03-06 18:21:14.034725231 +0100 @@ -1,0 +2,42 @@ +Fri Feb 27 00:59:08 UTC 2026 - Steve Kowalik <[email protected]> + +- Update to 4.4.4: + * Increase the step-size damping of CSA and TPA. + * Provide option 'TPA_dampfac' analogous to 'CSA_dampfac'. + * Plots now show the current best solution and the distribution mean in two + subplots. + * Provide a more_algorithms sub-package containing purecma and CompactGA. + * Provide a provisional experimentation module (requires import + cma.experimentation). + * Fix compatibility issues (with comocma): + + add back the (deprecated) cma.constraints_handling.BoundTransform class + which was missing since 4.1.0. Note that cma.BoundTransform is the + recommended way to access this class + + remove dependency of OOOptimizer.optimize on self.result + * fix where plotting bails with some recent version of matplotlib>3.8.0. + * Various improvements of the logger and plotting. + * fmin2 accepts a constraints function as constraints keyword argument + * an improved CMAEvolutionStrategyResult2 class which also contains the + best feasible solution + * a reset_options method which also clears the current termination status + * polish the output of .optimize() and of .result_pretty() + * catch final .stop() value displayed with cma.plot + * constraints handling is available also in the ask-and-tell interface + * ask has an ignore_integer_variables argument to not mutate integer + variables + * an on/off switch for integer centering, + cma.integer_centering.centering_on (by default True) + * integer variables of candidate solutions are rounded + * moved main docstring from fmin to fmin2 + * experimental plots for error estimates and sensitivities + * fix numpy scalar type representations at various places + * replace ineffective use_archives flag with archive_sent_solutions and + archive_after_sent + * a stand-alone boundary handling function wrapper BoundDomainTransform + * streamline plot docs, fix symlog plot with newest matplotlib, plots + display the value of .stop() and the version number + * a few more minor fixes and improvements + * replace setup.py with pyproject.toml + * move boundary handling into a separate module + +------------------------------------------------------------------- Old: ---- cma-4.0.0.tar.gz New: ---- cma-4.4.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cma.spec ++++++ --- /var/tmp/diff_new_pack.IgwrPd/_old 2026-03-06 18:21:14.670751776 +0100 +++ /var/tmp/diff_new_pack.IgwrPd/_new 2026-03-06 18:21:14.674751943 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-cma # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # Copyright (c) 2020 Christoph Junghans # # All modifications and additions to the file contributed by third parties @@ -18,7 +18,7 @@ Name: python-cma -Version: 4.0.0 +Version: 4.4.4 Release: 0 Summary: Covariance Matrix Adaptation Evolution Strategy numerical optimizer License: BSD-3-Clause @@ -44,7 +44,12 @@ %prep %autosetup -n pycma-r%{version} #Remove unneeded shebang -sed -i '1d' cma/{bbobbenchmarks.py,purecma.py,test.py} +sed -i '1d' cma/{bbobbenchmarks.py,test.py,more_algorithms/purecma.py} +# flat setup only works when we exclude notebooks* in pyproject.toml +# which then fails to locally discover the src-layout correctly +# ... from upstreams GitHub Actions +mkdir src +ln -s ../cma src/cma %build %pyproject_wheel ++++++ cma-4.0.0.tar.gz -> cma-4.4.4.tar.gz ++++++ ++++ 15231 lines of diff (skipped)
