Merge pull request #89723 from NixOS/python-unstable

Python package set major updates
This commit is contained in:
Frederik Rietdijk 2020-06-13 10:41:31 +02:00 committed by GitHub
commit d2971d15c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
486 changed files with 2043 additions and 1243 deletions

View file

@ -4,8 +4,10 @@
let
defaultOverrides = commonOverrides ++ [
(mkOverride "jsonschema" "2.6.0"
"00kf3zmpp9ya4sydffpifn0j0mzm342a2vzh82p6r0vh10cg7xbg")
(mkOverride "jsonschema" "3.2.0"
"0ykr61yiiizgvm3bzipa3l73rvj49wmrybbfwhvpgk3pscl5pa68")
(mkOverride "aiofiles" "0.4.0"
"1vmvq9qja3wahv8m1adkyk00zm7j0x64pk3f2ry051ja66xa07h2")
];
python = python3.override {

View file

@ -1,12 +1,12 @@
{ stdenv, buildPythonPackage, fetchPypi, cython, numpy, pysam, matplotlib
}:
buildPythonPackage rec {
version = "0.11.4";
version = "0.12.4";
pname = "HTSeq";
src = fetchPypi {
inherit pname version;
sha256 = "1ncn30yvc18aiv1qsa0bvcbjwqy21s0a0kv3v0vghzsn8vbfzq7h";
sha256 = "e3980bb4f12899442b4fa6f24f0ba149090f71cedb1eaf7128249afe4eb921ff";
};
buildInputs = [ cython numpy pysam ];

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "JayDeBeApi";
version = "1.1.1";
version = "1.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "0a189xs9zw81jvwwglvf2qyqnk6ra0biljssx9n4ffayqn9glbds";
sha256 = "e9847e437ad293ee3cc47767b74c387068cd21607842de8470d5d3f13d613083";
};
propagatedBuildInputs = [

View file

@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchPypi
, docutils
}:
buildPythonPackage rec {
pname = "Pygments";
version = "2.5.2";
src = fetchPypi {
inherit pname version;
sha256 = "98c8aa5a9f778fcd1026a17361ddaf7330d1b7c62ae97c3bb0ae73e0b9b6b0fe";
};
propagatedBuildInputs = [ docutils ];
# Circular dependency with sphinx
doCheck = false;
meta = {
homepage = "https://pygments.org/";
description = "A generic syntax highlighter";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ ];
};
}

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "Pygments";
version = "2.5.2";
version = "2.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "98c8aa5a9f778fcd1026a17361ddaf7330d1b7c62ae97c3bb0ae73e0b9b6b0fe";
sha256 = "647344a061c249a3b74e230c739f434d7ea4d8b1d5f3721bc0f3558049b38f44";
};
propagatedBuildInputs = [ docutils ];

View file

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "WSME";
version = "0.9.3";
version = "0.10.0";
src = fetchPypi {
inherit pname version;
sha256 = "e24fcff24392a0b176e560ffc6591b1f658342bbc992f84e0e8a3c53fd92580a";
sha256 = "965b9ce48161e5c50d84aedcf50dca698f05bf07e9d489201bccaec3141cd304";
};
postPatch = ''

View file

@ -15,12 +15,12 @@
buildPythonPackage rec {
pname = "accupy";
version = "0.2.0";
version = "0.3.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "e27ca7eed8a1bde2e6e040f8f3ee94a5d7522f42c4360756c9ec8931cf13ca98";
sha256 = "b568de740e1cd137a96af1801b4d3d5f795e0f97be25c29957f39f004fbcdf9a";
};
buildInputs = [

View file

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "adal";
version = "1.2.3";
version = "1.2.4";
src = fetchPypi {
inherit pname version;
sha256 = "2ae7e02cea4552349fed6d8c9912da400f7e643fc30098defe0dcd01945e7c54";
sha256 = "7a15d22b1ee7ce1be92441199958748982feba6b7dec35fbf60f9b607bad1bc0";
};
propagatedBuildInputs = [ requests pyjwt dateutil ];

View file

@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "aioftp";
version = "0.13.0";
version = "0.16.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "5711c03433b510c101e9337069033133cca19b508b5162b414bed24320de6c18";
sha256 = "94648d17dd3ca44614b59e8f795991b447258d82aa1b4cfecc0aceccf01b7495";
};
checkInputs = [

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "aiohue";
version = "1.10.1";
version = "2.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "d95e51f15c442d769004774e7b4220155e32dc6c8ae834b035a2f0d8ff783ff0";
sha256 = "bdd08ad65505057b9dc8fc1b5558250bd13aeba681a493080f710ffffc4260a3";
};
propagatedBuildInputs = [ aiohttp ];

View file

@ -3,13 +3,13 @@
buildPythonPackage rec {
pname = "aiounifi";
version = "11";
version = "22";
disabled = ! isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "e751cfd002f54dda76dfd498dcc53cb6fab6bff79773ca7d18c9c7b392046b12";
sha256 = "ad2625c8a62e28781d50644f4a4df5a97a32174b965cd3b329820ae85e2dfcc3";
};
propagatedBuildInputs = [ aiohttp ];

View file

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "alembic";
version = "1.3.3";
version = "1.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "d412982920653db6e5a44bfd13b1d0db5685cbaaccaf226195749c706e1e862a";
sha256 = "035ab00497217628bf5d0be82d664d8713ab13d37b630084da8e1f98facf4dbf";
};
buildInputs = [ pytest pytestcov mock coverage ];

View file

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "alerta-server";
version = "7.4.6";
version = "7.5.5";
src = fetchPypi {
inherit pname version;
sha256 = "f91889777a4d01f8ffca2f01d35cad3996a61178c26e8819c6d8eb746b951dd4";
sha256 = "f6d80654f063af45167c6b4f5f25a9015e728f3f600c5565ddb85964b8c9874b";
};
propagatedBuildInputs = [ python-dateutil requests pymongo raven bcrypt flask pyjwt flask-cors psycopg2 pytz flask-compress jinja2 pyyaml];

View file

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "alerta";
version = "7.4.5";
version = "7.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "926f1101a1b57a9fad611f1e1d5af751693efcc344a9db01af50e2fe0d362d84";
sha256 = "e903d4b097d4650983faecedc4e2dffd27a962b671643098f8425f9a19884d0f";
};
propagatedBuildInputs = [ six click requests pytz tabulate ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "amqp";
version = "2.5.2";
version = "2.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "77f1aef9410698d20eaeac5b73a87817365f457a507d82edf292e12cbb83b08d";
sha256 = "24dbaff8ce4f30566bb88976b398e8c4e77637171af3af6f1b9650f48890e60b";
};
checkInputs = [ pytest case pytest-sugar ];

