Merge branch 'staging-next' into staging

This commit is contained in:
Jan Tojnar
2020-10-18 21:21:03 +02:00
777 changed files with 10716 additions and 6426 deletions

View File

@@ -68,7 +68,9 @@ in buildPythonPackage rec {
--replace 'StrParam(default_dnn_base_path)' 'StrParam('\'''${cudnn}'\''')'
'';
preCheck = ''
# needs to be postFixup so it runs before pythonImportsCheck even when
# doCheck = false (meaning preCheck would be disabled)
postFixup = ''
mkdir -p check-phase
export HOME=$(pwd)/check-phase
'';
@@ -81,6 +83,8 @@ in buildPythonPackage rec {
checkInputs = [ nose ];
propagatedBuildInputs = [ numpy numpy.blas scipy six libgpuarray_ ];
pythonImportsCheck = [ "theano" ];
meta = with stdenv.lib; {
homepage = "http://deeplearning.net/software/theano/";
description = "A Python library for large-scale array computation";

View File

@@ -14,12 +14,12 @@
buildPythonPackage rec {
pname = "accupy";
version = "0.3.2";
version = "0.3.3";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "be5c8c9ef2f83c9eeddac85463879957c87a93b257a6202a76ad6b43080b32f9";
sha256 = "a234c9897a683a6ade44f0bafa71196f122a61e3ebeacb5b813e7d139d54f3c7";
};
buildInputs = [

View File

@@ -0,0 +1,28 @@
{ aiohttp, buildPythonPackage, fetchFromGitHub, lib, pytest, pytestCheckHook
, pytestcov, pytestrunner, pytest-asyncio, python, pythonOlder }:
buildPythonPackage rec {
pname = "accuweather";
version = "0.0.11";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "bieniu";
repo = pname;
rev = version;
sha256 = "1sgbw9yldf81phwx6pbvqg9sp767whxymyj0ca9pwx1r6ipr080h";
};
nativeBuildInputs = [ pytestrunner ];
propagatedBuildInputs = [ aiohttp ];
checkInputs = [ pytestCheckHook pytestcov pytest-asyncio ];
meta = with lib; {
description =
"Python wrapper for getting weather data from AccuWeather servers.";
homepage = "https://github.com/bieniu/accuweather";
license = licenses.asl20;
maintainers = with maintainers; [ jamiemagee ];
};
}

View File

@@ -1,22 +1,32 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, python
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, pythonOlder, python
, fonttools, defcon, lxml, fs, unicodedata2, zopfli, brotlipy, fontpens
, brotli, fontmath, mutatormath, booleanoperations
, ufoprocessor, ufonormalizer, psautohint
, ufoprocessor, ufonormalizer, psautohint, tqdm
, setuptools_scm
, pytest
}:
buildPythonPackage rec {
pname = "afdko";
version = "3.5.0";
version = "3.5.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "0wid4l70bxm297xgayyrgw5glhp6n92gh4sz1nd4rncgf1ziz8ck";
sha256 = "1qg7dgl81yq0sp50pkhgvmf8az1svx20zmpkfa68ka9d0ssh1wjw";
};
# Skip date-dependent test. See
# https://github.com/adobe-type-tools/afdko/pull/1232
# https://github.com/NixOS/nixpkgs/pull/98158#issuecomment-704321117
patches = [
(fetchpatch {
url = "https://github.com/adobe-type-tools/afdko/commit/2c36ad10f9d964759f643e8ed7b0972a27aa26bd.patch";
sha256 = "0p6a485mmzrbfldfbhgfghsypfiad3cabcw7qlw2rh993ivpnibf";
})
];
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [
@@ -35,6 +45,7 @@ buildPythonPackage rec {
ufoprocessor
ufonormalizer
psautohint
tqdm
];
# tests are broken on non x86_64

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi }:
{ lib, buildPythonPackage, fetchPypi, pythonOlder }:
# This package provides a binary "apython" which sometimes invokes
# [sys.executable, '-m', 'aioconsole'] as a subprocess. If apython is
@@ -10,11 +10,12 @@
# wrapped to be able to find aioconsole and any other packages.
buildPythonPackage rec {
pname = "aioconsole";
version = "0.2.1";
version = "0.3.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "1l61zv6qq94ybqz7s8ag3h08dsh7jds6n2mgd43s7m8gbiy00ggn";
sha256 = "b84724e6b93d1306a909974864df377236cf4bab8e0594096fed7936207205c5";
};
# hardcodes a test dependency on an old version of pytest-asyncio

View File

@@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "aioftp";
version = "0.18.0";
version = "0.18.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "6f9d5b5ac910987daca4f7ad4a017530751e2107d2471c9f92a3e09b507cb2dc";
sha256 = "b5a412c748722dd679c4c2e30dd40d70a7c8879636f6eb4489fdbca72965b125";
};
checkInputs = [

View File

@@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "aiokafka";
version = "0.5.2";
version = "0.6.0";
disabled = isPy27;
@@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "aio-libs";
repo = "aiokafka";
rev = "v${version}";
sha256 = "062kqsq75fi5pbpqf2a8nxm43pxpr6bwplg6bp4nv2a68r850pki";
sha256 = "1l5nkz9blmfrbsj7m76vm8vcfdgvab33anzpq62384scp9yf8dln";
};
nativeBuildInputs = [

View File

@@ -5,7 +5,7 @@
buildPythonPackage rec {
pname = "aria2p";
version = "0.7.0";
version = "0.9.1";
format = "pyproject";
disabled = pythonOlder "3.6";
@@ -13,7 +13,7 @@ buildPythonPackage rec {
owner = "pawamoy";
repo = pname;
rev = "v${version}";
sha256 = "1inak3y2win58zbzykfzy6xp00f276sqsz69h2nfsd93mpr74wf6";
sha256 = "1s4kad6jnfz9p64gkqclkfq2x2bn8dbc0hyr86d1545bgn7pz672";
};
nativeBuildInputs = [ poetry ];

View File

@@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "aubio";
version = "0.4.9";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "0fhxikvlr010nbh02g455d5y8bq6j5yw180cdh4gsd0hb43y3z26";
};
propagatedBuildInputs = [
numpy
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "aubio" ];
meta = with lib; {
description = "a library for audio and music analysis";
homepage = "https://aubio.org";
license = licenses.gpl3;
maintainers = with maintainers; [ hexa ];
};
}

View File

@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "auth0-python";
version = "3.12.0";
version = "3.13.0";
src = fetchPypi {
inherit pname version;
sha256 = "fbc54a231ca787ae0917223028269582abbd963cfa9d53ba822a601dd9cd2215";
sha256 = "2e968d01364c8c94fbe85154ab77ebe9e51a3f8282405bb33748071452063004";
};
propagatedBuildInputs = [

View File

@@ -8,14 +8,14 @@
}:
buildPythonPackage rec {
version = "0.14.3";
version = "0.15.1";
pname = "authlib";
src = fetchFromGitHub {
owner = "lepture";
repo = "authlib";
rev = "v${version}";
sha256 = "0ph97j94i40jj7nc5ya8pfq0ccx023zbqpcs5hrxmib53g64k5xy";
sha256 = "0jh4kdi5spzhmgvq3ffz2q467hjycz3wg97f7n53rffiwd86jrh5";
};
propagatedBuildInputs = [ cryptography requests ];

View File

@@ -10,13 +10,13 @@
buildPythonPackage rec {
pname = "azure-keyvault-keys";
version = "4.2.0";
version = "4.3.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "e47b76ca5d99b12436c64ce4431271cd6744fba017f282991b84ce303e0b9eaa";
sha256 = "064a98791fe447a0e57850bb5ec1ec43e7d5fd39266319b5acc44a9704a3b966";
};
propagatedBuildInputs = [

View File

@@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-keyvault";
version = "7.0.0";
version = "8.0.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "128c1424373aabab5ffcfa74a3ee73cf8bda0a9259229ce2c1d09a8bc9f7370a";
sha256 = "2c974c6114d8d27152642c82a975812790a5e86ccf609bf370a476d9ea0d2e7d";
};
propagatedBuildInputs = [

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-sql";
version = "0.21.0";
version = "0.22.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "7bf7a41d2e42532a00b5f41d3fc0512244451a35f038ac0a25c96ef2c5c04300";
sha256 = "01c82a1559f49e5f51021b8fbd35e738e08cbede1f39cf00da8085c853575f39";
};
propagatedBuildInputs = [

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-subscription";
version = "0.6.0";
version = "0.7.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "7448a322eceed3d300e181fde0f626c0e37df773f6c7297df2b73d98cb0936cf";
sha256 = "37f570b8872ae65dce312da116588ab8407a5c8a10d959597e61d19b21799f77";
};
propagatedBuildInputs = [

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-web";
version = "0.47.0";
version = "0.48.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1s6c477q2kpyiqkisw6l70ydyjkv3ay6zjjj4jl4ipv05a7356kq";
sha256 = "da0f9e3b57528c72a7bc92e3515413a4a4fdbc9626c26ac04b7551a7739a81ec";
};
propagatedBuildInputs = [

View File

@@ -2,14 +2,14 @@
, wheel, pytestCheckHook, pytestrunner }:
buildPythonPackage rec {
version = "0.18.0";
version = "0.18.1";
pname = "bacpypes";
src = fetchFromGitHub {
owner = "JoelBender";
repo = "bacpypes";
rev = "${version}";
sha256 = "1nz0qi46z6n455mw2ppxgz091qh0irizlxpvkx7iw1l7f6mmgj0x";
rev = version;
sha256 = "1fxrh57z3fjl95db8jh71grkv5id8qk65g6k5jqcs9v3dgkg8jkl";
};
propagatedBuildInputs = [ wheel ];

View File

@@ -9,13 +9,13 @@
buildPythonPackage rec {
pname = "bayesian-optimization";
version = "1.1.0";
version = "1.2.0";
src = fetchFromGitHub {
owner = "fmfn";
repo = "BayesianOptimization";
rev = "v${version}";
sha256 = "0ylip9xdi0cjzmdayxxpazdfaa9dl0sdcl2qsfn3p0cipj59bdvd";
rev = version;
sha256 = "01mg9npiqh1qmq5ldnbpjmr8qkiw827msiv3crpkhbj4bdzasbfm";
};
propagatedBuildInputs = [

View File

@@ -5,14 +5,14 @@
let
pname = "bellows";
version = "0.18.1";
version = "0.20.3";
in buildPythonPackage rec {
inherit pname version;
src = fetchPypi {
inherit pname version;
sha256 = "6a2e323c2be6f10a8e99fffccb5670bc77bbddb7b5bd9253b69021120f2ab9d7";
sha256 = "9342b6b9423c818f99f7c6d9086fbb5e27d5c2efbb1f2a08f6f5a917c4991f86";
};
propagatedBuildInputs = [

View File

@@ -4,12 +4,12 @@
}:
buildPythonPackage rec {
version = "1.5.4";
version = "1.5.6";
pname = "bids-validator";
src = fetchPypi {
inherit pname version;
sha256 = "b8292f4efb3617532f93c60acfec242150406bfd9e298d7f01187d67c311aa91";
sha256 = "ef9476ded8226c86fe1d6e6b9f380666ada7a0f4ae39bd5afd7eabbbc6979ab7";
};
# needs packages which are not available in nixpkgs

View File

@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "blessed";
version = "1.17.10";
version = "1.17.11";
src = fetchPypi {
inherit pname version;
sha256 = "09kcz6w87x34a3h4r142z3zgw0av19cxn9jrbz52wkpm1534dfaq";
sha256 = "7d4914079a6e8e14fbe080dcaf14dee596a088057cdc598561080e3266123b48";
};
checkInputs = [ pytest mock glibcLocales ];

View File

@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "boto3";
version = "1.14.60"; # N.B: if you change this, change botocore too
version = "1.15.9"; # N.B: if you change this, change botocore too
src = fetchPypi {
inherit pname version;
sha256 = "05s2ysp90mwz5aydzfs9xm3hk9pz7s95zzpjg6g1msyy2gp2gjnq";
sha256 = "0zrsrz7c8aqj3n06piybwf7vy026rflr0ky362q615rln6iggx82";
};
propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ];

View File

@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "botocore";
version = "1.17.60"; # N.B: if you change this, change boto3 and awscli to a matching version
version = "1.18.9"; # N.B: if you change this, change boto3 and awscli to a matching version
src = fetchPypi {
inherit pname version;
sha256 = "0n3a0mhx00i2i99mcwdkk7nbqdpd50zdfkg14mki0ydccqx1jgqr";
sha256 = "0rb3in7n9hdhp3sklkw78l378103khgmhdfy13kxfbgb0646pc1m";
};
propagatedBuildInputs = [

View File

@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "bpython";
version = "0.19";
version = "0.20";
src = fetchPypi {
inherit pname version;
sha256 = "1764ikgj24jjq46s50apwkydqvy5a13adb2nbszk8kbci6df0v27";
sha256 = "fec7d97be9912a50d8f5b34ca10d70715c99a33f0cd0b9e4977c1b0f617fa913";
};
patches = [ (substituteAll {

View File

@@ -2,14 +2,14 @@
buildPythonPackage rec {
pname = "bravia-tv";
version = "1.0.6";
version = "1.0.7";
disabled = isPy27;
src = fetchFromGitHub {
owner = "dcnielsen90";
repo = "python-bravia-tv";
rev = "v${version}";
sha256 = "07i1j3y04w2jwylff8w1aimmy4fj1g42wq8iz83an7dl4cz3rap9";
sha256 = "0bg33nilybh46s6yz3x7a7x8biwbvy5scqdrl4didhn7vjd4w5fn";
};
propagatedBuildInputs = [ requests ];

View File

@@ -1,17 +1,19 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pythonOlder
, six
, webob
}:
buildPythonPackage rec {
pname = "bugsnag";
version = "3.7.1";
version = "4.0.1";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "32966bfe625ec6fc0dbc9d86d79a18f31b22b2fdec3ca070eeb3495304f7e18d";
sha256 = "01c2186f6c2a6f801b66d8fc73b8986bd2d4931a6ab40b720e5fd0b66757facc";
};
propagatedBuildInputs = [ six webob ];

View File

@@ -16,11 +16,11 @@
buildPythonPackage rec {
pname = "python-can";
version = "3.3.3";
version = "3.3.4";
src = fetchPypi {
inherit pname version;
sha256 = "ecd69cf6b2f0235345ebe607a15325cf1384c85b24ffbe1d68c3754357f87488";
sha256 = "2d3c223b7adc4dd46ce258d4a33b7e0dbb6c339e002faa40ee4a69d5fdce9449";
};
propagatedBuildInputs = [ wrapt pyserial aenum ] ++ lib.optional (pythonOlder "3.5") typing;

View File

@@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "casbin";
version = "0.8.3";
version = "0.9.0";
disabled = isPy27;
@@ -16,7 +16,7 @@ buildPythonPackage rec {
owner = pname;
repo = "pycasbin";
rev = "v${version}";
sha256 = "1s89m62933m4wprsknwhabgg7irykrcimv80hh2zkyyslz5vbq71";
sha256 = "16bqa2f5l2cns2izc4siy8jw23q9vrqm9wnyp696fj83y77nkp75";
};
propagatedBuildInputs = [

View File

@@ -22,11 +22,11 @@
buildPythonPackage rec {
pname = "chalice";
version = "1.18.1";
version = "1.21.1";
src = fetchPypi {
inherit pname version;
sha256 = "0zb4xk9b553pnfzh8s909cixfdplqnc3nda0fjwjrryi2nxjxd6a";
sha256 = "562218c5d257607fba3440e0a1d09bdac81a11536c432ad2af1e2d46f1735df4";
};
checkInputs = [ watchdog pytest hypothesis mock ];

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "Cheetah3";
version = "3.2.5";
version = "3.2.6";
src = fetchPypi {
inherit pname version;
sha256 = "ececc9ca7c58b9a86ce71eb95594c4619949e2a058d2a1af74c7ae8222515eb1";
sha256 = "f1c2b693cdcac2ded2823d363f8459ae785261e61c128d68464c8781dba0466b";
};
doCheck = false; # Circular dependency

View File

@@ -7,13 +7,13 @@
buildPythonPackage rec {
pname = "cma";
version = "2.7.0";
version = "3.0.3";
src = fetchFromGitHub {
owner = "CMA-ES";
repo = "pycma";
rev = "r${version}";
sha256 = "0c26969pcqj047axksfffd9pj77n16k4r9h6pyid9q3ah5zk0xg3";
sha256 = "00vv7imdkv0bqcs4b8dg9nggxcl2fkcnhdd46n22bcmnwy8rjxv6";
};
propagatedBuildInputs = [

View File

@@ -6,11 +6,11 @@
}:
buildPythonPackage rec {
pname = "cmd2";
version = "1.3.10";
version = "1.3.11";
src = fetchPypi {
inherit pname version;
sha256 = "960d8288c8e3a093d04975e3dd8461ce2e43c1d0c70e54873f622f8f0b77d6f5";
sha256 = "826a288ee6d9c4ec1184e64e9566c09d3b73be8f4283c1898fa4332f1daf8dbf";
};
LC_ALL="en_US.UTF-8";

View File

@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "cx_Oracle";
version = "8.0.0";
version = "8.0.1";
buildInputs = [ odpic ];
src = fetchPypi {
inherit pname version;
sha256 = "cddc298301789c724de5817611f7bd38b4859b371928e2e85a9c37af222f73c8";
sha256 = "f10ada7f821a325c6befdd6fef1cac44ebc830736d0b75dda7b8ac9f851087b2";
};
preConfigure = ''

View File

@@ -6,20 +6,19 @@
, toolz
, python
, fetchpatch
, isPy27
}:
buildPythonPackage rec {
pname = "cytoolz";
version = "0.10.1";
version = "0.11.0";
disabled = isPy27 || isPyPy;
src = fetchPypi {
inherit pname version;
sha256 = "0p4a9nadsy1337gy2cnb5yanbn03j3zm6d9adyqad9bk3nlbpxc2";
sha256 = "c64f3590c3eb40e1548f0d3c6b2ccde70493d0b8dc6cc7f9f3fec0bb3dcd4222";
};
# Extension types
disabled = isPyPy;
checkInputs = [ nose ];
propagatedBuildInputs = [ toolz ];

View File

@@ -5,12 +5,12 @@
}:
buildPythonPackage rec {
version = "0.9.6";
version = "0.9.7";
pname = "DataModelDict";
src = fetchPypi {
inherit pname version;
sha256 = "857d4bf33f0b26ca718bd821fda7502dd6fb15aa09201b1fbdfaf4dfc85b8f6c";
sha256 = "b1be7573cb4401aa250fd00f2e6392543f6f2498f8e02f6313595aa220e5c99e";
};
propagatedBuildInputs = [ xmltodict ];

View File

@@ -73,19 +73,26 @@ buildPythonPackage rec {
--replace "PyYAML~=5.3" "PyYAML"
'';
# test_html is very slow
# test_black fails on darwin
dontUseSetuptoolsCheck = true;
# takes 30-180 mins to run entire test suite, not worth the cpu resources, slows down reviews
# with pytest-xdist, it still takes around 10mins with 32 cores
# just run the messages tests, as this should give some indictation of correctness
pytestFlagsArray = [
"--ignore=tests/test_html.py"
"--ignore=tests/test_docs.py"
"--ignore=tests/test_black.py"
"tests/test_messages.py"
];
disabledTests = [
"facet"
"_invalid_database" # checks error message when connecting to invalid database
];
pythonImportsCheck = [ "datasette" ];
pythonImportsCheck = [
"datasette"
"datasette.cli"
"datasette.app"
"datasette.database"
"datasette.renderer"
"datasette.tracer"
"datasette.plugins"
];
meta = with lib; {
description = "An instant JSON API for your SQLite databases";

View File

@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "python-debian";
version = "0.1.37";
version = "0.1.38";
src = fetchPypi {
inherit pname version;
sha256 = "ab04f535155810c46c8abf3f7d46364b67b034c49ff8690cdb510092eee56750";
sha256 = "a352bb5f9ef19b0272078f516ee0ec42b05e90ac85651d87c10e7041550dcc1d";
};
propagatedBuildInputs = [ chardet six ];

View File

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

View File

@@ -28,12 +28,12 @@
buildPythonPackage rec {
pname = "distributed";
version = "2.23.0";
version = "2.30.0";
# get full repository need conftest.py to run tests
src = fetchPypi {
inherit pname version;
sha256 = "469e505fd7ce75f600188bdb69a95641899d5b372f74246c8f308376b6929e9c";
sha256 = "3eb8e4173625cea6ebda2f0a079b813eeabbffd1b24584855cf063ed1cca60b3";
};
disabled = pythonOlder "3.6";

View File

@@ -4,10 +4,10 @@
buildPythonPackage rec {
pname = "django-cleanup";
version = "5.0.0";
version = "5.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "84f0c0e0a74545adae4c944a76ccf8fb0c195dddccf3b7195c59267abb7763dd";
sha256 = "8976aec12a22913afb3d1fcb541b1aedde2f5ec243e4260c5ff78bb6aa75a089";
};
checkInputs = [ django ];

View File

@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "django-filter";
version = "2.3.0";
version = "2.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "11e63dd759835d9ba7a763926ffb2662cf8a6dcb4c7971a95064de34dbc7e5af";
sha256 = "84e9d5bb93f237e451db814ed422a3a625751cbc9968b484ecc74964a8696b06";
};
propagatedBuildInputs = [ django ];

View File

@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "django-classy-tags";
version = "1.0.0";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "1cayqddvxd5prhybqi77lif2z4j7mmfmxgc61pq9i82q5gy2asmd";
sha256 = "d59d98bdf96a764dcf7a2929a86439d023b283a9152492811c7e44fc47555bc9";
};
propagatedBuildInputs = [ django six ];

View File

@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "dropbox";
version = "10.4.1";
version = "10.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-INA50DD3wfVPItGCgywZCe5bViatUkaaGdJ0vwcEHgY=";
sha256 = "8a7c80eb70ec677a149173154a98cf1fa461c6b0e1a1d833c90e40a735eda2cd";
};
# Set DROPBOX_TOKEN environment variable to a valid token.

View File

@@ -8,13 +8,13 @@
buildPythonPackage rec {
pname = "enamlx";
version = "0.4.1";
version = "0.4.3";
src = fetchFromGitHub {
owner = "frmdstryr";
repo = pname;
rev = "v${version}";
sha256 = "0yh7bw9ibk758bym5w2wk7sifghf1hkxa8sd719q8nsz279cpfc0";
sha256 = "1rlrx3cw6h1zl9svnqbzwdfy8469qa1y7w6576lbhdwpfhpipscy";
};
propagatedBuildInputs = [

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "entrypoint2";
version = "0.2.1";
version = "0.2.3";
src = fetchPypi {
inherit pname version;
sha256 = "15dya04884armqjdyqz1jgachkqgh9dc3p25lvyz9afvg73k2qav";
sha256 = "4ac1a8f08477d93282c422faa90875ce5edaa941e1f3fd410b95cb31d9f473a7";
};
propagatedBuildInputs = [ ];

View File

@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "Eve";
version = "1.1.2";
version = "1.1.3";
src = fetchPypi {
inherit pname version;
sha256 = "a8a1216ef1d3f1a4c4fc5a7bd315eca5a3ef7dfc6b78807cdf19ddfeecafcc3e";
sha256 = "ef335d13b798bc901636643f11455bab8b8698ddfe3a0b67bc251af1fd809b21";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,32 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, numpy
, pytest
, pythonOlder
}:
buildPythonPackage rec {
pname = "fastprogress";
version = "1.0.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "1zhv37q6jkqd1pfhlkd4yzrc3dg83vyksgzf32mjlhd5sb0qmql9";
};
propagatedBuildInputs = [ numpy ];
# no real tests
doCheck = false;
pythonImportsCheck = [ "fastprogress" ];
meta = with stdenv.lib; {
homepage = "https://github.com/fastai/fastprogress";
description = "Simple and flexible progress bar for Jupyter Notebook and console";
license = licenses.asl20;
maintainers = with maintainers; [ ris ];
};
}

View File

@@ -1,4 +1,4 @@
{ lib, isPy27, fetchFromGitHub, buildPythonPackage, pythonOlder, fetchpatch, flake8, importlib-metadata, six }:
{ lib, isPy27, isPy38, fetchFromGitHub, buildPythonPackage, pythonOlder, fetchpatch, flake8, importlib-metadata, six }:
buildPythonPackage rec {
pname = "flake8-future-import";
@@ -20,7 +20,8 @@ buildPythonPackage rec {
# Upstream disables this test case naturally on python 3, but it also fails
# inside NixPkgs for python 2. Since it's going to be deleted, we just skip it
# on py2 as well.
patches = lib.optionals isPy27 [ ./skip-test.patch ];
patches = lib.optionals isPy38 [ ./fix-annotations-version.patch ]
++ lib.optionals isPy27 [ ./skip-test.patch ];
meta = with lib; {
description = "A flake8 extension to check for the imported __future__ modules to make it easier to have a consistent code base";

View File

@@ -0,0 +1,13 @@
diff --git a/flake8_future_import.py b/flake8_future_import.py
index 92c3fda..27a1a66 100755
--- a/flake8_future_import.py
+++ b/flake8_future_import.py
@@ -76,7 +76,7 @@ UNICODE_LITERALS = Feature(4, 'unicode_literals', (2, 6, 0), (3, 0, 0))
GENERATOR_STOP = Feature(5, 'generator_stop', (3, 5, 0), (3, 7, 0))
NESTED_SCOPES = Feature(6, 'nested_scopes', (2, 1, 0), (2, 2, 0))
GENERATORS = Feature(7, 'generators', (2, 2, 0), (2, 3, 0))
-ANNOTATIONS = Feature(8, 'annotations', (3, 7, 0), (4, 0, 0))
+ANNOTATIONS = Feature(8, 'annotations', (3, 7, 0), (3, 10, 0))
# Order important as it defines the error code

View File

@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "genanki";
version = "0.8.0";
version = "0.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "c7c6c276f182a63a807b52a95f197df12794ff014f48dd287cb51ca2dcbe1b34";
sha256 = "08eddb4a203e36e4fc3b66f85e00252070379867dbbc04fd8902ddc14fb352c6";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,27 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder, google_api_core }:
buildPythonPackage rec {
pname = "google-cloud-access-context-manager";
version = "0.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "1qy7wv1xn7g3x5z0vvv0pwmxhin4hw2m9fs9iklnghy00vg37v0b";
};
disabled = pythonOlder "3.5";
propagatedBuildInputs = [ google_api_core ];
# No tests in repo
doCheck = false;
pythonImportsCheck = [ "google.identity.accesscontextmanager" ];
meta = with lib; {
description = "Protobufs for Google Access Context Manager.";
homepage = "https://github.com/googleapis/python-access-context-manager";
license = licenses.asl20;
maintainers = with maintainers; [ austinbutler ];
};
}

View File

@@ -0,0 +1,27 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder, google_api_core }:
buildPythonPackage rec {
pname = "google-cloud-org-policy";
version = "0.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "0ncgcnbvmgqph54yh2pjx2hh82gnkhsrw5yirp4wlf7jclh6j9xh";
};
disabled = pythonOlder "3.5";
propagatedBuildInputs = [ google_api_core ];
# No tests in repo
doCheck = false;
pythonImportsCheck = [ "google.cloud.orgpolicy" ];
meta = with lib; {
description = "Protobufs for Google Cloud Organization Policy.";
homepage = "https://github.com/googleapis/python-org-policy";
license = licenses.asl20;
maintainers = with maintainers; [ austinbutler ];
};
}

View File

@@ -1,32 +1,37 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, enum34
, grpc_google_iam_v1
, google_api_core
, pytest
, mock
}:
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, grpc_google_iam_v1
, google_api_core, google-cloud-access-context-manager, google-cloud-org-policy
, libcst, proto-plus, pytest, pytest-asyncio, pytestCheckHook, mock }:
buildPythonPackage rec {
pname = "google-cloud-asset";
version = "2.0.0";
version = "2.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "fd4c0f7f61a8a1c5907cd6cc27a028b16236bf3d982ff412df0d2c981cef5ae5";
sha256 = "14r77bcxy7bmqhmz2hzcf3km2y4vivf5sfzgqjwlyynaydhn4f6j";
};
checkInputs = [ pytest mock ];
propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ];
disabled = pythonOlder "3.6";
checkPhase = ''
pytest tests/unit
checkInputs = [ mock pytest-asyncio pytestCheckHook ];
disabledTests = [ "asset_service_transport_auth_adc" ];
propagatedBuildInputs = [
grpc_google_iam_v1
google_api_core
google-cloud-access-context-manager
google-cloud-org-policy
libcst
proto-plus
];
# Remove tests intended to be run in VPC
preCheck = ''
rm -rf tests/system
'';
meta = with stdenv.lib; {
description = "Cloud Asset API API client library";
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
description = "Python Client for Google Cloud Asset API";
homepage = "https://github.com/googleapis/python-asset";
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};

View File

@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "google-cloud-bigtable";
version = "1.4.0";
version = "1.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "e777333cbe85888f888c034d32880bb6a602ad83d8c81a95edca7c522cf430d8";
sha256 = "25b869bb20ad6ee9f6e7fc3c95d973011ade8176af9197468686335e216c088e";
};
checkInputs = [ pytest mock ];

View File

@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "google-cloud-dns";
version = "0.32.0";
version = "0.32.1";
src = fetchPypi {
inherit pname version;
sha256 = "1shaj1x9ccwz1ad41f8hkldibpg313raqlhwky7wij4gn2nix22i";
sha256 = "7264e58067b55535ee859e124bd3da29337698ef6bb293da667d0316ddbe8606";
};
checkInputs = [ pytest mock ];

View File

@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "google-cloud-firestore";
version = "1.8.1";
version = "1.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "dfe02fc0a77a4e28144c46d441553352d81498ffd8f49906b57342d06c7f5b54";
sha256 = "d8a56919a3a32c7271d1253542ec24cb13f384a726fed354fdeb2a2269f25d1c";
};
checkInputs = [ pytest ];

View File

@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "google-cloud-storage";
version = "1.30.0";
version = "1.31.2";
src = fetchPypi {
inherit pname version;
sha256 = "0634addb7576d48861d9963312fc82a0436042b8f282414ed58ca76d73edee54";
sha256 = "74bbb5b2d0b249de4a52f561435d0c3570ddc19b249653ae588ec0abcc3c81e6";
};
propagatedBuildInputs = [

View File

@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "google-cloud-videointelligence";
version = "1.15.0";
version = "1.16.0";
src = fetchPypi {
inherit pname version;
sha256 = "c2b4b3579196c0bb7301fbe1de7008ac5081f88afc0599a10ee79a5ade385922";
sha256 = "de6fe53bdaf66aa8e2c1f34b26af24c479a876619b5c667d009fbd9700dd89f7";
};
checkInputs = [ pytest mock ];

View File

@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "google-resumable-media";
version = "1.0.0";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "FzrMa63hSApSn6KcbCcXVDri3AnULpRh/bhvOVAu/PI=";
sha256 = "dcdab13e95bc534d268f87d5293e482cce5bc86dfce6ca0f2e2e89cbb73ef38c";
};
checkInputs = [ pytest mock ];

View File

@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "gphoto2";
version = "2.2.2";
version = "2.2.3";
src = fetchPypi {
inherit pname version;
sha256 = "0sd3w0gpnb58hg8mv20nfqf4g1plr9rkn51h088xdsd6i97r9x99";
sha256 = "35d3ae97a9f13526746fb506de627a73328328528b436a51567fcb7e640883e9";
};
nativeBuildInputs = [ pkgconfig ];

View File

@@ -7,12 +7,12 @@
}:
buildPythonPackage rec {
version = "0.13";
version = "0.14.1";
pname = "hdmedians";
src = fetchPypi {
inherit pname version;
sha256 = "230f80e064d905c49a1941af1b7e806e2f22b3c9a90ad5c21fd17d72636ea277";
sha256 = "ccefaae26302afd843c941b3b662f1119d5a36dec118077310f811a7a1ed8871";
};
# nose was specified in setup.py as a build dependency...

View File

@@ -15,11 +15,11 @@
buildPythonPackage rec {
pname = "holoviews";
version = "1.13.3";
version = "1.13.4";
src = fetchPypi {
inherit pname version;
sha256 = "e6753651a8598f21fc2c20e8456865ecec276cfea1519182a76d957506727934";
sha256 = "34dc09dfb557f79515a011a72b343daf31b5e5d67403a008dded59bab658267c";
};
propagatedBuildInputs = [

View File

@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "howdoi";
version = "2.0.5";
version = "2.0.7";
src = fetchPypi {
inherit pname version;
sha256 = "8e4d048ae7ca6182d648f62a66d07360cca2504fe46649c32748b6ef2735f7f4";
sha256 = "09362f7390119dffd83c61a942801ad4d19aee499340ef7e8d5871167391d3d6";
};
postPatch = ''

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "identify";
version = "1.5.5";
version = "1.5.6";
src = fetchPypi {
inherit pname version;
sha256 = "7c22c384a2c9b32c5cc891d13f923f6b2653aa83e2d75d8f79be240d6c86c4f4";
sha256 = "969d844b7a85d32a5f9ac4e163df6e846d73c87c8b75847494ee8f4bd2186421";
};
# Tests not included in PyPI tarball

View File

@@ -13,13 +13,13 @@
buildPythonPackage rec {
pname = "ipydatawidgets";
version = "4.0.1";
version = "4.1.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "1h7cppy959q6x5rvkdjhzxhqh57s37i2xsish5rfavcqbp2xgk4g";
sha256 = "d9f94828c11e3b40350fb14a02e027f42670a7c372bcb30db18d552dcfab7c01";
};
propagatedBuildInputs = [

View File

@@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "islpy";
version = "2020.2";
version = "2020.2.2";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "ee797e1284bffe897568f9cc1f063f1a6fac8d7b87596308b7467e9b870a90ef";
sha256 = "7eb7dfa41d6a67d9ee4ea4bb9f08bdbcbee42b364502136b7882cfd80ff427e0";
};
postConfigure = ''

View File

@@ -22,7 +22,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ ruamel_yaml xmltodict pygments ];
meta = with stdenv.lib; {
description = "This tool serializes the output of popular command line tools and filetypes to structured JSON output.";
description = "This tool serializes the output of popular command line tools and filetypes to structured JSON output";
homepage = "https://github.com/kellyjonbrazil/jc";
license = licenses.mit;
maintainers = with maintainers; [ atemu ];

View File

@@ -2,14 +2,14 @@
buildPythonApplication rec {
pname = "jsbeautifier";
version = "1.12.0";
version = "1.13.0";
propagatedBuildInputs = [ six editorconfig ];
checkInputs = [ pytest ];
src = fetchPypi {
inherit pname version;
sha256 = "65dea76bf2f551d7f1686111d2794506e07b6c7c477feca2124596376feb8713";
sha256 = "f5565fbcd95f79945e124324815e586ae0d2e43df5af82a4400390e6ea789e8b";
};
meta = with lib; {

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "jupyterlab_git";
version = "0.20.0";
version = "0.22.1";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "0qs3wrcils07xlz698xr7giqf9v63n2qb338mlh7wql93rmjg45i";
sha256 = "e0fe2503d08dc00cda781b1ff89eb10c0decb45b5f8983b4970525b8f108dc02";
};
propagatedBuildInputs = [ notebook nbdime git ];

View File

@@ -1,12 +1,12 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest, six, mock }:
buildPythonPackage rec {
version = "2.0.1";
version = "2.0.2";
pname = "kafka-python";
src = fetchPypi {
inherit pname version;
sha256 = "1y7ny81rihnhc8lj921d76ir4kf4aj5iy35szgim8zccxhnx96p5";
sha256 = "04dfe7fea2b63726cd6f3e79a2d86e709d608d74406638c5da33a01d45a9d7e3";
};
checkInputs = [ pytest six mock ];

View File

@@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "langcodes";
version = "2.0.0";
version = "2.1.0";
disabled = pythonOlder "3.3";
src = fetchPypi {
inherit pname version;
sha256 = "0xszgmydymzhb0dhx5qvdn3x5z477ld0paw17lwwhlrxffkq5jxz";
sha256 = "75bcaca8825e1a321965b136815dee53083c63314975e024ad0ccff8545e681f";
};
propagatedBuildInputs = [ marisa-trie ];

View File

@@ -1,36 +1,43 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, typing-inspect
, pyyaml
, isPy3k
}:
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, black, isort
, pytestCheckHook, pyyaml, typing-extensions, typing-inspect }:
buildPythonPackage rec {
pname = "libcst";
version = "0.3.12";
version = "0.3.13";
src = fetchPypi {
inherit pname version;
sha256 = "1zgwxdbhz2ljl0yzbrn1f4f464rjphx0j6r4qq0csax3m4wp50x1";
# Some files for tests missing from PyPi
# https://github.com/Instagram/LibCST/issues/331
src = fetchFromGitHub {
owner = "instagram";
repo = pname;
rev = "v${version}";
sha256 = "0pbddjrsqj641mr6zijk2phfn15dampbx268zcws4bhhhnrxlj65";
};
# The library uses type annotation syntax.
disabled = !isPy3k;
disabled = pythonOlder "3.6";
propagatedBuildInputs = [ typing-inspect pyyaml ];
propagatedBuildInputs = [ pyyaml typing-inspect ];
checkInputs = [ black isort pytestCheckHook ];
# https://github.com/Instagram/LibCST/issues/346
# https://github.com/Instagram/LibCST/issues/347
preCheck = ''
python -m libcst.codegen.generate visitors
python -m libcst.codegen.generate return_types
rm libcst/tests/test_fuzz.py
rm libcst/tests/test_pyre_integration.py
rm libcst/metadata/tests/test_full_repo_manager.py
rm libcst/metadata/tests/test_type_inference_provider.py
'';
# Test fails with ValueError: No data_provider tests were created for
# test_type_availability! Please double check your data.
# The tests appear to be doing some dynamic introspection, not sure what is
# going on there.
doCheck = false;
pythonImportsCheck = [ "libcst" ];
meta = with stdenv.lib; {
description = "A concrete syntax tree parser and serializer library for Python that preserves many aspects of Python's abstract syntax tree";
homepage = "https://libcst.readthedocs.io/en/latest/";
license = with licenses; [mit asl20 psfl];
maintainers = [ maintainers.ruuda ];
meta = with lib; {
description =
"A Concrete Syntax Tree (CST) parser and serializer library for Python.";
homepage = "https://github.com/Instagram/libcst";
license = with licenses; [ mit asl20 psfl ];
maintainers = with maintainers; [ maintainers.ruuda ];
};
}

View File

@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "lightgbm";
version = "2.3.1";
version = "3.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "bd1817be401e74c0d8b049e97ea2f35d2ce155cfa130119ce4195ea207bd6388";
sha256 = "05f5b358469a679dbf27521d926750ca53ff1e61a6c0293d49af30094ebd9d4a";
};
nativeBuildInputs = [

View File

@@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "limnoria";
version = "2020.08.30";
version = "2020.10.10";
disabled = isPy27; # abandoned upstream
src = fetchPypi {
inherit pname version;
sha256 = "44d81682cdf246a0324638707a2ef0819aae8c84fc0e69daaaa57cbc3f9e18e1";
sha256 = "546fdfad14c645ebb56e20a83ce34259b91a6db5c50cf14df741771b28ac2e19";
};
patchPhase = ''

View File

@@ -2,12 +2,12 @@
}:
buildPythonPackage rec {
version = "2.0.7";
version = "2.1.0";
pname = "mac_alias";
src = fetchPypi {
inherit pname version;
sha256 = "08z2i68mk5j0vfy8jqihjm9m6njp1lpjh1m91b60h0k0kpmy71f4";
sha256 = "9f07926e9befcc4ab35212d19541fe0e4e4abd67a7641aa75252a3ffd8deae94";
};
# pypi package does not include tests;

View File

@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "mocket";
version = "3.9.1";
version = "3.9.2";
src = fetchPypi {
inherit pname version;
sha256 = "1bp6642qh8fkjqgvp1vif2zbzpappbbq3sgs7vfr87inn4frc2cz";
sha256 = "25aba0b343784b27b1d77e731ed868a728d5209911f9f4728f33088582e491c9";
};
patchPhase = ''

View File

@@ -2,6 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, pymongo
, isPy27
, six
, blinker
, nose
@@ -11,13 +12,14 @@
buildPythonPackage rec {
pname = "mongoengine";
version = "0.18.2";
version = "0.20.0";
disabled = isPy27;
src = fetchFromGitHub {
owner = "MongoEngine";
repo = pname;
rev = "v${version}";
sha256 = "0gx091h9rcykdj233srrl3dfc0ly52p6r4qc9ah6z0f694kmqj1v";
sha256 = "0wc0cvjanlszn09n61jj38pq9wdlphkjgrp3c8hvd16754is3n7f";
};
propagatedBuildInputs = [

View File

@@ -1,9 +1,11 @@
{ buildPythonPackage
, fetchPypi
, lib
, isPy27
# pythonPackages
, msal
, pathlib2
, portalocker
}:
@@ -19,6 +21,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [
msal
portalocker
] ++ lib.optionals isPy27 [
pathlib2
];
# No tests found

View File

@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "msal";
version = "1.4.3";
version = "1.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "51b8e8e0d918d9b4813f006324e7c4e21eb76268dd4c1a06d811a3475ad4ac57";
sha256 = "cc67d3a14850ba7e533ec5d05a4c23a34dd74a7fa5e0210daebef397b2009b0e";
};
propagatedBuildInputs = [

View File

@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, setuptools_scm
, cython
, numpy
@@ -12,11 +13,12 @@
buildPythonPackage rec {
pname = "numcodecs";
version = "0.6.4";
version = "0.7.2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "ef4843d5db4d074e607e9b85156835c10d006afc10e175bda62ff5412fca6e4d";
sha256 = "4a038064d5604e6181a64db668d7b700d9ae87e4041984c04cbf0042469664b0";
};
nativeBuildInputs = [

View File

@@ -13,12 +13,12 @@
buildPythonPackage rec {
pname = "osmpythontools";
version = "0.2.6";
version = "0.2.8";
src = fetchPypi {
pname = "OSMPythonTools";
inherit version;
sha256 = "efc72e3963971c6c7fd94bd374704a5b78eb6c07397a4ffb5f9176c1e4aee096";
sha256 = "8a33adbd266127e342d12da755075fae08f398032a6f0909b5e86bef13960a85";
};
propagatedBuildInputs = [
@@ -32,8 +32,6 @@ buildPythonPackage rec {
xarray
];
patches = [ ./remove-unused-dependency.patch ];
# no tests included
doCheck = false;

View File

@@ -1,22 +0,0 @@
diff --git a/OSMPythonTools.egg-info/requires.txt b/OSMPythonTools.egg-info/requires.txt
index 16a5019..e58155c 100644
--- a/OSMPythonTools.egg-info/requires.txt
+++ b/OSMPythonTools.egg-info/requires.txt
@@ -1,5 +1,4 @@
beautifulsoup4
-datetime
geojson
lxml
matplotlib
diff --git a/setup.py b/setup.py
index 08e9455..1a6435e 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,6 @@ setup(
packages = ['OSMPythonTools', 'OSMPythonTools.internal'],
install_requires = [
'beautifulsoup4',
- 'datetime',
'geojson',
'lxml',
'matplotlib',

View File

@@ -9,13 +9,13 @@
buildPythonPackage rec {
pname = "oyaml";
version = "0.9";
version = "1.0";
src = fetchFromGitHub {
owner = "wimglenn";
repo = "oyaml";
rev = "v${version}";
sha256 = "13xjdym0p0jh9bvyjsbhi4yznlp68bamy3xi4w5wpcrzlcq6cfh9";
sha256 = "0qkj8g87drvjqiqqmz36gyqiczdfcfv8zk96kkifzk4f9dl5f02j";
};
propagatedBuildInputs = [

View File

@@ -2,7 +2,7 @@
buildPythonPackage rec {
pname = "pdfminer_six";
version = "20200726";
version = "20201018";
disabled = !isPy3k;
@@ -11,7 +11,7 @@ buildPythonPackage rec {
owner = "pdfminer";
repo = "pdfminer.six";
rev = version;
sha256 = "1hlaz7ax1czb028x3nhk3l2jy07f26q5hbhmdirljaaga24vd96z";
sha256 = "1a2fxxnnjqbx344znpvx7cnv1881dk6585ibw01inhfq3w6yj2lr";
};
propagatedBuildInputs = [ chardet cryptography sortedcontainers ];

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "phonenumbers";
version = "8.12.10";
version = "8.12.11";
src = fetchPypi {
inherit pname version;
sha256 = "d6e108352e7113c55cf0d92f8aede876a379580e46a3b9c2e779dc3601f11863";
sha256 = "17f39f06c1e0e20eabe69ff735b1c08e4547d12a12595da3d835fd3256a9ee0c";
};
meta = {

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "phonopy";
version = "2.7.1";
version = "2.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "482c6ff29c058d091ac885e561e28ba3e516ea9e91c44a951cad11f3ae19856c";
sha256 = "28864b04adb900597705f1367a100da869af835088bdd13f1693c4382259f128";
};
propagatedBuildInputs = [ numpy pyyaml matplotlib h5py spglib ];

View File

@@ -2,14 +2,14 @@
buildPythonPackage rec {
pname = "plexwebsocket";
version = "0.0.6";
version = "0.0.12";
disabled = isPy27;
src = fetchFromGitHub {
owner = "jjlawren";
repo = "python-plexwebsocket";
rev = "v${version}";
sha256 = "1sy9khxksimcmdvghg1ksk65mkiihjvhi7m7ms2kzmy7mrg3s3i7";
sha256 = "1xdzb268c71yb25a5mk4g2jrbq4dv8bynfirs7p4n8a51p030dz6";
};
propagatedBuildInputs = [ aiohttp ];

View File

@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "plone.testing";
version = "8.0.1";
version = "8.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "e079c87f821cf2e411826940e65577a88e08827cf9a2b771070f2917a439b642";
sha256 = "082b03aebe81d0bdcc44a917a795ae60d3add2c2abbee11e7c335fb13d5e7ca7";
};
propagatedBuildInputs = [ six setuptools zope_testing ];

View File

@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "posix_ipc";
version = "1.0.4";
version = "1.0.5";
src = fetchPypi {
inherit pname version;
sha256 = "ff6c9077633fc62a491d6997c43b094d885bb45a7ca1f36c9a0d647c54b74b14";
sha256 = "6cddb1ce2cf4aae383f2a0079c26c69bee257fe2720f372201ef047f8ceb8b97";
};
meta = with stdenv.lib; {

View File

@@ -6,12 +6,12 @@
buildPythonPackage rec {
pname = "pq";
version = "1.8.2";
version = "1.9.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "f54143844e73f4182532e68548dee447dd78dd00310a087e8cdee756d476a173";
sha256 = "c664ee3a9a25efcb583e3d1d797588fb7c2fb5096220689eec78a7946b01b5ff";
};
# tests require running postgresql cluster
@@ -20,7 +20,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "PQ is a transactional queue for PostgreSQL";
homepage = https://github.com/malthe/pq/;
homepage = "https://github.com/malthe/pq/";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi
{ stdenv, buildPythonPackage
, aiohttp
, aiozeroconf
, asynctest
@@ -11,15 +11,20 @@
, pytest-asyncio
, pytestrunner
, srptools
, zeroconf
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pyatv";
version = "0.7.2";
version = "v0.7.4";
src = fetchPypi {
inherit pname version;
sha256 = "83d86fac517d33a1e3063a547ee2a520fde74c74a1b95cb5a6f20afccfd59843";
src = fetchFromGitHub {
owner = "postlund";
repo = pname;
rev = version;
sha256 = "17gsamn4aibsx4w50r9dwr5kr9anc7dd0f0dvmdl717rkgh13zyi";
};
nativeBuildInputs = [ pytestrunner];
@@ -31,6 +36,8 @@ buildPythonPackage rec {
protobuf
cryptography
netifaces
zeroconf
pytestCheckHook
];
checkInputs = [
@@ -40,11 +47,6 @@ buildPythonPackage rec {
pytest-asyncio
];
# just run vanilla pytest to avoid inclusion of coverage reports and xdist
checkPhase = ''
pytest
'';
meta = with stdenv.lib; {
description = "A python client library for the Apple TV";
homepage = "https://github.com/postlund/pyatv";

View File

@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "pybullet";
version = "2.8.7";
version = "3.0.6";
src = fetchPypi {
inherit pname version;
sha256 = "9d3a8bdc9b4acce086c485ba719aabee33de7a867d84a058b182b139c789ad55";
sha256 = "db4eea782c4d4808ef73b305a729d94f89035f7ad1b84032432e9dd101f689e4";
};
buildInputs = [

View File

@@ -21,11 +21,11 @@ let
in
buildPythonPackage rec {
pname = "pycuda";
version = "2019.1.2";
version = "2020.1";
src = fetchPypi {
inherit pname version;
sha256 = "ada56ce98a41f9f95fe18809f38afbae473a5c62d346cfa126a2d5477f24cc8a";
sha256 = "effa3b99b55af67f3afba9b0d1b64b4a0add4dd6a33bdd6786df1aa4cc8761a5";
};
preConfigure = with stdenv.lib.versions; ''

View File

@@ -2,15 +2,18 @@
, buildPythonPackage
, fetchPypi
, lml
, isPy3k
}:
buildPythonPackage rec {
pname = "pyexcel-io";
version = "0.5.20";
version = "0.6.3";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "CN/jlVO5ljWbFD3j2exD4ZbxE41HyrtzrwShaCG4TXk=";
sha256 = "8fb7a201eb3e5763bb8f9d6e096ceed9e5f1baecd784c9fadbe0fb3d59174c0e";
};
propagatedBuildInputs = [

View File

@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "pyexcel-ods";
version = "0.5.6";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "O+Uv2KrdvYvJKG9+sUj0VT1MlyUtaVw6nse5XmZmoiM=";
sha256 = "f61b56515fd4ccd4687f0a112422f74ce8535247ad2da49db90038d7e3ed397c";
};
propagatedBuildInputs = [

View File

@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "pyexcel-xls";
version = "0.5.9";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "1Wyt6gpmBoRFaXbZgFJVTTu+KnivxfmpHIaR9iZghVU=";
sha256 = "64bac180274c52efe970c664d3e8bb12402c9d10e0734d9fe87655646a876c45";
};
propagatedBuildInputs = [

View File

@@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, isPy3k
, lml
, pyexcel-io
, texttable
@@ -10,12 +10,13 @@
buildPythonPackage rec {
pname = "pyexcel";
version = "0.6.4";
disabled = isPy27;
version = "0.6.5";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "pPNYnimHhW7SL6X6OLwagZoadTD7IdUSbO7vAqQPQu8=";
sha256 = "36588573ccb1c86e1a8869e1e9f6b31975a38c13803f015a197c18efd2e685ad";
};
propagatedBuildInputs = [

View File

@@ -4,13 +4,13 @@
buildPythonPackage rec {
pname = "pylast";
version = "3.3.0";
version = "4.0.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1wqd23bbk5si2mcmswsi486zqnydjjf8g7924gcz6cc1x036lasd";
sha256 = "8ec555d6c4c1b474e9b3c96c3786abd38303a1a5716d928b0f3cfdcb4499b093";
};
nativeBuildInputs = [ setuptools_scm ];

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pymavlink";
version = "2.4.9";
version = "2.4.11";
src = fetchPypi {
inherit pname version;
sha256 = "6049f270aa0a1013c7dcd32b9f4756d79b6a2ccf73babeca2c46b9e391e644fe";
sha256 = "0b1265b169f809c6ca94911ad2d7649b8e087a7cc573a0a6ea62ade9bea7ca5c";
};
propagatedBuildInputs = [ future lxml ];

View File

@@ -14,6 +14,8 @@
, pytest
, nose
, parameterized
, fastprogress
, typing-extensions
}:
buildPythonPackage rec {
@@ -41,6 +43,8 @@ buildPythonPackage rec {
h5py
arviz
packaging
fastprogress
typing-extensions
];
checkInputs = [
@@ -52,6 +56,7 @@ buildPythonPackage rec {
# The test suite is computationally intensive and test failures are not
# indicative for package usability hence tests are disabled by default.
doCheck = false;
pythonImportsCheck = [ "pymc3" ];
# For some reason tests are run as a part of the *install* phase if enabled.
# Theano writes compiled code to ~/.theano hence we set $HOME.

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