public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pyscipopt] f44: Update to 6.3.0 upstream release
Date: Wed, 14 Oct 2026 08:38:33 GMT	[thread overview]
Message-ID: <179196711339.1.6865959381914031297.rpms-python-pyscipopt-534e17d7d462@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-pyscipopt
            Branch : f44
            Commit : 534e17d7d462fa4153d7934a936a16f455b56e16
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-10-13T21:42:44+01:00
            Stats  : +3/-134 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-pyscipopt/c/534e17d7d462fa4153d7934a936a16f455b56e16?branch=f44

            Log:
            Update to 6.3.0 upstream release

- Resolves: rhbz#2549358

Upstream tag: v6.3.0
Upstream commit: 87ad75da

Commit co-authored by Packit automation (https://packit.dev/)

---
diff --git a/0001-Make-test_markDoNotAggrVar_and_getStatus-robust-to-S.patch b/0001-Make-test_markDoNotAggrVar_and_getStatus-robust-to-S.patch
deleted file mode 100644
index 2c736af..0000000
--- a/0001-Make-test_markDoNotAggrVar_and_getStatus-robust-to-S.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-From f84585d4c4cb321da2bb5cde567bc5e433b8e848 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Jo=C3=A3o=20Dion=C3=ADsio?=
- <57299939+Joao-Dionisio@users.noreply.github.com>
-Date: Thu, 25 Jun 2026 17:47:34 +0100
-Subject: [PATCH] Make test_markDoNotAggrVar_and_getStatus robust to SCIP
- presolve changes (#1230)
-
----
- CHANGELOG.md       |  1 +
- tests/test_vars.py | 25 +++++++++++--------------
- 2 files changed, 12 insertions(+), 14 deletions(-)
-
-diff --git a/CHANGELOG.md b/CHANGELOG.md
-index 00173c5..47768b0 100644
---- a/CHANGELOG.md
-+++ b/CHANGELOG.md
-@@ -3,6 +3,7 @@
- ## Unreleased
- ### Added
- ### Fixed
-+- Made `test_markDoNotAggrVar_and_getStatus` robust to SCIP presolve changes by discovering the aggregated/multi-aggregated variables instead of hardcoding them
- ### Changed
- ### Removed
- 
-diff --git a/tests/test_vars.py b/tests/test_vars.py
-index 43f7158..b32acfd 100644
---- a/tests/test_vars.py
-+++ b/tests/test_vars.py
-@@ -142,28 +142,25 @@ def test_markDoNotAggrVar_and_getStatus():
-     model.addCons(y - 2*x == 0)
-     model.addCons(x + z + w == 10)
-     model.addCons(x*y*z >= 21) # to prevent presolve from removing all variables
--    model.presolve()
- 
--    assert z.getStatus() == "ORIGINAL"
--    assert model.getTransformedVar(z).getStatus() == "AGGREGATED"
--    assert model.getTransformedVar(w).getStatus() == "MULTAGGR"
-+    variables = (x, y, z, w)
-+    model.presolve()
- 
--    assert model.getNVars(True) == 1
-+    multaggr = [v for v in variables if model.getTransformedVar(v).getStatus() == "MULTAGGR"]
-+    aggregated = [v for v in variables if model.getTransformedVar(v).getStatus() == "AGGREGATED"]
-+    assert multaggr, "presolve no longer multi-aggregates; update the test model"
-+    assert aggregated, "presolve no longer aggregates; update the test model"
-+    assert multaggr[0].getStatus() == "ORIGINAL"
- 
-     model.freeTransform()
--    model.markDoNotMultaggrVar(w)
-+    model.markDoNotMultaggrVar(multaggr[0])
-     model.presolve()
--
--    assert model.getTransformedVar(w).getStatus() != "MULTAGGR"
--    assert model.getNVars(True) == 3
-+    assert model.getTransformedVar(multaggr[0]).getStatus() != "MULTAGGR"
- 
-     model.freeTransform()
--    model.markDoNotAggrVar(y)
-+    model.markDoNotAggrVar(aggregated[0])
-     model.presolve()
--    assert model.getTransformedVar(z).getStatus() != "AGGREGATED"
--    assert model.getNVars(True) == 4
--
--    assert x.getStatus() == "ORIGINAL"
-+    assert model.getTransformedVar(aggregated[0]).getStatus() != "AGGREGATED"
- 
- 
- def test_isIntegral():
--- 
-2.55.0
-

diff --git a/1248.patch b/1248.patch
deleted file mode 100644
index 1670a97..0000000
--- a/1248.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 1b965e958db864b45fb2cf2fbc5ac3023a6683bf Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Thu, 27 Aug 2026 07:52:39 +0100
-Subject: [PATCH] Fix Cython 3.3 compatibility
-
-Do not redeclare variables with different types. Use new names rather
-than redeclaring/shadowing the old ones.
-
-Fixes #1247.
----
- src/pyscipopt/matrix.pxi | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/src/pyscipopt/matrix.pxi b/src/pyscipopt/matrix.pxi
-index d1d4ad793..b60e23c99 100644
---- a/src/pyscipopt/matrix.pxi
-+++ b/src/pyscipopt/matrix.pxi
-@@ -233,10 +233,10 @@ def _core_sum(
-         a np.ndarray.
- 
-     """
--    axis: Tuple[int, ...] = normalize_axis_tuple(
-+    axis_tuple: Tuple[int, ...] = normalize_axis_tuple(
-         range(a.ndim) if axis is None else axis, a.ndim
-     )
--    if len(axis) == a.ndim:
-+    if len(axis_tuple) == a.ndim:
-         res = quicksum(a.flat)
-         return (
-             np.array([res], dtype=object).reshape([1] * a.ndim)
-@@ -244,12 +244,12 @@ def _core_sum(
-             else res
-         )
- 
--    keep_axes = tuple(i for i in range(a.ndim) if i not in axis)
-+    keep_axes = tuple(i for i in range(a.ndim) if i not in axis_tuple)
-     shape = (
--        tuple(1 if i in axis else a.shape[i] for i in range(a.ndim))
-+        tuple(1 if i in axis_tuple else a.shape[i] for i in range(a.ndim))
-         if keepdims
-         else tuple(a.shape[i] for i in keep_axes)
-     )
-     return np.apply_along_axis(
--        quicksum, -1, a.transpose(keep_axes + axis).reshape(shape + (-1,))
-+        quicksum, -1, a.transpose(keep_axes + axis_tuple).reshape(shape + (-1,))
-     )

diff --git a/README.packit b/README.packit
index eb5cf90..41bc266 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
 This repository is maintained by packit.
 https://packit.dev/
-The file was generated using packit 1.16.0.post1.dev2+ged481c62d.
+The file was generated using packit 1.16.3.post1.dev11+g14b012ef4.

diff --git a/python-pyscipopt.spec b/python-pyscipopt.spec
index 61f1007..ec7958b 100644
--- a/python-pyscipopt.spec
+++ b/python-pyscipopt.spec
@@ -1,5 +1,5 @@
 Name:           python-pyscipopt
-Version:        6.2.1
+Version:        6.3.0
 Release:        %autorelease
 Summary:        Python interface and modeling environment for SCIP
 
@@ -10,20 +10,6 @@ License:        MIT AND WTFNMFPL
 URL:            https://github.com/scipopt/PySCIPOpt
 Source:         %{url}/archive/v%{version}/PySCIPOpt-%{version}.tar.gz
 
-# Fix `test_markDoNotAggrVar_and_getStatus`
-# https://github.com/scipopt/PySCIPOpt/pull/1230
-# Cherry-picked on v6.2.1
-Patch:          0001-Make-test_markDoNotAggrVar_and_getStatus-robust-to-S.patch
-
-# Fix Cython 3.3 compatibility
-# https://github.com/scipopt/PySCIPOpt/pull/1248
-#
-# Fixes:
-#
-# Error compiling/Cythonizing with Cython 3.3.0: 'axis' redeclared
-# https://github.com/scipopt/PySCIPOpt/issues/1247
-Patch:          %{url}/pull/1248.patch
-
 BuildSystem:    pyproject
 BuildOption(install): --assert-license pyscipopt
 

diff --git a/sources b/sources
index ba2eb60..91eec48 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (PySCIPOpt-6.2.1.tar.gz) = 383639136d0a77df4f60de4dd2e3c722129af6f94f0bfff0c1f1447325ab28b1687caed9400aeb676ce9c138124d2769aa8f513d455881486fb8181ed248e352
+SHA512 (PySCIPOpt-6.3.0.tar.gz) = 350bd94bad7559af686d356d731d96448a3cf2b30b6389e27f5420154a974cd519008ca6634637e0e0dad9e15d102ed9a9d078adadb99c530492c4276510424d

                 reply	other threads:[~2026-10-14  8:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179196711339.1.6865959381914031297.rpms-python-pyscipopt-534e17d7d462@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox