Skip to content

Commit

Permalink
python.pkgs: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Oct 27, 2017
1 parent b601d87 commit 7ce8483
Show file tree
Hide file tree
Showing 133 changed files with 366 additions and 294 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/APScheduler/default.nix
Expand Up @@ -20,12 +20,12 @@

buildPythonPackage rec {
pname = "APScheduler";
version = "3.3.1";
version = "3.4.0";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "f68874dff1bdffcc6ce3adb7840c1e4d162c609a3e3f831351df30b75732767b";
sha256 = "b51118a8ed014104f7e440456dcbd90f2015aea7bcc34c57e307fb34bc746316";
};

buildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/Cython/default.nix
Expand Up @@ -14,11 +14,11 @@
buildPythonPackage rec {
pname = "Cython";
name = "${pname}-${version}";
version = "0.26.1";
version = "0.27.2";

src = fetchPypi {
inherit pname version;
sha256 = "c2e63c4794161135adafa8aa4a855d6068073f421c83ffacc39369497a189dd5";
sha256 = "265dacf64ed8c0819f4be9355c39beaa13dc2ad2f85237a2c4e478f5ce644b48";
};

# With Python 2.x on i686-linux or 32-bit ARM this test fails because the
Expand Down
18 changes: 15 additions & 3 deletions pkgs/development/python-modules/MechanicalSoup/default.nix
@@ -1,19 +1,31 @@
{ fetchPypi, buildPythonPackage, lib
, requests, beautifulsoup4, six }:
, requests, beautifulsoup4, six
, pytestrunner, requests-mock, pytestcov, pytest
}:


