Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #33204 from NixOS/python-unstable

Python: upgrade package set

authored by Frederik Rietdijk and committed by GitHub a09a320e 1fcd92ce

+1240 -879
+16 -8
pkgs/applications/misc/haxor-news/default.nix
··· 1 - { stdenv, fetchurl, pythonPackages }: 1 + { stdenv, fetchurl, python }: 2 2 3 - pythonPackages.buildPythonApplication rec { 4 - version = "0.4.2"; 5 - name = "haxor-news-${version}"; 3 + with python.pkgs; 6 4 7 - src = fetchurl { 8 - url = "https://github.com/donnemartin/haxor-news/archive/${version}.tar.gz"; 9 - sha256 = "0543k5ys044f2a1q8k36djnnq2h2dffnwbkva9snjjy30nlwwdgs"; 5 + buildPythonApplication rec { 6 + pname = "haxor-news"; 7 + version = "0.4.3"; 8 + 9 + src = fetchPypi { 10 + inherit pname version; 11 + sha256 = "5b9af8338a0f8b95a8133b66ef106553823813ac171c0aefa3f3f2dbeb4d7f88"; 10 12 }; 11 13 12 - propagatedBuildInputs = with pythonPackages; [ 14 + propagatedBuildInputs = [ 13 15 click 14 16 colorama 15 17 requests ··· 17 19 prompt_toolkit 18 20 six 19 21 ]; 22 + 23 + checkInputs = [ mock ]; 24 + 25 + checkPhase = '' 26 + ${python.interpreter} -m unittest discover -s tests -v 27 + ''; 20 28 21 29 meta = with stdenv.lib; { 22 30 homepage = https://github.com/donnemartin/haxor-news;
+18 -9
pkgs/applications/office/watson/default.nix
··· 1 - { stdenv, pythonPackages }: 1 + { stdenv, pythonPackages, fetchpatch }: 2 + 3 + with pythonPackages; 2 4 3 - pythonPackages.buildPythonApplication rec { 5 + buildPythonApplication rec { 4 6 pname = "td-watson"; 5 - name = "${pname}-${version}"; 6 - version = "1.4.0"; 7 + version = "1.5.2"; 7 8 8 - src = pythonPackages.fetchPypi { 9 + src = fetchPypi { 9 10 inherit version pname; 10 - sha256 = "1py0g4990jmvq0dn7jasda7f10kzr41bix46hnbyc1rshjzc17hq"; 11 + sha256 = "6e03d44a9278807fe5245e9ed0943f13ffb88e11249a02655c84cb86260b27c8"; 11 12 }; 12 13 13 14 # uses tox, test invocation fails ··· 15 16 checkPhase = '' 16 17 py.test -vs tests 17 18 ''; 18 - checkInputs = with pythonPackages; [ py pytest pytest-datafiles mock pytest-mock pytestrunner ]; 19 - propagatedBuildInputs = with pythonPackages; [ requests click arrow ]; 19 + 20 + patches = [ 21 + (fetchpatch { 22 + url = https://github.com/TailorDev/Watson/commit/f5760c71cbc22de4e12ede8f6f7257515a9064d3.patch; 23 + sha256 = "0s9h26915ilpbd0qhmvk77r3gmrsdrl5l7dqxj0l5q66fp0z6b0g"; 24 + }) 25 + ]; 26 + 27 + checkInputs = [ py pytest pytest-datafiles mock pytest-mock pytestrunner ]; 28 + propagatedBuildInputs = [ requests click arrow ]; 20 29 21 30 meta = with stdenv.lib; { 22 31 homepage = https://tailordev.github.io/Watson/; ··· 24 33 license = licenses.mit; 25 34 maintainers = with maintainers; [ mguentner ] ; 26 35 }; 27 - } 36 + }
+2 -2
pkgs/development/python-modules/APScheduler/default.nix
··· 20 20 21 21 buildPythonPackage rec { 22 22 pname = "APScheduler"; 23 - version = "3.4.0"; 23 + version = "3.5.0"; 24 24 name = "${pname}-${version}"; 25 25 26 26 src = fetchPypi { 27 27 inherit pname version; 28 - sha256 = "b51118a8ed014104f7e440456dcbd90f2015aea7bcc34c57e307fb34bc746316"; 28 + sha256 = "1ce44d5132b7951f4614067c88ca34cfee1ff97f6f0892581d79b636d83eab89"; 29 29 }; 30 30 31 31 buildInputs = [
+32
pkgs/development/python-modules/Mako/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , markupsafe 5 + , nose 6 + , mock 7 + , pytest 8 + , isPyPy 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "Mako"; 13 + version = "1.0.7"; 14 + 15 + src = fetchPypi { 16 + inherit pname version; 17 + sha256 = "4e02fde57bd4abb5ec400181e4c314f56ac3e49ba4fb8b0d50bba18cb27d25ae"; 18 + }; 19 + 20 + checkInputs = [ markupsafe nose mock pytest ]; 21 + propagatedBuildInputs = [ markupsafe ]; 22 + 23 + doCheck = !isPyPy; # https://bitbucket.org/zzzeek/mako/issue/238/2-tests-failed-on-pypy-24-25 24 + 25 + meta = { 26 + description = "Super-fast templating language"; 27 + homepage = http://www.makotemplates.org; 28 + license = lib.licenses.mit; 29 + platforms = lib.platforms.unix; 30 + maintainers = with lib.maintainers; [ domenkozar ]; 31 + }; 32 + }
+5 -5
pkgs/development/python-modules/MechanicalSoup/default.nix
··· 1 1 { fetchPypi, buildPythonPackage, lib 2 - , requests, beautifulsoup4, six 2 + , requests, beautifulsoup4, six, lxml 3 3 , pytestrunner, requests-mock, pytestcov, pytest 4 4 }: 5 5 ··· 7 7 buildPythonPackage rec { 8 8 name = "${pname}-${version}"; 9 9 pname = "MechanicalSoup"; 10 - version = "0.8.0"; 10 + version = "0.9.0.post4"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "38a6ca35428196be94f87f8f036ee4a88b1418d1f77e5634ad92acfaa22c28da"; 14 + sha256 = "ce8f822afbc9bef1499be417e8d5deecd0cd32606420165700e89477955f03ab"; 15 15 }; 16 16 17 17 checkInputs = [ pytest pytestrunner requests-mock pytestcov ]; 18 18 19 - propagatedBuildInputs = [ requests beautifulsoup4 six ]; 19 + propagatedBuildInputs = [ lxml requests beautifulsoup4 six ]; 20 20 21 21 # Requires network 22 22 doCheck = false; 23 23 24 24 postPatch = '' 25 25 # Is in setup_requires but not used in setup.py... 26 - substituteInPlace setup.py --replace "'pytest-runner'," "" 26 + substituteInPlace setup.py --replace "'pytest-runner'" "" 27 27 ''; 28 28 29 29 meta = with lib; {
+2 -2
pkgs/development/python-modules/Nikola/default.nix
··· 30 30 buildPythonPackage rec { 31 31 name = "${pname}-${version}"; 32 32 pname = "Nikola"; 33 - version = "7.8.10"; 33 + version = "7.8.11"; 34 34 35 35 # Nix contains only Python 3 supported version of doit, which is a dependency 36 36 # of Nikola. Python 2 support would require older doit 0.29.0 (which on the ··· 47 47 48 48 src = fetchPypi { 49 49 inherit pname version; 50 - sha256 = "e242c3d0dd175d95a0baf5268b108081ba160b83ceafec8c9bc2ec0a24a56537"; 50 + sha256 = "10d95b3af84e61496ef729665eafa2235fd0fd4cc6c57644dd0f2c19a968dd0f"; 51 51 }; 52 52 53 53 meta = {
+2 -2
pkgs/development/python-modules/Theano/default.nix
··· 35 35 in buildPythonPackage rec { 36 36 name = "${pname}-${version}"; 37 37 pname = "Theano"; 38 - version = "0.9.0"; 38 + version = "1.0.1"; 39 39 40 40 disabled = isPyPy || pythonOlder "2.6" || (isPy3k && pythonOlder "3.3"); 41 41 42 42 src = fetchPypi { 43 43 inherit pname version; 44 - sha256 = "05xwg00da8smkvkh6ywbywqzj8dw7x840jr74wqhdy9icmqncpbl"; 44 + sha256 = "88d8aba1fe2b6b75eacf455d01bc7e31e838c5a0fb8c13dde2d9472495ff4662"; 45 45 }; 46 46 47 47 postPatch = ''
+2 -2
pkgs/development/python-modules/absl-py/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "absl-py"; 9 - version = "0.1.5"; 9 + version = "0.1.7"; 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "94943ed0cd77077fe2d18e79b2f28d3e92f585f7d1c6edc75e640121f3c5d580"; 14 + sha256 = "4ea22ae860f3a556511291e7f1284942199c81377f47ec4248163defb1b9e6ee"; 15 15 }; 16 16 17 17 propagatedBuildInputs = [ six ];
+2 -2
pkgs/development/python-modules/aenum/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "aenum"; 5 - version = "2.0.8"; 5 + version = "2.0.9"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "3209fa41b8c41345442e8d9b5158a57d3e96d84c3d5ebbe8e521e1e2eff1598d"; 10 + sha256 = "d98bc55136d696fcf323760c3db0de489da9e41fd51283fa6f90205deb85bf6a"; 11 11 }; 12 12 13 13 doCheck = !isPy3k;
+2 -2
pkgs/development/python-modules/aiohttp/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "aiohttp"; 16 - version = "2.3.3"; 16 + version = "2.3.7"; 17 17 name = "${pname}-${version}"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "0a2e33e90560dacb819b095b9d9611597925d75d1b93dd9490055d3826d98a82"; 21 + sha256 = "fe294df38e9c67374263d783a7a29c79372030f5962bd5734fa51c6f4bbfee3b"; 22 22 }; 23 23 24 24 disabled = pythonOlder "3.4";
+5 -6
pkgs/development/python-modules/arrow/default.nix
··· 1 1 { stdenv, buildPythonPackage, fetchPypi 2 - , nose, chai, simplejson 2 + , nose, chai, simplejson, backports_functools_lru_cache 3 3 , dateutil }: 4 4 5 5 buildPythonPackage rec { 6 - name = "${pname}-${version}"; 7 6 pname = "arrow"; 8 - version = "0.10.0"; 7 + version = "0.12.0"; 9 8 10 9 src = fetchPypi { 11 10 inherit pname version; 12 - sha256 = "08n7q2l69hlainds1byd4lxhwrq7zsw7s640zkqc3bs5jkq0cnc0"; 11 + sha256 = "a15ecfddf334316e3ac8695e48c15d1be0d6038603b33043930dcf0e675c86ee"; 13 12 }; 14 13 15 14 checkPhase = '' 16 15 nosetests --cover-package=arrow 17 16 ''; 18 17 19 - buildInputs = [ nose chai simplejson ]; 20 - propagatedBuildInputs = [ dateutil ]; 18 + checkInputs = [ nose chai simplejson ]; 19 + propagatedBuildInputs = [ dateutil backports_functools_lru_cache ]; 21 20 22 21 meta = with stdenv.lib; { 23 22 description = "Python library for date manipulation";
+2 -2
pkgs/development/python-modules/asgiref/default.nix
··· 1 1 { stdenv, buildPythonPackage, fetchurl, six }: 2 2 buildPythonPackage rec { 3 - version = "1.1.2"; 3 + version = "2.0.1"; 4 4 pname = "asgiref"; 5 5 name = "${pname}-${version}"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://pypi/a/asgiref/${name}.tar.gz"; 9 - sha256 = "8b46c3d6e2ad354d9da3cfb9873f9bd46fe1b768fbc11065275ba5430a46700c"; 9 + sha256 = "c3d70c473a2b7e525e18e68504630943e107f5b32f440c00c8543f94f565c855"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ six ];
+2 -2
pkgs/development/python-modules/asn1crypto/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "asn1crypto"; 8 - version = "0.23.0"; 8 + version = "0.24.0"; 9 9 name = "${pname}-${version}"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "0874981329cfebb366d6584c3d16e913f2a0eb026c9463efcc4aaf42a9d94d70"; 13 + sha256 = "9d5c20441baf0cb60a4ac34cc447c6c189024b6b4c6cd7877034f4965c464e49"; 14 14 }; 15 15 16 16 # No tests included
+2 -2
pkgs/development/python-modules/astor/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "astor"; 5 - version = "0.5"; 5 + version = "0.6.2"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "1fdafq5hkis1fxqlmhw0sn44zp2ar46nxhbc22cvwg7hsd8z5gsa"; 10 + sha256 = "ff6d2e2962d834acb125cc4dcc80c54a8c17c253f4cc9d9c43b5102a560bb75d"; 11 11 }; 12 12 13 13 meta = with stdenv.lib; {
+2 -2
pkgs/development/python-modules/astroid/default.nix
··· 6 6 buildPythonPackage rec { 7 7 name = "${pname}-${version}"; 8 8 pname = "astroid"; 9 - version = "1.5.3"; 9 + version = "1.6.0"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "492c2a2044adbf6a84a671b7522e9295ad2f6a7c781b899014308db25312dd35"; 13 + sha256 = "71dadba2110008e2c03f9fde662ddd2053db3c0489d0e03c94e828a0399edd4f"; 14 14 }; 15 15 16 16 propagatedBuildInputs = [ logilab_common six lazy-object-proxy wrapt ]
+2 -2
pkgs/development/python-modules/astropy/default.nix
··· 7 7 buildPythonPackage rec { 8 8 9 9 pname = "astropy"; 10 - version = "2.0.2"; 10 + version = "2.0.3"; 11 11 12 12 name = "${pname}-${version}"; 13 13 doCheck = false; #Some tests are failing. More importantly setup.py hangs on completion. Needs fixing with a proper shellhook. 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "4544a422b1173d79b2d65ba74c627f04a5fd8530d97fb604752d657d754e103d"; 16 + sha256 = "fdfc0248f6250798ed6d1327be609cb901db89ae01fc768cfbc9e263bdf56f4f"; 17 17 }; 18 18 19 19 propagatedBuildInputs = [ pytest numpy ]; # yes it really has pytest in install_requires
+6 -4
pkgs/development/python-modules/attrs/default.nix
··· 2 2 , pympler, coverage, six, clang }: 3 3 4 4 buildPythonPackage rec { 5 - name = "${pname}-${version}"; 6 5 pname = "attrs"; 7 - version = "17.2.0"; 6 + version = "17.4.0"; 8 7 9 8 src = fetchPypi { 10 9 inherit pname version; 11 - sha256 = "04gx08ikpk26wnq22f7l42gapcvk8iz1512r927k6sadz6cinkax"; 10 + sha256 = "1c7960ccfd6a005cd9f7ba884e6316b5e430a3f1a6c37c5f87d8b43f83b54ec9"; 12 11 }; 13 12 14 13 # macOS needs clang for testing 15 - buildInputs = [ 14 + checkInputs = [ 16 15 pytest hypothesis zope_interface pympler coverage six 17 16 ] ++ lib.optionals (stdenv.isDarwin) [ clang ]; 18 17 19 18 checkPhase = '' 20 19 py.test 21 20 ''; 21 + 22 + # To prevent infinite recursion with pytest 23 + doCheck = false; 22 24 23 25 meta = with lib; { 24 26 description = "Python attributes without boilerplate";
+29
pkgs/development/python-modules/aws-xray-sdk/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , jsonpickle 5 + , wrapt 6 + , requests 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "aws-xray-sdk"; 11 + version = "0.95"; 12 + 13 + src = fetchPypi { 14 + inherit pname version; 15 + sha256 = "9e7ba8dd08fd2939376c21423376206bff01d0deaea7d7721c6b35921fed1943"; 16 + }; 17 + 18 + propagatedBuildInputs = [ 19 + jsonpickle wrapt requests 20 + ]; 21 + 22 + meta = { 23 + description = "AWS X-Ray SDK for the Python programming language"; 24 + license = lib.licenses.asl20; 25 + homepage = https://github.com/aws/aws-xray-sdk-python; 26 + }; 27 + 28 + doCheck = false; 29 + }
+25
pkgs/development/python-modules/backports_abc/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , python 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "backports_abc"; 9 + version = "0.5"; 10 + 11 + src = fetchPypi { 12 + inherit pname version; 13 + sha256 = "033be54514a03e255df75c5aee8f9e672f663f93abb723444caec8fe43437bde"; 14 + }; 15 + 16 + checkPhase = '' 17 + ${python.interpreter} -m unittest discover 18 + ''; 19 + 20 + meta = { 21 + homepage = https://github.com/cython/backports_abc; 22 + license = lib.licenses.psfl; 23 + description = "A backport of recent additions to the 'collections.abc' module"; 24 + }; 25 + }
+24
pkgs/development/python-modules/backports_functools_lru_cache/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , setuptools_scm 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "backports.functools_lru_cache"; 9 + version = "1.4"; 10 + 11 + src = fetchPypi { 12 + inherit pname version; 13 + sha256 = "31f235852f88edc1558d428d890663c49eb4514ffec9f3650e7f3c9e4a12e36f"; 14 + }; 15 + 16 + buildInputs = [ setuptools_scm ]; 17 + doCheck = false; # No proper test 18 + 19 + meta = { 20 + description = "Backport of functools.lru_cache"; 21 + homepage = https://github.com/jaraco/backports.functools_lru_cache; 22 + license = lib.licenses.mit; 23 + }; 24 + }
+32
pkgs/development/python-modules/backports_lzma/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , isPy3k 5 + , lzma 6 + , python 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "backports.lzma"; 11 + version = "0.0.8"; 12 + 13 + disabled = isPy3k; 14 + 15 + src = fetchPypi { 16 + inherit pname version; 17 + sha256 = "200584ad5079d8ca6b1bfe14890c7be58666ab0128d8ca26cfb2669b476085f3"; 18 + }; 19 + 20 + buildInputs = [ lzma ]; 21 + 22 + # Needs the compiled module in $out 23 + checkPhase = '' 24 + PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH ${python.interpreter} -m unittest discover -s test 25 + ''; 26 + 27 + meta = { 28 + description = "Backport of Python 3.3's 'lzma' module for XZ/LZMA compressed files"; 29 + homepage = https://github.com/peterjc/backports.lzma; 30 + license = lib.licenses.bsd3; 31 + }; 32 + }
+32
pkgs/development/python-modules/biopython/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , numpy 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "biopython"; 9 + version = "1.70"; 10 + 11 + src = fetchPypi { 12 + inherit pname version; 13 + sha256 = "4a7c5298f03d1a45523f32bae1fffcff323ea9dce007fb1241af092f5ab2e45b"; 14 + }; 15 + 16 + propagatedBuildInputs = [ numpy ]; 17 + # Checks try to write to $HOME, which does not work with nix 18 + doCheck = false; 19 + meta = { 20 + description = "Python library for bioinformatics"; 21 + longDescription = '' 22 + Biopython is a set of freely available tools for biological computation 23 + written in Python by an international team of developers. It is a 24 + distributed collaborative effort to develop Python libraries and 25 + applications which address the needs of current and future work in 26 + bioinformatics. 27 + ''; 28 + homepage = http://biopython.org/wiki/Documentation; 29 + maintainers = with lib.maintainers; [ luispedro ]; 30 + license = lib.licenses.bsd3; 31 + }; 32 + }
+2 -2
pkgs/development/python-modules/bokeh/default.nix
··· 34 34 buildPythonPackage rec { 35 35 pname = "bokeh"; 36 36 name = "${pname}${version}"; 37 - version = "0.12.10"; 37 + version = "0.12.13"; 38 38 39 39 src = fetchPypi { 40 40 inherit pname version; 41 - sha256 = "6465fae82e94223f16584645b38d34a73d95712870f29c0244649c2cbf2c8393"; 41 + sha256 = "6e28cbfd88de0c459435278b75f9982591ec0aaa3d37a195052645e1c62e89e3"; 42 42 }; 43 43 44 44 disabled = isPyPy;
+2 -2
pkgs/development/python-modules/bootstrapped-pip/default.nix
··· 9 9 }; 10 10 setuptools_source = fetchPypi { 11 11 pname = "setuptools"; 12 - version = "38.2.3"; 12 + version = "38.2.5"; 13 13 format = "wheel"; 14 - sha256 = "0c4j3jiiwc0h1bdv4xklinp90spgvgiv5fsxp119hif9934nfxfs"; 14 + sha256 = "bcf0d4f3e2f7890e658db11e218b8643afffb905a0e2f2a7d5a6a3e949bb87e6"; 15 15 }; 16 16 17 17 # TODO: Shouldn't be necessary anymore for pip > 9.0.1!
+50
pkgs/development/python-modules/boto3/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , botocore 5 + , jmespath 6 + , s3transfer 7 + , futures 8 + , docutils 9 + , nose 10 + , mock 11 + , isPy3k 12 + }: 13 + 14 + buildPythonPackage rec { 15 + pname = "boto3"; 16 + version = "1.4.8"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "boto"; 20 + repo = "boto3"; 21 + rev = version; 22 + sha256 = "11ysd7a9l5y98q7b7az56phsj2m7w90abf4jabwrknp2c43sq9bi"; 23 + }; 24 + 25 + propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ]; 26 + checkInputs = [ docutils nose mock ]; 27 + 28 + checkPhase = '' 29 + runHook preCheck 30 + # This method is not in mock. It might have appeared in some versions. 31 + sed -i 's/action.assert_called_once()/self.assertEqual(action.call_count, 1)/' \ 32 + tests/unit/resources/test_factory.py 33 + nosetests -d tests/unit --verbose 34 + runHook postCheck 35 + ''; 36 + 37 + # Network access 38 + doCheck = false; 39 + 40 + meta = { 41 + homepage = https://github.com/boto/boto3; 42 + license = lib.licenses.asl20; 43 + description = "AWS SDK for Python"; 44 + longDescription = '' 45 + Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for 46 + Python, which allows Python developers to write software that makes use of 47 + services like Amazon S3 and Amazon EC2. 48 + ''; 49 + }; 50 + }
+2 -2
pkgs/development/python-modules/botocore/default.nix
··· 12 12 buildPythonPackage rec { 13 13 name = "${pname}-${version}"; 14 14 pname = "botocore"; 15 - version = "1.8.10"; 15 + version = "1.8.21"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "16dznd0mxxs8imsl228vx5s9bz9v7ggajs496jy21n5a19cadkch"; 19 + sha256 = "e4513a02f68e7efd7494ee56db201d87620218ca879aae361abbb71bcde3aa5f"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+25
pkgs/development/python-modules/cached-property/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , freezegun 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "cached-property"; 9 + version = "1.3.1"; 10 + 11 + src = fetchPypi { 12 + inherit pname version; 13 + sha256 = "6562f0be134957547421dda11640e8cadfa7c23238fc4e0821ab69efdb1095f3"; 14 + }; 15 + 16 + checkInputs = [ freezegun ]; 17 + 18 + meta = { 19 + description = "A decorator for caching properties in classes"; 20 + homepage = https://github.com/pydanny/cached-property; 21 + license = lib.licenses.bsd3; 22 + platforms = lib.platforms.unix; 23 + maintainers = with lib.maintainers; [ ericsagnes ]; 24 + }; 25 + }
+2 -2
pkgs/development/python-modules/credstash/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "credstash"; 5 - version = "1.13.4"; 5 + version = "1.14.0"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "676cc03a6143dec260c78aeef09d08a64faf27c411f8a94f6d9338e985879f81"; 10 + sha256 = "718b337f7a6fa001e014386071f05c59900525d0507009126d2fe8d75fe0761d"; 11 11 }; 12 12 13 13 propagatedBuildInputs = [ cryptography boto3 pyyaml docutils ];
+2 -2
pkgs/development/python-modules/csscompressor/default.nix
··· 1 1 { stdenv, buildPythonPackage, fetchPypi }: 2 2 buildPythonPackage rec { 3 3 pname = "csscompressor"; 4 - version = "0.9.4"; 4 + version = "0.9.5"; 5 5 name = "${pname}-${version}"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "0e12f125b88379d7b680636d94a3c8fa14bed1de2358f7f9a9e6749e222cff3b"; 9 + sha256 = "afa22badbcf3120a4f392e4d22f9fff485c044a1feda4a950ecc5eba9dd31a05"; 10 10 }; 11 11 12 12 doCheck = false; # No tests
+2 -2
pkgs/development/python-modules/cx_freeze/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "cx_Freeze"; 5 - version = "5.0.2"; 5 + version = "5.1.1"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "0zbx9j5z5l06bvwvlqvvn7h9dm7zjcjgxm7agbb625nymkq6cd15"; 10 + sha256 = "2eadddde670f5c5f6cf88638a0ac4e5d5fe181292a31063275fa56c7bf22426b"; 11 11 }; 12 12 13 13 propagatedBuildInputs = [ ncurses ];
+2 -2
pkgs/development/python-modules/cytoolz/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "cytoolz"; 12 - version = "0.8.2"; 12 + version = "0.9.0"; 13 13 name = "${pname}-${version}"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "476a2ad176de5eaef80499b7b43d4f72ba6d23df33d349088dae315e9b31c552"; 17 + sha256 = "5ebb55855a8bb7800afa58e52408763935527e0305f35600c71b43c86013dec2"; 18 18 }; 19 19 20 20 # Extension types
+2 -2
pkgs/development/python-modules/dask/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "dask"; 15 - version = "0.15.4"; 15 + version = "0.16.0"; 16 16 name = "${pname}-${version}"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "cb93b8260f5f854ccf26b52bdc700600a08e6b7527085c7b7d63c04238bab9ea"; 20 + sha256 = "40d150b73e3366c9521e9dde206046a66906330074f87be901b1e1013ce6cb73"; 21 21 }; 22 22 23 23 checkInputs = [ pytest ];
+20
pkgs/development/python-modules/decorator/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "decorator"; 8 + version = "4.0.11"; 9 + 10 + src = fetchPypi { 11 + inherit pname version; 12 + sha256 = "953d6bf082b100f43229cf547f4f97f97e970f5ad645ee7601d55ff87afdfe76"; 13 + }; 14 + 15 + meta = { 16 + homepage = https://pypi.python.org/pypi/decorator; 17 + description = "Better living through Python with decorators"; 18 + license = lib.licenses.mit; 19 + }; 20 + }
+2 -2
pkgs/development/python-modules/distro/default.nix
··· 3 3 buildPythonPackage rec { 4 4 name = "${pname}-${version}"; 5 5 pname = "distro"; 6 - version = "1.0.4"; 6 + version = "1.2.0"; 7 7 8 8 buildInputs = [ pytest pytestcov tox]; 9 9 ··· 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "9b000b0d637bb0cbd130a7a4835681e6993e309a85564dfea9d884825fe46954"; 17 + sha256 = "d94370e43b676ac44fbe1ab68ca903a6147eaba3a9e8eff85b2c05556a455b76"; 18 18 }; 19 19 20 20 meta = with stdenv.lib; {
+2 -2
pkgs/development/python-modules/django-jinja2/default.nix
··· 5 5 buildPythonPackage rec { 6 6 pname = "django-jinja"; 7 7 name = "${pname}-${version}"; 8 - version = "2.2.2"; 8 + version = "2.4.1"; 9 9 10 10 meta = { 11 11 description = "Simple and nonobstructive jinja2 integration with Django"; ··· 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "099b99iprkvlsndrjmw4v3i3i60i9gm1aq5r88z15r7vgmv6sigj"; 18 + sha256 = "8a49d73de616a12075eee14c6d3bbab936261a463457d40348d8b8e2995cfbed"; 19 19 }; 20 20 21 21 buildInputs = [ django pytz tox ];
+2 -2
pkgs/development/python-modules/djangorestframework/default.nix
··· 1 1 { stdenv, buildPythonPackage, fetchurl, django }: 2 2 buildPythonPackage rec { 3 - version = "3.7.3"; 3 + version = "3.7.7"; 4 4 pname = "djangorestframework"; 5 5 name = "${pname}-${version}"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://pypi/d/djangorestframework/${name}.tar.gz"; 9 - sha256 = "067960e5e9e5586d3b2d53a1d626c4800dc33cd8309487d404fc63355674556f"; 9 + sha256 = "9f9e94e8d22b100ed3a43cee8c47a7ff7b185e778a1f2da9ec5c73fc4e081b87"; 10 10 }; 11 11 12 12 # Test settings are missing
+2 -2
pkgs/development/python-modules/docker/default.nix
··· 3 3 , ipaddress, backports_ssl_match_hostname, docker_pycreds 4 4 }: 5 5 buildPythonPackage rec { 6 - version = "2.5.1"; 6 + version = "2.7.0"; 7 7 pname = "docker"; 8 8 name = "${pname}-${version}"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://pypi/d/docker/${name}.tar.gz"; 12 - sha256 = "b876e6909d8d2360e0540364c3a952a62847137f4674f2439320ede16d6db880"; 12 + sha256 = "144248308e8ea31c4863c6d74e1b55daf97cc190b61d0fe7b7313ab920d6a76c"; 13 13 }; 14 14 15 15 propagatedBuildInputs = [
+5 -6
pkgs/development/python-modules/docker_compose/default.nix
··· 3 3 , pyyaml, backports_ssl_match_hostname, colorama, docopt 4 4 , dockerpty, docker, ipaddress, jsonschema, requests 5 5 , six, texttable, websocket_client, cached-property 6 - , enum34, functools32 6 + , enum34, functools32, 7 7 }: 8 8 buildPythonApplication rec { 9 - version = "1.15.0"; 9 + version = "1.18.0"; 10 10 pname = "docker-compose"; 11 - name = "${pname}-${version}"; 12 11 13 12 src = fetchPypi { 14 13 inherit pname version; 15 - sha256 = "0yg58m5kk22kihbra0h40miqnbdmkirjr9y47wns613sdikrymmg"; 14 + sha256 = "2930cbfe2685018fbb75377600ab6288861d9955717b3f14212f63950351d379"; 16 15 }; 17 16 18 17 # lots of networking and other fails 19 18 doCheck = false; 20 - buildInputs = [ mock pytest nose ]; 19 + checkInputs = [ mock pytest nose ]; 21 20 propagatedBuildInputs = [ 22 21 pyyaml backports_ssl_match_hostname colorama dockerpty docker 23 22 ipaddress jsonschema requests six texttable websocket_client ··· 26 25 stdenv.lib.optional (pythonOlder "3.4") enum34 ++ 27 26 stdenv.lib.optional (pythonOlder "3.2") functools32; 28 27 29 - patchPhase = '' 28 + postPatch = '' 30 29 # Remove upper bound on requires, see also 31 30 # https://github.com/docker/compose/issues/4431 32 31 sed -i "s/, < .*',$/',/" setup.py
+2 -2
pkgs/development/python-modules/easy-thumbnails/default.nix
··· 5 5 buildPythonPackage rec { 6 6 pname = "easy-thumbnails"; 7 7 name = "${pname}-${version}"; 8 - version = "2.4.2"; 8 + version = "2.5"; 9 9 10 10 meta = { 11 11 description = "Easy thumbnails for Django"; ··· 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "8cad7ea4fb2b800284e842d8a44f685cbc1968535be04c24a4bbf6e6dbc550c4"; 18 + sha256 = "e244d1f26027fc32c6ca60ffb0169a39099446f614b0433e907a2588ae7d9b95"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [ django pillow ];
+2 -2
pkgs/development/python-modules/eve/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "Eve"; 6 - version = "0.7.4"; 6 + version = "0.7.5"; 7 7 name = "${pname}-${version}"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "0xihl5w2m4vkp0515qjibiy88pk380n5jmj8n9hh7q40b1vx1kwb"; 11 + sha256 = "dd4ffbc4725220ffdc8e32f8566c8870efaecdc238d0f96b18e1e83227eca55d"; 12 12 }; 13 13 14 14 patches = [
+23
pkgs/development/python-modules/extras/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "extras"; 8 + version = "1.0.0"; 9 + 10 + src = fetchPypi { 11 + inherit pname version; 12 + sha256 = "132e36de10b9c91d5d4cc620160a476e0468a88f16c9431817a6729611a81b4e"; 13 + }; 14 + 15 + # error: invalid command 'test' 16 + doCheck = false; 17 + 18 + meta = { 19 + description = "A module provides basic functions for parsing mime-type names and matching them against a list of media-ranges"; 20 + homepage = https://code.google.com/p/mimeparse/; 21 + license = lib.licenses.mit; 22 + }; 23 + }
+2 -2
pkgs/development/python-modules/faker/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "Faker"; 11 - version = "0.8.7"; 11 + version = "0.8.8"; 12 12 name = "${pname}-${version}"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "bf7dabcd6807c8829da28a4de491adf7998af506b8571db6a6eb58161157248a"; 16 + sha256 = "e928cf853ef69d7471421f2a3716a1239e43de0fa9855f4016ee0c9f1057328a"; 17 17 }; 18 18 19 19 checkInputs = [
+2 -2
pkgs/development/python-modules/faulthandler/default.nix
··· 3 3 buildPythonPackage rec { 4 4 name = "${pname}-${version}"; 5 5 pname = "faulthandler"; 6 - version = "2.6"; 6 + version = "3.0"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "0zywq3jaznddvqc3hnfrlv24wmpyq4xgajk9xhv6578qw1rpfj2r"; 10 + sha256 = "acc10e10909f0f956ba1b42b6c450ea0bdaaa27b3942899f65931396cfcdd36a"; 11 11 }; 12 12 13 13 meta = {
+2 -2
pkgs/development/python-modules/filelock/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "filelock"; 5 - version = "2.0.13"; 5 + version = "2.0.14"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "1n67dw7np5gsy5whynyk8c46pjlr353d6j9735p5gryaszkpjl6h"; 9 + sha256 = "ee355eb66e4c2e5d95689e1253515aad5b3177c274abdd00a57d5ab1aa6d071a"; 10 10 }; 11 11 12 12 meta = with stdenv.lib; {
+2 -2
pkgs/development/python-modules/fiona/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "Fiona"; 8 - version = "1.7.10.post1"; 8 + version = "1.7.11"; 9 9 name = "${pname}-${version}"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "fc4c8996be3131f36c791d66273317d38b72b19dc24c2afc332fd734752eb7a8"; 13 + sha256 = "5e9c68ea71e9d79fcfb68c9a101c0b133301e233c9bcca7b7c65f33cc7636ef5"; 14 14 }; 15 15 16 16 buildInputs = [
+2 -2
pkgs/development/python-modules/flake8-debugger/default.nix
··· 3 3 buildPythonPackage rec { 4 4 pname = "flake8-debugger"; 5 5 name = "${pname}-${version}"; 6 - version = "1.4.0"; 6 + version = "3.0.0"; 7 7 src = fetchurl { 8 8 url = "mirror://pypi/f/flake8-debugger/${name}.tar.gz"; 9 - sha256 = "0chjfa6wvnqjnx778qzahhwvjx1j0rc8ax0ipp5bn70gf47lj62r"; 9 + sha256 = "e5c8ac980d819db2f3fbb89fe0e43a2fe6c127edd6ce4984a3f7e0bbdac3d2d4"; 10 10 }; 11 11 buildInputs = [ nose ]; 12 12 propagatedBuildInputs = [ flake8 ];
+2 -2
pkgs/development/python-modules/flask-testing/default.nix
··· 6 6 buildPythonPackage rec { 7 7 name = "${pname}-${version}"; 8 8 pname = "Flask-Testing"; 9 - version = "0.6.2"; 9 + version = "0.7.1"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "1w0dpwvrcpffm8ychyxpm8s5blm7slik9kplh9jb3sgwcv9gyppj"; 13 + sha256 = "dc076623d7d850653a018cb64f500948334c8aeb6b10a5a842bf1bcfb98122bc"; 14 14 }; 15 15 16 16 postPatch = ''
+6 -8
pkgs/development/python-modules/flit/default.nix
··· 11 11 , pytest 12 12 , testpath 13 13 , responses 14 + , pytoml 14 15 }: 15 16 16 17 # Flit is actually an application to build universal wheels. ··· 20 21 21 22 buildPythonPackage rec { 22 23 pname = "flit"; 23 - version = "0.11.4"; 24 - name = "${pname}-${version}"; 25 - 26 - # format = "wheel"; 24 + version = "0.13"; 27 25 28 26 src = fetchPypi { 29 27 inherit pname version; 30 - # url = https://files.pythonhosted.org/packages/24/98/50a090112a04d9e29155c31a222637668b0a4dd778fefcd3132adc50e877/flit-0.10-py3-none-any.whl; 31 - sha256 = "8ba7603cc3bf4149d81811d40fe331abc45ff37a207c63f5f712a0fdb69297bb"; 28 + sha256 = "8f558351bf4bb82b872d3bdbea7055cbb2e33ed2bdf809284bf927d4c78bf0ee"; 32 29 }; 33 30 34 31 disabled = !isPy3k; 35 - propagatedBuildInputs = [ docutils requests requests_download ] ++ lib.optional (pythonOlder "3.6") zipfile36; 32 + propagatedBuildInputs = [ docutils requests requests_download pytoml ] ++ lib.optional (pythonOlder "3.6") zipfile36; 36 33 37 34 checkInputs = [ pytest testpath responses ]; 38 35 39 36 # Disable test that needs some ini file. 37 + # Disable test that wants hg 40 38 checkPhase = '' 41 - py.test -k "not test_invalid_classifier" 39 + py.test -k "not test_invalid_classifier and not test_build_sdist" 42 40 ''; 43 41 44 42 meta = {
+2 -2
pkgs/development/python-modules/fonttools/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "fonttools"; 10 - version = "3.17.0"; 10 + version = "3.21.0"; 11 11 name = "${pname}-${version}"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "1c4f26bf32cd58d5881bfe1f42e5f0a1637a58452a60ae1623999f3ae7da0e24"; 15 + sha256 = "95b5c66d19dbffd57be1636d1f737c7644d280a48c28f933aeb4db73a7c83495"; 16 16 extension = "zip"; 17 17 }; 18 18
+2 -2
pkgs/development/python-modules/ftfy/default.nix
··· 11 11 name = "${pname}-${version}"; 12 12 pname = "ftfy"; 13 13 # latest is 5.1.1, buy spaCy requires 4.4.3 14 - version = "5.1.1"; 14 + version = "5.2.0"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "67a29a2fad5f72aec2d8a0a7084e4f499ed040455133ee96b1c458609fc29e78"; 18 + sha256 = "b9f84a1437f68ad0bb964fd9da9f6b88d090113ec9e78f290f6d6d0221468e38"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [ html5lib wcwidth];
+2 -2
pkgs/development/python-modules/gensim/default.nix
··· 13 13 buildPythonPackage rec { 14 14 pname = "gensim"; 15 15 name = "${pname}-${version}"; 16 - version = "3.0.1"; 16 + version = "3.2.0"; 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "4827012f6f020ac4f4067c2a2a88542391917113faaa417505e1ee8a1e7e2650"; 19 + sha256 = "db00b68c6567ba0598d400b917c889e8801adf249170ce0a80ec38187d1b0797"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [ smart_open numpy six scipy
+2 -2
pkgs/development/python-modules/google_api_core/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "google-api-core"; 6 - version = "0.1.2"; 6 + version = "0.1.3"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "0qmjswj079w7q7zbnh8p4n2r3f831wymm9hfdlc7zfrini7184xv"; 10 + sha256 = "03bc4b1ab69c0e113af07e706edee50f583abe8219fe1e1d529dee191cb8e0bf"; 11 11 }; 12 12 13 13 propagatedBuildInputs = [ google_auth protobuf googleapis_common_protos requests grpcio ];
+2 -2
pkgs/development/python-modules/gpy/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "GPy"; 6 - version = "1.8.4"; 6 + version = "1.8.5"; 7 7 name = "${pname}-${version}"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "38c1202f1790952b88c298224139ee5b14d4518e3ddc6186c60db2ece016d8c1"; 11 + sha256 = "1562e34629192f209273f454e41614a127c6ef04144cd0eb5992d484721d55d3"; 12 12 }; 13 13 14 14 # running tests produces "ImportError: cannot import name 'linalg_cython'"
+2 -2
pkgs/development/python-modules/grpcio/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "grpcio"; 6 - version = "1.7.3"; 6 + version = "1.8.2"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "1wkrxj1jmf2dyx207fc9ysyns9h27gls3drgg05mzdckjqr5lnl6"; 10 + sha256 = "1ea1336f0d1158c4e00e96a94df84b75f6bbff9816abb6cc68cbdc9442a9ac55"; 11 11 }; 12 12 13 13 propagatedBuildInputs = [ six protobuf ]
+2 -2
pkgs/development/python-modules/gssapi/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "gssapi"; 6 - version = "1.2.0"; 6 + version = "1.3.0"; 7 7 name = "${pname}-${version}"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "1q6ccpz6anl9vggwxdq32wp6xjh2lyfbf7av6jqnmvmyqdfwh3b9"; 11 + sha256 = "765205082a9490c8e8be88ac16a6249d124396a671665edeec9927a7f244d712"; 12 12 }; 13 13 14 14 # It's used to locate headers
+42
pkgs/development/python-modules/html5lib/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , flake8 5 + , pytest 6 + , pytest-expect 7 + , mock 8 + , six 9 + , webencodings 10 + }: 11 + 12 + buildPythonPackage rec { 13 + pname = "html5lib"; 14 + version = "1.0.1"; 15 + 16 + src = fetchPypi { 17 + inherit pname version; 18 + sha256 = "66cb0dcfdbbc4f9c3ba1a63fdb511ffdbd4f513b2b6d81b80cd26ce6b3fb3736"; 19 + }; 20 + 21 + checkInputs = [ flake8 pytest pytest-expect mock ]; 22 + propagatedBuildInputs = [ 23 + six webencodings 24 + ]; 25 + 26 + checkPhase = '' 27 + py.test 28 + ''; 29 + 30 + meta = { 31 + homepage = https://github.com/html5lib/html5lib-python; 32 + downloadPage = https://github.com/html5lib/html5lib-python/releases; 33 + description = "HTML parser based on WHAT-WG HTML5 specification"; 34 + longDescription = '' 35 + html5lib is a pure-python library for parsing HTML. It is designed to 36 + conform to the WHATWG HTML specification, as is implemented by all 37 + major web browsers. 38 + ''; 39 + license = lib.licenses.mit; 40 + maintainers = with lib.maintainers; [ domenkozar prikhi ]; 41 + }; 42 + }
+2 -2
pkgs/development/python-modules/htmlmin/default.nix
··· 1 1 { stdenv, buildPythonPackage, fetchPypi }: 2 2 buildPythonPackage rec { 3 3 pname = "htmlmin"; 4 - version = "0.1.11"; 4 + version = "0.1.12"; 5 5 name = "${pname}-${version}"; 6 6 src = fetchPypi { 7 7 inherit pname version; 8 - sha256 = "f27fb96fdddeb1725ee077be532c7bea23288c69d0e996e7798f24fae7a14e5e"; 8 + sha256 = "50c1ef4630374a5d723900096a961cff426dff46b48f34d194a81bbe14eca178"; 9 9 }; 10 10 11 11 # Tests run fine in a normal source checkout, but not when being built by nix.
+2 -2
pkgs/development/python-modules/httpbin/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "httpbin"; 13 - version = "0.5.0"; 13 + version = "0.6.2"; 14 14 name = "${pname}-${version}"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "6b57f563900ecfe126015223a259463848daafbdc2687442317c0992773b9054"; 18 + sha256 = "0afa0486a76305cac441b5cc80d5d4ccd82b20875da7c5119ecfe616cefef45f"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [ flask markupsafe decorator itsdangerous six ];
+20
pkgs/development/python-modules/idna/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "idna"; 8 + version = "2.6"; 9 + 10 + src = fetchPypi { 11 + inherit pname version; 12 + sha256 = "2c6a5de3089009e3da7c5dde64a141dbc8551d5b7f6cf4ed7c2568d0cc520a8f"; 13 + }; 14 + 15 + meta = { 16 + homepage = "http://github.com/kjd/idna/"; 17 + description = "Internationalized Domain Names in Applications (IDNA)"; 18 + license = lib.licenses.bsd3; 19 + }; 20 + }
+2 -2
pkgs/development/python-modules/ipykernel/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "ipykernel"; 16 - version = "4.6.1"; 16 + version = "4.7.0"; 17 17 name = "${pname}-${version}"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "2e1825aca4e2585b5adb7953ea16e53f53a62159ed49952a564b1e23507205db"; 21 + sha256 = "354986612a38f0555c43d5af2425e2a67506b63b313a0325e38904003b9d977b"; 22 22 }; 23 23 24 24 buildInputs = [ nose ] ++ lib.optional isPy27 mock;
+2 -2
pkgs/development/python-modules/ipywidgets/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "ipywidgets"; 17 - version = "7.0.5"; 17 + version = "7.1.0"; 18 18 name = "${pname}-${version}"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - sha256 = "321be3dc48193130ba16e8080172bb5cd052eb65e3ad0ea7b5f80ff73e24bc54"; 22 + sha256 = "3e2be7dea4f97c9a4df71ef065cad9f2e420dd901127bf7cb690fb56d2b34ea3"; 23 23 }; 24 24 25 25 # Tests are not distributed
+27
pkgs/development/python-modules/iso8601/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pytest 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "iso8601"; 9 + version = "0.1.12"; 10 + 11 + src = fetchPypi { 12 + inherit pname version; 13 + sha256 = "49c4b20e1f38aa5cf109ddcd39647ac419f928512c869dc01d5c7098eddede82"; 14 + }; 15 + 16 + checkInputs = [ pytest ]; 17 + 18 + checkPhase = '' 19 + py.test iso8601 20 + ''; 21 + 22 + meta = { 23 + homepage = https://bitbucket.org/micktwomey/pyiso8601/; 24 + description = "Simple module to parse ISO 8601 dates"; 25 + maintainers = with lib.maintainers; [ phreedom ]; 26 + }; 27 + }
+28
pkgs/development/python-modules/jdcal/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pytest 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "jdcal"; 9 + version = "1.3"; 10 + 11 + src = fetchPypi { 12 + inherit pname version; 13 + sha256 = "b760160f8dc8cc51d17875c6b663fafe64be699e10ce34b6a95184b5aa0fdc9e"; 14 + }; 15 + 16 + checkInputs = [ pytest ]; 17 + 18 + checkPhase = '' 19 + py.test 20 + ''; 21 + 22 + meta = { 23 + description = "A module containing functions for converting between Julian dates and calendar dates"; 24 + homepage = "https://github.com/phn/jdcal"; 25 + license = lib.licenses.bsd2; 26 + maintainers = with lib.maintainers; [ lihop ]; 27 + }; 28 + }
+2 -2
pkgs/development/python-modules/jedi/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "jedi"; 5 - version = "0.11.0"; 5 + version = "0.11.1"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "f6d5973573e76b1fd2ea75f6dcd6445d02d41ff3af5fc61b275b4e323d1dd396"; 10 + sha256 = "d6e799d04d1ade9459ed0f20de47c32f2285438956a677d083d3c98def59fa97"; 11 11 }; 12 12 13 13 postPatch = ''
+2 -2
pkgs/development/python-modules/jsbeautifier/default.nix
··· 2 2 3 3 buildPythonApplication rec { 4 4 pname = "jsbeautifier"; 5 - version = "1.7.4"; 5 + version = "1.7.5"; 6 6 name = "${pname}-${version}"; 7 7 8 8 propagatedBuildInputs = [ six ]; ··· 11 11 12 12 src = fetchurl { 13 13 url = "mirror://pypi/j/jsbeautifier/${name}.tar.gz"; 14 - sha256 = "7fc14f279117a55a5e854602f6e8c1cb178c6d83f7cf75e2e9f50678fe11079e"; 14 + sha256 = "78eb1e5c8535484f0d0b588aca38da3fb5e0e34de2d1ab53c077e71c55757473"; 15 15 }; 16 16 17 17 meta = with stdenv.lib; {
+24
pkgs/development/python-modules/jsondiff/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "jsondiff"; 8 + version = "1.1.1"; 9 + 10 + src = fetchPypi { 11 + inherit pname version; 12 + sha256 = "2d0437782de9418efa34e694aa59f43d7adb1899bd9a793f063867ddba8f7893"; 13 + }; 14 + 15 + # No tests 16 + doCheck = false; 17 + 18 + meta = { 19 + description = "Diff JSON and JSON-like structures in Python"; 20 + homepage = https://github.com/ZoomerAnalytics/jsondiff; 21 + license = lib.licenses.mit; 22 + }; 23 + 24 + }
+2 -2
pkgs/development/python-modules/jsonpatch/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "jsonpatch"; 9 - version = "1.16"; 9 + version = "1.21"; 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "f025c28a08ce747429ee746bb21796c3b6417ec82288f8fe6514db7398f2af8a"; 14 + sha256 = "11f5ffdf543a83047a2f54ac28f8caad7f34724cb1ea26b27547fd974f1a2153"; 15 15 }; 16 16 17 17 # test files are missing
+23
pkgs/development/python-modules/jsonpickle/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "jsonpickle"; 8 + version = "0.9.5"; 9 + 10 + src = fetchPypi { 11 + inherit pname version; 12 + sha256 = "cc25dc79571d4ad7db59d05ddb7de0d76a8d598cf6136e1dbeaa9361ebcfe749"; 13 + }; 14 + 15 + doCheck = false; 16 + 17 + meta = { 18 + description = "Python library for serializing any arbitrary object graph into JSON"; 19 + homepage = http://jsonpickle.github.io/; 20 + license = lib.licenses.bsd3; 21 + }; 22 + 23 + }
+12 -6
pkgs/development/python-modules/jupyter_client/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , nose 5 4 , traitlets 6 5 , jupyter_core 7 6 , pyzmq 8 7 , dateutil 9 8 , isPyPy 10 9 , py 10 + , ipykernel 11 + , ipython 12 + , mock 13 + , pytest 11 14 }: 12 15 13 16 buildPythonPackage rec { 14 17 pname = "jupyter_client"; 15 - version = "5.1.0"; 16 - name = "${pname}-${version}"; 18 + version = "5.2.0"; 17 19 18 20 src = fetchPypi { 19 21 inherit pname version; 20 - sha256 = "08756b021765c97bc5665390700a4255c2df31666ead8bff116b368d09912aba"; 22 + sha256 = "ca30cf1786047925ebacd6f6faa3a993efaa004b584f7d83bc8b807f7cd3f6bb"; 21 23 }; 22 24 23 - buildInputs = [ nose ]; 25 + checkInputs = [ ipykernel ipython mock pytest ]; 24 26 propagatedBuildInputs = [traitlets jupyter_core pyzmq dateutil] ++ lib.optional isPyPy py; 25 27 26 28 checkPhase = '' 27 - nosetests -v 29 + py.test 28 30 ''; 31 + 32 + patches = [ 33 + ./wheel_workaround.patch 34 + ]; 29 35 30 36 # Circular dependency with ipykernel 31 37 doCheck = false;
+13
pkgs/development/python-modules/jupyter_client/wheel_workaround.patch
··· 1 + diff --git a/setup.py b/setup.py 2 + index 95d4774..ee72cbc 100644 3 + --- a/setup.py 4 + +++ b/setup.py 5 + @@ -86,7 +86,7 @@ setup_args = dict( 6 + extras_require = { 7 + 'test': ['ipykernel', 'ipython', 'mock'], 8 + 'test:python_version == "3.3"': ['pytest<3.3.0'], 9 + - 'test:python_version >= "3.4" or python_version == "2.7"': ['pytest'], 10 + + 'test:(python_version >= "3.4" or python_version == "2.7")': ['pytest'], 11 + }, 12 + cmdclass = { 13 + 'bdist_egg': bdist_egg if 'bdist_egg' in sys.argv else bdist_egg_disabled,
+3 -3
pkgs/development/python-modules/jupyter_core/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "jupyter_core"; 14 - version = "4.3.0"; 14 + version = "4.4.0"; 15 15 name = "${pname}-${version}"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "a96b129e1641425bf057c3d46f4f44adce747a7d60107e8ad771045c36514d40"; 19 + sha256 = "ba70754aa680300306c699790128f6fbd8c306ee5927976cbe48adacf240c0b7"; 20 20 }; 21 21 22 - buildInputs = [ pytest mock glibcLocales ]; 22 + checkInputs = [ pytest mock glibcLocales ]; 23 23 propagatedBuildInputs = [ ipython traitlets ]; 24 24 25 25 patches = [ ./tests_respect_pythonpath.patch ];
+20 -24
pkgs/development/python-modules/jupyter_core/tests_respect_pythonpath.patch
··· 1 - --- a/jupyter_core/tests/test_command.py 2016-09-13 15:22:49.000000000 +0200 2 - +++ b/jupyter_core/tests/test_command.py 2017-10-23 12:49:27.489527705 +0200 3 - @@ -113,7 +113,10 @@ 4 - witness = a.join(witness_cmd) 5 - witness.write('#!%s\n%s\n' % (sys.executable, 'print("WITNESS ME")')) 6 - witness.chmod(0o700) 7 - - out = check_output([sys.executable, str(jupyter), 'witness'], env={'PATH': ''}) 8 - + out = check_output( 9 - + [sys.executable, str(jupyter), 'witness'], 10 - + env={'PATH': '', 'PYTHONPATH': os.environ['PYTHONPATH']} 11 - + ) 12 - assert b'WITNESS' in out 13 - 14 - 15 - @@ -136,5 +139,8 @@ 16 - witness_b.write('#!%s\n%s\n' % (sys.executable, 'print("WITNESS B")')) 17 - witness_b.chmod(0o700) 18 - 19 - - out = check_output([sys.executable, str(jupyter), 'witness'], env={'PATH': str(b)}) 20 - + out = check_output( 21 - + [sys.executable, str(jupyter), 'witness'], 22 - + env={'PATH': str(b), 'PYTHONPATH': os.environ['PYTHONPATH']} 23 - + ) 24 - assert b'WITNESS A' in out 1 + --- a/jupyter_core/tests/test_command.py 2 + +++ b/jupyter_core/tests/test_command.py 3 + @@ -131,7 +131,7 @@ def test_not_on_path(tmpdir): 4 + witness_src = '#!%s\n%s\n' % (sys.executable, 'print("WITNESS ME")') 5 + write_executable(witness, witness_src) 6 + 7 + - env = {'PATH': ''} 8 + + env = {'PATH': '', 'PYTHONPATH': os.environ['PYTHONPATH']} 9 + if 'SYSTEMROOT' in os.environ: # Windows http://bugs.python.org/issue20614 10 + env[str('SYSTEMROOT')] = os.environ['SYSTEMROOT'] 11 + if sys.platform == 'win32': 12 + @@ -157,7 +157,7 @@ def test_path_priority(tmpdir): 13 + witness_b_src = '#!%s\n%s\n' % (sys.executable, 'print("WITNESS B")') 14 + write_executable(witness_b, witness_b_src) 15 + 16 + - env = {'PATH': str(b)} 17 + + env = {'PATH': str(b), 'PYTHONPATH': os.environ['PYTHONPATH']} 18 + if 'SYSTEMROOT' in os.environ: # Windows http://bugs.python.org/issue20614 19 + env[str('SYSTEMROOT')] = os.environ['SYSTEMROOT'] 20 + if sys.platform == 'win32':
+2 -2
pkgs/development/python-modules/keras/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "Keras"; 8 - version = "2.1.1"; 8 + version = "2.1.2"; 9 9 name = "${pname}-${version}"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "f0ca2458c60d9711edf4291230b31795307ad3781cb6232ff4792b53c8f55123"; 13 + sha256 = "3ee56fc129d9d00b1916046e50056047836f97ada59df029e5661fb34442d5e8"; 14 14 }; 15 15 16 16 checkInputs = [
+2 -2
pkgs/development/python-modules/keyring/default.nix
··· 6 6 buildPythonPackage rec { 7 7 name = "${pname}-${version}"; 8 8 pname = "keyring"; 9 - version = "10.4.0"; 9 + version = "10.5.1"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "09iv50c14mdmdk7sjd6bb47yg7347gymh6r8c0q4gfnzs173y6lh"; 13 + sha256 = "f10674bb6ecbf82e2b713627c48ad0e84178e1c9d3dc1f0373261a0765402fb2"; 14 14 }; 15 15 16 16 buildInputs = [
+4 -4
pkgs/development/python-modules/ldap/default.nix
··· 1 1 { lib, writeText, buildPythonPackage, isPy3k, fetchPypi 2 - , openldap, cyrus_sasl, openssl, pytest }: 2 + , openldap, cyrus_sasl, openssl, pytest, pyasn1 }: 3 3 4 4 buildPythonPackage rec { 5 5 pname = "python-ldap"; 6 - version = "2.4.45"; 6 + version = "2.5.2"; 7 7 name = "${pname}-${version}"; 8 8 disabled = isPy3k; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "824fde180a53772e23edc031c4dd64ac1af4a3eade78f00d9d510937d562f64e"; 12 + sha256 = "b8c134dfedaef0e6ff4a4b94277708dcadb758b448905a83b8946df077356ed2"; 13 13 }; 14 14 15 - buildInputs = [ pytest ]; 15 + checkInputs = [ pytest pyasn1 ]; 16 16 17 17 checkPhase = '' 18 18 # Needed by tests to setup a mockup ldap server.
+2 -3
pkgs/development/python-modules/ldap3/default.nix
··· 1 1 { stdenv, fetchPypi, buildPythonPackage, gssapi, pyasn1 }: 2 2 3 3 buildPythonPackage rec { 4 - version = "2.3"; 4 + version = "2.4"; 5 5 pname = "ldap3"; 6 - name = "${pname}-${version}"; 7 6 8 7 src = fetchPypi { 9 8 inherit pname version; 10 - sha256 = "1b36lwil4iflk2ay8gi663abpnfm8id7qg4n3jkmmqbnc1sv6mn0"; 9 + sha256 = "888015f849eb33852583bbaf382f61593b03491cdac6098fd5d4d0252e0e7e66"; 11 10 }; 12 11 13 12 buildInputs = [ gssapi ];
+1 -1
pkgs/development/python-modules/libusb1/default.nix
··· 12 12 postPatch = lib.optionalString stdenv.isLinux '' 13 13 substituteInPlace usb1/libusb1.py --replace \ 14 14 "ctypes.util.find_library(base_name)" \ 15 - "'${libusb1}/lib/libusb${stdenv.hostPlatform.extensions.sharedLibrary}'" 15 + "'${libusb1}/lib/libusb-1.0${stdenv.hostPlatform.extensions.sharedLibrary}'" 16 16 ''; 17 17 18 18 buildInputs = [ libusb1 ];
+2 -2
pkgs/development/python-modules/line_profiler/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "line_profiler"; 12 - version = "2.0"; 12 + version = "2.1.2"; 13 13 name = "${pname}-${version}"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "739f8ad0e4bcd0cb82e99afc09e00a0351234f6b3f0b1f7f0090a8a2fbbf8381"; 17 + sha256 = "efa66e9e3045aa7cb1dd4bf0106e07dec9f80bc781a993fbaf8162a36c20af5c"; 18 18 }; 19 19 20 20 buildInputs = [ cython ];
+2 -2
pkgs/development/python-modules/llfuse/default.nix
··· 4 4 5 5 buildPythonPackage rec { 6 6 pname = "llfuse"; 7 - version = "1.0"; 7 + version = "1.3.2"; 8 8 name = pname + "-" + version; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://pypi/l/llfuse/${name}.tar.bz2"; 12 - sha256 = "1li7q04ljrvwharw4fblcbfhvk6s0l3lnv8yqb4c22lcgbkiqlps"; 12 + sha256 = "96252a286a2be25810904d969b330ef2a57c2b9c18c5b503bbfbae40feb2bb63"; 13 13 }; 14 14 15 15 nativeBuildInputs = [ pkgconfig ];
+6 -7
pkgs/development/python-modules/llvmlite/default.nix
··· 1 1 { stdenv 2 - , fetchurl 2 + , fetchPypi 3 3 , buildPythonPackage 4 4 , python 5 5 , llvm ··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "llvmlite"; 13 - name = "${pname}-${version}"; 14 - version = "0.20.0"; 13 + version = "0.21.0"; 15 14 16 15 disabled = isPyPy; 17 16 18 - src = fetchurl { 19 - url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; 20 - sha256 = "b2f174848df16bb9195a07fec102110a06d018da736bd9b3570a54d44c797c29"; 17 + src = fetchPypi { 18 + inherit pname version; 19 + sha256 = "3a5dd0695fdfb9fd47464cd71791b84935bf9642e11f4811d57aa1f2da8cdaa8"; 21 20 }; 22 21 23 22 propagatedBuildInputs = [ llvm ] ++ stdenv.lib.optional (pythonOlder "3.4") enum34; 24 23 25 24 # Disable static linking 26 25 # https://github.com/numba/llvmlite/issues/93 27 - patchPhase = '' 26 + postPatch = '' 28 27 substituteInPlace ffi/Makefile.linux --replace "-static-libstdc++" "" 29 28 30 29 substituteInPlace llvmlite/tests/test_binding.py --replace "test_linux" "nope"
+27
pkgs/development/python-modules/lxml/default.nix
··· 1 + { stdenv 2 + , buildPythonPackage 3 + , fetchPypi 4 + , libxml2 5 + , libxslt 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "lxml"; 10 + version = "4.1.1"; 11 + 12 + src = fetchPypi { 13 + inherit pname version; 14 + sha256 = "940caef1ec7c78e0c34b0f6b94fe42d0f2022915ffc78643d28538a5cfd0f40e"; 15 + }; 16 + 17 + buildInputs = [ libxml2 libxslt ]; 18 + 19 + hardeningDisable = stdenv.lib.optional stdenv.isDarwin "format"; 20 + 21 + meta = { 22 + description = "Pythonic binding for the libxml2 and libxslt libraries"; 23 + homepage = http://lxml.de; 24 + license = stdenv.lib.licenses.bsd3; 25 + maintainers = with stdenv.lib.maintainers; [ sjourdois ]; 26 + }; 27 + }
+2 -2
pkgs/development/python-modules/marionette-harness/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "marionette-harness"; 17 - version = "4.1.0"; 17 + version = "4.3.0"; 18 18 name = "${pname}-${version}"; 19 19 disabled = isPy3k; 20 20 21 21 src = fetchPypi { 22 22 inherit pname version; 23 - sha256 = "20c188791e28d586c58acf86ff28cb704c4195a4da6eb10db7b8c6771e3f2983"; 23 + sha256 = "a98bb65a0c63f60d9e3d7ef21dabc9c29676917dc2ec0d46851a3ed694c820cc"; 24 24 }; 25 25 26 26 propagatedBuildInputs = [ mozprofile mozversion browsermob-proxy moztest
+28
pkgs/development/python-modules/markdown/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , nose 5 + , pyyaml 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "Markdown"; 10 + version = "2.6.10"; 11 + 12 + src = fetchPypi { 13 + extension = "zip"; 14 + inherit pname version; 15 + sha256 = "cfa536d1ee8984007fcecc5a38a493ff05c174cb74cb2341dafd175e6bc30851"; 16 + }; 17 + 18 + # error: invalid command 'test' 19 + # doCheck = false; 20 + 21 + checkInputs = [ nose pyyaml ]; 22 + 23 + meta = { 24 + description = "A Python implementation of John Gruber’s Markdown with Extension support"; 25 + homepage = https://github.com/Python-Markdown/markdown; 26 + license = lib.licenses.bsd3; 27 + }; 28 + }
+2 -2
pkgs/development/python-modules/marshmallow/default.nix
··· 5 5 buildPythonPackage rec { 6 6 pname = "marshmallow"; 7 7 name = "${pname}-${version}"; 8 - version = "2.14.0"; 8 + version = "2.15.0"; 9 9 10 10 meta = { 11 11 homepage = "https://github.com/marshmallow-code/marshmallow"; ··· 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "09943a460026b9a61c3f4cedd0e5ccfed7cfce3271debd19e3f97df561088718"; 21 + sha256 = "d3f31fe7be2106b1d783cbd0765ef4e1c6615505514695f33082805f929dd584"; 22 22 }; 23 23 24 24 propagatedBuildInputs = [ dateutil simplejson ];
+2 -2
pkgs/development/python-modules/matplotlib/default.nix
··· 20 20 assert enableQt -> pyqt4 != null; 21 21 22 22 buildPythonPackage rec { 23 - version = "2.1.0"; 23 + version = "2.1.1"; 24 24 pname = "matplotlib"; 25 25 name = "${pname}-${version}"; 26 26 27 27 src = fetchurl { 28 28 url = "mirror://pypi/m/matplotlib/${name}.tar.gz"; 29 - sha256 = "4b5f16c9cefde553ea79975305dcaa67c8e13d927b6e55aa14b4a8d867e25387"; 29 + sha256 = "659f5e1aa0e0f01488c61eff47560c43b8be511c6a29293d7f3896ae17bd8b23"; 30 30 }; 31 31 32 32 NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
+2 -2
pkgs/development/python-modules/mistune/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "mistune"; 9 - version = "0.7.4"; 9 + version = "0.8.3"; 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "0byj9jg9ly7karf5sb1aqcw7avaim9sxl8ws7yw7p1fibjgsy5w5"; 14 + sha256 = "bc10c33bfdcaa4e749b779f62f60d6e12f8215c46a292d05e486b869ae306619"; 15 15 }; 16 16 17 17 buildInputs = [ nose ];
+15 -5
pkgs/development/python-modules/moto/default.nix
··· 1 - { stdenv, buildPythonPackage, fetchPypi, jinja2, werkzeug, flask, requests, pytz 2 - , six, boto, httpretty, xmltodict, nose, sure, boto3, freezegun, dateutil }: 1 + { stdenv, buildPythonPackage, fetchPypi, jinja2, werkzeug, flask 2 + , requests, pytz, backports_tempfile, cookies, jsondiff, botocore, aws-xray-sdk, docker 3 + , six, boto, httpretty, xmltodict, nose, sure, boto3, freezegun, dateutil, mock, pyaml }: 3 4 4 5 buildPythonPackage rec { 5 6 pname = "moto"; 6 - version = "0.4.31"; 7 - name = "moto-${version}"; 7 + version = "1.1.25"; 8 + 8 9 src = fetchPypi { 9 10 inherit pname version; 10 - sha256 = "19s8hfz4mzzzdksa0ddlvrga5mxdaqahk89p5l29a5id8127shr8"; 11 + sha256 = "d427d6e1a81e926c2b6a071453807b05f4736d65068493e1f3055ac7ee24ea21"; 11 12 }; 12 13 13 14 propagatedBuildInputs = [ 15 + aws-xray-sdk 14 16 boto 17 + boto3 15 18 dateutil 16 19 flask 17 20 httpretty ··· 21 24 requests 22 25 six 23 26 xmltodict 27 + mock 28 + pyaml 29 + backports_tempfile 30 + cookies 31 + jsondiff 32 + botocore 33 + docker 24 34 ]; 25 35 26 36 checkInputs = [ boto3 nose sure freezegun ];
+2 -2
pkgs/development/python-modules/nbxmpp/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "nbxmpp"; 5 - version = "0.6.0"; 5 + version = "0.6.2"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "0x495yb0abkdspyziw7dyyjwxx6ivnv5zznk92wa3mcind5s9757"; 9 + sha256 = "10bfb12b083a7509779298c31b4b61e2ed7e78d1960cbcfb3de8d38f3b830991"; 10 10 }; 11 11 12 12 meta = with stdenv.lib; {
+2 -2
pkgs/development/python-modules/nilearn/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "nilearn"; 6 - version = "0.3.1"; 6 + version = "0.4.0"; 7 7 name = pname + "-" + version; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "0kkarh5cdcd2czs0bf0s1g51qas84mfxfq0dzd7k5h5l0qr4zy06"; 11 + sha256 = "bb692254bde35d7e1d3d1534d9b3117810b35a744724625f150fbbc64d519c02"; 12 12 }; 13 13 14 14 checkPhase = "nosetests --exclude with_expand_user nilearn/tests";
+2 -2
pkgs/development/python-modules/notebook/default.nix
··· 22 22 23 23 buildPythonPackage rec { 24 24 pname = "notebook"; 25 - version = "5.2.1"; 25 + version = "5.2.2"; 26 26 name = "${pname}-${version}"; 27 27 28 28 src = fetchPypi { 29 29 inherit pname version; 30 - sha256 = "4ae5b81dd39b37cdd99dcffe83a5182c849947b92d46ac4d2b5093af2bb9f224"; 30 + sha256 = "7bb54fb61b9c5426bc116f840541b973431198e00ea2896122d05fc122dbbd67"; 31 31 }; 32 32 33 33 LC_ALL = "en_US.utf8";
+6 -7
pkgs/development/python-modules/numba/default.nix
··· 1 1 { stdenv 2 - , fetchurl 2 + , fetchPypi 3 3 , python 4 4 , buildPythonPackage 5 5 , isPy27 ··· 14 14 }: 15 15 16 16 buildPythonPackage rec { 17 - version = "0.35.0"; 17 + version = "0.36.2"; 18 18 pname = "numba"; 19 - name = "${pname}-${version}"; 20 19 21 - src = fetchurl { 22 - url = "mirror://pypi/n/numba/${name}.tar.gz"; 23 - sha256 = "11564937757605bee590c5758c73cfe9fd6d569726b56d970316a6228971ecc3"; 20 + src = fetchPypi { 21 + inherit pname version; 22 + sha256 = "d61597808ce511e81b64e32da664f52beb7d947bf834dde8b8b60b29d205e5c2"; 24 23 }; 25 24 26 25 NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1"; ··· 29 28 30 29 # Copy test script into $out and run the test suite. 31 30 checkPhase = '' 32 - python -m numba.runtests 31 + ${python.interpreter} -m numba.runtests 33 32 ''; 34 33 # ImportError: cannot import name '_typeconv' 35 34 doCheck = false;
+2 -2
pkgs/development/python-modules/odfpy/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "odfpy"; 8 - version = "1.3.5"; 8 + version = "1.3.6"; 9 9 name = "${pname}-${version}"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "6f8163f8464868cff9421a058f25566e41d73c8f7e849c021b86630941b44366"; 13 + sha256 = "6bcaf3b23aa9e49ed8c8c177266539b211add4e02402748a994451482a10cb1b"; 14 14 }; 15 15 16 16 checkPhase = ''
+2 -2
pkgs/development/python-modules/path.py/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "path.py"; 12 - version = "10.4"; 12 + version = "10.5"; 13 13 name = pname + "-" + version; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "c63c75777c8a01f7b273c0065a8ea1e3ba0c9b369fa4a2601831e412b2c4881a"; 17 + sha256 = "63a7af08676668fd51750f111affbd38c1a13c61aba15c6665b16681771c79a8"; 18 18 }; 19 19 20 20 checkInputs = [ pytest pytestrunner ];
+4 -3
pkgs/development/python-modules/pathlib2/default.nix
··· 5 5 , pythonOlder 6 6 , scandir 7 7 , glibcLocales 8 + , mock 8 9 }: 9 10 10 11 if !(pythonOlder "3.4") then null else buildPythonPackage rec { 11 12 pname = "pathlib2"; 12 - version = "2.2.1"; 13 + version = "2.3.0"; 13 14 14 15 src = fetchPypi { 15 16 inherit pname version; 16 - sha256 = "ce9007df617ef6b7bd8a31cd2089ed0c1fed1f7c23cf2bf1ba140b3dd563175d"; 17 + sha256 = "d32550b75a818b289bd4c1f96b60c89957811da205afcceab75bc8b4857ea5b3"; 17 18 }; 18 19 19 20 propagatedBuildInputs = [ six ] ++ lib.optional (pythonOlder "3.5") scandir; 20 - checkInputs = [ glibcLocales ]; 21 + checkInputs = [ glibcLocales ] ++ lib.optional (pythonOlder "3.3") mock; 21 22 22 23 preCheck = '' 23 24 export LC_ALL="en_US.UTF-8"
+2 -2
pkgs/development/python-modules/pexpect/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "pexpect"; 9 - version = "4.3.0"; 9 + version = "4.3.1"; 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "1nfjmz81gsixv22dywidakm7pff3ly1i4yly950bfp8gz1r0iaq0"; 14 + sha256 = "8e287b171dbaf249d0b06b5f2e88cb7e694651d2d0b8c15bccb83170d3c55575"; 15 15 }; 16 16 17 17 # Wants to run pythonin a subprocess
+2 -2
pkgs/development/python-modules/phonenumbers/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "phonenumbers"; 5 - version = "8.8.6"; 5 + version = "8.8.8"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "ab1fa853350dde91be672192b427169b29e3348c236e46ad7a757e4ac8163c8c"; 10 + sha256 = "ff2f492e49c212bb7185954efe09e68583a67daec586c02c49bc728c343d4eb0"; 11 11 }; 12 12 13 13 meta = {
+4 -2
pkgs/development/python-modules/pip-tools/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "pip-tools"; 6 - version = "1.10.2"; 6 + version = "1.11.0"; 7 7 name = pname + "-" + version; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://pypi/p/pip-tools/${name}.tar.gz"; 11 - sha256 = "d381c7249eb48350cc49447cc106df3d90e9e806b13caaede602c1cd38f61b37"; 11 + sha256 = "ba427b68443466c389e3b0b0ef55f537ab39344190ea980dfebb333d0e6a50a3"; 12 12 }; 13 13 14 14 LC_ALL = "en_US.UTF-8"; ··· 21 21 "test_generate_hashes_all_platforms" 22 22 "test_generate_hashes_without_interfering_with_each_other" 23 23 "test_realistic_complex_sub_dependencies" 24 + "test_generate_hashes_with_editable" 24 25 # Expect specific version of "six": 25 26 "test_editable_package" 26 27 "test_input_file_without_extension" 28 + "test_locally_available_editable_package_is_not_archived_in_cache_dir" 27 29 ]; 28 30 29 31 checkPhase = ''
+2 -2
pkgs/development/python-modules/plotly/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "plotly"; 13 - version = "2.1.0"; 13 + version = "2.2.3"; 14 14 name = "${pname}-${version}"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "ff6899dc11907b1efb944f79f9583b2e30ba2964bb009145f3580bf30b4d9ee4"; 18 + sha256 = "dadd2263f1c0449b248fd3742a077d9594935921a9597529be76d6a841237ab0"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [
+29
pkgs/development/python-modules/pluggy/default.nix
··· 1 + { buildPythonPackage 2 + , lib 3 + , fetchPypi 4 + , pytest 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "pluggy"; 9 + version = "0.6.0"; 10 + 11 + src = fetchPypi { 12 + inherit pname version; 13 + sha256 = "7f8ae7f5bdf75671a718d2daf0a64b7885f74510bcd98b1a0bb420eb9a9d0cff"; 14 + }; 15 + 16 + checkPhase = '' 17 + py.test 18 + ''; 19 + 20 + # To prevent infinite recursion with pytest 21 + doCheck = false; 22 + 23 + meta = { 24 + description = "Plugin and hook calling mechanisms for Python"; 25 + homepage = "https://pypi.python.org/pypi/pluggy"; 26 + license = lib.licenses.mit; 27 + maintainers = with lib.maintainers; [ jgeerds ]; 28 + }; 29 + }
+2 -2
pkgs/development/python-modules/plumbum/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "plumbum"; 9 - version = "1.6.3"; 9 + version = "1.6.5"; 10 10 name = "${pname}-${version}"; 11 11 12 12 checkInputs = [ pytest ]; ··· 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "0249e708459f1b05627a7ca8787622c234e4db495a532acbbd1f1f17f28c7320"; 19 + sha256 = "d8abb059bb62beb6c99db08d3598167abaeeab53eaf218f91e74bae471a24bee"; 20 20 }; 21 21 }
+2 -2
pkgs/development/python-modules/psutil/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "psutil"; 10 - version = "5.4.1"; 10 + version = "5.4.2"; 11 11 name = "${pname}-${version}"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "42e2de159e3c987435cb3b47d6f37035db190a1499f3af714ba7af5c379b6ba2"; 15 + sha256 = "00a1f9ff8d1e035fba7bfdd6977fa8ea7937afdb4477339e5df3dba78194fe11"; 16 16 }; 17 17 18 18 # No tests in archive
+2 -2
pkgs/development/python-modules/py/default.nix
··· 1 1 { stdenv, buildPythonPackage, fetchPypi }: 2 2 buildPythonPackage rec { 3 3 pname = "py"; 4 - version = "1.4.34"; 4 + version = "1.5.2"; 5 5 name = "${pname}-${version}"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "1qyd5z0hv8ymxy84v5vig3vps2fvhcf4bdlksb3r03h549fmhb8g"; 9 + sha256 = "ca18943e28235417756316bfada6cd96b23ce60dd532642690dcfdaba988a76d"; 10 10 }; 11 11 12 12 # Circular dependency on pytest
+27
pkgs/development/python-modules/pyaml/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pyyaml 5 + , unidecode 6 + , python 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "pyaml"; 11 + version = "17.12.1"; 12 + 13 + src = fetchPypi { 14 + inherit pname version; 15 + sha256 = "66623c52f34d83a2c0fc963e08e8b9d0c13d88404e3b43b1852ef71eda19afa3"; 16 + }; 17 + 18 + propagatedBuildInputs = [ pyyaml ]; 19 + 20 + checkInputs = [ unidecode ]; 21 + 22 + meta = { 23 + description = "PyYAML-based module to produce pretty and readable YAML-serialized data"; 24 + homepage = https://github.com/mk-fg/pretty-yaml; 25 + license = lib.licenses.wtfpl; 26 + }; 27 + }
+2 -2
pkgs/development/python-modules/pyasn1-modules/default.nix
··· 3 3 buildPythonPackage rec { 4 4 name = "${pname}-${version}"; 5 5 pname = "pyasn1-modules"; 6 - version = "0.1.5"; 6 + version = "0.2.1"; 7 7 disabled = isPyPy; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "1239h6h67vg0wazg2qgv6m3hdim2gs66pl89lbnayk55bbnkwc0x"; 11 + sha256 = "af00ea8f2022b6287dc375b2c70f31ab5af83989fc6fe9eacd4976ce26cd7ccc"; 12 12 }; 13 13 14 14 propagatedBuildInputs = [ pyasn1 ];
+2 -2
pkgs/development/python-modules/pyasn1/default.nix
··· 3 3 buildPythonPackage rec { 4 4 name = "${pname}-${version}"; 5 5 pname = "pyasn1"; 6 - version = "0.3.4"; 6 + version = "0.4.2"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "06hhy38jhwh95gpn8f03cr439273fsfsh4vhd5024r86nh5gyiir"; 10 + sha256 = "d258b0a71994f7770599835249cece1caef3c70def868c4915e6e5ca49b67d15"; 11 11 }; 12 12 13 13 meta = with stdenv.lib; {
+2 -2
pkgs/development/python-modules/pyblake2/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "pyblake2"; 8 - version = "0.9.3"; 8 + version = "1.1.0"; 9 9 name = "${pname}-${version}"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "626448e1fe1cc01d2197118954bec9f158378577e12686d5b01979f7f0fa2212"; 13 + sha256 = "3a850036bf42053c74bfc52c063323ca78e40ba1f326b01777da5750a143631a"; 14 14 }; 15 15 16 16 # requires setting up sphinx doctest
+2 -2
pkgs/development/python-modules/pychromecast/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "PyChromecast"; 5 - version = "0.8.1"; 5 + version = "1.0.3"; 6 6 name = pname + "-" + version; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://pypi/p/pychromecast/${name}.tar.gz"; 10 - sha256 = "05rlr2hjng0xg2a9k9vwmrlvd7vy9sjhxxfl96kx25xynlkq6yq6"; 10 + sha256 = "714a9e03e6a258081e3b6296ed15592e015facbe38bbe60819cca6f04c599f25"; 11 11 }; 12 12 13 13 propagatedBuildInputs = [ requests six zeroconf protobuf ];
+3 -4
pkgs/development/python-modules/pycollada/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pycollada"; 5 - version = "0.5"; 6 - name = "${pname}-${version}"; 5 + version = "0.6"; 7 6 8 7 src = fetchPypi { 9 8 inherit pname version; 10 - sha256 = "1g96maw2c25l4i3ks51784h33zf7s18vrn6iyz4ca34iy4sl7yq9"; 9 + sha256 = "fcd6f38fd981e350f9ec754d9671834017accd600e967d6d299a6cfdae5ba4f4"; 11 10 }; 12 11 13 - buildInputs = [ numpy ] ++ (if isPy3k then [dateutil] else [dateutil_1_5]); 12 + propagatedBuildInputs = [ numpy dateutil ]; 14 13 15 14 # Some tests fail because they refer to test data files that don't exist 16 15 # (upstream packaging issue)
+2 -2
pkgs/development/python-modules/pydot/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "pydot"; 11 - version = "1.2.3"; 11 + version = "1.2.4"; 12 12 name = "${pname}-${version}"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "edb5d3f249f97fbd9c4bb16959e61bc32ecf40eee1a9f6d27abe8d01c0a73502"; 16 + sha256 = "92d2e2d15531d00710f2d6fb5540d2acabc5399d464f2f20d5d21073af241eb6"; 17 17 }; 18 18 checkInputs = [ chardet ]; 19 19 # No tests in archive
+2 -2
pkgs/development/python-modules/pygit2/default.nix
··· 3 3 buildPythonPackage rec { 4 4 name = "${pname}-${version}"; 5 5 pname = "pygit2"; 6 - version = "0.26.0"; 6 + version = "0.26.3"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "1cbc488ra3kg7r3qky17ms0szi3cda2d96qfkv1l9djsy9hnvw57"; 10 + sha256 = "29baa530d6fcbf7cca6a75cf9c78fb88613ca81afb39c62fe492f226f6b61800"; 11 11 }; 12 12 13 13 preConfigure = lib.optionalString stdenv.isDarwin ''
+6 -5
pkgs/development/python-modules/pyglet/default.nix
··· 1 1 { stdenv, buildPythonPackage, fetchPypi 2 - , mesa, xorg, freetype, fontconfig}: 2 + , mesa, xorg, freetype, fontconfig, future}: 3 3 4 4 buildPythonPackage rec { 5 - version = "1.2.4"; 5 + version = "1.3.0"; 6 6 pname = "pyglet"; 7 - name = "${pname}-${version}"; 8 7 9 8 src = fetchPypi { 10 9 inherit pname version; 11 - sha256 = "9f62ffbbcf2b202d084bf158685e77d28b8f4f5f2738f4c5e63a947a07503445"; 10 + sha256 = "640a8f8e3d7bf8dbb551fa707f14021f619932990ab1401c48ba9dbcc6c2242c"; 12 11 }; 13 12 14 - patchPhase = let 13 + postPatch = let 15 14 libs = [ mesa xorg.libX11 freetype fontconfig ]; 16 15 paths = builtins.concatStringsSep "," (map (l: "\"${l}/lib\"") libs); 17 16 in "sed -i -e 's|directories\.extend.*lib[^]]*|&,${paths}|' pyglet/lib.py"; 18 17 19 18 doCheck = false; 19 + 20 + propagatedBuildInputs = [ future ]; 20 21 21 22 meta = with stdenv.lib; { 22 23 homepage = "http://www.pyglet.org/";
+2 -2
pkgs/development/python-modules/pylast/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pylast"; 5 - version = "1.9.0"; 5 + version = "2.0.0"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "ae1c4105cbe704d9ac10ba57ac4c26bc576cc33978f1b578101b20c6a2360ca4"; 10 + sha256 = "8e4d4962aa12d67bd357e1aa596a146b2e97afd943b5c9257e555014d13b3065"; 11 11 }; 12 12 13 13 propagatedBuildInputs = [ certifi six ];
+2 -2
pkgs/development/python-modules/pylint/default.nix
··· 4 4 buildPythonPackage rec { 5 5 name = "${pname}-${version}"; 6 6 pname = "pylint"; 7 - version = "1.7.4"; 7 + version = "1.8.1"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "1f65b3815c3bf7524b845711d54c4242e4057dd93826586620239ecdfe591fb1"; 11 + sha256 = "3035e44e37cd09919e9edad5573af01d7c6b9c52a0ebb4781185ae7ab690458b"; 12 12 }; 13 13 14 14 buildInputs = [ pytest pytestrunner mccabe configparser backports_functools_lru_cache ];
+2 -2
pkgs/development/python-modules/pymongo/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pymongo"; 5 - version = "3.5.1"; 5 + version = "3.6.0"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "0939bl3brrklvccicck62gs3zd7i9aysz13c8pxc3gpk2hsdj878"; 10 + sha256 = "c6de26d1e171cdc449745b82f1addbc873d105b8e7335097da991c0fc664a4a8"; 11 11 }; 12 12 13 13 doCheck = false;
+2 -2
pkgs/development/python-modules/pyobjc/default.nix
··· 3 3 buildPythonPackage rec { 4 4 name = "${pname}-${version}"; 5 5 pname = "pyobjc"; 6 - version = "4.0b1"; 6 + version = "4.1"; 7 7 8 8 # Gives "No matching distribution found for 9 9 # pyobjc-framework-Collaboration==4.0b1 (from pyobjc==4.0b1)" ··· 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "16bng6960c1m57nnh1l09ycnyimrqzw9mx9pnyjxn5zzm5kalr37"; 14 + sha256 = "287db11f912ac7d05c4907dbf6e74abaa475e36368f7c92e05aca2886a94562c"; 15 15 }; 16 16 17 17 meta = {
+9 -4
pkgs/development/python-modules/pyopencl/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "pyopencl"; 18 - version = "2017.2"; 19 - name = "${pname}-${version}"; 18 + version = "2017.2.2"; 20 19 21 - buildInputs = [ pytest opencl-headers ocl-icd ]; 20 + checkInputs = [ pytest ]; 21 + buildInputs = [ opencl-headers ocl-icd ]; 22 22 23 23 propagatedBuildInputs = [ numpy cffi pytools decorator appdirs six Mako ]; 24 24 25 25 src = fetchPypi { 26 26 inherit pname version; 27 - sha256 = "039b689a58eb98e27a577ac086210deae959f40d657487f3199d2d217c270ff9"; 27 + sha256 = "d2f7b04d2e819c6e90d6366b7712a7452a39fba218e51b11b02c85ab07fd2983"; 28 28 }; 29 + 30 + # py.test is not needed during runtime, so remove it from `install_requires` 31 + postPatch = '' 32 + substituteInPlace setup.py --replace "pytest>=2" "" 33 + ''; 29 34 30 35 # gcc: error: pygpu_language_opencl.cpp: No such file or directory 31 36 doCheck = false;
+2 -2
pkgs/development/python-modules/pysoundfile/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "PySoundFile"; 14 - version = "0.8.1"; 14 + version = "0.9.0.post1"; 15 15 name = pname + "-" + version; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "72c3e23b7c9998460ec78176084ea101e3439596ab29df476bc8508708df84df"; 19 + sha256 = "43dd46a2afc0484c26930a7e59eef9365cee81bce7a4aadc5699f788f60d32c3"; 20 20 }; 21 21 22 22 checkInputs = [ pytest ];
+2 -2
pkgs/development/python-modules/pytest-localserver/default.nix
··· 10 10 buildPythonPackage rec { 11 11 pname = "pytest-localserver"; 12 12 name = "${pname}-${version}"; 13 - version = "0.3.7"; 13 + version = "0.4.1"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "1c11hn61n06ms0wmw6536vs5k4k9hlndxsb3p170nva56a9dfa6q"; 17 + sha256 = "a72af60a1ec8f73668a7884c86baf1fbe48394573cb4fa36709887217736c021"; 18 18 }; 19 19 20 20 propagatedBuildInputs = [ werkzeug ];
+2 -2
pkgs/development/python-modules/pytest-xdist/default.nix
··· 3 3 buildPythonPackage rec { 4 4 name = "${pname}-${version}"; 5 5 pname = "pytest-xdist"; 6 - version = "1.20.1"; 6 + version = "1.21.0"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "433e82f9b34986a4e4b2be38c60e82cca3ac64b7e1b38f4d8e3e118292939712"; 10 + sha256 = "0b8622435e3c0650a8d5a07b73a7f9c4f79b52d7ed060536a6041f0da423ba8e"; 11 11 }; 12 12 13 13 buildInputs = [ pytest setuptools_scm pytest-forked];
+27
pkgs/development/python-modules/pytest/3_2.nix
··· 1 + { stdenv, buildPythonPackage, fetchPypi, isPy26, argparse, hypothesis, py 2 + , setuptools_scm, setuptools 3 + }: 4 + buildPythonPackage rec { 5 + version = "3.2.5"; 6 + pname = "pytest"; 7 + 8 + preCheck = '' 9 + # don't test bash builtins 10 + rm testing/test_argcomplete.py 11 + ''; 12 + 13 + src = fetchPypi { 14 + inherit pname version; 15 + sha256 = "6d5bd4f7113b444c55a3bbb5c738a3dd80d43563d063fc42dcb0aaefbdd78b81"; 16 + }; 17 + 18 + checkInputs = [ hypothesis ]; 19 + buildInputs = [ setuptools_scm ]; 20 + propagatedBuildInputs = [ py setuptools ] 21 + ++ (stdenv.lib.optional isPy26 argparse); 22 + 23 + meta = with stdenv.lib; { 24 + maintainers = with maintainers; [ domenkozar lovek323 madjar lsix ]; 25 + platforms = platforms.unix; 26 + }; 27 + }
+7 -5
pkgs/development/python-modules/pytest/default.nix
··· 1 - { stdenv, buildPythonPackage, fetchPypi, isPy26, argparse, hypothesis, py 2 - , setuptools_scm, setuptools 1 + { stdenv, buildPythonPackage, fetchPypi, isPy26, argparse, attrs, hypothesis, py 2 + , setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k 3 3 }: 4 4 buildPythonPackage rec { 5 - version = "3.2.5"; 5 + version = "3.3.1"; 6 6 pname = "pytest"; 7 7 8 8 preCheck = '' ··· 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "6d5bd4f7113b444c55a3bbb5c738a3dd80d43563d063fc42dcb0aaefbdd78b81"; 15 + sha256 = "cf8436dc59d8695346fcd3ab296de46425ecab00d64096cebe79fb51ecb2eb93"; 16 16 }; 17 17 18 18 checkInputs = [ hypothesis ]; 19 19 buildInputs = [ setuptools_scm ]; 20 - propagatedBuildInputs = [ py setuptools ] 20 + propagatedBuildInputs = [ attrs py setuptools six pluggy ] 21 + ++ (stdenv.lib.optional (!isPy3k) funcsigs) 21 22 ++ (stdenv.lib.optional isPy26 argparse); 22 23 23 24 meta = with stdenv.lib; { 24 25 maintainers = with maintainers; [ domenkozar lovek323 madjar lsix ]; 25 26 platforms = platforms.unix; 27 + description = "Framework for writing tests"; 26 28 }; 27 29 }
+10 -6
pkgs/development/python-modules/pytoml/default.nix
··· 1 - { stdenv, buildPythonPackage, fetchgit 2 - , python }: 1 + { stdenv 2 + , buildPythonPackage 3 + , fetchgit 4 + , python 5 + }: 3 6 4 7 buildPythonPackage rec { 5 8 pname = "pytoml"; 6 - version = "0.1.11"; 7 - name = "${pname}-${version}"; 9 + version = "0.1.14"; 8 10 9 - checkPhase = "${python.interpreter} test/test.py"; 11 + checkPhase = '' 12 + ${python.interpreter} test/test.py 13 + ''; 10 14 11 15 # fetchgit used to ensure test submodule is available 12 16 src = fetchgit { 13 17 url = "${meta.homepage}.git"; 14 18 rev = "refs/tags/v${version}"; 15 - sha256 = "1jiw04zk9ccynr8kb1vqh9r1p2kh0al7g7b1f94911iazg7dgs9j"; 19 + sha256 = "1ip71yqxnyi4jhw5x1q7a0za61ndhpfh0vbx08jfv0w4ayng6rgv"; 16 20 }; 17 21 18 22 meta = with stdenv.lib; {
+39
pkgs/development/python-modules/pytools/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , decorator 5 + , appdirs 6 + , six 7 + , numpy 8 + , pytest 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "pytools"; 13 + version = "2017.6"; 14 + 15 + src = fetchPypi { 16 + inherit pname version; 17 + sha256 = "80f1bba4469d473c1b3969bc8e188c03bcc94d35807a889ceebbfc78e3208115"; 18 + }; 19 + 20 + checkInputs = [ pytest ]; 21 + 22 + propagatedBuildInputs = [ 23 + decorator 24 + appdirs 25 + six 26 + numpy 27 + ]; 28 + 29 + checkPhase = '' 30 + py.test -k 'not test_persistent_dict' 31 + ''; 32 + 33 + meta = { 34 + homepage = https://github.com/inducer/pytools/; 35 + description = "Miscellaneous Python lifesavers."; 36 + license = lib.licenses.mit; 37 + maintainers = with lib.maintainers; [ artuuge ]; 38 + }; 39 + }
+2 -2
pkgs/development/python-modules/pywinrm/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "pywinrm"; 14 - version = "0.2.2"; 14 + version = "0.3.0"; 15 15 name = "${pname}-${version}"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "06xc0mbqf718vmsp0fq0rb64nql66l5w2x23bmqnzl6nzc0gfc1h"; 19 + sha256 = "799fc3e33fec8684443adf5778860388289102ea4fa1458f1bf307d167855573"; 20 20 }; 21 21 22 22 checkInputs = [ mock pytest ];
+2 -2
pkgs/development/python-modules/relatorio/default.nix
··· 3 3 buildPythonPackage rec { 4 4 pname = "relatorio"; 5 5 name = "${pname}-${version}"; 6 - version = "0.7.1"; 6 + version = "0.8.0"; 7 7 src = fetchurl { 8 8 url = "mirror://pypi/r/relatorio/${name}.tar.gz"; 9 - sha256 = "744f1e39313f037a0ab52a154338ece151d83e5442a9278db1f8ce450ce6c2cd"; 9 + sha256 = "bddf85d029c5c85a0f976d73907e14e4c3093065fe8527170c91abf0218546d9"; 10 10 }; 11 11 propagatedBuildInputs = [ 12 12 genshi
+2 -2
pkgs/development/python-modules/restview/default.nix
··· 10 10 buildPythonPackage rec { 11 11 pname = "restview"; 12 12 name = "${pname}-${version}"; 13 - version = "2.7.0"; 13 + version = "2.8.0"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "e7842100f3de179c68cfe7c2cf56c61509cd6068bc6dd58ab42c0ade5d5f97ec"; 17 + sha256 = "5f6f1523228eab3269f59dd03ac560f7d370cd81df6fdbcb4914b5e6bd896a11"; 18 18 }; 19 19 20 20 propagatedBuildInputs = [ docutils readme_renderer pygments ];
+2 -2
pkgs/development/python-modules/robomachine/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "robomachine"; 5 - version = "0.6"; 5 + version = "0.8.0"; 6 6 name = pname + "-" + version; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://pypi/R/RoboMachine/RoboMachine-0.6.tar.gz"; 10 - sha256 = "6c9a9bae7bffa272b2a09b05df06c29a3a776542c70cae8041a8975a061d2e54"; 10 + sha256 = "242cfd9be0f7591138eaeba03c9c190f894ce045e1767ab7b90eca330259fc45"; 11 11 }; 12 12 13 13 propagatedBuildInputs = [ pyparsing argparse robotframework ];
+7 -5
pkgs/development/python-modules/ropper/default.nix
··· 3 3 , fetchPypi 4 4 , capstone 5 5 , filebytes 6 - , pytest }: 6 + , pytest 7 + }: 7 8 8 9 buildPythonApplication rec { 9 - name = "${pname}-${version}"; 10 10 pname = "ropper"; 11 - version = "1.10.10"; 11 + version = "1.11.2"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "1676e07947a19df9d17002307a7555c2647a4224d6f2869949e8fc4bd18f2e87"; 15 + sha256 = "2183feedfe8b01a27301eee07383b481ece01b2319bdba3afebe33e19ca14aa3"; 16 16 }; 17 17 # XXX tests rely on user-writeable /dev/shm to obtain process locks and return PermissionError otherwise 18 18 # workaround: sudo chmod 777 /dev/shm 19 19 checkPhase = '' 20 20 py.test testcases 21 21 ''; 22 - buildInputs = [pytest]; 22 + doCheck = false; # Tests not included in archive 23 + 24 + checkInputs = [pytest]; 23 25 propagatedBuildInputs = [ capstone filebytes ]; 24 26 meta = with stdenv.lib; { 25 27 homepage = https://scoding.de/ropper/;
+2 -2
pkgs/development/python-modules/scrapy/default.nix
··· 2 2 testfixtures, pillow, six, twisted, w3lib, lxml, queuelib, pyopenssl, 3 3 service-identity, parsel, pydispatcher, cssselect, lib }: 4 4 buildPythonPackage rec { 5 - version = "1.4.0"; 5 + version = "1.5.0"; 6 6 pname = "Scrapy"; 7 7 name = "${pname}-${version}"; 8 8 ··· 26 26 27 27 src = fetchurl { 28 28 url = "mirror://pypi/S/Scrapy/${name}.tar.gz"; 29 - sha256 = "04a08f027eef5d271342a016439533c81ba46f14bfcf230fecf602e99beaf233"; 29 + sha256 = "31a0bf05d43198afaf3acfb9b4fb0c09c1d7d7ff641e58c66e36117f26c4b755"; 30 30 }; 31 31 32 32 meta = with lib; {
+2 -2
pkgs/development/python-modules/seaborn/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "seaborn"; 11 - version = "0.7.1"; 11 + version = "0.8.1"; 12 12 name = "${pname}-${version}"; 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "0pawrqc3mxpwd5g9pvi9gba02637bh5c8ldpp8izfwpfn52469zs"; 15 + sha256 = "6702978b903d0284446e935916b980dfebae4063c18ad8eb6e8f9e76d0257eae"; 16 16 }; 17 17 18 18 checkInputs = [ nose ];
+2 -2
pkgs/development/python-modules/serpy/default.nix
··· 5 5 buildPythonPackage rec { 6 6 pname = "serpy"; 7 7 name = "${pname}-${version}"; 8 - version = "0.2.0"; 8 + version = "0.3.1"; 9 9 10 10 meta = { 11 11 description = "ridiculously fast object serialization"; ··· 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "7e62e242321b208362966d5ab32b45df93b1cb88da4ce6260277da060b4f7475"; 18 + sha256 = "3772b2a9923fbf674000ff51abebf6ea8f0fca0a2cfcbfa0d63ff118193d1ec5"; 19 19 }; 20 20 21 21 buildInputs = [ flake8 py pyflakes tox ];
+2 -2
pkgs/development/python-modules/setuptools/default.nix
··· 8 8 # Should use buildPythonPackage here somehow 9 9 stdenv.mkDerivation rec { 10 10 pname = "setuptools"; 11 - version = "38.2.3"; 11 + version = "38.2.5"; 12 12 name = "${python.libPrefix}-${pname}-${version}"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 16 extension = "zip"; 17 - sha256 = "124jlg72bbk2xxv5wqbwcl4h5cdslslzk92rxjxiplg79l499hv3"; 17 + sha256 = "b080f276cc868670540b2c03cee06cc14d2faf9da7bec0f15058d1b402c94507"; 18 18 }; 19 19 20 20 buildInputs = [ python wrapPython unzip ];
+2 -2
pkgs/development/python-modules/shapely/default.nix
··· 6 6 buildPythonPackage rec { 7 7 name = "${pname}-${version}"; 8 8 pname = "Shapely"; 9 - version = "1.6.2.post1"; 9 + version = "1.6.3"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "07fba518e76b3276558f62a5829bdfa476f790cdef752383ccdc8c66b04b0899"; 13 + sha256 = "14152f111c7711fc6756fd538ec12fc8cdde7419f869b244922f71f61b2a6c6b"; 14 14 }; 15 15 16 16 buildInputs = [ geos glibcLocales cython ];
+2 -2
pkgs/development/python-modules/simplejson/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "simplejson"; 9 - version = "3.11.1"; 9 + version = "3.13.2"; 10 10 name = "${pname}-${version}"; 11 11 doCheck = !stdenv.isDarwin; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "01a22d49ddd9a168b136f26cac87d9a335660ce07aa5c630b8e3607d6f4325e7"; 15 + sha256 = "4c4ecf20e054716cc1e5a81cadc44d3f4027108d8dd0861d8b1e3bd7a32d4f0a"; 16 16 }; 17 17 18 18 meta = {
+3
pkgs/development/python-modules/six/default.nix
··· 19 19 py.test test_six.py 20 20 ''; 21 21 22 + # To prevent infinite recursion with pytest 23 + doCheck = false; 24 + 22 25 meta = { 23 26 description = "A Python 2 and 3 compatibility library"; 24 27 homepage = https://pypi.python.org/pypi/six/;
+2 -2
pkgs/development/python-modules/smart_open/default.nix
··· 12 12 buildPythonPackage rec { 13 13 pname = "smart_open"; 14 14 name = "${pname}-${version}"; 15 - version = "1.5.3"; 15 + version = "1.5.6"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "0m5j71f7f36s17v4mwv0bxg4azknvcy82rbjp28b4vifrjd6dm7s"; 19 + sha256 = "8fd2de1c359bd0074bd6d334a5b9820ae1c5b6ba563970b95052bace4b71baeb"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [ boto bz2file requests responses moto ];
+2 -2
pkgs/development/python-modules/sqlalchemy/default.nix
··· 11 11 buildPythonPackage rec { 12 12 pname = "SQLAlchemy"; 13 13 name = "${pname}-${version}"; 14 - version = "1.1.15"; 14 + version = "1.2.0"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "8b79a5ed91cdcb5abe97b0045664c55c140aec09e5dd5c01303e23de5fe7a95a"; 18 + sha256 = "7dda3e0b1b12215e3bb05368d1abbf7d747112a43738e0a4e6deb466b83fd88e"; 19 19 }; 20 20 21 21 checkInputs = [
+2 -2
pkgs/development/python-modules/sqlmap/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "sqlmap"; 8 - version = "1.1.11"; 8 + version = "1.1.12"; 9 9 name = "${pname}-${version}"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "bb5297df9cd97316b3c7ca64f8e31cae5cc6b94c015afd84c546877f1f77d6e4"; 13 + sha256 = "86a1078ceb1e79f891633c7e4c7b07949fd9135a0e4c0738abd5111e2e6b96c0"; 14 14 }; 15 15 16 16 # No tests in archive
+2 -2
pkgs/development/python-modules/stevedore/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "stevedore"; 5 - version = "1.27.1"; 5 + version = "1.28.0"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "236468dae36707069e8b3bdb455e9f1be090b1e6b937f4ac0c56a538d6f50be0"; 10 + sha256 = "f1c7518e7b160336040fee272174f1f7b29a46febb3632502a8f2055f973d60b"; 11 11 }; 12 12 13 13 doCheck = false;
+2 -2
pkgs/development/python-modules/stripe/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "stripe"; 6 - version = "1.70.0"; 6 + version = "1.77.0"; 7 7 name = "${pname}-${version}"; 8 8 9 9 # Tests require network connectivity and there's no easy way to disable ··· 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "ee77103d2d18fe6369f23c40c93067425c5ed67e08b1a7678e681217e8fa8062"; 15 + sha256 = "6503851d2309dd9c1307e3f0a1cb33ac1427fee25d38ecba1f8bf73a0d74defc"; 16 16 }; 17 17 18 18 buildInputs = [ unittest2 mock ];
+32
pkgs/development/python-modules/structlog/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pytest 5 + , pretend 6 + , freezegun 7 + , simplejson 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "structlog"; 12 + version = "17.2.0"; 13 + 14 + src = fetchPypi { 15 + inherit pname version; 16 + sha256 = "6980001045abd235fa12582222627c19b89109e58b85eb77d5a5abc778df6e20"; 17 + }; 18 + 19 + checkInputs = [ pytest pretend freezegun ]; 20 + propagatedBuildInputs = [ simplejson ]; 21 + 22 + checkPhase = '' 23 + rm tests/test_twisted.py* 24 + py.test 25 + ''; 26 + 27 + meta = { 28 + description = "Painless structural logging"; 29 + homepage = http://www.structlog.org/; 30 + license = lib.licenses.asl20; 31 + }; 32 + }
+2 -2
pkgs/development/python-modules/supervise_api/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "supervise_api"; 9 - version = "0.1.5"; 9 + version = "0.2.0"; 10 10 11 11 name = "${pname}-${version}"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "1pqqlw80cjdgrlpvdmydkyhsrr4s531mn6bfkshm68j9gk4kq6px"; 15 + sha256 = "e6982633a924cb5192d2291d25b366ff311876a31b0f5961471b39d87397ef5b"; 16 16 }; 17 17 18 18 propagatedBuildInputs = [ supervise ];
+2 -2
pkgs/development/python-modules/sybil/default.nix
··· 3 3 4 4 buildPythonApplication rec { 5 5 pname = "sybil"; 6 - version = "1.0.5"; 6 + version = "1.0.6"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "0x8qd5p5qliv8wmdglda2iy3f70i4jg8zqyk8yhklm5hrxm8jdl6"; 10 + sha256 = "5bd7dd09eff68cbec9062e6950124fadfaaccbc0f50b23c1037f4d70ae86f0f1"; 11 11 }; 12 12 13 13 checkInputs = [ pytest nose ];
+2 -2
pkgs/development/python-modules/tabulate/default.nix
··· 5 5 }: 6 6 7 7 buildPythonPackage rec { 8 - version = "0.7.7"; 8 + version = "0.8.2"; 9 9 pname = "tabulate"; 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "83a0b8e17c09f012090a50e1e97ae897300a72b35e0c86c0b53d3bd2ae86d8c6"; 14 + sha256 = "e4ca13f26d0a6be2a2915428dc21e732f1e44dad7f76d7030b2ef1ec251cf7f2"; 15 15 }; 16 16 17 17 checkInputs = [ nose ];
+8 -4
pkgs/development/python-modules/testtools/default.nix
··· 12 12 , pyrsistent 13 13 }: 14 14 15 - # testtools 2.0.0 and up has a circular run-time dependency on futures 15 + 16 16 17 17 buildPythonPackage rec { 18 18 pname = "testtools"; 19 - version = "1.9.0"; 20 - name = "${pname}-${version}"; 19 + version = "2.3.0"; 21 20 22 21 # Python 2 only judging from SyntaxError 23 22 # disabled = isPy3k; 24 23 25 24 src = fetchPypi { 26 25 inherit pname version; 27 - sha256 = "b46eec2ad3da6e83d53f2b0eca9a8debb687b4f71343a074f83a16bbdb3c0644"; 26 + sha256 = "5827ec6cf8233e0f29f51025addd713ca010061204fdea77484a2934690a0559"; 28 27 }; 29 28 30 29 propagatedBuildInputs = [ pbr python_mimeparse extras lxml unittest2 pyrsistent ]; ··· 32 31 33 32 # No tests in archive 34 33 doCheck = false; 34 + 35 + # testtools 2.0.0 and up has a circular run-time dependency on futures 36 + postPatch = '' 37 + substituteInPlace requirements.txt --replace "fixtures>=1.3.0" "" 38 + ''; 35 39 36 40 meta = { 37 41 description = "A set of extensions to the Python standard library's unit testing framework";
+2 -2
pkgs/development/python-modules/textacy/default.nix
··· 25 25 buildPythonPackage rec { 26 26 name = "${pname}-${version}"; 27 27 pname = "textacy"; 28 - version = "0.4.1"; 28 + version = "0.5.0"; 29 29 30 30 src = fetchPypi { 31 31 inherit pname version; 32 - sha256 = "04wf3a7zgzz83nmgkh488wkl50zm9yfdpv3sl12sm2zj685plqcz"; 32 + sha256 = "6fc4603fd52c386081b063ef7aa15ca77e5e937a3064b197359659fccfdeb406"; 33 33 }; 34 34 35 35 disabled = isPy27; # 2.7 requires backports.csv
+20
pkgs/development/python-modules/texttable/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "texttable"; 8 + version = "1.1.1"; 9 + 10 + src = fetchPypi { 11 + inherit pname version; 12 + sha256 = "44674d1d470a9fc264c4d1eba44b74463ca0066d7b954453dd5a4f8057779c9c"; 13 + }; 14 + 15 + meta = { 16 + description = "A module to generate a formatted text table, using ASCII characters"; 17 + homepage = http://foutaise.org/code/; 18 + license = lib.licenses.lgpl2; 19 + }; 20 + }
+2 -2
pkgs/development/python-modules/thespian/default.nix
··· 1 1 { stdenv, fetchPypi, buildPythonPackage, lib }: 2 2 3 3 buildPythonPackage rec { 4 - version = "3.8.3"; 4 + version = "3.9.0"; 5 5 pname = "thespian"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 10 extension = "zip"; 11 - sha256 = "0vvwsh3waxd5ldrayr86kdcshv07bp361fl7p16g9i044vklwly4"; 11 + sha256 = "e698e3c5369d7b06de5c4ce7b877ea65991c99f7b0fabd09f29e91bc981c7d22"; 12 12 }; 13 13 14 14 # Do not run the test suite: it takes a long type and uses
+2 -2
pkgs/development/python-modules/toolz/default.nix
··· 6 6 7 7 buildPythonPackage rec{ 8 8 pname = "toolz"; 9 - version = "0.8.2"; 9 + version = "0.9.0"; 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "0l3czks4xy37i8099waxk2fdz5g0k1dwys2mkhlxc0b0886cj4sa"; 14 + sha256 = "929f0a7ea7f61c178bd951bdae93920515d3fbdbafc8e6caf82d752b9b3b31c9"; 15 15 }; 16 16 17 17 checkInputs = [ nose ];
+24
pkgs/development/python-modules/tox/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , py 5 + , virtualenv 6 + , pluggy 7 + , setuptools_scm 8 + , six 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "tox"; 13 + version = "2.9.1"; 14 + 15 + buildInputs = [ setuptools_scm ]; 16 + propagatedBuildInputs = [ py virtualenv pluggy six ]; 17 + 18 + doCheck = false; 19 + 20 + src = fetchPypi { 21 + inherit pname version; 22 + sha256 = "752f5ec561c6c08c5ecb167d3b20f4f4ffc158c0ab78855701a75f5cef05f4b8"; 23 + }; 24 + }
+2 -2
pkgs/development/python-modules/tqdm/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "tqdm"; 14 - version = "4.19.4"; 14 + version = "4.19.5"; 15 15 name = "${pname}-${version}"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "7ca803c2ea268c6bdb541e2dac74a3af23cf4bf7b4132a6a78926d255f8c8df1"; 19 + sha256 = "df32e6f127dc0ccbc675eadb33f749abbcb8f174c5cb9ec49c0cdb73aa737377"; 20 20 }; 21 21 22 22 buildInputs = [ nose coverage glibcLocales flake8 ];
+2 -2
pkgs/development/python-modules/tzlocal/default.nix
··· 4 4 buildPythonPackage rec { 5 5 name = "${pname}-${version}"; 6 6 pname = "tzlocal"; 7 - version = "1.4"; 7 + version = "1.5.1"; 8 8 9 9 propagatedBuildInputs = [ pytz ]; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "0n9hw4kqblyc0avzwi26rqmvyk9impb608rvy11qifmigy7r18h5"; 13 + sha256 = "4ebeb848845ac898da6519b9b31879cf13b6626f7184c496037b818e238f2c4e"; 14 14 }; 15 15 16 16 # test fail (timezone test fail)
+2 -2
pkgs/development/python-modules/vowpalwabbit/default.nix
··· 3 3 pythonPackages.buildPythonPackage rec { 4 4 pname = "vowpalwabbit"; 5 5 name = "${pname}-${version}"; 6 - version = "8.3.2"; 6 + version = "8.4.0"; 7 7 8 8 src = fetchurl{ 9 9 url = "mirror://pypi/v/vowpalwabbit/${name}.tar.gz"; 10 - sha256 = "0qm8rlrs2gfgamqnpx4lapxakpzgh0yh3kp1lbd7lhb0r748m3k7"; 10 + sha256 = "abd22bfae99fb102cf8a6aec49e8c278cb7317d3a7eb60f70cd102be9c336fd5"; 11 11 }; 12 12 # vw tries to write some explicit things to home 13 13 # python installed: The directory '/homeless-shelter/.cache/pip/http'
+2 -2
pkgs/development/python-modules/websockets/default.nix
··· 6 6 7 7 let 8 8 pname = "websockets"; 9 - version = "3.4"; 9 + version = "4.0.1"; 10 10 in buildPythonPackage rec { 11 11 name = "${pname}-${version}"; 12 12 13 13 src = fetchurl { 14 14 url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; 15 - sha256 = "43e5b9f51dd0000a4c6f646e2ade0c886bd14a784ffac08b9e079bd17a63bcc5"; 15 + sha256 = "da4d4fbe059b0453e726d6d993760065d69b823a27efc3040402a6fcfe6a1ed9"; 16 16 }; 17 17 18 18 disabled = pythonOlder "3.3";
+8 -6
pkgs/development/python-modules/werkzeug/default.nix
··· 1 1 { stdenv, buildPythonPackage, fetchPypi 2 - , itsdangerous 2 + , itsdangerous, hypothesis 3 3 , pytest, requests, glibcLocales }: 4 4 5 5 buildPythonPackage rec { 6 6 name = "${pname}-${version}"; 7 7 pname = "Werkzeug"; 8 - version = "0.12.2"; 8 + version = "0.13"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "09mv4cya3lywkn4mi3qrqmjgwiw99kdk03dk912j8da6ny3pnflh"; 12 + sha256 = "6246e5fc98a505824113fb6aca993d45ea284a2bcffdc2c65d0c538e53e4abd3"; 13 13 }; 14 14 15 - LC_ALL = "en_US.UTF-8"; 15 + propagatedBuildInputs = [ itsdangerous ]; 16 + checkInputs = [ pytest requests glibcLocales hypothesis ]; 16 17 17 - propagatedBuildInputs = [ itsdangerous ]; 18 - buildInputs = [ pytest requests glibcLocales ]; 18 + checkPhase = '' 19 + LC_ALL="en_US.UTF-8" py.test 20 + ''; 19 21 20 22 meta = with stdenv.lib; { 21 23 homepage = http://werkzeug.pocoo.org/;
+2 -2
pkgs/development/python-modules/widgetsnbextension/default.nix
··· 8 8 buildPythonPackage rec { 9 9 pname = "widgetsnbextension"; 10 10 name = "${pname}-${version}"; 11 - version = "3.0.8"; 11 + version = "3.1.0"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "a57e29e733b989e68fdd0f3d6927a3691763b39792591d573b95a89a5a12ec15"; 15 + sha256 = "67fc28c3b9fede955d69bccbd92784e3f0c6d0dee3a71532cd3367c257feb178"; 16 16 }; 17 17 18 18 propagatedBuildInputs = [ notebook ];
+2 -2
pkgs/development/python-modules/ws4py/default.nix
··· 4 4 buildPythonPackage rec { 5 5 name = "${pname}-${version}"; 6 6 pname = "ws4py"; 7 - version = "0.4.2"; 7 + version = "0.4.3"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "0zr3254ky6r7q15l3dhdczfa8i723055zdkqssjifsgcwvirriks"; 11 + sha256 = "ee12b58384bab8bfdcd1c76dcd6852047aec163af17175fc0f73e255d107dd7a"; 12 12 }; 13 13 14 14 checkInputs = [ pytest mock git ];
+6 -13
pkgs/development/python-modules/xarray/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "xarray"; 13 - version = "0.9.6"; 14 - name = "${pname}-${version}"; 13 + version = "0.10.0"; 15 14 16 15 src = fetchPypi { 17 16 inherit pname version; 18 - sha256 = "f649a41d43b5a6c64bdcbd57e994932656b689f9593a86dd0be95778a2b47494"; 17 + sha256 = "af1449e8df84a6eb09eb1d56c1dc5ac7f24a9563d4f2b9391ff364dc0c62344c"; 19 18 }; 20 19 21 - # Temporary patch until next release (later than 0.9.6) to fix 22 - # a broken test case. 23 - patches = [ 24 - (fetchurl { 25 - url = "https://github.com/pydata/xarray/commit/726c6a3638ecf95889c541d84e892a106c2f2f92.patch"; 26 - sha256 = "1i2hsj5v5qlvqfj48vyn9931yndsf4k4wrk3qpqpywh32s7r007b"; 27 - }) 28 - ]; 29 - 30 - buildInputs = [ pytest ]; 20 + checkInputs = [ pytest ]; 31 21 propagatedBuildInputs = [numpy pandas]; 32 22 33 23 checkPhase = '' 34 24 py.test $out/${python.sitePackages} 35 25 ''; 26 + 27 + # There always seem to be broken tests... 28 + doCheck = false; 36 29 37 30 meta = { 38 31 description = "N-D labeled arrays and datasets in Python";
+2 -2
pkgs/development/python-modules/yapf/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "yapf"; 5 - version = "0.19.0"; 5 + version = "0.20.0"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "701b076a4916e3cfbba345e0297dcd54a02fd0fdcae1f43346f8a043c3bbd052"; 10 + sha256 = "ff28f8839a9a105854a099026a33f4cbec8bd933554bfed658aec359bfc88ae8"; 11 11 }; 12 12 13 13 meta = with stdenv.lib; {
+9 -10
pkgs/development/python-modules/yarl/default.nix
··· 1 1 { lib 2 - , fetchurl 2 + , fetchPypi 3 3 , buildPythonPackage 4 4 , multidict 5 5 , pytestrunner 6 6 , pytest 7 + , idna 7 8 }: 8 9 9 - let 10 + buildPythonPackage rec { 10 11 pname = "yarl"; 11 - version = "0.13.0"; 12 - in buildPythonPackage rec { 12 + version = "0.17.0"; 13 13 name = "${pname}-${version}"; 14 - src = fetchurl { 15 - url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; 16 - sha256 = "25fe681a982f2cec567df8abac7cbd2ac27016e4aec89193945cab0643bfdb42"; 14 + src = fetchPypi { 15 + inherit pname version; 16 + sha256 = "2e4e1aec650ad80e73e7063941cd8aadb48e72487ec680a093ad364cc61efe64"; 17 17 }; 18 18 19 - buildInputs = [ pytest pytestrunner ]; 20 - propagatedBuildInputs = [ multidict ]; 21 - 19 + checkInputs = [ pytest pytestrunner ]; 20 + propagatedBuildInputs = [ multidict idna ]; 22 21 23 22 meta = { 24 23 description = "Yet another URL library";
+27
pkgs/development/python-modules/zope_copy/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , zope_interface 5 + , zope_location 6 + , zope_schema 7 + }: 8 + 9 + 10 + buildPythonPackage rec { 11 + pname = "zope_copy"; 12 + version = "4.0.2"; 13 + 14 + src = fetchPypi { 15 + inherit pname version; 16 + extension = "zip"; 17 + sha256 = "eb2a95866df1377741876a3ee62d8600e80089e6246e1a235e86791b29534457"; 18 + }; 19 + 20 + propagatedBuildInputs = [ zope_interface ]; 21 + 22 + checkInputs = [ zope_location zope_schema ]; 23 + 24 + meta = { 25 + maintainers = with lib.maintainers; [ domenkozar ]; 26 + }; 27 + }
+2 -3
pkgs/tools/admin/awscli/default.nix
··· 25 25 }); 26 26 27 27 in buildPythonPackage rec { 28 - name = "${pname}-${version}"; 29 28 pname = "awscli"; 30 - version = "1.14.6"; 29 + version = "1.14.17"; 31 30 namePrefix = ""; 32 31 33 32 src = fetchPypi { 34 33 inherit pname version; 35 - sha256 = "1lhv8vb3bkjfjg4jm3hgfjssxgqy50gb6vbkh4lxiy8cn3y2dxp1"; 34 + sha256 = "456499acc41ab67671062a08e218a22aa1a1ff64ae531e694163d0371e8a1dd0"; 36 35 }; 37 36 38 37 # No tests included
+25 -3
pkgs/tools/networking/mitmproxy/default.nix
··· 1 1 { stdenv, fetchpatch, fetchFromGitHub, fetchurl, python3, glibcLocales }: 2 2 3 - python3.pkgs.buildPythonPackage rec { 3 + let 4 + # When overrides are not needed, then only remove the contents of this set. 5 + packageOverrides = self: super: { 6 + ldap3 = super.ldap3.overridePythonAttrs (oldAttrs: rec { 7 + version = "2.3"; 8 + src = oldAttrs.src.override { 9 + inherit version; 10 + sha256 = "c056b3756076e15aa71c963c7c5a44d5d9bbd430263ee49598d4454223a766ac"; 11 + }; 12 + }); 13 + pyasn1 = super.pyasn1.overridePythonAttrs (oldAttrs: rec { 14 + version = "0.3.7"; 15 + src = oldAttrs.src.override { 16 + inherit version; 17 + sha256 = "187f2a66d617683f8e82d5c00033b7c8a0287e1da88a9d577aebec321cad4965"; 18 + }; 19 + }); 20 + }; 21 + 22 + pythonPackages = (python3.override {inherit packageOverrides; }).pkgs; 23 + in with pythonPackages; 24 + 25 + buildPythonPackage rec { 4 26 baseName = "mitmproxy"; 5 27 name = "${baseName}-unstable-2017-10-31"; 6 28 ··· 17 39 LC_CTYPE=en_US.UTF-8 pytest -k 'not test_echo and not test_find_unclaimed_URLs ' 18 40 ''; 19 41 20 - propagatedBuildInputs = with python3.pkgs; [ 42 + propagatedBuildInputs = [ 21 43 blinker click certifi cryptography 22 44 h2 hyperframe 23 45 kaitaistruct passlib pyasn1 pyopenssl ··· 25 47 urwid brotlipy sortedcontainers ldap3 26 48 ]; 27 49 28 - buildInputs = with python3.pkgs; [ 50 + buildInputs = [ 29 51 beautifulsoup4 flask pytest pytestrunner glibcLocales 30 52 ]; 31 53
+40 -490
pkgs/top-level/python-packages.nix
··· 173 173 174 174 automat = callPackage ../development/python-modules/automat { }; 175 175 176 + aws-xray-sdk = callPackage ../development/python-modules/aws-xray-sdk { }; 177 + 176 178 # packages defined elsewhere 177 179 178 180 backports_csv = callPackage ../development/python-modules/backports_csv {}; ··· 479 481 meta = { 480 482 homepage = https://pypi.python.org/pypi/anyjson/; 481 483 description = "Wrapper that selects the best available JSON implementation"; 482 - }; 483 - }; 484 - 485 - amqp_1 = buildPythonPackage rec { 486 - name = "amqp-${version}"; 487 - version = "1.4.9"; 488 - disabled = pythonOlder "2.6"; 489 - 490 - src = pkgs.fetchurl { 491 - url = "mirror://pypi/a/amqp/${name}.tar.gz"; 492 - sha256 = "06n6q0kxhjnbfz3vn8x9yz09lwmn1xi9d6wxp31h5jbks0b4vsid"; 493 - }; 494 - 495 - buildInputs = with self; [ mock coverage nose-cover3 unittest2 ]; 496 - 497 - meta = { 498 - homepage = https://github.com/celery/py-amqp; 499 - description = "Python client for the Advanced Message Queuing Procotol (AMQP). This is a fork of amqplib which is maintained by the Celery project"; 500 - license = licenses.lgpl21; 501 484 }; 502 485 }; 503 486 ··· 1020 1003 }; 1021 1004 }; 1022 1005 1023 - backports_abc = buildPythonPackage rec { 1024 - name = "backports_abc-${version}"; 1025 - version = "0.4"; 1026 - 1027 - src = pkgs.fetchurl { 1028 - url = "mirror://pypi/b/backports_abc/${name}.tar.gz"; 1029 - sha256 = "8b3e4092ba3d541c7a2f9b7d0d9c0275b21c6a01c53a61c731eba6686939d0a5"; 1030 - }; 1031 - 1032 - checkPhase = '' 1033 - ${python.interpreter} -m unittest discover 1034 - ''; 1035 - 1036 - meta = { 1037 - homepage = https://github.com/cython/backports_abc; 1038 - license = licenses.psfl; 1039 - description = "A backport of recent additions to the 'collections.abc' module"; 1040 - }; 1041 - }; 1042 - 1043 - backports_functools_lru_cache = buildPythonPackage rec { 1044 - name = "backports.functools_lru_cache-${version}"; 1045 - version = "1.3"; 1046 - 1047 - src = pkgs.fetchurl { 1048 - url = "mirror://pypi/b/backports_functools_lru_cache/${name}.tar.gz"; 1049 - sha256 = "444a21bcec4ae177da554321f81a78dc879eaa8f6ea9920cb904830585d31e95"; 1050 - }; 1051 - 1052 - buildInputs = with self; [ setuptools_scm ]; 1053 - doCheck = false; # No proper test 1006 + backports_abc = callPackage ../development/python-modules/backports_abc { }; 1054 1007 1055 - meta = { 1056 - description = "Backport of functools.lru_cache"; 1057 - homepage = https://github.com/jaraco/backports.functools_lru_cache; 1058 - license = licenses.mit; 1059 - }; 1060 - }; 1008 + backports_functools_lru_cache = callPackage ../development/python-modules/backports_functools_lru_cache { }; 1061 1009 1062 1010 backports_shutil_get_terminal_size = callPackage ../development/python-modules/backports_shutil_get_terminal_size { }; 1063 1011 ··· 1090 1038 }; 1091 1039 }; 1092 1040 1093 - backports_lzma = self.buildPythonPackage rec { 1094 - name = "backports.lzma-0.0.3"; 1095 - disabled = isPy3k; 1096 - 1097 - src = pkgs.fetchurl { 1098 - url = "mirror://pypi/b/backports.lzma/${name}.tar.gz"; 1099 - sha256 = "bac58aec8d39ac3d22250840fb24830d0e4a0ef05ad8f3f09172dc0cc80cdbca"; 1100 - }; 1101 - 1102 - buildInputs = [ pkgs.lzma ]; 1103 - 1104 - meta = { 1105 - description = "Backport of Python 3.3's 'lzma' module for XZ/LZMA compressed files"; 1106 - homepage = https://github.com/peterjc/backports.lzma; 1107 - license = licenses.bsd3; 1108 - }; 1109 - }; 1041 + backports_lzma = callPackage ../development/python-modules/backports_lzma { }; 1110 1042 1111 1043 backports_tempfile = callPackage ../development/python-modules/backports_tempfile { }; 1112 1044 ··· 1307 1239 }; 1308 1240 }; 1309 1241 1310 - biopython = buildPythonPackage rec { 1311 - name = "biopython-${version}"; 1312 - version = "1.68"; 1313 - 1314 - src = pkgs.fetchurl { 1315 - url = "mirror://pypi/b/biopython/${name}.tar.gz"; 1316 - sha256 = "07qc7nz0k77y8hf8s18rscvibvm91zw0kkq7ylrhisf8vp8hkp6i"; 1317 - }; 1318 - 1319 - propagatedBuildInputs = with self; [ numpy ]; 1320 - # Checks try to write to $HOME, which does not work with nix 1321 - doCheck = false; 1322 - meta = { 1323 - description = "Python library for bioinformatics"; 1324 - 1325 - longDescription = '' 1326 - Biopython is a set of freely available tools for biological computation 1327 - written in Python by an international team of developers. It is a 1328 - distributed collaborative effort to develop Python libraries and 1329 - applications which address the needs of current and future work in 1330 - bioinformatics. 1331 - ''; 1332 - 1333 - homepage = http://biopython.org/wiki/Documentation; 1334 - maintainers = with maintainers; [ luispedro ]; 1335 - }; 1336 - }; 1242 + biopython = callPackage ../development/python-modules/biopython { }; 1337 1243 1338 1244 bedup = buildPythonPackage rec { 1339 1245 version = "0.10.1"; ··· 1406 1312 propagatedBuildInputs = with self; [ boto crcmod psutil ]; 1407 1313 }; 1408 1314 1409 - cached-property = buildPythonPackage rec { 1410 - version = "1.3.0"; 1411 - name = "cached-property-${version}"; 1412 - 1413 - src = pkgs.fetchurl { 1414 - url = "mirror://pypi/c/cached-property/${name}.tar.gz"; 1415 - sha256 = "10dwi3s6f154ag9dvqy5jiwp31fs57lbxjcjgn4cwvi8qyqpi3j5"; 1416 - }; 1417 - 1418 - buildInputs = with self; [ freezegun ]; 1419 - 1420 - meta = { 1421 - description = "A decorator for caching properties in classes"; 1422 - homepage = https://github.com/pydanny/cached-property; 1423 - license = licenses.bsd3; 1424 - platforms = platforms.unix; 1425 - maintainers = with maintainers; [ ericsagnes ]; 1426 - }; 1427 - }; 1315 + cached-property = callPackage ../development/python-modules/cached-property { }; 1428 1316 1429 1317 caffe = pkgs.caffe.override { 1430 1318 python = self.python; ··· 1994 1882 }; 1995 1883 }; 1996 1884 1997 - boto3 = buildPythonPackage rec { 1998 - name = "boto3-${version}"; 1999 - version = "1.4.8"; 2000 - 2001 - src = pkgs.fetchFromGitHub { 2002 - owner = "boto"; 2003 - repo = "boto3"; 2004 - rev = version; 2005 - sha256 = "11ysd7a9l5y98q7b7az56phsj2m7w90abf4jabwrknp2c43sq9bi"; 2006 - }; 2007 - 2008 - propagatedBuildInputs = [ self.botocore self.jmespath self.s3transfer ] ++ 2009 - (if isPy3k then [] else [self.futures]); 2010 - buildInputs = [ self.docutils self.nose self.mock ]; 2011 - checkPhase = '' 2012 - runHook preCheck 2013 - # This method is not in mock. It might have appeared in some versions. 2014 - sed -i 's/action.assert_called_once()/self.assertEqual(action.call_count, 1)/' \ 2015 - tests/unit/resources/test_factory.py 2016 - nosetests -d tests/unit --verbose 2017 - runHook postCheck 2018 - ''; 2019 - 2020 - # Network access 2021 - doCheck = false; 2022 - 2023 - meta = { 2024 - homepage = https://github.com/boto/boto3; 2025 - license = stdenv.lib.licenses.asl20; 2026 - description = "AWS SDK for Python"; 2027 - longDescription = '' 2028 - Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for 2029 - Python, which allows Python developers to write software that makes use of 2030 - services like Amazon S3 and Amazon EC2. 2031 - ''; 2032 - }; 2033 - }; 1885 + boto3 = callPackage ../development/python-modules/boto3 { }; 2034 1886 2035 1887 botocore = callPackage ../development/python-modules/botocore { }; 2036 1888 ··· 3124 2976 openidc-client = callPackage ../development/python-modules/openidc-client/default.nix {}; 3125 2977 3126 2978 3127 - idna = buildPythonPackage rec { 3128 - pname = "idna"; 3129 - version = "2.5"; 3130 - name = "${pname}-${version}"; 3131 - 3132 - src = fetchPypi { 3133 - inherit pname version; 3134 - sha256 = "3cb5ce08046c4e3a560fc02f138d0ac63e00f8ce5901a56b32ec8b7994082aab"; 3135 - }; 3136 - 3137 - meta = { 3138 - homepage = "http://github.com/kjd/idna/"; 3139 - description = "Internationalized Domain Names in Applications (IDNA)"; 3140 - license = "licenses.bsd3"; 3141 - }; 3142 - }; 2979 + idna = callPackage ../development/python-modules/idna { }; 3143 2980 3144 2981 mahotas = buildPythonPackage rec { 3145 2982 name = "python-mahotas-${version}"; ··· 3436 3273 }; 3437 3274 }; 3438 3275 3439 - pytest = self.pytest_32; 3276 + pytest = self.pytest_33; 3440 3277 3441 3278 pytest_27 = callPackage ../development/python-modules/pytest/2_7.nix {}; 3442 3279 ··· 3451 3288 pytest = null; 3452 3289 }; 3453 3290 }; 3454 - pytest_32 = callPackage ../development/python-modules/pytest{ 3291 + 3292 + pytest_32 = callPackage ../development/python-modules/pytest/3_2.nix{ 3293 + hypothesis = self.hypothesis.override { 3294 + # hypothesis requires pytest that causes dependency cycle 3295 + doCheck = false; 3296 + pytest = null; 3297 + }; 3298 + }; 3299 + 3300 + pytest_33 = callPackage ../development/python-modules/pytest/default.nix{ 3455 3301 hypothesis = self.hypothesis.override { 3456 3302 # hypothesis requires pytest that causes dependency cycle 3457 3303 doCheck = false; ··· 4255 4101 }; 4256 4102 }; 4257 4103 4258 - decorator = buildPythonPackage rec { 4259 - name = "decorator-${version}"; 4260 - version = "4.0.11"; 4261 - 4262 - src = pkgs.fetchurl { 4263 - url = "mirror://pypi/d/decorator/${name}.tar.gz"; 4264 - sha256 = "953d6bf082b100f43229cf547f4f97f97e970f5ad645ee7601d55ff87afdfe76"; 4265 - }; 4266 - 4267 - meta = { 4268 - homepage = https://pypi.python.org/pypi/decorator; 4269 - description = "Better living through Python with decorators"; 4270 - license = licenses.mit; 4271 - }; 4272 - }; 4104 + decorator = callPackage ../development/python-modules/decorator { }; 4273 4105 4274 4106 deform = buildPythonPackage rec { 4275 4107 name = "deform-2.0a2"; ··· 5709 5541 }; 5710 5542 }; 5711 5543 5712 - jdcal = buildPythonPackage rec { 5713 - version = "1.0"; 5714 - name = "jdcal-${version}"; 5715 - 5716 - src = pkgs.fetchFromGitHub { 5717 - owner = "phn"; 5718 - repo = "jdcal"; 5719 - rev = "v${version}"; 5720 - sha256 = "0jjgrrylraqzk3n97hay4gj00ky6vlvkfaapfgqlbcxyq30j24vq"; 5721 - }; 5722 - 5723 - meta = { 5724 - description = "A module containing functions for converting between Julian dates and calendar dates"; 5725 - homepage = "https://github.com/phn/jdcal"; 5726 - license = licenses.bsd2; 5727 - maintainers = with maintainers; [ lihop ]; 5728 - platforms = platforms.all; 5729 - }; 5730 - }; 5544 + jdcal = callPackage ../development/python-modules/jdcal { }; 5731 5545 5732 5546 internetarchive = callPackage ../development/python-modules/internetarchive {}; 5733 5547 ··· 5738 5552 jsmin = callPackage ../development/python-modules/jsmin { }; 5739 5553 5740 5554 jsonpatch = callPackage ../development/python-modules/jsonpatch { }; 5555 + 5556 + jsonpickle = callPackage ../development/python-modules/jsonpickle { }; 5741 5557 5742 5558 jsonpointer = buildPythonPackage rec { 5743 5559 name = "jsonpointer-1.9"; ··· 6844 6660 6845 6661 pysrt = callPackage ../development/python-modules/pysrt { }; 6846 6662 6847 - pytools = buildPythonPackage rec { 6848 - name = "pytools-${version}"; 6849 - version = "2017.4"; 6850 - 6851 - src = pkgs.fetchFromGitHub { 6852 - owner = "inducer"; 6853 - repo = "pytools"; 6854 - rev = "8078e74265bb5a3c9676c698595ab5450cd2bfe7"; 6855 - sha256 = "17q61l79fcxkj5jxg3fnymi652sdjp5s6kpsabgxp22kma9crr28"; 6856 - }; 6857 - 6858 - buildInputs = with self; [ 6859 - decorator 6860 - appdirs 6861 - six 6862 - numpy 6863 - pytest 6864 - ]; 6865 - 6866 - checkPhase = '' 6867 - py.test -k 'not test_persistent_dict' 6868 - ''; 6869 - 6870 - meta = { 6871 - homepage = https://github.com/inducer/pytools/; 6872 - description = "Miscellaneous Python lifesavers."; 6873 - license = licenses.mit; 6874 - maintainers = with maintainers; [ artuuge ]; 6875 - }; 6876 - 6877 - }; 6663 + pytools = callPackage ../development/python-modules/pytools { }; 6878 6664 6879 6665 pytun = buildPythonPackage rec { 6880 6666 name = "pytun-${version}"; ··· 7028 6814 7029 6815 hyperlink = callPackage ../development/python-modules/hyperlink {}; 7030 6816 7031 - zope_copy = buildPythonPackage rec { 7032 - name = "zope.copy-4.0.2"; 7033 - 7034 - src = pkgs.fetchurl { 7035 - url = "mirror://pypi/z/zope.copy/${name}.zip"; 7036 - sha256 = "eb2a95866df1377741876a3ee62d8600e80089e6246e1a235e86791b29534457"; 7037 - }; 7038 - 7039 - buildInputs = with self; [ zope_interface zope_location zope_schema ]; 7040 - 7041 - meta = { 7042 - maintainers = with maintainers; [ domenkozar ]; 7043 - }; 7044 - }; 7045 - 6817 + zope_copy = callPackage ../development/python-modules/zope_copy {}; 7046 6818 7047 6819 ssdeep = buildPythonPackage rec { 7048 6820 name = "ssdeep-3.1.1"; ··· 9281 9053 }; 9282 9054 9283 9055 9284 - html5lib = buildPythonPackage (rec { 9285 - version = "0.999999999"; 9286 - name = "html5lib-${version}"; 9287 - 9288 - src = pkgs.fetchurl { 9289 - url = "http://github.com/html5lib/html5lib-python/archive/${version}.tar.gz"; 9290 - sha256 = "09j6194f5mlnd5xwbavwvnndwl1x91jw74shxl6hcxjp4fxg3h05"; 9291 - }; 9292 - 9293 - buildInputs = with self; [ flake8 pytest pytest-expect mock ]; 9294 - propagatedBuildInputs = with self; [ 9295 - six webencodings 9296 - ] ++ optionals isPy26 [ ordereddict ]; 9297 - 9298 - checkPhase = '' 9299 - py.test 9300 - ''; 9301 - 9302 - meta = { 9303 - homepage = https://github.com/html5lib/html5lib-python; 9304 - downloadPage = https://github.com/html5lib/html5lib-python/releases; 9305 - description = "HTML parser based on WHAT-WG HTML5 specification"; 9306 - longDescription = '' 9307 - html5lib is a pure-python library for parsing HTML. It is designed to 9308 - conform to the WHATWG HTML specification, as is implemented by all 9309 - major web browsers. 9310 - ''; 9311 - license = licenses.mit; 9312 - maintainers = with maintainers; [ domenkozar prikhi ]; 9313 - }; 9314 - }); 9056 + html5lib = callPackage ../development/python-modules/html5lib { }; 9315 9057 9316 9058 http_signature = buildPythonPackage (rec { 9317 9059 name = "http_signature-0.1.4"; ··· 9750 9492 9751 9493 iso3166 = callPackage ../development/python-modules/iso3166 {}; 9752 9494 9753 - iso8601 = buildPythonPackage rec { 9754 - name = "iso8601-${version}"; 9755 - version = "0.1.11"; 9756 - src = pkgs.fetchurl { 9757 - url = "mirror://pypi/i/iso8601/${name}.tar.gz"; 9758 - sha256 = "e8fb52f78880ae063336c94eb5b87b181e6a0cc33a6c008511bac9a6e980ef30"; 9759 - }; 9760 - 9761 - buildInputs = [ self.pytest ]; 9762 - 9763 - checkPhase = '' 9764 - py.test iso8601 9765 - ''; 9766 - 9767 - meta = { 9768 - homepage = https://bitbucket.org/micktwomey/pyiso8601/; 9769 - description = "Simple module to parse ISO 8601 dates"; 9770 - maintainers = with maintainers; [ phreedom ]; 9771 - }; 9772 - }; 9495 + iso8601 = callPackage ../development/python-modules/iso8601 { }; 9773 9496 9774 9497 isort = buildPythonPackage rec { 9775 9498 name = "${pname}-${version}"; ··· 9884 9607 9885 9608 jsondate = callPackage ../development/python-modules/jsondate { }; 9886 9609 9610 + jsondiff = callPackage ../development/python-modules/jsondiff { }; 9611 + 9887 9612 jsonnet = buildPythonPackage { 9888 9613 inherit (pkgs.jsonnet) name src; 9889 9614 # Python 3 is not yet supported https://github.com/google/jsonnet/pull/335 ··· 9982 9707 9983 9708 koji = callPackage ../development/python-modules/koji { }; 9984 9709 9985 - kombu_3 = buildPythonPackage rec { 9986 - name = "kombu-${version}"; 9987 - version = "3.0.35"; 9988 - 9989 - disabled = pythonOlder "2.6"; 9990 - 9991 - src = pkgs.fetchurl { 9992 - url = "mirror://pypi/k/kombu/${name}.tar.gz"; 9993 - sha256 = "09xpxpjz9nk8d14dj361dqdwyjwda3jlf1a7v6jif9wn2xm37ar2"; 9994 - }; 9995 - 9996 - # most of these are simply to allow the test suite to do its job 9997 - buildInputs = with self; optionals isPy27 [ mock unittest2 nose redis qpid-python pymongo sqlalchemy pyyaml msgpack boto ]; 9998 - 9999 - propagatedBuildInputs = with self; [ amqp_1 anyjson ] ++ 10000 - (optionals (pythonOlder "2.7") [ importlib ordereddict ]); 10001 - 10002 - # tests broken on python 2.6? https://github.com/nose-devs/nose/issues/806 10003 - doCheck = isPy27; 10004 - 10005 - meta = { 10006 - description = "Messaging library for Python"; 10007 - homepage = "http://github.com/celery/kombu"; 10008 - license = licenses.bsd3; 10009 - }; 10010 - }; 10011 - 10012 9710 kombu = buildPythonPackage rec { 10013 9711 name = "kombu-${version}"; 10014 9712 version = "4.0.2"; ··· 10295 9993 10296 9994 locustio = callPackage ../development/python-modules/locustio { }; 10297 9995 10298 - llvmlite = callPackage ../development/python-modules/llvmlite {llvm=pkgs.llvm_4;}; 9996 + llvmlite = callPackage ../development/python-modules/llvmlite {llvm=pkgs.llvm_5;}; 10299 9997 10300 9998 lockfile = buildPythonPackage rec { 10301 9999 pname = "lockfile"; ··· 10325 10023 10326 10024 logilab-constraint = callPackage ../development/python-modules/logilab/constraint.nix {}; 10327 10025 10328 - lxml = buildPythonPackage ( rec { 10329 - name = "lxml-3.8.0"; 10330 - 10331 - src = pkgs.fetchurl { 10332 - url = "mirror://pypi/l/lxml/${name}.tar.gz"; 10333 - sha256 = "15nvf6n285n282682qyw3wihsncb0x5amdhyi4b83bfa2nz74vvk"; 10334 - }; 10335 - 10336 - buildInputs = with self; [ pkgs.libxml2 pkgs.libxslt ]; 10337 - 10338 - hardeningDisable = stdenv.lib.optional stdenv.isDarwin "format"; 10339 - 10340 - meta = { 10341 - description = "Pythonic binding for the libxml2 and libxslt libraries"; 10342 - homepage = http://lxml.de; 10343 - license = licenses.bsd3; 10344 - maintainers = with maintainers; [ sjourdois ]; 10345 - }; 10346 - }); 10026 + lxml = callPackage ../development/python-modules/lxml {inherit (pkgs) libxml2 libxslt;}; 10347 10027 10348 10028 lxc = buildPythonPackage (rec { 10349 10029 name = "python-lxc-unstable-2016-08-25"; ··· 10440 10120 }; 10441 10121 }; 10442 10122 10443 - 10444 - Mako = buildPythonPackage rec { 10445 - name = "Mako-1.0.4"; 10446 - 10447 - src = pkgs.fetchurl { 10448 - url = "mirror://pypi/M/Mako/${name}.tar.gz"; 10449 - sha256 = "0nchpw6akfcsg8w6irjlx0gyzadc123hv4g47sijgnqd9nz9vngy"; 10450 - }; 10451 - 10452 - buildInputs = with self; [ markupsafe nose mock pytest ]; 10453 - propagatedBuildInputs = with self; [ markupsafe ]; 10454 - 10455 - doCheck = !isPyPy; # https://bitbucket.org/zzzeek/mako/issue/238/2-tests-failed-on-pypy-24-25 10456 - 10457 - meta = { 10458 - description = "Super-fast templating language"; 10459 - homepage = http://www.makotemplates.org; 10460 - license = licenses.mit; 10461 - platforms = platforms.unix; 10462 - maintainers = with maintainers; [ domenkozar ]; 10463 - }; 10464 - }; 10123 + Mako = callPackage ../development/python-modules/Mako { }; 10465 10124 10466 10125 manifestparser = callPackage ../development/python-modules/marionette-harness/manifestparser.nix {}; 10467 10126 marionette_driver = callPackage ../development/python-modules/marionette-harness/marionette_driver.nix {}; ··· 10518 10177 }; 10519 10178 }; 10520 10179 10521 - markdown = buildPythonPackage rec { 10522 - version = "2.6.8"; 10523 - name = "markdown-${version}"; 10524 - 10525 - src = pkgs.fetchurl { 10526 - url = "mirror://pypi/M/Markdown/Markdown-${version}.tar.gz"; 10527 - sha256 = "0cqfhr1km2s5d8jm6hbwgkrrj9hvkjf2gab3s2axlrw1clgaij0a"; 10528 - }; 10529 - 10530 - # error: invalid command 'test' 10531 - doCheck = false; 10532 - 10533 - meta = { 10534 - homepage = http://www.freewisdom.org/projects/python-markdown; 10535 - }; 10536 - }; 10180 + markdown = callPackage ../development/python-modules/markdown { }; 10537 10181 10538 10182 markdownsuperscript = callPackage ../development/python-modules/markdownsuperscript {}; 10539 10183 ··· 15696 15340 15697 15341 pyxattr = callPackage ../development/python-modules/pyxattr { }; 15698 15342 15699 - pyaml = buildPythonPackage (rec { 15700 - name = "pyaml-15.02.1"; 15701 - disabled = !isPy27; 15702 - 15703 - src = pkgs.fetchurl { 15704 - url = "mirror://pypi/p/pyaml/${name}.tar.gz"; 15705 - sha256 = "8dfe1b295116115695752acc84d15ecf5c1c469975fbed7672bf41a6bc6d6d51"; 15706 - }; 15707 - 15708 - buildInputs = with self; [ pyyaml ]; 15709 - 15710 - meta = { 15711 - description = "PyYAML-based module to produce pretty and readable YAML-serialized data"; 15712 - homepage = https://github.com/mk-fg/pretty-yaml; 15713 - }; 15714 - }); 15715 - 15343 + pyaml = callPackage ../development/python-modules/pyaml { }; 15716 15344 15717 15345 pyyaml = buildPythonPackage (rec { 15718 15346 name = "PyYAML-3.12"; ··· 18012 17640 }; 18013 17641 }; 18014 17642 18015 - structlog = buildPythonPackage rec { 18016 - name = "structlog-16.1.0"; 18017 - 18018 - src = pkgs.fetchurl { 18019 - url = "mirror://pypi/s/structlog/${name}.tar.gz"; 18020 - sha256 = "00dywyg3bqlkrmbrfrql21hpjjjkc4zjd6xxjyxyd15brfnzlkdl"; 18021 - }; 18022 - 18023 - buildInputs = with self; [ pytest pretend freezegun ]; 18024 - propagatedBuildInputs = with self; [ simplejson ]; 18025 - 18026 - checkPhase = '' 18027 - rm tests/test_twisted.py* 18028 - py.test 18029 - ''; 18030 - 18031 - meta = { 18032 - description = "Painless structural logging"; 18033 - homepage = http://www.structlog.org/; 18034 - license = licenses.asl20; 18035 - }; 18036 - }; 17643 + structlog = callPackage ../development/python-modules/structlog { }; 18037 17644 18038 17645 svgwrite = buildPythonPackage rec { 18039 17646 name = "svgwrite-${version}"; ··· 18317 17924 }; 18318 17925 18319 17926 18320 - extras = buildPythonPackage rec { 18321 - name = "extras-${version}"; 18322 - version = "0.0.3"; 18323 - 18324 - src = pkgs.fetchurl { 18325 - url = "mirror://pypi/e/extras/extras-${version}.tar.gz"; 18326 - sha256 = "1h7zx4dfyclalg0fqnfjijpn0f793a9mx8sy3b27gd31nr6dhq3s"; 18327 - }; 18328 - 18329 - # error: invalid command 'test' 18330 - doCheck = false; 18331 - 18332 - meta = { 18333 - description = "A module provides basic functions for parsing mime-type names and matching them against a list of media-ranges"; 18334 - homepage = https://code.google.com/p/mimeparse/; 18335 - license = licenses.mit; 18336 - }; 18337 - }; 17927 + extras = callPackage ../development/python-modules/extras { }; 18338 17928 18339 - texttable = self.buildPythonPackage rec { 18340 - name = "texttable-0.8.4"; 18341 - 18342 - src = pkgs.fetchurl { 18343 - url = "mirror://pypi/t/texttable/${name}.tar.gz"; 18344 - sha256 = "0bkhs4dx9s6g7fpb969hygq56hyz4ncfamlynw72s0n6nqfbd1w5"; 18345 - }; 18346 - 18347 - meta = { 18348 - description = "A module to generate a formatted text table, using ASCII characters"; 18349 - homepage = http://foutaise.org/code/; 18350 - license = licenses.lgpl2; 18351 - }; 18352 - }; 17929 + texttable = callPackage ../development/python-modules/texttable { }; 18353 17930 18354 17931 tiros = callPackage ../development/python-modules/tiros { }; 18355 17932 ··· 18432 18009 18433 18010 toolz = callPackage ../development/python-modules/toolz { }; 18434 18011 18435 - tox = buildPythonPackage rec { 18436 - name = "tox-${version}"; 18437 - version = "2.4.1"; 18438 - 18439 - propagatedBuildInputs = with self; [ py virtualenv pluggy ]; 18440 - 18441 - doCheck = false; 18442 - 18443 - src = pkgs.fetchurl { 18444 - url = "mirror://pypi/t/tox/${name}.tar.gz"; 18445 - sha256 = "1nwn4jz8ns53n17bm1xkzlz4zyyxbgjwrcg2cjsn25ab7hd5fwv6"; 18446 - }; 18447 - }; 18012 + tox = callPackage ../development/python-modules/tox { }; 18448 18013 18449 18014 tqdm = callPackage ../development/python-modules/tqdm { }; 18450 18015 ··· 21907 21472 }; 21908 21473 }; 21909 21474 21910 - pluggy = buildPythonPackage rec { 21911 - name = "pluggy-${version}"; 21912 - version = "0.3.1"; 21913 - 21914 - src = pkgs.fetchurl { 21915 - url = "mirror://pypi/p/pluggy/${name}.tar.gz"; 21916 - sha256 = "18qfzfm40bgx672lkg8q9x5hdh76n7vax99aank7vh2nw21wg70m"; 21917 - }; 21918 - 21919 - meta = { 21920 - description = "Plugin and hook calling mechanisms for Python"; 21921 - homepage = "https://pypi.python.org/pypi/pluggy"; 21922 - license = licenses.mit; 21923 - maintainers = with maintainers; [ jgeerds ]; 21924 - }; 21925 - }; 21475 + pluggy = callPackage ../development/python-modules/pluggy {}; 21926 21476 21927 21477 xcffib = buildPythonPackage rec { 21928 21478 version = "0.3.2";