diff --git a/pkgs/development/python-modules/pathos/default.nix b/pkgs/development/python-modules/pathos/default.nix index fd6bd238d1e..144d5aad60c 100644 --- a/pkgs/development/python-modules/pathos/default.nix +++ b/pkgs/development/python-modules/pathos/default.nix @@ -1,30 +1,45 @@ { lib , buildPythonPackage -, fetchPypi +, fetchFromGitHub , dill , pox , ppft , multiprocess +, pythonOlder }: buildPythonPackage rec { pname = "pathos"; - version = "0.2.5"; + version = "0.2.8"; + format = "setuptools"; - src = fetchPypi { - inherit pname version; - sha256 = "21ae2cb1d5a76dcf57d5fe93ae8719c7339f467e246163650c08ccf35b87c846"; + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "uqfoundation"; + repo = pname; + rev = "${pname}-${version}"; + sha256 = "sha256-71hMaG+3FbWMtGqwcDOZ8uit0DsHEoc9H2GXfX7TeoM="; }; - propagatedBuildInputs = [ dill pox ppft multiprocess ]; + propagatedBuildInputs = [ + dill + pox + ppft + multiprocess + ]; # Require network doCheck = false; + pythonImportsCheck = [ + "pathos" + ]; + meta = with lib; { description = "Parallel graph management and execution in heterogeneous computing"; - homepage = "https://github.com/uqfoundation/pathos/"; + homepage = "https://pathos.readthedocs.io/"; license = licenses.bsd3; + maintainers = with maintainers; [ ]; }; - } diff --git a/pkgs/development/python-modules/pox/default.nix b/pkgs/development/python-modules/pox/default.nix index 24591824e07..3659c7e5497 100644 --- a/pkgs/development/python-modules/pox/default.nix +++ b/pkgs/development/python-modules/pox/default.nix @@ -1,21 +1,32 @@ { lib , buildPythonPackage , fetchPypi +, pythonOlder }: buildPythonPackage rec { pname = "pox"; - version = "0.2.7"; + version = "0.3.1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "06afe1a4a1dbf8b47f7ad5a3c1d8ada9104c64933a1da11338269a2bd8642778"; + sha256 = "sha256-y7DArNZQwP+2IJmdphHpOq5RBcRqCExM6vL3BO1wjB4="; }; + # Test sare failing the sandbox + doCheck = false; + + pythonImportsCheck = [ + "pox" + ]; + meta = with lib; { description = "Utilities for filesystem exploration and automated builds"; + homepage = "https://pox.readthedocs.io/"; license = licenses.bsd3; - homepage = "https://github.com/uqfoundation/pox/"; + maintainers = with maintainers; [ ]; }; - } diff --git a/pkgs/development/python-modules/ppft/default.nix b/pkgs/development/python-modules/ppft/default.nix index ba23948fdb8..15597188135 100644 --- a/pkgs/development/python-modules/ppft/default.nix +++ b/pkgs/development/python-modules/ppft/default.nix @@ -1,20 +1,27 @@ -{ lib, stdenv +{ lib +, stdenv , buildPythonPackage , fetchPypi , python +, pythonOlder , six }: buildPythonPackage rec { pname = "ppft"; - version = "1.6.6.1"; + version = "1.7.6.5"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "9e2173042edd5cc9c7bee0d7731873f17fcdce0e42e4b7ab68857d0de7b631fc"; + sha256 = "sha256-R+DauHpRbAuZks1bDJCDSOTH2WQwTRBrIn+tKK4DIZ4="; }; - propagatedBuildInputs = [ six ]; + propagatedBuildInputs = [ + six + ]; # darwin seems to hang doCheck = !stdenv.isDarwin; @@ -23,10 +30,14 @@ buildPythonPackage rec { ${python.interpreter} -m ppft.tests ''; + pythonImportsCheck = [ + "ppft" + ]; + meta = with lib; { - description = "Distributed and parallel python"; - homepage = "https://github.com/uqfoundation"; + description = "Distributed and parallel Python"; + homepage = "https://ppft.readthedocs.io/"; license = licenses.bsd3; + maintainers = with maintainers; [ ]; }; - }