View file

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "anytree";
version = "2.7.3";
version = "2.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "05736hamjv4f38jw6z9y4wckc7mz18ivbizm1s3pb0n6fp1sy4zk";
sha256 = "3f0f93f355a91bc3e6245319bf4c1d50e3416cc7a35cc1133c1ff38306bbccab";
};
patches = lib.optionals withGraphviz [

View file

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "apispec";
version = "3.1.1";
version = "3.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "24b8490c22310b0779a058ccb24ec2fef33d571bb5aba1f525ab5963b0eabcdd";
sha256 = "419d0564b899e182c2af50483ea074db8cb05fee60838be58bb4542095d5c08d";
};
checkInputs = [

View file

@ -3,7 +3,7 @@
buildPythonPackage rec {
pname = "apsw";
version = "3.30.1-r1";
version = "3.32.2-r1";
disabled = isPyPy;
@ -11,7 +11,7 @@ buildPythonPackage rec {
owner = "rogerbinns";
repo = "apsw";
rev = version;
sha256 = "1zp38gj44bmzfxxpvgd7nixkp8vs2fpl839ag8vrh9z70dax22f0";
sha256 = "0gwhcvklrgng8gg6in42h0aj2bsq522bhhs2pp3cqdrmypkjdm59";
};
buildInputs = [ sqlite ];

View file

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "aresponses";
version = "1.1.2";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "20a63536d86af6f31f9b0720c561bdc595b6bfe071940e347ab58b11caff9e1b";
sha256 = "58693a6b715edfa830a20903ee1d1b2a791251923f311b3bebf113e8ff07bb35";
};
propagatedBuildInputs = [

View file

@ -1,6 +1,7 @@
{ stdenv, lib, buildPythonPackage, fetchPypi, isPy27
, nose, chai, simplejson, backports_functools_lru_cache
, python-dateutil, pytz, pytest-mock, sphinx, dateparser, pytestcov, pytest
, python-dateutil, pytz, pytest-mock, sphinx, dateparser, pytestcov
, pytestCheckHook
}:
buildPythonPackage rec {
@ -17,7 +18,7 @@ buildPythonPackage rec {
checkInputs = [
dateparser
pytest
pytestCheckHook
pytestcov
pytest-mock
pytz
@ -25,9 +26,10 @@ buildPythonPackage rec {
sphinx
];
checkPhase = ''
pytest
'';
# ParserError: Could not parse timezone expression "America/Nuuk"
disabledTests = [
"test_parse_tz_name_zzz"
];
meta = with lib; {
description = "Python library for date manipulation";

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "astral";
version = "1.10.1";
version = "2.2";
src = fetchPypi {
inherit pname version;
sha256 = "d2a67243c4503131c856cafb1b1276de52a86e5b8a1d507b7e08bee51cb67bf1";
sha256 = "e41d9967d5c48be421346552f0f4dedad43ff39a83574f5ff2ad32b6627b6fbe";
};
propagatedBuildInputs = [ pytz requests ];

View file

@ -5,15 +5,19 @@
buildPythonPackage rec {
pname = "astroid";
version = "2.3.3";
version = "2.4.1";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
sha256 = "71ea07f44df9568a75d0f354c49143a4575d90645e9fead6dfb52c26a85ed13a";
sha256 = "4c17cea3e592c21b6e222f673868961bad77e1f985cb1694ed077475a89229c1";
};
postPatch = ''
substituteInPlace astroid/__pkginfo__.py --replace "lazy_object_proxy==1.4.*" "lazy_object_proxy"
'';
# From astroid/__pkginfo__.py
propagatedBuildInputs = [ lazy-object-proxy six wrapt ]
++ lib.optional (pythonOlder "3.5") typing

View file

@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "asyncssh";
version = "2.1.0";
version = "2.2.1";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
sha256 = "19d0b4c65115d09b42ed21c748884157babfb3055a6e130ea349dfdcbcef3380";
sha256 = "baf9f1aa397a104a0c3923bae927796ca57063ce62330767131b418cd833338e";
};
patches = [

View file

@ -1,14 +1,15 @@
{ lib, buildPythonPackage, fetchPypi, future }:
{ lib, buildPythonPackage, fetchPypi, future, cppy }:
buildPythonPackage rec {
pname = "atom";
version = "0.4.3";
version = "0.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "ce96fb50326a3bfa084463dbde1cf2e02c92735e5bc324d836355c25af87e0ae";
sha256 = "ce0c600e4b26b7553c926b3b8253df7ae19bbf2678bdc2d46eb29b5f9149f172";
};
buildInputs = [ cppy ];
propagatedBuildInputs = [ future ];
# Tests not released to pypi

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "atomicwrites";
version = "1.3.0";
version = "1.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "75a9445bac02d8d058d5e1fe689654ba5a6556a1dfd8ce6ec55a0ed79866cfa6";
sha256 = "ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a";
};
# Tests depend on pytest but atomicwrites is a dependency of pytest

View file

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "audio-metadata";
version = "0.9.0";
version = "0.11.1";
src = fetchPypi {
inherit pname version;
sha256 = "1v7ww3csyxrhnpvpynla64hfn1wp37vbw7srh9343n4wc02mh65l";
sha256 = "9e7ba79d49cf048a911d5f7d55bb2715c10be5c127fe5db0987c5fe1aa7335eb";
};
postPatch = ''

View file

@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "auth0-python";
version = "3.9.2";
version = "3.10.0";
src = fetchPypi {
inherit pname version;
sha256 = "12870b4806095b707c4eed7bf8cdfeb3722d990366bc6a9772d1520e90efa73b";
sha256 = "e02525fd60d4b1e7e08bdc539b536db635da28ee25cc882412be4296802d0281";
};
propagatedBuildInputs = [

View file

@ -1,17 +1,17 @@
{ buildPythonPackage, fetchPypi, isPy27, lib
, authres, dnspython, dkimpy, ipaddress, publicsuffix
, authres, dnspython, dkimpy, ipaddress, publicsuffix2
}:
buildPythonPackage rec {
pname = "authheaders";
version = "0.12.2";
version = "0.13.0";
src = fetchPypi {
inherit pname version;
sha256 = "a6f96d1dfb7a6cffcdd78d1582914d4f9a0b25d66e1cf5ce959446c92cd8b74f";
sha256 = "935726b784cc636cbcfed2c977f1a6887dc60056806da4eff60db932c5896692";
};
propagatedBuildInputs = [ authres dnspython dkimpy publicsuffix ]
propagatedBuildInputs = [ authres dnspython dkimpy publicsuffix2 ]
++ lib.optional isPy27 ipaddress;
meta = {

View file

@ -4,11 +4,11 @@
}:
buildPythonPackage rec {
pname = "autobahn";
version = "19.11.2";
version = "20.4.3";
src = fetchPypi {
inherit pname version;
sha256 = "64fa063b3a1ab16588037d4713f13f66167f7ad2a2e95fd675decbc3bc85c089";
sha256 = "c6fe745d52ba9f9eecf791cd31f558df42aebfc4f9ee558a8f1d18c707e1ae1f";
};
propagatedBuildInputs = [ six txaio twisted zope_interface cffi cryptography pynacl ] ++

View file

@ -2,12 +2,12 @@
m2r, setuptools_scm, six, attrs }:
buildPythonPackage rec {
version = "0.8.0";
version = "20.2.0";
pname = "Automat";
src = fetchPypi {
inherit pname version;
sha256 = "269a09dfb063a3b078983f4976d83f0a0d3e6e7aaf8e27d8df1095e09dc4a484";
sha256 = "7979803c74610e11ef0c0d68a2942b152df52da55336e0c9d58daf1831cbdf33";
};
buildInputs = [ m2r setuptools_scm ];

View file

@ -1,4 +1,6 @@
{ stdenv, fetchPypi, buildPythonPackage, pycodestyle, glibcLocales }:
{ stdenv, fetchPypi, buildPythonPackage, pycodestyle, glibcLocales
, toml
}:
buildPythonPackage rec {
pname = "autopep8";
@ -9,7 +11,7 @@ buildPythonPackage rec {
sha256 = "60fd8c4341bab59963dafd5d2a566e94f547e660b9b396f772afe67d8481dbf0";
};
propagatedBuildInputs = [ pycodestyle ];
propagatedBuildInputs = [ pycodestyle toml ];
# One test fails:
# FAIL: test_recursive_should_not_crash_on_unicode_filename (test.test_autopep8.CommandLineTests)

View file

@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "av";
version = "7.0.1";
version = "8.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "10qav9dryly9h6n8vypx5m334v2lh88fsvgfg0zjy4bxjslay4zv";
sha256 = "a3bba6bf68766b8a1a057f28869c7078cf0a1ec3207c7788c2ce8fe6f6bd8267";
};
checkInputs = [ numpy ];

View file

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "awkward1";
version = "0.2.22";
version = "0.2.23";
src = fetchPypi {
inherit pname version;
sha256 = "c64a8ad0204743d49cf2f8775f92d9c23dd9d7eb6996a61f4a9de57a53d429f9";
sha256 = "d7458b499959af66e0a640e29e6b676a39cc9614cd504e5a2e8f8d0c7f546597";
};
nativeBuildInputs = [ cmake ];

View file

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "aws-sam-translator";
version = "1.21.0";
version = "1.24.0";
src = fetchPypi {
inherit pname version;
sha256 = "0diyqiwas9fhkj7p5hm08lvkd5h9yn9zqilwww2av04mclfk82ij";
sha256 = "f6b67545a87ec1e276bd5bf06abcc84332c4eb9dfa2fd415113e07a908fe55bb";
};
# Tests are not included in the PyPI package

View file

@ -1,6 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, importlib-metadata
, jsonpickle
, wrapt
, requests
@ -10,15 +12,17 @@
buildPythonPackage rec {
pname = "aws-xray-sdk";
version = "2.4.3";
version = "2.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "263a38f3920d9dc625e3acb92e6f6d300f4250b70f538bd009ce6e485676ab74";
sha256 = "8dfa785305fc8dc720d8d4c2ec6a58e85e467ddc3a53b1506a2ed8b5801c8fc7";
};
propagatedBuildInputs = [
jsonpickle wrapt requests future botocore
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
meta = {

View file

@ -12,14 +12,14 @@
}:
buildPythonPackage rec {
version = "1.5.0";
version = "1.6.0";
pname = "azure-core";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "181iyigm11y56lf1kwv7pcdyppavpwjb1b6k3qp3jnbqaypad9mg";
sha256 = "d10b74e783cff90d56360e61162afdd22276d62dc9467e657ae866449eae7648";
};
propagatedBuildInputs = [

View file

@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-cognitiveservices";
version = "6.1.0";
version = "6.2.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "e0c4bbe656ababb942d708ee04f3f3305a2023e322a8b3fb1d8503aa682f59c4";
sha256 = "93503507ba87c18fe24cd3dfcd54e6e69a4daf7636f38b7537e09cee9a4c13ce";
};
propagatedBuildInputs = [

View file

@ -5,13 +5,13 @@
}:
buildPythonPackage rec {
version = "1.4.0";
version = "1.5.0";
pname = "azure-mgmt-hdinsight";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "0zmmfj7z1zrayjqwqybcn3bwm47d2ngyxm1g6fh2iw5c2f9czycv";
sha256 = "d13088bb506700a7aecf59faf042cb48dc82c423082482b2f50cc2403ac43e55";
extension = "zip";
};

View file

@ -5,13 +5,13 @@
}:
buildPythonPackage rec {
version = "0.7.0";
version = "0.8.0";
pname = "azure-mgmt-kusto";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "40f8e62db145d31731018b83baf2d1a78b585514c373dd3c095f1f6835d17d23";
sha256 = "b12388df60982265c9f18e7382c5cc0e389c071227865cadc626b9ff9c6e3871";
extension = "zip";
};

View file

@ -8,13 +8,13 @@
buildPythonPackage rec {
version = "9.0.0";
version = "10.0.0";
pname = "azure-mgmt-resource";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "00bmdbr7hdwb3ibr9sfbgbmmr6626qlz19cdi84d87rcisczf4nw";
sha256 = "bd9a3938f5423741329436d2da09693845c2fad96c35fadbd7c5ae5213208345";
};
postInstall = if isPy3k then "" else ''

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "base58";
version = "1.0.3";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "9a793c599979c497800eb414c852b80866f28daaed5494703fc129592cc83e60";
sha256 = "c83584a8b917dc52dd634307137f2ad2721a9efb4f1de32fc7eaaaf87844177e";
};
checkInputs = [ pytest pyhamcrest ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "beautifulsoup4";
version = "4.8.2";
version = "4.9.1";
src = fetchPypi {
inherit pname version;
sha256 = "05fd825eb01c290877657a56df4c6e4c311b3965bda790c613a3d6fb01a5462a";
sha256 = "73cc4d115b96f79c7d77c1c7f7a0a8d4c57860d1041df407dd1aae7f07a77fd7";
};
checkInputs = [ pytest ];

View file

@ -4,12 +4,12 @@
}:
buildPythonPackage rec {
version = "0.3.0";
version = "0.4.0";
pname = "BespON";
src = fetchPypi {
inherit pname version;
sha256 = "0698vx1kh8c84f5qfhl4grdlyn1lljvdih8yczdz0pql8wkn8i7v";
sha256 = "4acfa3f918d416654beccd4db69290f498edb78bf39941287dcbc068b9a7ce2f";
};
propagatedBuildInputs = [ ];

View file

@ -2,17 +2,20 @@
, buildPythonPackage
, fetchPypi
, numpy
, isPy3k
}:
buildPythonPackage rec {
pname = "biopython";
version = "1.76";
version = "1.77";
src = fetchPypi {
inherit pname version;
sha256 = "0wlch9xpa0fpgjzyxi6jsfca6iakaq9a05927xg8vqnmvaccnwrq";
sha256 = "fb1936e9ca9e7af8de1050e84375f23328e04b801063edf0ad73733494d8ec42";
};
disabled = !isPy3k;
propagatedBuildInputs = [ numpy ];
# Checks try to write to $HOME, which does not work with nix
doCheck = false;

View file

@ -1,71 +0,0 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest
, contextlib2
, cytoolz
, dask
, datashape
, flask
, flask-cors
, h5py
, multipledispatch
, numba
, numpy
, odo
, pandas
, psutil
, pymongo
, pyyaml
, requests
, sqlalchemy
, tables
, toolz
}:
buildPythonPackage rec {
pname = "blaze";
version = "0.11.3";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "0w916k125058p40cf7i090f75pgv3cqdb8vwjzqhb9r482fa6717";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [
contextlib2
cytoolz
dask
datashape
flask
flask-cors
h5py
multipledispatch
numba
numpy
odo
pandas
psutil
pymongo
pyyaml
requests
sqlalchemy
tables
toolz
];
checkPhase = ''
rm pytest.ini # Not interested in coverage
py.test blaze/tests
'';
meta = {
homepage = "https://github.com/ContinuumIO/blaze";
description = "Allows Python users a familiar interface to query data living in other data storage systems";
license = lib.licenses.bsdOriginal;
maintainers = with lib.maintainers; [ fridh ];
};
}

View file

@ -14,13 +14,13 @@
}:
buildPythonPackage rec {
version = "19.11.1";
version = "20.2.1";
pname = "BoltzTraP2";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "3927ae782b7329dede2bf85ff5ff328c88f0514ecb592267e28912340f395d3e";
sha256 = "1cbf17c5479eec82efd1e8a26202c3320b1986597a08706cafa46bfb80cc3001";
};
dontUseCmakeConfigure = true;

View file

@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "boto3";
version = "1.13.23"; # N.B: if you change this, change botocore too
version = "1.13.24"; # N.B: if you change this, change botocore too
src = fetchPypi {
inherit pname version;
sha256 = "bcaa88b2f81b88741c47da52f3414c876236700441df87b6198f860e6a200d6f";
sha256 = "5df1f3f84587b4d812f6f178031119b80920822b459bbb70ad49f431128655dc";
};
propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ];

View file

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "botocore";
version = "1.16.23"; # N.B: if you change this, change boto3 and awscli to a matching version
version = "1.16.24"; # N.B: if you change this, change boto3 and awscli to a matching version
src = fetchPypi {
inherit pname version;
sha256 = "5831068c9b49b4c91b0733e0ec784a7733d8732359d73c67a07a0b0868433cae";
sha256 = "17bc71415186efb86a25dd674f78064cdd85139485967d5a0741c7b83d62cf5b";
};
propagatedBuildInputs = [

View file

@ -1,13 +1,13 @@
{ lib, fetchPypi, buildPythonPackage, docutils, six, sphinx, isPy3k, isPy27 }:
buildPythonPackage rec {
version = "4.14.2";
version = "4.18.1";
pname = "breathe";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "1vj2yylff07hh4l3sh3srhpnrk1q6pxznvwqzgmbplhn8gf5rimb";
sha256 = "03f56cc6dd0bf5ac3d8e8eb380d212257e16de79fce5e6186afd5c1835561e22";
};
propagatedBuildInputs = [ docutils six sphinx ];

View file

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "broadlink";
version = "0.12.0";
version = "0.14.0";
src = fetchPypi {
inherit pname version;
sha256 = "6448327f8f1cd0c103971a724a3e60629ccb5e8c302e7fdcbde6464e8edef2d8";
sha256 = "f771456ed990187f170d1561e2fd3d490ef646a2570a0286fe709a7115abcb49";
};
postPatch = ''

View file

@ -1,11 +1,11 @@
{ lib, fetchPypi, buildPythonPackage, isPy3k, keyring, pbkdf2, pyaes}:
buildPythonPackage rec {
pname = "browser-cookie3";
version = "0.9.1";
version = "0.11.1";
src = fetchPypi {
inherit pname version;
sha256 = "42e73e0276083ff162080860cd039138760921a56a0f316775cecee37d444c3f";
sha256 = "5d1f825fc9cc6f98fe0ee3f97cdb4947c22d59ac8a11643da5837ebd8c873f05";
};
disabled = !isPy3k;

View file

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "BTrees";
version = "4.6.1";
version = "4.7.2";
buildInputs = [ transaction ];
propagatedBuildInputs = [ persistent zope_interface ];
@ -23,7 +23,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "b3a0e1d073800bf7bcca6cbb97a6b3c9ec485a4ba3ee0b354da1ed076cfb9f30";
sha256 = "7ce4a5eb5c135bcb5c06b5bd1ca6fd7fd39d8631306182307ed8bc30d3033846";
};
meta = with stdenv.lib; {

View file

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchPypi
, flit-core
, toml
, pep517
, packaging
, isPy3k
, typing
, pythonOlder
, importlib-metadata
}:
buildPythonPackage rec {
pname = "build";
version = "0.0.3.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "757b5542168326b6f1898a1ce1131bb2cf306ee4c7e54e39c815c5be217ff87d";
};
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
toml
pep517
packaging
] ++ lib.optionals (!isPy3k) [
typing
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
# No tests in archive
doCheck = false;
meta = {
description = "A simple, correct PEP517 package builder";
license = lib.licenses.mit;
};
}

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "cachetools";
version = "4.0.0";
version = "4.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "9a52dd97a85f257f4e4127f15818e71a0c7899f121b34591fcc1173ea79a0198";
sha256 = "1d057645db16ca7fe1f3bd953558897603d6f0b9c51ed9d11eb4d071ec4e2aab";
};
meta = with stdenv.lib; {

View file

@ -1,34 +1,51 @@
{ lib
, buildPythonPackage
, fetchPypi
, tzlocal
, requests
, vobject
, fetchFromGitHub
, pythonOlder
, icalendar
, lxml
, nose
, pytz
, requests
, six
, tzlocal
, vobject
}:
buildPythonPackage rec {
pname = "caldav";
version = "0.6.2";
version = "0.7.0";
propagatedBuildInputs = [ tzlocal requests vobject lxml nose ];
src = fetchPypi {
inherit pname version;
sha256 = "80c33b143539da3a471148ac89512f67d9df3a5286fae5a023e2ad3923246c0d";
src = fetchFromGitHub {
owner = "python-caldav";
repo = pname;
rev = "v${version}";
sha256 = "0m64maiqp3k8fsgkkvdx1dlfhkc70pqig4dclq6w8ajz82czrq83";
};
# xandikos is only a optional test dependency, not available for python3
propagatedBuildInputs = [ six requests vobject lxml ]
++ lib.optionals (pythonOlder "3.6") [ pytz tzlocal ];
checkInputs = [
icalendar
nose
tzlocal
];
# xandikos and radicale is only a optional test dependency, not available for python3
postPatch = ''
substituteInPlace setup.py \
--replace ", 'xandikos'" ""
--replace ", 'xandikos'" "" \
--replace ", 'radicale'" ""
'';
pythonImportsCheck = [ "caldav" ];
meta = with lib; {
description = "This project is a CalDAV (RFC4791) client library for Python.";
homepage = "https://pythonhosted.org/caldav/";
license = licenses.asl20;
maintainers = with maintainers; [ marenz ];
#broken = true; # requires radicale which is not packaged yet
};
}

View file

@ -15,11 +15,11 @@
buildPythonPackage rec {
pname = "cassandra-driver";
version = "3.20.2";
version = "3.23.0";
src = fetchPypi {
inherit pname version;
sha256 = "03nycyn5nd1pnrg6fffq3wcjqnw13lgja137zq5zszx68mc15wnl";
sha256 = "a3b075bfd36677024b1dcf55a561fac161fc4f4065f01557b21a0b02ebad05c2";
};
nativeBuildInputs = [ cython ];

View file

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, importlib-metadata
}:
buildPythonPackage rec {
pname = "catalogue";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "d74d1d856c6b36a37bf14aa6dbbc27d0582667b7ab979a6108e61a575e8723f5";
};
propagatedBuildInputs = [ importlib-metadata ];
meta = with stdenv.lib; {
description = "Tiny library for adding function or object registries";
homepage = "https://github.com/explosion/catalogue";
license = licenses.mit;
maintainers = with maintainers; [ danieldk ];
};
}

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "catalogue";
version = "0.2.1";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "1720242b2d0c11e666f9ceed39f0611236815b06af5421f7d8cbca48a4cff3af";
sha256 = "34f8416ec5e7ed08e55c10414416e67c3f4d66edf83bc67320c3290775293816";
};
propagatedBuildInputs = [ importlib-metadata ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "cfgv";
version = "2.0.1";
version = "3.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "0i1iam461bd6bphd402r7payr2m71xivy5zp6k2gjnv67fa8gczd";
sha256 = "c8e8f552ffcc6194f4e18dd4f68d9aef0c0d58ae7e7be8c82bee3c5e9edfa513";
};
propagatedBuildInputs = [ six ];

View file

@ -12,15 +12,17 @@
, jsonschema
, pathlib2
, setuptools
, junit-xml
, networkx
}:
buildPythonPackage rec {
pname = "cfn-lint";
version = "0.26.3";
version = "0.33.0";
src = fetchPypi {
inherit pname version;
sha256 = "384c37d239579c7b9f61a3aaadb92ebe81f37cd6ee6a161485401179af6c7a44";
sha256 = "b74bb89a3d0da4a744179b07bc186b9fbc4800f929bf635bb6246e80fb91a953";
};
propagatedBuildInputs = [
@ -32,6 +34,8 @@ buildPythonPackage rec {
jsonschema
pathlib2
setuptools
junit-xml
networkx
] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata importlib-resources ];
# No tests included in archive

View file

@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "cgen";
version = "2019.1";
version = "2020.1";
src = fetchPypi {
inherit pname version;
sha256 = "04gxzfjy2f9qsg3scg1sx4q4rhw5p036dyqngxyfsai0wvj5ya6m";
sha256 = "4ec99d0c832d9f95f5e51dd18a629ad50df0b5464ce557ef42c6e0cd9478bfcf";
};
checkInputs = [ pytest ];

View file

@ -19,11 +19,11 @@
buildPythonPackage rec {
pname = "chalice";
version = "1.13.1";
version = "1.14.1";
src = fetchPypi {
inherit pname version;
sha256 = "c898c8726ed008615f0b1988b9cd1e1f74fd230e7b24bca53bfd5f96af6e55a1";
sha256 = "457e71fd84951574ccbe72d1389d9c89aaf5e69a552b01d1f1585faa63459c26";
};
checkInputs = [ watchdog pytest hypothesis mock ];

View file

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "Chameleon";
version = "3.6.2";
version = "3.7.2";
src = fetchPypi {
inherit pname version;
sha256 = "0aw6cqnychmsxjjgihwr7df92xw6ac1wr4x70mvq28z3iq35x7ls";
sha256 = "7adc331eb039d5c458cd78e42a76f8e470953f004ddf297bd57aa1501392aec9";
};
meta = with stdenv.lib; {

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "check-manifest";
version = "0.40";
version = "0.42";
src = fetchPypi {
inherit pname version;
sha256 = "42de6eaab4ed149e60c9b367ada54f01a3b1e4d6846784f9b9710e770ff5572c";
sha256 = "0d8e1b0944a667dd4a75274f6763e558f0d268fde2c725e894dfd152aae23300";
};
propagatedBuildInputs = [ toml ];
@ -18,5 +18,6 @@ buildPythonPackage rec {
description = "Check MANIFEST.in in a Python source package for completeness";
license = licenses.mit;
maintainers = with maintainers; [ lewo ];
broken = true; # pep517 package doesn't exist in nixpkgs
};
}

View file

@ -8,13 +8,13 @@ let inherit (stdenv) lib; in
buildPythonPackage rec {
pname = "cheroot";
version = "8.2.1";
version = "8.3.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "5b525b3e4a755adf78070ab54c1821fb860d4255a9317dba2b88eb2df2441cff";
sha256 = "a0577e1f28661727d472671a7cc4e0c12ea0cbc5220265e70f00a8b8cb628931";
};
nativeBuildInputs = [ setuptools_scm setuptools-scm-git-archive ];

View file

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "cleo";
version = "0.7.6";
version = "0.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "99cf342406f3499cec43270fcfaf93c126c5164092eca201dfef0f623360b409";
sha256 = "3d0e22d30117851b45970b6c14aca4ab0b18b1b53c8af57bed13208147e4069f";
};
propagatedBuildInputs = [

View file

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "cli_helpers";
version = "1.2.1";
version = "2.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "0rd194l06aw4612j09b44pgh8b8l4cwmz7xgwsgdj9v8m3m25nwq";
sha256 = "18f7d8c5a22d85fc685d56a9f301d8b9f7f0d7d4e9033a27563b066c2ab41833";
};
propagatedBuildInputs = [

View file

@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "clifford";
version = "1.2.0";
version = "1.3.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "b27fdec70574ac928c91fe333a70ece153d75cd0499cce09acea5980ae349bee";
sha256 = "ade11b20d0631dfc9c2f18ce0149f1e61e4baf114108b27cfd68e5c1619ecc0c";
};
propagatedBuildInputs = [

View file

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "clikit";
version = "0.4.3";
version = "0.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "0glppxx0pyppjcigzs8h16srlbxb6nci0282xfy3ayvwbq8pwbbf";
sha256 = "0603e3c19fa106f5df5f224826c92e57221f48ec969e42744173e0458d359354";
};
propagatedBuildInputs = [

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "cloudpickle";
version = "1.2.2";
version = "1.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "922401d7140e133253ff5fab4faa4a1166416066453a783b00b507dca93f8859";
sha256 = "0b6258a20a143603d53b037a20983016d4e978f554ec4f36b3d0895b947099ae";
};
buildInputs = [ pytest mock ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "codecov";
version = "2.0.22";
version = "2.1.4";
src = fetchPypi {
inherit pname version;
sha256 = "aeeefa3a03cac8a78e4f988e935b51a4689bb1f17f20d4e827807ee11135f845";
sha256 = "bf30a41f65e747b159e2a749d1f9c92042d358bba0905fd94d3def3a368e592c";
};
checkInputs = [ unittest2 ]; # Tests only

View file

@ -0,0 +1,26 @@
{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm }:
buildPythonPackage rec {
pname = "configparser";
version = "4.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "c7d282687a5308319bf3d2e7706e575c635b0a470342641c93bea0ea3b5331df";
};
# No tests available
doCheck = false;
nativeBuildInputs = [ setuptools_scm ];
preConfigure = ''
export LC_ALL=${if stdenv.isDarwin then "en_US" else "C"}.UTF-8
'';
meta = with stdenv.lib; {
description = "Updated configparser from Python 3.7 for Python 2.6+.";
license = licenses.mit;
homepage = "https://github.com/jaraco/configparser";
};
}

View file

@ -1,18 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm }:
{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm
, toml
}:
buildPythonPackage rec {
pname = "configparser";
version = "4.0.2";
version = "5.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "c7d282687a5308319bf3d2e7706e575c635b0a470342641c93bea0ea3b5331df";
sha256 = "2ca44140ee259b5e3d8aaf47c79c36a7ab0d5e94d70bd4105c03ede7a20ea5a1";
};
# No tests available
doCheck = false;
nativeBuildInputs = [ setuptools_scm ];
nativeBuildInputs = [ setuptools_scm toml ];
preConfigure = ''
export LC_ALL=${if stdenv.isDarwin then "en_US" else "C"}.UTF-8

View file

@ -1,12 +1,12 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, rdkafka, requests, avro3k, avro, futures, enum34 }:
buildPythonPackage rec {
version = "1.3.0";
version = "1.4.2";
pname = "confluent-kafka";
src = fetchPypi {
inherit pname version;
sha256 = "4025ccddbc79443a4e2342de0d770f669558eb737fca2e7851558cd45f78ef78";
sha256 = "c2660807e5c1ecd723e280f76918794c3fd84595000c1e8de1f254f5d89a785c";
};
buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ enum34 avro futures ]) ;

View file

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "cornice";
version = "4.0.1";
version = "5.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "d083832e9db65da4784436deabd7d37959de88c3b8ba51d539fa1e1f8313439d";
sha256 = "4efa77a0d0402f1b92481a53853d65936956a568d64a4f6a703b62feb5b8cf62";
};
propagatedBuildInputs = [ pyramid simplejson six venusian ];

