Merge pull request #200024 from fabaff/docker-bump
python310Packages.docker: 6.0.0 -> 6.0.1
This commit is contained in:
commit
9ac3253434
6 changed files with 123 additions and 30 deletions
|
@ -1,33 +1,51 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, python3
|
, python3
|
||||||
|
, rsync
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "toil";
|
pname = "toil";
|
||||||
version = "5.6.0";
|
version = "5.7.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
src = python3.pkgs.fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "DataBiosphere";
|
||||||
sha256 = "sha256-m6tzrRCCLULO+wB8htUlt0KESLm/vdIeTzBrihnAo/I=";
|
repo = pname;
|
||||||
|
rev = "refs/tags/releases/${version}";
|
||||||
|
hash = "sha256-m+XvNyzd0ly2YqKhgxezgGaCXLs3CmupJMnp5RIZqNI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace requirements.txt \
|
||||||
|
--replace "docker>=3.7.2, <6" "docker"
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
addict
|
addict
|
||||||
|
dill
|
||||||
docker
|
docker
|
||||||
pytz
|
|
||||||
pyyaml
|
|
||||||
enlighten
|
enlighten
|
||||||
psutil
|
psutil
|
||||||
py-tes
|
py-tes
|
||||||
|
pypubsub
|
||||||
python-dateutil
|
python-dateutil
|
||||||
dill
|
pytz
|
||||||
|
pyyaml
|
||||||
|
requests
|
||||||
|
typing-extensions
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = with python3.pkgs; [
|
checkInputs = [
|
||||||
|
rsync
|
||||||
|
] ++ (with python3.pkgs; [
|
||||||
|
boto
|
||||||
|
botocore
|
||||||
|
flask
|
||||||
|
mypy-boto3-s3
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
stubserver
|
||||||
|
]);
|
||||||
|
|
||||||
pytestFlagsArray = [
|
pytestFlagsArray = [
|
||||||
"src/toil/test"
|
"src/toil/test"
|
||||||
|
@ -37,6 +55,34 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
"toil"
|
"toil"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTestPaths = [
|
||||||
|
# Tests are reaching their timeout
|
||||||
|
"src/toil/test/docs/scriptsTest.py"
|
||||||
|
"src/toil/test/jobStores/jobStoreTest.py"
|
||||||
|
"src/toil/test/provisioners/aws/awsProvisionerTest.py"
|
||||||
|
"src/toil/test/src"
|
||||||
|
"src/toil/test/wdl"
|
||||||
|
"src/toil/test/utils/utilsTest.py"
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# Tests fail starting with 5.7.1
|
||||||
|
"testServices"
|
||||||
|
"testConcurrencyWithDisk"
|
||||||
|
"testJobConcurrency"
|
||||||
|
"testNestedResourcesDoNotBlock"
|
||||||
|
"test_omp_threads"
|
||||||
|
"testFileSingle"
|
||||||
|
"testFileSingle10000"
|
||||||
|
"testFileSingleCheckpoints"
|
||||||
|
"testFileSingleNonCaching"
|
||||||
|
"testFetchJobStoreFiles"
|
||||||
|
"testFetchJobStoreFilesWSymlinks"
|
||||||
|
"testJobStoreContents"
|
||||||
|
"test_cwl_on_arm"
|
||||||
|
"test_cwl_toil_kill"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Workflow engine written in pure Python";
|
description = "Workflow engine written in pure Python";
|
||||||
homepage = "https://toil.ucsc-cgl.org/";
|
homepage = "https://toil.ucsc-cgl.org/";
|
||||||
|
|
|
@ -1,40 +1,45 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
|
||||||
, buildPythonPackage
|
|
||||||
, numpy
|
|
||||||
, tabulate
|
|
||||||
, six
|
|
||||||
, dm-tree
|
|
||||||
, absl-py
|
, absl-py
|
||||||
, wrapt
|
, buildPythonPackage
|
||||||
|
, dm-tree
|
||||||
, docutils
|
, docutils
|
||||||
|
, etils
|
||||||
|
, fetchFromGitHub
|
||||||
|
, numpy
|
||||||
|
, pythonOlder
|
||||||
|
, tabulate
|
||||||
, tensorflow
|
, tensorflow
|
||||||
, tensorflow-datasets }:
|
, tensorflow-datasets
|
||||||
|
, wrapt
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dm-sonnet";
|
pname = "dm-sonnet";
|
||||||
version = "2.0.0";
|
version = "2.0.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "deepmind";
|
owner = "deepmind";
|
||||||
repo = "sonnet";
|
repo = "sonnet";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-YSMeH5ZTfP1OdLBepsxXAVczBG/ghSjCWjoz/I+TFl8=";
|
hash = "sha256-YSMeH5ZTfP1OdLBepsxXAVczBG/ghSjCWjoz/I+TFl8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
propagatedBuildInputs = [
|
||||||
absl-py
|
|
||||||
dm-tree
|
dm-tree
|
||||||
|
etils
|
||||||
numpy
|
numpy
|
||||||
six
|
|
||||||
tabulate
|
tabulate
|
||||||
wrapt
|
wrapt
|
||||||
];
|
] ++ etils.optional-dependencies.epath;
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
passthru.optional-dependencies = {
|
||||||
tabulate
|
tensorflow = [
|
||||||
tensorflow
|
tensorflow
|
||||||
];
|
];
|
||||||
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
docutils
|
docutils
|
||||||
|
|
|
@ -14,13 +14,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "docker";
|
pname = "docker";
|
||||||
version = "6.0.0";
|
version = "6.0.1";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-GeMwRwr0AWfSk7A1JXjB+iLXSzTT7fXU/5DrwgO7svE=";
|
hash = "sha256-iWxCguXHr1xF6LaDsLDDOTKXT+blD8aQagqDYWqz2pc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -47,10 +48,16 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
# Deselect socket tests on Darwin because it hits the path length limit for a Unix domain socket
|
# Deselect socket tests on Darwin because it hits the path length limit for a Unix domain socket
|
||||||
disabledTests = lib.optionals stdenv.isDarwin [ "api_test" "stream_response" "socket_file" ];
|
disabledTests = lib.optionals stdenv.isDarwin [
|
||||||
|
"api_test" "stream_response" "socket_file"
|
||||||
|
];
|
||||||
|
|
||||||
dontUseSetuptoolsCheck = true;
|
dontUseSetuptoolsCheck = true;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"docker"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An API client for docker written in Python";
|
description = "An API client for docker written in Python";
|
||||||
homepage = "https://github.com/docker/docker-py";
|
homepage = "https://github.com/docker/docker-py";
|
||||||
|
|
32
pkgs/development/python-modules/stubserver/default.nix
Normal file
32
pkgs/development/python-modules/stubserver/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "stubserver";
|
||||||
|
version = "1.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-j9R7wpvb07FuN5EhIpE7xTSf26AniQZN4iLpxMjNYKA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Tests are not shipped and the source not tagged
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"stubserver"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Web and FTP server for use in unit and7or acceptance tests";
|
||||||
|
homepage = "https://github.com/tarttelin/Python-Stub-Server";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -31,7 +31,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace "attrs~=21.4" "attrs>=21.4"
|
--replace "attrs~=21.4" "attrs>=21.4" \
|
||||||
|
--replace "docker~=5.0.3" "docker"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Project has no tests
|
# Project has no tests
|
||||||
|
|
|
@ -10724,6 +10724,8 @@ self: super: with self; {
|
||||||
|
|
||||||
structlog = callPackage ../development/python-modules/structlog { };
|
structlog = callPackage ../development/python-modules/structlog { };
|
||||||
|
|
||||||
|
stubserver = callPackage ../development/python-modules/stubserver { };
|
||||||
|
|
||||||
stumpy = callPackage ../development/python-modules/stumpy { };
|
stumpy = callPackage ../development/python-modules/stumpy { };
|
||||||
|
|
||||||
stups-cli-support = callPackage ../development/python-modules/stups-cli-support { };
|
stups-cli-support = callPackage ../development/python-modules/stups-cli-support { };
|
||||||
|
|
Loading…
Reference in a new issue