Skip to content

Commit

Permalink
Python: many package updates
Browse files Browse the repository at this point in the history
Did not test all packages. Likely we'll have some breakage.
  • Loading branch information
FRidh committed May 27, 2017
1 parent 4cbd5e4 commit 6b999f3
Show file tree
Hide file tree
Showing 63 changed files with 129 additions and 137 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/aenum/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

buildPythonPackage rec {
pname = "aenum";
version = "2.0.6";
version = "2.0.7";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "0rlhb5wzlyyz0l44r2jxn3m0nh51ifih97dk2y7zfs1m299gwcv6";
sha256 = "2c5db863b5531cc059313018e57bc765b0ef1fc96ba799f105ea45d99b1c2d23";
};

doCheck = !isPy3k;
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.3.1";
version = "1.4.0";
pname = "asgi_ipc";
name = "${pname}-${version}";

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

propagatedBuildInputs = [ asgiref msgpack posix_ipc ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/asgi_redis/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
asgiref, asgi_ipc, msgpack, six, redis, cryptography
}:
buildPythonPackage rec {
version = "1.3.0";
version = "1.4.0";
pname = "asgi_redis";
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/a/asgi_redis/${name}.tar.gz";
sha256 = "0zhv51w0fx3i8m0032nk9v00l6mxaswyi95yzy7p7fjww4q74ncl";
sha256 = "ec137829a9ebfb0de1c034bc699240c9747b97a3eb2dc4df6c812f82290a0f9f";
};

# Requires a redis server available
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/asgiref/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ stdenv, buildPythonPackage, fetchurl, six }:
buildPythonPackage rec {
version = "1.1.1";
version = "1.1.2";
pname = "asgiref";
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/a/asgiref/${name}.tar.gz";
sha256 = "0gayxnysknwg8hxb5kvmi2mmd5dnrhgza23daf8j25w3nj2drars";
sha256 = "8b46c3d6e2ad354d9da3cfb9873f9bd46fe1b768fbc11065275ba5430a46700c";
};