View file

@ -16,12 +16,12 @@
buildPythonPackage rec {
pname = "coveralls";
name = "${pname}-python-${version}";
version = "1.9.2";
version = "2.0.0";
# wanted by tests
src = fetchPypi {
inherit pname version;
sha256 = "8e3315e8620bb6b3c6f3179a75f498e7179c93b3ddc440352404f941b1f70524";
sha256 = "d213f5edd49053d03f0db316ccabfe17725f2758147afc9a37eaca9d8e8602b5";
};
checkInputs = [

View file

@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
pname = "cppy";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "4eda6f1952054a270f32dc11df7c5e24b259a09fddf7bfaa5f33df9fb4a29642";
};
# Headers-only library, no tests
doCheck = false;
# Not supported
disabled = !isPy3k;
meta = {
description = "C++ headers for C extension development";
homepage = "https://github.com/nucleic/cppy";
license = lib.licenses.bsd3;
};
}

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "credstash";
version = "1.16.2";
version = "1.17.1";
src = fetchPypi {
inherit pname version;
sha256 = "1l3g76dm9csmx0z8s7zd75wfzw9dcyvrq0a81gfzwxk0c0w8c79r";
sha256 = "6c04e8734ef556ab459018da142dd0b244093ef176b3be5583e582e9a797a120";
};
# The install phase puts an executable and a copy of the library it imports in

