From e9852acde4b4e1be3840a357ebc95535d41993d6 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Mon, 23 Mar 2026 08:51:21 +0100 Subject: [PATCH 1/3] python3Packages.mpmath: 1.3.0 -> 1.4.1 --- .../python-modules/mpmath/default.nix | 29 +++++++++++++------ 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/mpmath/default.nix b/pkgs/development/python-modules/mpmath/default.nix index a78d24afe9d2..01c2299b1d8c 100644 --- a/pkgs/development/python-modules/mpmath/default.nix +++ b/pkgs/development/python-modules/mpmath/default.nix @@ -5,25 +5,31 @@ gmpy2, isPyPy, setuptools, + setuptools-scm, pytestCheckHook, - + pytest-xdist, + hypothesis, + pexpect, # Reverse dependency sage, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "mpmath"; - version = "1.3.0"; - format = "setuptools"; + version = "1.4.1"; + pyproject = true; src = fetchFromGitHub { owner = "mpmath"; repo = "mpmath"; - tag = version; - hash = "sha256-9BGcaC3TyolGeO65/H42T/WQY6z5vc1h+MA+8MGFChU="; + tag = finalAttrs.version; + hash = "sha256-ykfKrpDri+4n9Y26S7nFl6nF0CV6V0A11ijmt8/apvg="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ + setuptools + setuptools-scm + ]; optional-dependencies = { gmpy = lib.optionals (!isPyPy) [ gmpy2 ]; @@ -33,7 +39,12 @@ buildPythonPackage rec { inherit sage; }; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + pytest-xdist + hypothesis + pexpect + ]; meta = { homepage = "https://mpmath.org/"; @@ -42,4 +53,4 @@ buildPythonPackage rec { maintainers = [ ]; platforms = lib.platforms.unix; }; -} +}) From 21ab0d33fd53a2ef42504c3513a3c1afa93fe20f Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Mon, 23 Mar 2026 08:51:27 +0100 Subject: [PATCH 2/3] python3Packages.diofant: fix build --- pkgs/development/python-modules/diofant/default.nix | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pkgs/development/python-modules/diofant/default.nix b/pkgs/development/python-modules/diofant/default.nix index fe21de1b240a..41d176a7b929 100644 --- a/pkgs/development/python-modules/diofant/default.nix +++ b/pkgs/development/python-modules/diofant/default.nix @@ -3,14 +3,12 @@ buildPythonPackage, cython, fetchFromGitHub, - fetchpatch, gmpy2, hypothesis, mpmath, numpy, pexpect, pytest-cov-stub, - pytest-timeout, pytest-xdist, pytestCheckHook, scipy, @@ -29,14 +27,6 @@ buildPythonPackage rec { hash = "sha256-uQvAYSURDhuAKcX0WVMk4y2ZXiiq0lPZct/7A5n5t34="; }; - patches = [ - (fetchpatch { - name = "remove-pip-from-build-dependencies.patch"; - url = "https://github.com/diofant/diofant/commit/117e441808faa7c785ccb81bf211772d60ebdec3.patch"; - hash = "sha256-MYk1Ku4F3hAv7+jJQLWhXd8qyKRX+QYuBzPfYWT0VbU="; - }) - ]; - build-system = [ setuptools-scm ]; dependencies = [ mpmath ]; From 9d5e2be9c849e228b7f2053fac46e70bcf7e078b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D1=83=D1=85=D0=B0=D1=80=D0=B8=D0=BA?= <65870+suhr@users.noreply.github.com> Date: Mon, 23 Mar 2026 21:06:37 +0300 Subject: [PATCH 3/3] diofant: remove suhr from contributors Signed-off-by: Sigmanificient --- pkgs/development/python-modules/diofant/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/diofant/default.nix b/pkgs/development/python-modules/diofant/default.nix index 41d176a7b929..5a4e475d7645 100644 --- a/pkgs/development/python-modules/diofant/default.nix +++ b/pkgs/development/python-modules/diofant/default.nix @@ -72,6 +72,6 @@ buildPythonPackage rec { description = "Python CAS library"; homepage = "https://github.com/diofant/diofant"; license = lib.licenses.bsd3; - maintainers = with lib.maintainers; [ suhr ]; + maintainers = [ ]; }; }