propagatedBuildInputs = [ six ];
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.1.0";
version = "1.2.1";
in buildPythonPackage rec {
name = "${pname}-${version}";

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

buildInputs = [ pytestrunner ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/automat/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{ stdenv, buildPythonPackage, fetchurl,
m2r, setuptools_scm, six, attrs }:
buildPythonPackage rec {
version = "0.5.0";
version = "0.6.0";
pname = "Automat";
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/A/Automat/${name}.tar.gz";
sha256 = "1hnpknkqnc2m900kkzrzx9l6g5dy5dassrdj9pn34x1pcdkyr2a8";
sha256 = "3c1fd04ecf08ac87b4dd3feae409542e9bf7827257097b2b6ed5692f69d6f6a8";
};

buildInputs = [ m2r setuptools_scm ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/bcrypt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
with stdenv.lib;

buildPythonPackage rec {
version = "3.1.2";
version = "3.1.3";
pname = "bcrypt";
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/b/bcrypt/${name}.tar.gz";
sha256 = "1al54xafv1aharpb22yv5rjjc63fm60z3pn2shbiq48ah9f1fvil";
sha256 = "6645c8d0ad845308de3eb9be98b6fd22a46ec5412bfc664a423e411cdd8f5488";
};
buildInputs = [ pycparser mock pytest py ];
propagatedBuildInputs = [ six ] ++ optional (!isPyPy) cffi;
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.2.0";
version = "4.6.0";
pname = "breathe";
name = "${pname}-${version}";

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

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

buildPythonPackage rec {
pname = "BTrees";
version = "4.3.1";
version = "4.4.1";
name = "${pname}-${version}";

propagatedBuildInputs = [ persistent zope_interface transaction ];

src = fetchPypi {
inherit pname version;
sha256 = "15as34f9sa4nnd62nnjkik2jd4rg1byp0i4kwaqwdpv0ab9vfr95";
sha256 = "a2738b71693971c1f7502888d649bef270c65f026db731e03d53f1ec4edfe8a3";
};

meta = with stdenv.lib; {
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.1.23";
version = "2017.4.17";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "1klrzl3hgvcf2mjk00g0k3kk1p2z27vzwnxivwar4vhjmjvpz1w1";
sha256 = "f7527ebf7461582ce95f7a9e03dd141ce810d40590834f4ec20cddd54234c10a";
};

meta = {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/dbfread/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "dbfread";
version = "2.0.5";
version = "2.0.7";

src = fetchPypi {
inherit pname version;
sha256 = "0r5axq9ax0czyapm7b69krcv22r1nyb4vci7c5x8mx8pq1axim93";
sha256 = "07c8a9af06ffad3f6f03e8fe91ad7d2733e31a26d2b72c4dd4cfbae07ee3b73d";
};

meta = with stdenv.lib; {
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.4";
version = "0.16.8";
in buildPythonPackage rec {
name = "${pname}-${version}";

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

propagatedBuildInputs = [ asyncio aiohttp websockets pynacl ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/distro/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "distro";
version = "1.0.3";
version = "1.0.4";

buildInputs = [ pytest pytestcov tox];

Expand All @@ -14,7 +14,7 @@ buildPythonPackage rec {

src = fetchPypi {
inherit pname version;
sha256 = "1kmjdz1kxspsmps73m2kzhxz86jj43ikx825hmgmwbx793ywv69d";
sha256 = "9b000b0d637bb0cbd130a7a4835681e6993e309a85564dfea9d884825fe46954";
};

meta = with stdenv.lib; {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/django-raster/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
pyparsing, django, celery
}:
buildPythonPackage rec {
version = "0.3.1";
version = "0.4";
pname = "django-raster";
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/d/django-raster/${name}.tar.gz";
sha256 = "1hsrkvybak1adn9d9qdw7hx3rcxsbzas4ixwll6vrjkrizgfihk3";
sha256 = "7fd6afa42b07ac51a3873e3d4840325dd3a8a631fdb5b853c76fbbfe59a2b17f";
};

# Tests require a postgresql + postgis server
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ stdenv, buildPythonPackage, fetchurl, django }:
buildPythonPackage rec {
version = "3.5.4";
version = "3.6.3";
pname = "djangorestframework";
name = "${pname}-${version}";

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

# 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.0.2";
version = "2.3.0";
pname = "docker";
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/d/docker/${name}.tar.gz";
sha256 = "1m16n2r8is1gxwmyr6163na2jdyzsnhhk2qj12l7rzm1sr9nhx7z";
sha256 = "b0e3f353a3df3eedfbbcaf48235117263479b893edfa0cf6d8d056cca5edde1c";
};

propagatedBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/docker_compose.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
, enum34, functools32
}:
buildPythonApplication rec {
version = "1.10.0";
version = "1.13.0";
pname = "docker-compose";
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/d/docker-compose/${name}.tar.gz";
sha256 = "023y2yhkvglaq07d78i89g2p8h040d71il8nfbyg2f9fkffigx9z";
sha256 = "3c7b62cd0ab5f33d21db197d8a74739d320a6fe32e4ef8282c35d4dee5a7c77c";
};

# lots of networking and other fails
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/dogpile.cache/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

buildPythonPackage rec {
pname = "dogpile.cache";
version = "0.6.2";
version = "0.6.3";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "73793471af07af6dc5b3ee015abfaca4220caaa34c615537f5ab007ed150726d";
sha256 = "e9747f5e31f8dea1b80d6204358885f943f69e53574d88005438ca3651c44553";
};

# Disable concurrency tests that often fail,
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.14.1";
version = "0.17.3";
pname = "dulwich";
name = "${pname}-${version}";

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

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

buildPythonPackage rec {
pname = "edward";
version = "1.2.2";
version = "1.3.1";
name = "${pname}-${version}";

disabled = !(isPy27 || pythonAtLeast "3.4");

src = fetchPypi {
inherit pname version;
sha256 = "0h9i15l7mczwx8jvabjbvxjjidr13x81h6vylb1p8r308w01r2as";
sha256 = "5f868604c4d13ccc054906fae6c0115edf295a81897cc9dc97026bb083d275ae";
};

# disabled for now due to Tensorflow trying to create files in $HOME:
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/gunicorn.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

buildPythonPackage rec {
pname = "gunicorn";
version = "19.3.0";
version = "19.7.1";
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/g/gunicorn/${name}.tar.gz";
sha256 = "12d0jd9y9fyssc28mn8j6nzrck8y05hc946p5h0rmbc25043bj4b";
sha256 = "eee1169f0ca667be05db3351a0960765620dad53f53434262ff8901b68a1b622";
};

buildInputs = [ pytest mock pytestcov coverage ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/h5py/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ let
mpiSupport = hdf5.mpiSupport;

in buildPythonPackage rec {
version = "2.6.0";
version = "2.7.0";
pname = "h5py";
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/h/h5py/${name}.tar.gz";
sha256 = "0df46dg7i7xfking9lp221bfm8dbl974yvlrbi1w7r6m61ac7bxj";
sha256 = "79254312df2e6154c4928f5e3b22f7a2847b6e5ffb05ddc33e37b16e76d36310";
};

configure_flags = "--hdf5=${hdf5}" + optionalString mpiSupport " --mpi";
Expand Down
10 changes: 5 additions & 5 deletions pkgs/development/python-modules/hypothesis.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,26 @@ buildPythonPackage rec {
# pytz fake_factory django numpy pytest
# If you need these, you can just add them to your environment.

version = "3.7.0";
version = "3.11.0";
pname = "hypothesis";
name = "${pname}-${version}";

# Upstream prefers github tarballs
src = fetchFromGitHub {
owner = "HypothesisWorks";
repo = "hypothesis";
repo = "hypothesis-python";
rev = "${version}";
sha256 = "1zsv1ggf3g9rrigxl3zd1z8qc6fcj8lmszm8ib1ya4ar6r64x0yz";
sha256 = "1s911pd3y9hvk0hq2fr6i68dqv1ciagryhgp13wgyfqh8hz8j6zv";
};

buildInputs = stdenv.lib.optionals doCheck [ pytest flake8 flaky ];
checkInputs = stdenv.lib.optionals doCheck [ pytest flake8 flaky ];
propagatedBuildInputs = stdenv.lib.optionals (pythonOlder "3.4") [ enum34 ];

inherit doCheck;

# https://github.com/DRMacIver/hypothesis/issues/300
checkPhase = ''
${python.interpreter} -m pytest tests/cover
py.test tests/cover
'';

# Unsupport by upstream on certain versions
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/incremental/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "incremental";
version = "16.10.1";
version = "17.5.0";

src = fetchurl {
url = "mirror://pypi/i/${pname}/${name}.tar.gz";
sha256 = "0hh382gsj5lfl3fsabblk2djngl4n5yy90xakinasyn41rr6pb8l";
sha256 = "7b751696aaf36eebfab537e458929e194460051ccad279c72b755a167eebd4b3";
};

meta = with stdenv.lib; {
Expand Down

0 comments on commit 6b999f3

Please sign in to comment.