Merge master into staging-next

This commit is contained in:
Frederik Rietdijk
2019-05-12 19:59:09 +02:00
118 changed files with 1983 additions and 1205 deletions

View File

@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "aiorpcx";
version = "0.10.5";
version = "0.17.0";
src = fetchPypi {
inherit version;
pname = "aiorpcX";
sha256 = "0c4kan020s09ap5qai7p1syxjz2wk6g9ydhxj6fc35s4103x7b91";
sha256 = "14np5r75rs0v45vsv20vbzmnv3qisvm9mdllj1j9s1633cvcik0k";
};
propagatedBuildInputs = [ attrs ];

View File

@@ -1,6 +1,6 @@
{ stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, async-timeout, pytest, pytest-asyncio }:
buildPythonPackage rec {
version = "2.3.2";
version = "3.1.2";
pname = "asgiref";
disabled = pythonOlder "3.5";
@@ -10,7 +10,7 @@ buildPythonPackage rec {
owner = "django";
repo = pname;
rev = version;
sha256 = "1ljymmcscyp3bz33kjbhf99k04fbama87vg4069gbgj6lnxjpzav";
sha256 = "1y32ys1q07nyri0b053mx24qvkw305iwvqvqgi2fdhx0va8d7qfy";
};
propagatedBuildInputs = [ async-timeout ];

View File

@@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, pythonOlder
, boto3
, enum34
, jsonschema
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "aws-sam-translator";
version = "1.10.0";
version = "1.11.0";
src = fetchPypi {
inherit pname version;
sha256 = "0axr4598b1h9kyb5mv104cpn5q667s0g1wkkbqzj66vrqsaa07qf";
sha256 = "db872c43bdfbbae9fc8c9201e6a7aeb9a661cda116a94708ab0577b46a38b962";
};
# Tests are not included in the PyPI package
@@ -22,10 +22,9 @@ buildPythonPackage rec {
propagatedBuildInputs = [
boto3
enum34
jsonschema
six
];
] ++ lib.optionals (pythonOlder "3.4") [ enum34 ];
meta = {
homepage = https://github.com/awslabs/serverless-application-model;

View File

@@ -21,11 +21,11 @@
buildPythonPackage rec {
pname = "cassandra-driver";
version = "3.17.0";
version = "3.17.1";
src = fetchPypi {
inherit pname version;
sha256 = "1z49z6f9rj9kp1v03s1hs1rg8cj49rh0yk0fc2qi57w7slgy2hkd";
sha256 = "1y6pnm7vzg9ip1nbly3i8mmwqmcy8g38ix74vdzvvaxwxil9bmvi";
};
buildInputs = [

View File

@@ -3,11 +3,11 @@
}:
buildPythonPackage rec {
pname = "channels";
version = "2.1.7";
version = "2.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "e13ba874d854ac493ece329dcd9947e82357c15437ac1a90ed1040d0e5b87aad";
sha256 = "af7cdba9efb3f55b939917d1b15defb5d40259936013e60660e5e9aff98db4c5";
};
# Files are missing in the distribution

View File

@@ -1,18 +1,18 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, rdkafka, requests, avro3k, avro, futures}:
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, rdkafka, requests, avro3k, avro, futures, enum34 }:
buildPythonPackage rec {
version = "0.11.6";
version = "1.0.0";
pname = "confluent-kafka";
src = fetchPypi {
inherit pname version;
sha256 = "1dvzlafgr4g0n7382s5bgbls3f9wrgr0yxd70yyxl59wddwzfii7";
sha256 = "a7427944af963410479c2aaae27cc9d28db39c9a93299f14dcf16df80092c63a";
};
buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ avro futures ]) ;
buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ enum34 avro futures ]) ;
# Tests fail for python3 under this pypi release
doCheck = if isPy3k then false else true;
# No tests in PyPi Tarball
doCheck = false;
meta = with stdenv.lib; {
description = "Confluent's Apache Kafka client for Python";

View File

@@ -1,10 +1,10 @@
{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub
{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, fetchpatch
, asgiref, autobahn, twisted, pytestrunner
, hypothesis, pytest, pytest-asyncio
}:
buildPythonPackage rec {
pname = "daphne";
version = "2.2.5";
version = "2.3.0";
disabled = !isPy3k;
@@ -12,9 +12,17 @@ buildPythonPackage rec {
owner = "django";
repo = pname;
rev = version;
sha256 = "0ixgq1rr3s60bmrwx8qwvlvs3lag1c2nrmg4iy7wcmb8i1ddylqr";
sha256 = "020afrvbnid13gkgjpqznl025zpynisa96kybmf8q7m3wp1iq1nl";
};
patches = [
# Fix compatibility with Hypothesis 4. See: https://github.com/django/daphne/pull/261
(fetchpatch {
url = "https://github.com/django/daphne/commit/2df5096c5b63a791c209e12198ad89c998869efd.patch";
sha256 = "0046krzcn02mihqmsjd80kk5h5flv44nqxpapa17g6dvq3jnb97n";
})
];
nativeBuildInputs = [ pytestrunner ];
propagatedBuildInputs = [ asgiref autobahn twisted ];

View File

@@ -1,14 +1,14 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
{ stdenv, buildPythonPackage, fetchPypi
, django_environ, mock, django, six
, pytest, pytestrunner, pytest-django
}:
buildPythonPackage rec {
pname = "django-guardian";
version = "1.5.0";
version = "1.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "9e144bbdfa67f523dc6f70768653a19c0aac29394f947a80dcb8eb7900840637";
sha256 = "0fixr2g5amdgqzh0rvfvd7hbxyfd5ra3y3s0fsmp8i1b68p97930";
};
checkInputs = [ pytest pytestrunner pytest-django django_environ mock ];
@@ -18,6 +18,5 @@ buildPythonPackage rec {
description = "Per object permissions for Django";
homepage = https://github.com/django-guardian/django-guardian;
license = [ licenses.mit licenses.bsd2 ];
broken = !isPy3k; # https://github.com/django-guardian/django-guardian/pull/605
};
}

View File

@@ -19,11 +19,11 @@
buildPythonPackage rec {
pname = "fs";
version = "2.4.4";
version = "2.4.5";
src = fetchPypi {
inherit pname version;
sha256 = "0krf632nz24v2da7g9xivq6l2w9za3vph4vix7mm1k3byzwjnawk";
sha256 = "1gv23ns9szdh1dgqzvc0r94qrv8fpjqj0xv99sniy2x3rxs2n0j2";
};
buildInputs = [ glibcLocales ];

View File

@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "gensim";
version = "3.7.2";
version = "3.7.3";
src = fetchPypi {
inherit pname version;
sha256 = "1la4y935sdah8ywa7krwy80hcl4n2k8cdx4ncy3dg3y2mdg3vq24";
sha256 = "0mp1hbj7ciwpair7z445zj1grfv8c75gby9lih01c3mvw4pff7v2";
};
propagatedBuildInputs = [ smart_open numpy six scipy ];

View File

@@ -4,14 +4,14 @@
buildPythonPackage rec {
pname = "geopandas";
version = "0.4.1";
version = "0.5.0";
name = pname + "-" + version;
src = fetchFromGitHub {
owner = "geopandas";
repo = "geopandas";
rev = "v${version}";
sha256 = "02v3lszxvhpsb0qrqk0kcnf9jss9gdj8az2r97aqx7ya8cwaccxa";
sha256 = "0gmqksjgxrng52jvjk0ylkpsg0qriygb10b7n80l28kdz6c0givj";
};
checkInputs = [ pytest Rtree ];

View File

@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "google-cloud-speech";
version = "0.36.3";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "3d77da6086c01375908c8b800808ff83748a34b98313f885bd86df95448304fc";
sha256 = "1d0ysapqrcwcyiil7nyh8vbj4i6hk9v23rrm4rdhgm0lwax7i0aj";
};
propagatedBuildInputs = [ google_api_core ];

View File

@@ -9,12 +9,12 @@
buildPythonPackage rec {
pname = "j2cli";
version = "0.3.7";
version = "0.3.8";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "a7b0bdb02a3afb6d2eff40228b2216306332ace4341372310dafd15f938e1afa";
sha256 = "1f1a5fzap4ji5l7x8bprrgcpy1071lpa9g5h8jz7iqzgqynkaygi";
};
buildInputs = [ nose ];

View File

@@ -15,12 +15,11 @@ buildPythonPackage rec {
sha256 = "1zynj09w361yvbxr4hir681dfnlq1hzniws9dzgmlkvd6jnhjgx3";
};
checkPhase = ''
${python.interpreter} -m unittest
# tests of Nearley support require js2py
preCheck = ''
rm -r tests/test_nearley
'';
doCheck = false; # Requires js2py
meta = {
description = "A modern parsing library for Python, implementing Earley & LALR(1) and an easy interface";
homepage = https://github.com/lark-parser/lark;

View File

@@ -3,13 +3,13 @@
}:
buildPythonPackage rec {
pname = "netCDF4";
version = "1.5.0.1";
version = "1.5.1.2";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
sha256 = "db24f7ca724e791574774b2a1e323ce0dfb544957fc6fbdb5d4c368f382b2de9";
sha256 = "161pqb7xc9nj0dlnp6ply8c6zv68y1frq619xqfrpmc9s1932jzk";
};
checkInputs = [ pytest ];

View File

@@ -1,7 +1,7 @@
{ buildPythonPackage, stdenv, lxml, click, fetchFromGitHub, pytest, isPy3k }:
buildPythonPackage rec {
version = "0.3.13";
version = "0.3.15";
pname = "pyaxmlparser";
# the PyPI tarball doesn't ship tests.
@@ -9,7 +9,7 @@ buildPythonPackage rec {
owner = "appknox";
repo = pname;
rev = "v${version}";
sha256 = "0jfjhxc6b57npsidknxmhj1x813scg47aaw90ybyr90fpdz5rlwk";
sha256 = "0p4x21rg8h7alrg2zk6rbgc3fj77fiyky4zzvziz2bp5jpx1pvzp";
};
disabled = !isPy3k;

View File

@@ -8,11 +8,11 @@
buildPythonApplication rec {
pname = "ropper";
version = "1.11.13";
version = "1.12.1";
src = fetchPypi {
inherit pname version;
sha256 = "245c6a1c8b294209bed039cd6a389f1e298d3fe6783d48ad9c6b2df3a41f51ee";
sha256 = "1aignpxz6rcbf6yxy1gjr708p56i6nqrbgblq24nanssz9rhkyzg";
};
# XXX tests rely on user-writeable /dev/shm to obtain process locks and return PermissionError otherwise
# workaround: sudo chmod 777 /dev/shm
@@ -25,7 +25,7 @@ buildPythonApplication rec {
propagatedBuildInputs = [ capstone filebytes ];
meta = with stdenv.lib; {
homepage = https://scoding.de/ropper/;
license = licenses.gpl2;
license = licenses.bsd3;
description = "Show information about files in different file formats";
maintainers = with maintainers; [ bennofs ];
};

View File

@@ -14,19 +14,13 @@
buildPythonPackage rec {
pname = "streamz";
version = "0.5.0";
version = "0.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "cfdd42aa62df299f550768de5002ec83112136a34b44441db9d633b2df802fb4";
sha256 = "80c9ded1d6e68d3b78339deb6e9baf93a633d84b4a8875221e337ac06890103f";
};
# Pytest 4.x fails to collect streamz-dataframe tests.
# Removing them in v0.5.0. TODO: re-enable in a future release
postPatch = ''
rm -rf streamz/dataframe/tests/*.py
'';
checkInputs = [ pytest networkx distributed confluent-kafka graphviz ];
propagatedBuildInputs = [
tornado
@@ -35,8 +29,9 @@ buildPythonPackage rec {
six
];
# Disable test_tcp_async because fails on sandbox build
checkPhase = ''
pytest
pytest --deselect=streamz/tests/test_sources.py::test_tcp_async
'';
meta = with lib; {

View File

@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "zstd";
version = "1.3.8.1";
version = "1.4.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "d89e884da59c35e480439f1663cb3cb4cf372e42ba0eb0bdf22b9625414702a3";
sha256 = "01prq9rwz1gh42idnj2162w79dzs8gf3ac8pn12lz347w280kjbk";
};
postPatch = ''