Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-cotengra for openSUSE:Factory
checked in at 2026-06-18 21:37:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cotengra (Old)
and /work/SRC/openSUSE:Factory/.python-cotengra.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cotengra"
Thu Jun 18 21:37:47 2026 rev:5 rq:1360291 version:0.8.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cotengra/python-cotengra.changes
2026-03-27 16:53:06.000471558 +0100
+++
/work/SRC/openSUSE:Factory/.python-cotengra.new.1981/python-cotengra.changes
2026-06-18 21:38:54.163792758 +0200
@@ -1,0 +2,55 @@
+Thu Jun 18 16:17:04 UTC 2026 - Ben Greiner <[email protected]>
+
+- Update to 0.8.1
+ * fix Contractor called with explicit backend (#83).
+- Release v0.8.0
+ ## Enhancements
+ * "auto" and "auto-hq" presets now default to parallel="auto"
+ * HyperOptimizer: now defaults to using subtree reconfiguration
+ (turned off if any other refinement options are explitly given)
+ * ContractionTree.subtree_reconfigure: add maxiter="auto" option,
+ which defaults to min(tree.N, maxiter_auto_cap), where
+ maxiter_auto_cap is a new argument to the preset constructors
+ (default 128 for auto and 1024 for auto-hq).
+ * Added a benchmarking example - Benchmarking and cotengra
+ * Default node type for ContractionTree changed to SSA-based
+ representation, which is faster and uses less memory for big
+ trees. Factored out node logic into a new nodeops module, with
+ dynamic namespaces supporting both frozenset-based and
+ SSA-based nodes.
+ * ContractionTree: add get_peak_size, reorder_for_peak_size, and
+ max_contraction_size.
+ * ContractionTree: support single input "contractions" (trivial
+ trees with a single tensor).
+ * HyperOptimizer.search: support single terms (#77).
+ * Change default finishing optimize step (e.g. for
+ slicing/subtree reconfigure) to "auto".
+ * Subtree reconfigure: add select="descend" mode.
+ * PartitionTreeBuilder.build_divide: default to random-greedy-128
+ for super_optimize.
+ * Greedy optimizers: add max_neighbors option to limit candidate
+ pair generation, which helps for graphs with very large batch
+ indices.
+ * Allow hashing optimize when given as a list of lists (e.g.
+ nested SSA paths).
+ * Refactor the optlib interface for cleaner integration of
+ multiple Bayesian / population-based optimizers; add sbplx,
+ sses (steady-state evolutionary strategy), and neldermead /
+ neldermead-adapt simple internal optimizers.
+ * Add implementation="pytblis" for contraction via pytblis.
+ * Update parallel logic for sub-workers, allowing nested
+ parallelism without oversubscription.
+ * DiskDict: add get, keys, values, items, __delitem__; enhance
+ clear and cleanup methods.
+ * Python optimal optimizer: accept float factors (#58).
+ * Update schematic module with improvements pulled in from quimb.
+ * einsum via bmm (implementation="cotengra"): update
+ einsum-string parsing to follow more recent numpy behavior.
+ ## Bug fixes
+ * Fix a rare bug relating to wrongly cached index ordering in
+ ContractionTree.
+ * Fix + test tensorflow contraction with strip_exponent (#81).
+ * ContractionTree.contract_nodes: always check for root, fixing
+ an edge case in incremental contraction.
+
+-------------------------------------------------------------------
Old:
----
cotengra-0.7.5.tar.gz
New:
----
cotengra-0.8.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cotengra.spec ++++++
--- /var/tmp/diff_new_pack.8O9j8L/_old 2026-06-18 21:38:54.847821303 +0200
+++ /var/tmp/diff_new_pack.8O9j8L/_new 2026-06-18 21:38:54.851821470 +0200
@@ -17,13 +17,13 @@
Name: python-cotengra
-Version: 0.7.5
+Version: 0.8.1
Release: 0
Summary: Hyper optimized contraction trees for large tensor networks
and einsums
License: Apache-2.0
URL: https://github.com/jcmgray/cotengra
Source:
https://files.pythonhosted.org/packages/source/c/cotengra/cotengra-%{version}.tar.gz
-BuildRequires: %{python_module base >= 3.8}
+BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
@@ -33,15 +33,15 @@
Recommends: python-cotengrust
Recommends: python-cytoolz
Recommends: python-kahypar
+Recommends: python-matplotlib
Recommends: python-networkx
Recommends: python-numpy
Recommends: python-opt-einsum
Recommends: python-optuna
Recommends: python-ray
# SECTION test requirements
-BuildRequires: %{python_module altair}
BuildRequires: %{python_module autoray}
-BuildRequires: %{python_module dask}
+BuildRequires: %{python_module dask if %python-base >= 3.12}
BuildRequires: %{python_module matplotlib}
BuildRequires: %{python_module networkx}
BuildRequires: %{python_module numpy}
@@ -68,9 +68,6 @@
%prep
%autosetup -p1 -n cotengra-%{version}
-sed -i '/addopts/d' pyproject.toml
-rm cotengra/.gitattributes
-# Note: ignore the rust files for now gh#jcmgray/cotengra#30
%build
%pyproject_wheel
++++++ cotengra-0.7.5.tar.gz -> cotengra-0.8.1.tar.gz ++++++
++++ 114851 lines of diff (skipped)