python3Packages.cvxpy: 1.8.1 -> 1.8.2 (#502326)

This commit is contained in:
Connor Baker
2026-03-23 22:27:58 +00:00
committed by GitHub
2 changed files with 9 additions and 16 deletions
@@ -26,14 +26,14 @@
buildPythonPackage (finalAttrs: {
pname = "cvxpy";
version = "1.8.1";
version = "1.8.2";
pyproject = true;
src = fetchFromGitHub {
owner = "cvxpy";
repo = "cvxpy";
tag = "v${finalAttrs.version}";
hash = "sha256-7bLvVvOthbEe+Ry/NQCxP5El9K8qITIGwJzypooT2mw=";
hash = "sha256-MDKTuiePzqdIJlTRxbCOxoaEAisGx368iWbwKEB97QU=";
};
postPatch =
@@ -26,25 +26,18 @@
cvxpy,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "qutip";
version = "5.2.2";
version = "5.2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "qutip";
repo = "qutip";
tag = "v${version}";
hash = "sha256-Av6OVw3dwZUA13W+5kJ2EwGzIMhNn9lZwEsk5EKTbyk=";
tag = "v${finalAttrs.version}";
hash = "sha256-y3yQf6rCjK0342WnUBieBmCLOWXjBAkxPe+G7TzZKio=";
};
postPatch =
# build-time constraint, used to ensure forward and backward compat
''
substituteInPlace pyproject.toml setup.cfg \
--replace-fail "numpy>=2.0.0" "numpy"
'';
build-system = [
cython
oldest-supported-numpy
@@ -62,7 +55,7 @@ buildPythonPackage rec {
pytest-rerunfailures
writableTmpDirAsHomeHook
]
++ lib.concatAttrValues optional-dependencies;
++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
# QuTiP tries to access the home directory to create an rc file for us.
# We need to go to another directory to run the tests from there.
@@ -94,7 +87,7 @@ buildPythonPackage rec {
meta = {
description = "Open-source software for simulating the dynamics of closed and open quantum systems";
homepage = "https://qutip.org/";
changelog = "https://github.com/qutip/qutip/releases/tag/${src.tag}";
changelog = "https://github.com/qutip/qutip/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.bsd3;
maintainers = [ ];
badPlatforms = [
@@ -107,4 +100,4 @@ buildPythonPackage rec {
"aarch64-linux"
];
};
}
})