Skip to content

Commit

Permalink
python.pkgs: many updates
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Aug 25, 2017
1 parent fb43574 commit d58e1f1
Show file tree
Hide file tree
Showing 83 changed files with 186 additions and 175 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/Cython/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
buildPythonPackage rec {
pname = "Cython";
name = "${pname}-${version}";
version = "0.25.2";
version = "0.26";

src = fetchPypi {
inherit pname version;
sha256 = "01h3lrf6d98j07iakifi81qjszh6faa37ibx7ylva1vsqbwx2hgi";
sha256 = "4c24e2c22ddaed624d35229dc5db25049e9e225c6f64f3364326836cad8f2c66";
};

# With Python 2.x on i686-linux or 32-bit ARM this test fails because the
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/aafigure/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

buildPythonPackage rec {
pname = "aafigure";
version = "0.5";
version = "0.6";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "090c88beb091d28a233f854e239713aa15d8d1906ea16211855345c912e8a091";
sha256 = "49f2c1fd2b579c1fffbac1386a2670b3f6f475cc7ff6cc04d8b984888c2d9e1e";
};

propagatedBuildInputs = [ pillow ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/adal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

buildPythonPackage rec {
pname = "adal";
version = "0.1.0";
version = "0.4.6";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "1f32k18ck54adqlgvh6fjhy4yavcyrwy813prjyqppqqq4bn1a09";
sha256 = "7c5bbf4d8a17d535e6e857b28a41cedddc2767fc57424c15d484fa779bb97325";
};

propagatedBuildInputs = [ requests pyjwt ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/aiodns/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

buildPythonPackage rec {
pname = "aiodns";
version = "1.0.1";
version = "1.1.1";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "595b78b8d54115d937cf60d778c02dad76b6f789fd527dab308f99e5601e7f3d";
sha256 = "d8677adc679ce8d0ef706c14d9c3d2f27a0e0cc11d59730cdbaf218ad52dd9ea";
};

propagatedBuildInputs = with stdenv.lib; [ pycares ]
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/alembic/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "alembic";
version = "0.9.3";
version = "0.9.5";

src = fetchPypi {
inherit pname version;
sha256 = "57f2ede554c0b18f1cf811cfbb3b02c586a5422df94922e3821883ba0b8c616c";
sha256 = "8bdcb4babaa16b9a826f8084949cc2665cb328ecf7b89b3224b0ab85bd16fd05";
};

buildInputs = [ pytest pytestcov mock coverage ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/argcomplete/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "argcomplete";
version = "1.8.2";
version = "1.9.2";

src = fetchPypi {
inherit pname version;
sha256 = "0sslhl1klvh92c8hjsz3y3mmnpcqspcgi49g5cik2rpbfkhcsb3s";
sha256 = "d6ea272a93bb0387f758def836e73c36fff0c54170258c212de3e84f7db8d5ed";
};

doCheck = false; # bash-completion test fails with "compgen: command not found".
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/asgi_ipc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
asgiref, msgpack, posix_ipc
}:
buildPythonPackage rec {
version = "1.4.0";
version = "1.4.1";
pname = "asgi_ipc";
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/a/asgi_ipc/${name}.tar.gz";
sha256 = "1bae453d771eb92c0ec558b826fc0bce75a2a61bf21187784d4e4dc11710e588";
sha256 = "87cc9dda476d28f335261b73f0f3070f28847718de2e64da9a80492638203e43";
};

propagatedBuildInputs = [ asgiref msgpack posix_ipc ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/astropy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
buildPythonPackage rec {

pname = "astropy";
version = "1.3.3";
version = "2.0.1";

name = "${pname}-${version}";
doCheck = false; #Some tests are failing. More importantly setup.py hangs on completion. Needs fixing with a proper shellhook.
src = fetchPypi {
inherit pname version;
sha256 = "ed093e033fcbee5a3ec122420c3376f8a80f74663214560727d3defe82170a99";
sha256 = "25e0881a392a2e03b4a705cf9592f01894d23f64797323b21387efa8ea9ec03e";
};
propagatedBuildInputs = [ numpy cython h5py scipy ];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/async_timeout/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

let
pname = "async-timeout";
version = "1.2.1";
version = "1.3.0";
in buildPythonPackage rec {
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
sha256 = "380e9bfd4c009a14931ffe487499b0906b00b3378bb743542cfd9fbb6d8e4657";
sha256 = "f4651f122a9877049930ce31a8422bc202a47937627295fe5e411b2c2083481f";
};

buildInputs = [ pytestrunner ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/audioread/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "audioread";
name = "${pname}-${version}";
version = "2.1.1";
version = "2.1.5";

src = fetchPypi {
inherit pname version;
sha256 = "ffb601de7a9e40850d4ec3256a3a6bbe8fa40466dafb5c65f41b08e4bb963f1e";
sha256 = "36c3b118f097c58ba073b7d040c4319eff200756f094295677567e256282d0d7";
};

# No tests, need to disable or py3k breaks
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/autobahn/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "autobahn";
version = "17.5.1";
version = "17.8.1";

src = fetchurl {
url = "mirror://pypi/a/${pname}/${name}.tar.gz";
sha256 = "0p2xx20g0rj6pnp4h3231mn8zk4ag8msv69f93gai2hzl5vglcia";
sha256 = "72b1b1e30bd41d52e7454ef6fe78fe80ebf2341a747616e2cd854a76203a0ec4";
};

# Upstream claim python2 support, but tests require pytest-asyncio which
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/bottleneck/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
buildPythonPackage rec {
pname = "Bottleneck";
name = "Bottleneck-${version}";
version = "1.2.0";
version = "1.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "3bec84564a4adbe97c24e875749b949a19cfba4e4588be495cc441db7c6b05e8";
sha256 = "6efcde5f830aed64feafca0359b51db0e184c72af8ba6675b4a99f263922eb36";
};

checkInputs = [ nose ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/breathe/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{ lib, fetchurl, buildPythonPackage, docutils, six, sphinx, isPy3k }:

buildPythonPackage rec {
version = "4.6.0";
version = "4.7.2";
pname = "breathe";
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/b/breathe/${name}.tar.gz";
sha256 = "9db2ba770f824da323b9ea3db0b98d613a4e0af094c82ccb0a82991da81b736a";
sha256 = "dd15efc66d65180e4c994edd15fcb642812ad04ac9c36738b28bf248d7c0be32";
};

propagatedBuildInputs = [ docutils six sphinx ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/certifi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

buildPythonPackage rec {
pname = "certifi";
version = "2017.4.17";
version = "2017.7.27.1";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "f7527ebf7461582ce95f7a9e03dd141ce810d40590834f4ec20cddd54234c10a";
sha256 = "40523d2efb60523e113b44602298f0960e900388cf3bb6043f645cf57ea9e3f5";
};

meta = {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/chai/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

buildPythonPackage rec {
pname = "chai";
version = "1.1.1";
version = "1.1.2";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "016kf3irrclpkpvcm7q0gmkfibq7jgy30a9v73pp42bq9h9a32bl";
sha256 = "ff8d2b6855f660cd23cd5ec79bd10264d39f24f6235773331b48e7fcd637d6cc";
};

meta = with stdenv.lib; {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/confluent-kafka/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

buildPythonPackage rec {
name = "${pname}-${version}";
version = "0.9.4";
version = "0.11.0";
pname = "confluent-kafka";

src = fetchPypi {
inherit pname version;
sha256 = "1v8apw9f8l01ql42jg1sfqv41yxvcbxn1a3ar01y0ni428swq6wk";
sha256 = "4c34bfe8f823ee3777d93820ec6578365d2bde3cd1302cbd0e44c86b68643667";
};

buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ avro ]) ;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/coveralls/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
buildPythonPackage rec {
pname = "coveralls";
name = "${pname}-python-${version}";
version = "1.1";
version = "1.2.0";

# wanted by tests
src = fetchPypi {
inherit pname version;
sha256 = "0238hgdwbvriqxrj22zwh0rbxnhh9c6hh75i39ll631vq62h65il";
sha256 = "510682001517bcca1def9f6252df6ce730fcb9831c62d9fff7c7d55b6fdabdf3";
};

buildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/discordpy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@

let
pname = "discord.py";
version = "0.16.8";
version = "0.16.10";
in buildPythonPackage rec {
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
sha256 = "d775b701383e3a5762accf3816b819f357f299476701615ac30c7715a5ea79aa";
sha256 = "cb0b9ad5f5edf2d5afd5f5ce07381a0a089eb036004938126a5582fc8fa0cc88";
};

propagatedBuildInputs = [ asyncio aiohttp websockets pynacl ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

buildPythonPackage rec {
pname = "django-polymorphic";
version = "1.2";
version = "1.3";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "1bz86711sx2b66rl2xz141xppsfmlxilkgjgq0jsavpw37vg7r3r";
sha256 = "8737b465ebf5fad772b4c52272189c352f5904f468d298584a3469187e3207ad";
};

checkInputs = [ django ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/django_compressor/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
rcssmin, rjsmin, django_appconf }:
buildPythonPackage rec {
pname = "django_compressor";
version = "2.1.1";
version = "2.2";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "1s42dkq3qp1niaf69markd7m3ljgf2bspyz2nk0sa07f8q04004j";
sha256 = "9616570e5b08e92fa9eadc7a1b1b49639cce07ef392fc27c74230ab08075b30f";
};

# Need to setup django testing
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ stdenv, buildPythonPackage, fetchurl, django }:
buildPythonPackage rec {
version = "3.6.3";
version = "3.6.4";
pname = "djangorestframework";
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/d/djangorestframework/${name}.tar.gz";
sha256 = "6aa6aafdfb7f6152a401873ecae93aff9eb54d7a74266065347cf4de68278ae4";
sha256 = "de8ac68b3cf6dd41b98e01dcc92dc0022a5958f096eafc181a17fa975d18ca42";
};

# Test settings are missing
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/docker.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
, ipaddress, backports_ssl_match_hostname, docker_pycreds
}:
buildPythonPackage rec {
version = "2.4.2";
version = "2.5.1";
pname = "docker";
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/d/docker/${name}.tar.gz";
sha256 = "11kl6kl82056bzcycvc2jpz59ra89vwbyzi0yaamixgcm9nzlvr1";
sha256 = "b876e6909d8d2360e0540364c3a952a62847137f4674f2439320ede16d6db880";
};

propagatedBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/dulwich.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
, git, glibcLocales }:

buildPythonPackage rec {
version = "0.17.3";
version = "0.18.2";
pname = "dulwich";
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/d/dulwich/${name}.tar.gz";
sha256 = "0c3eccac93823e172b05d57aaeab3d6f03c6c0f1867613606d1909a3ab4100ca";
sha256 = "284d0000b21ac12f94bcd5eb3d7dcc42da51e5506b9a53a11c615b46da906d9b";
};

LC_ALL = "en_US.UTF-8";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/emcee/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

buildPythonPackage rec {
pname = "emcee";
version = "2.1.0";
version = "2.2.1";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "0qyafp9jfya0mkxgqfvljf0rkic5fm8nimzwadyrxyvq7nd07qaw";
sha256 = "b83551e342b37311897906b3b8acf32979f4c5542e0a25786ada862d26241172";
};

propagatedBuildInputs = [ numpy ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/flake8/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "flake8";
version = "3.3.0";
version = "3.4.1";

src = fetchPypi {
inherit pname version;
sha256 = "04izn1q1lgbr408l9b3vkxqmpi6mq47bxwc0iwypb02mrxns41xr";
sha256 = "c20044779ff848f67f89c56a0e4624c04298cd476e25253ac0c36f910a1a11d8";
};

buildInputs = [ pytest mock pytestrunner ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/flask-migrate/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ with stdenv.lib;

buildPythonPackage rec {
pname = "Flask-Migrate";
version = "2.0.4";
version = "2.1.0";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "1e6dc83bed93aef9a4791d5daaa03b186c8ef5d96c99c7d88166da683c86e42d";
sha256 = "716d5b68eec53821f80b3fbcb0fd60baed0cb0e320abb30289e83217668cef7f";
};

checkInputs = optional isPy3k glibcLocales;
Expand Down

0 comments on commit d58e1f1

Please sign in to comment.