diff --git a/pkgs/development/python-modules/gpy/default.nix b/pkgs/development/python-modules/gpy/default.nix deleted file mode 100644 index b08291c3c878..000000000000 --- a/pkgs/development/python-modules/gpy/default.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ - lib, - stdenv, - buildPythonPackage, - fetchFromGitHub, - pythonOlder, - pytestCheckHook, - setuptools, - numpy, - scipy, - six, - paramz, - matplotlib, - cython, -}: - -buildPythonPackage rec { - pname = "gpy"; - version = "1.13.2"; - pyproject = true; - - disabled = pythonOlder "3.9"; - - src = fetchFromGitHub { - owner = "SheffieldML"; - repo = "GPy"; - tag = "v${version}"; - hash = "sha256-kggXePDKJcgw8qwLIBTxbwhiLw2H4dkx7082FguKP0Y="; - }; - - pythonRelaxDeps = [ - "paramz" - "scipy" - ]; - - nativeBuildInputs = [ setuptools ]; - buildInputs = [ cython ]; - propagatedBuildInputs = [ - numpy - scipy - six - paramz - matplotlib - ]; - nativeCheckInputs = [ pytestCheckHook ]; - - # Rebuild cython-generated .c files to ensure compatibility - preBuild = '' - for fn in $(find . -name '*.pyx'); do - echo $fn | sed 's/\.\.pyx$/\.c/' | xargs ${cython}/bin/cython -3 - done - ''; - - disabledTests = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # Rounding difference break comparison - "TestGradientMultiOutputGPModel" - ]; - - pythonImportsCheck = [ "GPy" ]; - - meta = with lib; { - description = "Gaussian process framework in Python"; - homepage = "https://sheffieldml.github.io/GPy"; - changelog = "https://github.com/SheffieldML/GPy/releases/tag/v${version}"; - license = licenses.bsd3; - maintainers = with maintainers; [ bcdarwin ]; - }; -} diff --git a/pkgs/development/python-modules/paramz/default.nix b/pkgs/development/python-modules/paramz/default.nix deleted file mode 100644 index 7f2bd1a38fad..000000000000 --- a/pkgs/development/python-modules/paramz/default.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ - lib, - buildPythonPackage, - decorator, - fetchFromGitHub, - numpy, - pytestCheckHook, - pythonOlder, - scipy, - setuptools, - six, -}: - -buildPythonPackage rec { - pname = "paramz"; - version = "0.9.6"; - pyproject = true; - - disabled = pythonOlder "3.7"; - - src = fetchFromGitHub { - owner = "sods"; - repo = "paramz"; - tag = "v${version}"; - hash = "sha256-SWmx70G5mm3eUmH2UIEmg5C7u9VDHiFw5aYCIr8UjPs="; - }; - - build-system = [ setuptools ]; - - dependencies = [ - decorator - numpy - scipy - six - ]; - - nativeCheckInputs = [ pytestCheckHook ]; - - preCheck = '' - substituteInPlace paramz/tests/parameterized_tests.py \ - --replace-fail "assertRaisesRegexp" "assertRaisesRegex" - ''; - - enabledTestPaths = [ - "paramz/tests/array_core_tests.py" - "paramz/tests/cacher_tests.py" - "paramz/tests/examples_tests.py" - "paramz/tests/index_operations_tests.py" - "paramz/tests/init_tests.py" - "paramz/tests/lists_and_dicts_tests.py" - "paramz/tests/model_tests.py" - "paramz/tests/observable_tests.py" - "paramz/tests/parameterized_tests.py" - "paramz/tests/pickle_tests.py" - "paramz/tests/verbose_optimize_tests.py" - ]; - - disabledTests = [ - # TypeError: arrays to stack must be passed as a "sequence" type such as list... - "test_raveled_index" - "test_regular_expression_misc" - ]; - - pythonImportsCheck = [ "paramz" ]; - - meta = with lib; { - description = "Parameterization framework for parameterized model creation and handling"; - homepage = "https://github.com/sods/paramz"; - changelog = "https://github.com/sods/paramz/releases/tag/v${version}"; - license = licenses.bsd3; - maintainers = with maintainers; [ bcdarwin ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 7a6432e7b08e..fcf56ad7af20 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -186,6 +186,7 @@ mapAliases { googleapis_common_protos = throw "'googleapis_common_protos' has been renamed to/replaced by 'googleapis-common-protos'"; # Converted to throw 2025-10-29 gpapi = throw "'gpapi' has been superseded by google-api-python-client"; # Added 2025-11-09 gplaycli = throw "'gplaycli' has been removed as it was broken and lacked maintenance"; # Added 2025-11-09 + gpy = throw "'gpy' has been removed as it is based on 'paramz', which was removed"; # added 2025-11-10 gradient_statsd = throw "'gradient_statsd' has been renamed to/replaced by 'gradient-statsd'"; # Converted to throw 2025-10-29 grappelli_safe = throw "'grappelli_safe' has been renamed to/replaced by 'grappelli-safe'"; # Converted to throw 2025-10-29 groestlcoin_hash = throw "'groestlcoin_hash' has been renamed to/replaced by 'groestlcoin-hash'"; # Converted to throw 2025-10-29 @@ -287,6 +288,7 @@ mapAliases { orm = throw "orm has been removed as it is unmaintained"; # added 2025-08-27 paho-mqtt_2 = throw "'paho-mqtt_2' has been renamed to/replaced by 'paho-mqtt'"; # Converted to throw 2025-10-29 pam = throw "'pam' has been renamed to/replaced by 'python-pam'"; # Converted to throw 2025-10-29 + paramz = throw "'paramz' has been removed as it is incompatible with Numpy 2"; # added 2025-11-10 PasteDeploy = throw "'PasteDeploy' has been renamed to/replaced by 'pastedeploy'"; # Converted to throw 2025-10-29 pathpy = throw "'pathpy' has been renamed to/replaced by 'path'"; # Converted to throw 2025-10-29 pcbnew-transition = throw "'pcbnew-transition' has been renamed to/replaced by 'pcbnewtransition'"; # Converted to throw 2025-10-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index eb82560f6b42..ad746cdf7611 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6328,8 +6328,6 @@ self: super: with self; { gpxpy = callPackage ../development/python-modules/gpxpy { }; - gpy = callPackage ../development/python-modules/gpy { }; - gpytorch = callPackage ../development/python-modules/gpytorch { }; gql = callPackage ../development/python-modules/gql { }; @@ -11584,8 +11582,6 @@ self: super: with self; { paramiko = callPackage ../development/python-modules/paramiko { }; - paramz = callPackage ../development/python-modules/paramz { }; - paranoid-crypto = callPackage ../development/python-modules/paranoid-crypto { }; parfive = callPackage ../development/python-modules/parfive { };