Merge pull request #173764 from fabaff/pathos-bump

main
Sandro 2 years ago committed by GitHub
commit 0d69284baf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 31
      pkgs/development/python-modules/pathos/default.nix
  2. 19
      pkgs/development/python-modules/pox/default.nix
  3. 25
      pkgs/development/python-modules/ppft/default.nix

@ -1,30 +1,45 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchFromGitHub
, dill , dill
, pox , pox
, ppft , ppft
, multiprocess , multiprocess
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pathos"; pname = "pathos";
version = "0.2.5"; version = "0.2.8";
format = "setuptools";
src = fetchPypi { disabled = pythonOlder "3.7";
inherit pname version;
sha256 = "21ae2cb1d5a76dcf57d5fe93ae8719c7339f467e246163650c08ccf35b87c846"; 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 # Require network
doCheck = false; doCheck = false;
pythonImportsCheck = [
"pathos"
];
meta = with lib; { meta = with lib; {
description = "Parallel graph management and execution in heterogeneous computing"; description = "Parallel graph management and execution in heterogeneous computing";
homepage = "https://github.com/uqfoundation/pathos/"; homepage = "https://pathos.readthedocs.io/";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ ];
}; };
} }

@ -1,21 +1,32 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pox"; pname = "pox";
version = "0.2.7"; version = "0.3.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "06afe1a4a1dbf8b47f7ad5a3c1d8ada9104c64933a1da11338269a2bd8642778"; sha256 = "sha256-y7DArNZQwP+2IJmdphHpOq5RBcRqCExM6vL3BO1wjB4=";
}; };
# Test sare failing the sandbox
doCheck = false;
pythonImportsCheck = [
"pox"
];
meta = with lib; { meta = with lib; {
description = "Utilities for filesystem exploration and automated builds"; description = "Utilities for filesystem exploration and automated builds";
homepage = "https://pox.readthedocs.io/";
license = licenses.bsd3; license = licenses.bsd3;
homepage = "https://github.com/uqfoundation/pox/"; maintainers = with maintainers; [ ];
}; };
} }

@ -1,20 +1,27 @@
{ lib, stdenv { lib
, stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, python , python
, pythonOlder
, six , six
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "ppft"; pname = "ppft";
version = "1.6.6.1"; version = "1.7.6.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "9e2173042edd5cc9c7bee0d7731873f17fcdce0e42e4b7ab68857d0de7b631fc"; sha256 = "sha256-R+DauHpRbAuZks1bDJCDSOTH2WQwTRBrIn+tKK4DIZ4=";
}; };
propagatedBuildInputs = [ six ]; propagatedBuildInputs = [
six
];
# darwin seems to hang # darwin seems to hang
doCheck = !stdenv.isDarwin; doCheck = !stdenv.isDarwin;
@ -23,10 +30,14 @@ buildPythonPackage rec {
${python.interpreter} -m ppft.tests ${python.interpreter} -m ppft.tests
''; '';
pythonImportsCheck = [
"ppft"
];
meta = with lib; { meta = with lib; {
description = "Distributed and parallel python"; description = "Distributed and parallel Python";
homepage = "https://github.com/uqfoundation"; homepage = "https://ppft.readthedocs.io/";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ ];
}; };
} }

Loading…
Cancel
Save