buildPythonPackage rec {
name = "${pname}-${version}";
pname = "MechanicalSoup";
version = "0.7.0";
version = "0.8.0";

src = fetchPypi {
inherit pname version;
sha256 = "0wh93rml446ipx603n5z5i5bpan46pzliq6sw76d0ms9w7w2658d";
sha256 = "38a6ca35428196be94f87f8f036ee4a88b1418d1f77e5634ad92acfaa22c28da";
};

checkInputs = [ pytest pytestrunner requests-mock pytestcov ];

propagatedBuildInputs = [ requests beautifulsoup4 six ];

# Requires network
doCheck = false;

postPatch = ''
# Is in setup_requires but not used in setup.py...
substituteInPlace setup.py --replace "'pytest-runner'," ""
'';

meta = with lib; {
description = "A Python library for automating interaction with websites";
homepage = https://github.com/hickford/MechanicalSoup;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/Nikola/default.nix
Expand Up @@ -30,7 +30,7 @@
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "Nikola";
version = "7.8.9";
version = "7.8.10";

# Nix contains only Python 3 supported version of doit, which is a dependency
# of Nikola. Python 2 support would require older doit 0.29.0 (which on the
Expand All @@ -47,7 +47,7 @@ buildPythonPackage rec {

src = fetchPypi {
inherit pname version;
sha256 = "c85bf293a245a34057fb55236fc2f2c5d28e9ef1c375889f443bca1d86924df4";
sha256 = "e242c3d0dd175d95a0baf5268b108081ba160b83ceafec8c9bc2ec0a24a56537";
};

meta = {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/aiofiles/default.nix
Expand Up @@ -9,12 +9,12 @@

buildPythonPackage rec {
pname = "aiofiles";
version = "0.3.1";
version = "0.3.2";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "6c4936cea65175277183553dbc27d08b286a24ae5bd86f44fbe485dfcf77a14a";
sha256 = "852a493a877b73e11823bfd4e8e5ef2610d70d12c9eaed961bcd9124d8de8c10";
};

disabled = pythonOlder "3.3";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/aiohttp/default.nix
Expand Up @@ -13,12 +13,12 @@

buildPythonPackage rec {
pname = "aiohttp";
version = "2.2.5";
version = "2.3.1";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "af5bfdd164256118a0a306b3f7046e63207d1f8cba73a67dcc0bd858dcfcd3bc";
sha256 = "04f58bbcc9ae6f9aec30b9219ae47fa3c31586c77679405720545738ea62236e";
};

disabled = pythonOlder "3.4";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/alembic/default.nix
Expand Up @@ -6,11 +6,11 @@
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "alembic";
version = "0.9.5";
version = "0.9.6";

src = fetchPypi {
inherit pname version;
sha256 = "8bdcb4babaa16b9a826f8084949cc2665cb328ecf7b89b3224b0ab85bd16fd05";
sha256 = "042851ebe9efa07be6dc1395b1793b6c1d8964a39b73a0ce1649e2bcd41ea732";
};

buildInputs = [ pytest pytestcov mock coverage ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/altair/default.nix
Expand Up @@ -3,12 +3,12 @@

buildPythonPackage rec {
pname = "altair";
version = "1.2.0";
version = "1.2.1";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "05c47dm20p7m0017p2h38il721rxag1q0457dj7whp0k8rc7qd1n";
sha256 = "c1303f77f1ba4d632f2958c83c0f457b2b969860b1ac9adfb872aefa1780baa7";
};

buildInputs = [ pytest ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/aniso8601/default.nix
Expand Up @@ -3,7 +3,7 @@

buildPythonPackage rec {
pname = "aniso8601";
version = "1.2.1";
version = "1.3.0";
name = "${pname}-${version}";

meta = with stdenv.lib; {
Expand All @@ -16,6 +16,6 @@ buildPythonPackage rec {

src = fetchPypi {
inherit pname version;
sha256 = "e7ba4f42d3aea75909c79b1f4c4614768b4f13fbb98fc658a7b6061ddb0be47c";
sha256 = "c3b5246f5601b6ae5671911bc4ee5b3e3fe94752e8afab5ce074d8b1232952f1";
};
}
6 changes: 3 additions & 3 deletions pkgs/development/python-modules/asana/default.nix
Expand Up @@ -4,7 +4,7 @@

buildPythonPackage rec {
pname = "asana";
version = "0.6.2";
version = "0.6.5";
name = "${pname}-${version}";

meta = {
Expand All @@ -15,10 +15,10 @@ buildPythonPackage rec {

src = fetchPypi {
inherit pname version;
sha256 = "0skai72392n3i1c4bl3hn2kh5lj990qsbasdwkbjdcy6vq57jggf";
sha256 = "eab8d24c2a4670b541b75da2f4bf5b995fe71559c1338da53ce9039f7b19c9a0";
};

buildInputs = [ pytest ];
checkInputs = [ pytest ];
propagatedBuildInputs = [ requests requests_oauthlib six ];

patchPhase = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/asn1crypto/default.nix
Expand Up @@ -5,12 +5,12 @@

buildPythonPackage rec {
pname = "asn1crypto";
version = "0.22.0";
version = "0.23.0";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "cbbadd640d3165ab24b06ef25d1dca09a3441611ac15f6a6b452474fdf0aed1a";
sha256 = "0874981329cfebb366d6584c3d16e913f2a0eb026c9463efcc4aaf42a9d94d70";
};

# No tests included
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/astropy/default.nix
Expand Up @@ -7,13 +7,13 @@
buildPythonPackage rec {

pname = "astropy";
version = "2.0.1";
version = "2.0.2";

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 = "25e0881a392a2e03b4a705cf9592f01894d23f64797323b21387efa8ea9ec03e";
sha256 = "4544a422b1173d79b2d65ba74c627f04a5fd8530d97fb604752d657d754e103d";
};

propagatedBuildInputs = [ pytest numpy ]; # yes it really has pytest in install_requires
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/async_timeout/default.nix
Expand Up @@ -7,13 +7,13 @@

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

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

buildInputs = [ pytestrunner ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/autobahn/default.nix
Expand Up @@ -6,11 +6,11 @@
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "autobahn";
version = "17.8.1";
version = "17.9.3";

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

# Upstream claim python2 support, but tests require pytest-asyncio which
Expand Down
35 changes: 35 additions & 0 deletions pkgs/development/python-modules/backports_tempfile/default.nix
@@ -0,0 +1,35 @@
{ lib
, python
, buildPythonPackage
, fetchPypi
, setuptools_scm
, backports_weakref
}:

buildPythonPackage rec {
pname = "backports.tempfile";
version = "1.0";
name = "${pname}-${version}";

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

buildInputs = [ setuptools_scm ];

propagatedBuildInputs = [ backports_weakref ];

checkPhase = ''
${python.interpreter} -m unittest discover -s tests
'';

# requires https://pypi.org/project/backports.test.support
doCheck = false;

meta = {
description = "Backport of new features in Python's tempfile module";
license = lib.licenses.psfl;
homepage = https://github.com/pjdelport/backports.tempfile;
};
}
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/backports_weakref/default.nix
Expand Up @@ -9,10 +9,10 @@
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "backports.weakref";
version = "1.0rc1";
version = "1.0.post1";
src = fetchPypi {
inherit pname version;
sha256 = "14i8m3lspykdfpzf50grij3z286j9q8f32f2bnwdicv659qvy4w8";
sha256 = "bc4170a29915f8b22c9e7c4939701859650f2eb84184aee80da329ac0b9825c2";
};

buildInputs = [ setuptools_scm ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/bayespy/default.nix
Expand Up @@ -4,7 +4,7 @@

buildPythonPackage rec {
pname = "bayespy";
version = "0.5.10";
version = "0.5.12";
name = "${pname}-${version}";

# Python 2 not supported and not some old Python 3 because MPL doesn't support
Expand All @@ -13,7 +13,7 @@ buildPythonPackage rec {

src = fetchPypi {
inherit pname version;
sha256 = "01cwd88ri29zy6qpvnqzljkgc44n7a17yijizr73blcnh4dz5n1w";
sha256 = "9609a3e85f88434a47c8263f40567cd24363d0e10d236354630b670fca313c00";
};

checkInputs = [ pytest glibcLocales ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/bcrypt.nix
Expand Up @@ -4,13 +4,13 @@
with stdenv.lib;

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

src = fetchurl {
url = "mirror://pypi/b/bcrypt/${name}.tar.gz";
sha256 = "6645c8d0ad845308de3eb9be98b6fd22a46ec5412bfc664a423e411cdd8f5488";
sha256 = "67ed1a374c9155ec0840214ce804616de49c3df9c5bc66740687c1c9b1cd9e8d";
};
buildInputs = [ pycparser mock pytest py ];
propagatedBuildInputs = [ six ] ++ optional (!isPyPy) cffi;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/bokeh/default.nix
Expand Up @@ -34,11 +34,11 @@
buildPythonPackage rec {
pname = "bokeh";
name = "${pname}${version}";
version = "0.12.9";
version = "0.12.10";

src = fetchPypi {
inherit pname version;
sha256 = "00jx3yycy6fziihz45hwj1dsh520h3vmypp28mw0877rxpxl2yxg";
sha256 = "6465fae82e94223f16584645b38d34a73d95712870f29c0244649c2cbf2c8393";
};

disabled = isPyPy;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/breathe/default.nix
@@ -1,13 +1,13 @@
{ lib, fetchurl, buildPythonPackage, docutils, six, sphinx, isPy3k }:

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

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

propagatedBuildInputs = [ docutils six sphinx ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/buildout-nix/default.nix
Expand Up @@ -2,12 +2,12 @@

buildPythonPackage rec {
pname = "zc.buildout";
version = "2.9.4";
version = "2.9.5";
name = "${pname}-nix-${version}";

src = fetchurl {
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${pname}-${version}.tar.gz";
sha256 = "df56cc55735e984510986c633090ad0d64f59d7e42d1aac57ecf04ab183d1053";
sha256 = "dce840ea379e2ff10bae27465778708704e0a4287cde92eb6c7961f5b0277cfa";
};

patches = [ ./nix.patch ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/cement/default.nix
Expand Up @@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "cement";
name = "${pname}-${version}";
version = "2.8.2";
version = "2.10.2";

src = fetchPypi {
inherit pname version;
sha256 = "1li2whjzfhbpg6fjb6r1r92fb3967p1xv6hqs3j787865h2ysrc7";
sha256 = "d50c5980bf3e2456e515178ba097d16e36be0fbcab7811a60589d22f45b64f55";
};

# Disable test tests since they depend on a memcached server running on
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/cffi/default.nix
Expand Up @@ -2,12 +2,12 @@

if isPyPy then null else buildPythonPackage rec {
pname = "cffi";
version = "1.10.0";
version = "1.11.2";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "1mffyilq4qycm8gs4wkgb18rnqil8a9blqq77chdlshzxc8jkc5k";
sha256 = "ab87dd91c0c4073758d07334c1e5f712ce8fe48f007b86f8238773963ee700a6";
};

outputs = [ "out" "dev" ];
Expand Down

1 comment on commit 7ce8483

@FRidh
Copy link
Member Author

@FRidh FRidh commented on 7ce8483 Oct 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops. This had to go to staging.

Please sign in to comment.