aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/distributed
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-09-13 15:10:40 -0400
committerChris Ostrouchov <chris.ostrouchov@gmail.com>2018-09-13 15:10:40 -0400
commite5cd420e7384fa936e9786a02201ab400b4dcca3 (patch)
treebd3e309f3e8f09bcb57aacfe2b5972e26a890a66 /pkgs/development/python-modules/distributed
parentee21f64f6a6c555418905288a5ee2c072531d4f9 (diff)
pythonPackages.distributed: refactor move to fetchPypi
There is a bug when using git repo in that the package does not get a version (shows up as `0+unknown`). Using pypi fixes this issue allows allows for auto upgrades.
Diffstat (limited to 'pkgs/development/python-modules/distributed')
-rw-r--r--pkgs/development/python-modules/distributed/default.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/distributed/default.nix b/pkgs/development/python-modules/distributed/default.nix
index 987b64439a53..694bc2ce4f94 100644
--- a/pkgs/development/python-modules/distributed/default.nix
+++ b/pkgs/development/python-modules/distributed/default.nix
@@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
-, fetchFromGitHub
+, fetchPypi
, pytest
, pytest-repeat
, pytest-faulthandler
@@ -26,14 +26,12 @@
buildPythonPackage rec {
pname = "distributed";
- version = "1.22.1";
+ version = "1.23.1";
# get full repository need conftest.py to run tests
- src = fetchFromGitHub {
- owner = "dask";
- repo = pname;
- rev = version;
- sha256 = "0xvx55rhbhlyys3kjndihwq6y6260qzy9mr3miclh5qddaiw2d5z";
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "9d4693442efe40e05e4304fe6d8174989c6eb4bad1afe70480c98263ef8e1cdb";
};
checkInputs = [ pytest pytest-repeat pytest-faulthandler pytest-timeout mock joblib ];