View file

@ -4,6 +4,8 @@
, python-dateutil
, pytest
, pytz
, natsort
, tzlocal
}:
buildPythonPackage rec {
@ -17,11 +19,13 @@ buildPythonPackage rec {
propagatedBuildInputs = [
python-dateutil
natsort
];
checkInputs = [
pytest
pytz
tzlocal
];
checkPhase = ''

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "cssselect2";
version = "0.2.2";
version = "0.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "0skymzb4ncrm2zdsy80f53vi0arf776lvbp51hzh4ayp1il5lj3h";
sha256 = "5c2716f06b5de93f701d5755a9666f2ee22cbcd8b4da8adddfc30095ffea3abc";
};
# We're not interested in code quality tests

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "cupy";
version = "7.0.0";
version = "7.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "7230b25052b2b9074cc338b44338b4bd43575a48ad7b9c2ce7f36d7e0d117012";
sha256 = "243254a1607e19ca55191c4cca4c0f2b143e1d5914e2a1bc9e3f715e7ccafc41";
};
checkInputs = [

View file

@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "curio";
version = "0.9";
version = "1.2";
src = fetchPypi {
inherit pname version;
sha256 = "51d1a7b49b4f8dd1486ac785c72d522962e93ccfdcfc1f818f5c7553a307b5ef";
sha256 = "90f320fafb3f5b791f25ffafa7b561cc980376de173afd575a2114380de7939b";
};
disabled = !isPy3k;
@ -24,9 +24,7 @@ buildPythonPackage rec {
# test_aside_basic times out,
# test_aside_cancel fails because modifies PYTHONPATH and cant find pytest
checkPhase = ''
# __pycache__ was packaged accidentally, https://github.com/dabeaz/curio/issues/301
rm -r tests/__pycache__
pytest --deselect tests/test_task.py::test_aside_basic --deselect tests/test_task.py::test_aside_cancel
pytest --deselect tests/test_task.py::test_aside_basic --deselect tests/test_task.py::test_aside_cancel -k "not test_ssl_outgoing"
'';
meta = with lib; {

View file

@ -16,13 +16,13 @@
buildPythonPackage rec {
pname = "cvxpy";
version = "1.0.31";
version = "1.1.1";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "17g6xcy99icrdcmb4pa793kqvzchbzl5lsw00xms9slwkr7pb65k";
sha256 = "b8e90af9c0046394a73144ef1b93f1f69df1ba00779bb3d607add006179ba9d9";
};
propagatedBuildInputs = [

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "cx_Freeze";
version = "6.0";
version = "6.1";
src = fetchPypi {
inherit pname version;
sha256 = "067bgkgx7i3kw31vaviwysbb1lk91cjw9q90vklsr7nsygjxi0fa";
sha256 = "a0181bdb0ed16b292f4cfb8cd3afc84e956fc187431f25392bd981460dd73da0";
};
propagatedBuildInputs = [ ncurses ];

View file

@ -20,13 +20,13 @@
}:
buildPythonPackage rec {
version = "1.2.0";
version = "1.5.0";
pname = "dask-ml";
disabled = pythonOlder "3.6"; # >= 3.6
src = fetchPypi {
inherit pname version;
sha256 = "0ppg8licvkxz1af2q87cxms2p6ss2r5d4fdkbcivph56r0v0ci2k";
sha256 = "8a9879b7d1642ed8cd48115d81f92a246eb7ffeadc42748053c5339a56f569b4";
};
propagatedBuildInputs = [

View file

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "databricks-cli";
version = "0.10.0";
version = "0.11.0";
src = fetchPypi {
inherit pname version;
sha256 = "1w0my86r9fl0xqlczaqyp7v9rg7mpc42kp9swhids4qk4r5ncr2i";
sha256 = "b3c7205dd8cb9935c475794ebd41b53aba79a53e028d3cf6b5871eec83c89ec0";
};
checkInputs = [

View file

@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "datatable";
version = "0.9.0";
version = "0.10.1";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "1shwjkm9nyaj6asn57vwdd74pn13pggh14r6dzv729lzxm7nm65f";
sha256 = "3ce5257c0c4afa96e2b14ca47a0aaf73add195b11de48f4adda50b5ede927436";
};
patches = lib.optionals stdenv.isDarwin [

View file

@ -11,7 +11,10 @@
, pytz
, tzlocal
, regex
, ruamel_yaml }:
, ruamel_yaml
, python
, isPy3k
}:
buildPythonPackage rec {
pname = "dateparser";
@ -22,12 +25,27 @@ buildPythonPackage rec {
sha256 = "fb5bfde4795fa4b179fe05c2c25b3981f785de26bec37e247dee1079c63d5689";
};
checkInputs = [ flake8 nose mock parameterized six glibcLocales ];
checkInputs = [
flake8
nose
mock
parameterized
six
glibcLocales
];
preCheck =''
# skip because of missing convertdate module, which is an extra requirement
rm tests/test_jalali.py
'';
checkPhase = ''
${python.interpreter} -m unittest discover -s tests
'';
# Strange
# AttributeError: 'module' object has no attribute 'config'
doCheck = false;
propagatedBuildInputs = [
# install_requires
dateutil pytz regex tzlocal

View file

@ -1,25 +1,28 @@
{ stdenv
{ lib
, buildPythonPackage
, fetchPypi
, nose, six, pyyaml, mock
, six, pyyaml, mock
, pytestCheckHook
, enum34
, isPy3k
}:
buildPythonPackage rec {
pname = "ddt";
version = "1.2.2";
version = "1.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "9f79cf234064cf9b43492b72da35c473de3f03163d37bd13cec5bd8d200dda6b";
sha256 = "0595e70d074e5777771a45709e99e9d215552fb1076443a25fad6b23d8bf38da";
};
checkInputs = [ nose six pyyaml mock ];
checkInputs = [ six pyyaml mock pytestCheckHook ];
checkPhase = ''
nosetests -s
'';
propagatedBuildInputs = lib.optionals (!isPy3k) [
enum34
];
meta = with stdenv.lib; {
meta = with lib; {
description = "Data-Driven/Decorated Tests, a library to multiply test cases";
homepage = "https://github.com/txels/ddt";
license = licenses.mit;

View file

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "deepdiff";
version = "4.0.9";
version = "4.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "5e2343398e90538edaa59c0c99207e996a3a834fdc878c666376f632a760c35a";
sha256 = "91360be1d9d93b1d9c13ae9c5048fa83d9cff17a88eb30afaa0d7ff2d0fee17d";
};
# # Extra packages (may not be necessary)

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "deluge-client";
version = "1.8.0";
version = "1.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "4eac169b4b08008cacf4e5e26e82302a7ccd43c07846d1a1228f3e271a128de2";
sha256 = "0d2f12108a147d44590c8df63997fcb32f8b2fbc18f8cbb221f0136e2e372b85";
};
# it will try to connect to a running instance

View file

@ -9,11 +9,11 @@ in
buildPythonPackage rec {
pname = "dependency-injector";
version = "3.14.12";
version = "3.15.6";
src = fetchPypi {
inherit pname version;
sha256 = "c0b593d30a9dcafd71459075fac14ccf52fcefa2094d5062dfc2e174c469dc03";
sha256 = "fcca1464f567d902983bff507b9e2e3fda0f932ee009e36f74ed5b8c348d17f4";
};
propagatedBuildInputs = [ six ];

View file

@ -3,18 +3,23 @@
, py
, pytest
, pytest-flake8
, lazy
}:
buildPythonPackage rec {
pname = "devpi-common";
version = "3.4.0";
version = "3.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "1pfl29pnfn120rqv3zwxc22i1hyywwg60rcck9hzxsllbhmfbjqh";
sha256 = "4f1eb1bf85a5dabd4f4ecc11ad99588e01cc204989a9f424c2dbe5809c6c3745";
};
propagatedBuildInputs = [ requests py ];
propagatedBuildInputs = [
requests
py
lazy
];
checkInputs = [ pytest pytest-flake8 ];
checkPhase = ''

View file

@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "diff_cover";
version = "2.6.1";
version = "3.0.1";
preCheck = ''
export LC_ALL=en_US.UTF-8;
@ -25,7 +25,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "0a6ylkfqr95awp6za0var0nysmnbgwn46np8cmi1bkldil2407lz";
sha256 = "13768c8bc755dd8e1184ce79b95bbc8115ea566282f4b06efbeca72a4d00427b";
};
propagatedBuildInputs = [ jinja2 jinja2_pluralize pygments six inflect ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "discogs-client";
version = "2.2.2";
version = "2.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "1n23xy33fdp3dq0hhfdg0lx4z7rhdi74ik8v1mc7rql1jbxl7bmf";
sha256 = "cc979fcbb5283f74d388c7111c8ed6bef920b01614a014d6b1c5d6fbb554bfc3";
};
propagatedBuildInputs = [ requests oauthlib ];

View file

@ -27,12 +27,12 @@
buildPythonPackage rec {
pname = "distributed";
version = "2.9.3";
version = "2.18.0";
# get full repository need conftest.py to run tests
src = fetchPypi {
inherit pname version;
sha256 = "70e29fed075270df4ca7dda2b26a79523b753fe90fb278b2a7d6b0290ba53d9a";
sha256 = "902f098fb7558f035333804a5aeba2fb26a2a715388808205a17cbb2e02e0558";
};
checkInputs = [ pytest pytest-repeat pytest-timeout mock joblib ];

View file

@ -1,23 +1,18 @@
{ stdenv, fetchPypi, buildPythonPackage, pytest, pytestcov }:
{ stdenv, fetchPypi, buildPythonPackage }:
buildPythonPackage rec {
pname = "distro";
version = "1.4.0";
version = "1.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "0mrg75w4ap7mdzyga75yaid9n8bgb345ih5mwjp3plj6v1jxwb9n";
sha256 = "0e58756ae38fbd8fc3020d54badb8eae17c5b9dcbed388b17bb55b8a5928df92";
};
# TODO: Enable more tests on NixOS (20 out of 173 are failing, 10 due to the
# missing lsb_release binary):
patches = [ ./nixos.patch ];
# tests are very targeted at individual linux distributions
doCheck = false;
checkInputs = [ pytest pytestcov ];
checkPhase = ''
py.test
'';
pythonImportcheck = [ "distro" ];
meta = with stdenv.lib; {
homepage = "https://github.com/nir0s/distro";

View file

@ -1,31 +0,0 @@
diff --git a/tests/test_distro.py b/tests/test_distro.py
index 5521068..4e1bab8 100644
--- a/tests/test_distro.py
+++ b/tests/test_distro.py
@@ -432,7 +432,7 @@ class TestOSRelease:
self._test_outcome(desired_outcome)
-@pytest.mark.skipif(not IS_LINUX, reason='Irrelevant on non-linux')
+@pytest.mark.skip(reason='lsb_release is not available and would return exit code 3')
class TestLSBRelease(DistroTestCase):
def setup_method(self, test_method):
@@ -919,7 +919,7 @@ class TestDistroRelease:
self._test_outcome(desired_outcome, 'cloudlinux', '7', 'redhat')
-@pytest.mark.skipif(not IS_LINUX, reason='Irrelevant on non-linux')
+@pytest.mark.skip(reason='Unknown (TODO)')
class TestOverall(DistroTestCase):
"""Test a LinuxDistribution object created with default arguments.
@@ -1618,7 +1618,7 @@ def _bad_os_listdir(path='.'):
raise OSError()
-@pytest.mark.skipIf(not IS_LINUX, reason='Irrelevant on non-linx')
+@pytest.mark.skip(reason='Unknown (TODO)')
class TestOverallWithEtcNotReadable(TestOverall):
def setup_method(self, test_method):
self._old_listdir = os.listdir

View file

@ -5,12 +5,12 @@
}:
buildPythonPackage rec {
version = "0.2.0";
version = "1.0.1";
pname = "dj-email-url";
src = fetchPypi {
inherit pname version;
sha256 = "0362e390c17cc377f03bcbf6daf3f671797c929c1bf78a9f439d78f215ebe3fd";
sha256 = "32dc567c5cc3d4106710ec36dd645c8c1b20e2d8f588a17ab88bcc23e347d00a";
};
checkPhase = ''

View file

@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "django-auth-ldap";
version = "2.1.1";
version = "2.2.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "1j1fwinbkr4khn9i869r22jfdgw2kli0jqrz5shyd36jllsvrfzs";
sha256 = "11af1773b08613339d2c3a0cec1308a4d563518f17b1719c3759994d0b4d04bf";
};
propagatedBuildInputs = [ ldap django ];

Some files were not shown because too many files have changed in this diff Show more