Merge staging into staging-next

This commit is contained in:
Frederik Rietdijk
2020-02-09 16:38:32 +01:00
60 changed files with 1394 additions and 1411 deletions

View File

@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "Mako";
version = "1.1.0";
version = "1.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "a36919599a9b7dc5d86a7a8988f23a9a3a3d083070023bab23d64f7f1d1e0a4b";
sha256 = "2984a6733e1d472796ceef37ad48c26f4a984bb18119bb2dbc37a44d8f6e75a4";
};
checkInputs = [ markupsafe nose mock ];

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "autopep8";
version = "1.4.4";
version = "1.5";
src = fetchPypi {
inherit pname version;
sha256 = "4d8eec30cc81bc5617dbf1218201d770dc35629363547f17577c61683ccfb3ee";
sha256 = "0f592a0447acea0c2b0a9602be1e4e3d86db52badd2e3c84f0193bfd89fd3a43";
};
propagatedBuildInputs = [ pycodestyle ];

View File

@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "boto3";
version = "1.10.1"; # N.B: if you change this, change botocore too
version = "1.11.13"; # N.B: if you change this, change botocore too
src = fetchPypi {
inherit pname version;
sha256 = "2904bfb928116fea3a83247de6c3687eb9bf942d764e361f5574d5ac11be2ad3";
sha256 = "09eccb6cd41381c4ff1d626c3a19884b5b1f1424d15a96004d077b532ef393d1";
};
propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ];

View File

@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "botocore";
version = "1.13.2"; # N.B: if you change this, change boto3 and awscli to a matching version
version = "1.14.13"; # N.B: if you change this, change boto3 and awscli to a matching version
src = fetchPypi {
inherit pname version;
sha256 = "8223485841ef4731a5d4943a733295ba69d0005c4ae64c468308cc07f6960d39";
sha256 = "6478d9207db6dbcb5106fd4db2cdd5194d0b2dc0b73776019d56877ab802fe87";
};
propagatedBuildInputs = [
@@ -28,6 +28,10 @@ buildPythonPackage rec {
urllib3
];
postPatch = ''
substituteInPlace setup.py --replace ",<0.16" ""
'';
checkInputs = [ mock nose ];
checkPhase = ''

View File

@@ -6,6 +6,7 @@
, pytest_xdist
, pytest-django
, mock
, django
}:
buildPythonPackage rec {
@@ -27,6 +28,8 @@ buildPythonPackage rec {
mock
];
disabled = lib.versionAtLeast django.version "2.0";
checkPhase = ''
pytest
'';

View File

@@ -1,6 +1,9 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, python,
django, six
}:
if stdenv.lib.versionAtLeast django.version "2.0"
then throw "django-compat requires django < 2.0"
else
buildPythonPackage rec {
pname = "django-compat";
version = "1.0.15";

View File

@@ -9,6 +9,7 @@
, django-cache-url
, six
, django
, setuptools_scm
}:
buildPythonPackage rec {
@@ -20,7 +21,9 @@ buildPythonPackage rec {
sha256 = "9e3bcea1355ac50a4c9f854f751d214cb17e5f8adf18405a4488d0a1e8945915";
};
checkInputs = [ django-discover-runner mock dj-database-url dj-email-url dj-search-url django-cache-url six ];
buildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ six ];
checkInputs = [ django-discover-runner mock dj-database-url dj-email-url dj-search-url django-cache-url ];
checkPhase = ''
export PYTHONPATH=.:$PYTHONPATH

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, django }:
{ lib, buildPythonPackage, fetchPypi, django, six }:
buildPythonPackage rec {
pname = "django-pglocks";
@@ -16,7 +16,7 @@ buildPythonPackage rec {
};
buildInputs = [ django ];
propagatedBuildInputs = [ django ];
propagatedBuildInputs = [ django six ];
# tests need a postgres database
doCheck = false;

View File

@@ -1,6 +1,6 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k,
numpy, django_colorful, pillow, psycopg2,
pyparsing, django, celery, boto3
pyparsing, django, celery, boto3, importlib-metadata
}:
if stdenv.lib.versionOlder django.version "2.0"
then throw "django-raster requires Django >= 2.0. Consider overiding the python package set to use django_2."
@@ -20,7 +20,7 @@ buildPythonPackage rec {
doCheck = false;
propagatedBuildInputs = [ numpy django_colorful pillow psycopg2
pyparsing django celery boto3 ];
pyparsing django celery boto3 importlib-metadata ];
meta = with stdenv.lib; {
description = "Basic raster data integration for Django";

View File

@@ -1,21 +1,21 @@
{ lib, buildPythonPackage, fetchPypi
{ lib, buildPythonPackage, fetchFromGitHub
, django }:
buildPythonPackage rec {
pname = "django-sesame";
version = "1.7";
src = fetchPypi {
inherit pname version;
sha256 = "e68bad4a6ef44322380f1f01d009f9d3cb55d1ffef0b669574b511db5ab0c6c0";
src = fetchFromGitHub {
owner = "aaugustin";
repo = pname;
rev = version;
sha256 = "0k8s44zn2jmasp0w064vrx685fn4pbmdfx8qmhkab1hd5ys6pi44";
};
checkInputs = [ django ];
checkPhase = ''
PYTHONPATH="$(pwd):$PYTHONPATH" \
DJANGO_SETTINGS_MODULE=sesame.test_settings \
django-admin test sesame
make test
'';
meta = with lib; {

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, six, django }:
{ stdenv, buildPythonPackage, fetchFromGitHub, six, django, fetchpatch }:
buildPythonPackage rec {
pname = "django-appconf";
version = "1.0.3";
@@ -12,6 +12,14 @@ buildPythonPackage rec {
propagatedBuildInputs = [ six django ];
patches = [
(fetchpatch {
name = "backport_django_2_2.patch";
url = "https://github.com/django-compressor/django-appconf/commit/1526a842ee084b791aa66c931b3822091a442853.patch";
sha256 = "1vl2s6vlf15089s8p4c3g4d5iqm8jva66bdw683r8440f80ixgmw";
})
];
checkPhase = ''
# prove we're running tests against installed package, not build dir
rm -r appconf

View File

@@ -9,20 +9,18 @@
buildPythonPackage rec {
pname = "docutils";
version = "0.15.2";
version = "0.16";
src = fetchPypi {
inherit pname version;
sha256 = "168s5v7bff5ar9jspr6wn823q1sbn0jhnbp9clk41nl8j09fmbm2";
sha256 = "c2de3a60e9e7d07be26b7f2b00ca0309c207e06c100f9cc2a94931fc75a478fc";
};
# Only Darwin needs LANG, but we could set it in general.
# It's done here conditionally to prevent mass-rebuilds.
checkPhase = lib.optionalString (isPy3k && stdenv.isDarwin) ''LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" '' + (if isPy3k then ''
${python.interpreter} test3/alltests.py
'' else ''
checkPhase = lib.optionalString (isPy3k && stdenv.isDarwin) ''LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" '' + ''
${python.interpreter} test/alltests.py
'');
'';
# Create symlinks lacking a ".py" suffix, many programs depend on these names
postFixup = ''
@@ -31,10 +29,6 @@ buildPythonPackage rec {
done
'';
# Four tests are broken with 3.8.
# test_writers.test_odt.DocutilsOdtTestCase
doCheck = !isPy38;
meta = {
description = "Docutils -- Python Documentation Utilities";
homepage = http://docutils.sourceforge.net/;

View File

@@ -22,12 +22,12 @@
buildPythonPackage rec {
pname = "ipython";
version = "7.10.2";
version = "7.12.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "762d79a62b6aa96b04971e920543f558dfbeedc0468b899303c080c8068d4ac2";
sha256 = "d9459e7237e2e5858738ff9c3e26504b79899b58a6d49e574d352493d80684c6";
};
prePatch = lib.optionalString stdenv.isDarwin ''

View File

@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "Jinja2";
version = "2.10.3";
version = "2.11.1";
src = fetchPypi {
inherit pname version;
sha256 = "9fe95f19286cfefaa917656583d020be14e7859c6b0252588391e47db34527de";
sha256 = "93187ffbc7808079673ef52771baa950426fd664d3aad1d0fa3e95644360e250";
};
checkInputs = [ pytest ];

View File

@@ -20,14 +20,14 @@ assert enableTk -> (tcl != null)
assert enableQt -> pyqt5 != null;
buildPythonPackage rec {
version = "3.1.2";
version = "3.1.3";
pname = "matplotlib";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "8e8e2c2fe3d873108735c6ee9884e6f36f467df4a143136209cff303b183bada";
sha256 = "db3121f12fb9b99f105d1413aebaeb3d943f269f3d262b45586d12765866f0c6";
};
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";

View File

@@ -18,6 +18,9 @@
, chardet
}:
if stdenv.lib.versionOlder django.version "1.11" || stdenv.lib.versionAtLeast django.version "2.0"
then throw "mezzanine requires django-1.11. Consider overriding python package set to use django_1_11"
else
buildPythonPackage rec {
version = "4.3.1";
pname = "Mezzanine";

View File

@@ -78,6 +78,11 @@ buildPythonPackage rec {
-e test_passthrough_requests
'';
# Disabling because of 20 failing tests due to https://github.com/spulec/moto/issues/2728
# We should enable these as soon as possible again though. Note the issue
# is unrelated to the docutils 0.16 bump.
doCheck = false;
meta = with lib; {
description = "Allows your tests to easily mock out AWS Services";
homepage = https://github.com/spulec/moto;

View File

@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "multidict";
version = "4.7.2";
version = "4.7.4";
src = fetchPypi {
inherit pname version;
sha256 = "d4dafdcfbf0ac80fc5f00603f0ce43e487c654ae34a656e4749f175d9832b1b5";
sha256 = "d7d428488c67b09b26928950a395e41cc72bb9c3d5abfe9f0521940ee4f796d4";
};
checkInputs = [ pytest pytestrunner pytestcov ];

View File

@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "packaging";
version = "19.2";
version = "20.1";
src = fetchPypi {
inherit pname version;
sha256 = "28b924174df7a2fa32c1953825ff29c61e2f5e082343165438812f00d3a7fc47";
sha256 = "e665345f9eef0c621aa0bf2f8d78cf6d21904eef16a93f020240b704a57f1334";
};
propagatedBuildInputs = [ pyparsing six ];

View File

@@ -30,11 +30,11 @@ let
in buildPythonPackage rec {
pname = "pandas";
version = "1.0.0";
version = "1.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "3ea6cc86931f57f18b1240572216f09922d91b19ab8a01cf24734394a3db3bec";
sha256 = "3c07765308f091d81b6735d4f2242bb43c332cc3461cae60543df6b10967fe27";
};
checkInputs = [ pytest glibcLocales moto hypothesis ];

View File

@@ -11,11 +11,11 @@ let
ft = freetype.overrideAttrs (oldArgs: { dontDisableStatic = true; });
in buildPythonPackage rec {
pname = "reportlab";
version = "3.5.32";
version = "3.5.34";
src = fetchPypi {
inherit pname version;
sha256 = "83ef44936ef4e9c432d62bc2b72ec8d772b87af319d123e827a72e9b6884c851";
sha256 = "9675a26d01ec141cb717091bb139b6227bfb3794f521943101da50327bff4825";
};
checkInputs = [ glibcLocales ];

View File

@@ -14,11 +14,11 @@
buildPythonPackage rec {
pname = "s3transfer";
version = "0.2.1";
version = "0.3.3";
src = fetchPypi {
inherit pname version;
sha256 = "6efc926738a3cd576c2a79725fed9afde92378aa5c6a957e3af010cb019fac9d";
sha256 = "921a37e2aefc64145e7b73d50c71bb4f26f46e4c9f414dc648c6245ff92cf7db";
};
propagatedBuildInputs =

View File

@@ -1,14 +1,17 @@
{ stdenv, buildPythonPackage, fetchPypi, pip }:
{ stdenv, buildPythonPackage, fetchPypi, pip, pytest }:
buildPythonPackage rec {
pname = "setuptools_scm";
version = "3.3.3";
version = "3.4.3";
src = fetchPypi {
inherit pname version;
sha256 = "19cyndx23xmpbhz4qrwmfwsmnnaczd0dw7qg977ksq2dbvxy29dx";
sha256 = "26b8a108783cd88f4b15ff1f0f347d6b476db25d0c226159b835d713f9487320";
};
# Requires pytest, circular dependency
doCheck = false;
meta = with stdenv.lib; {
homepage = https://bitbucket.org/pypa/setuptools_scm/;
description = "Handles managing your python package versions in scm metadata";

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "six";
version = "1.13.0";
version = "1.14.0";
src = fetchPypi {
inherit pname version;
sha256 = "30f610279e8b2578cab6db20741130331735c781b56053c59c4076da27f06b66";
sha256 = "236bdbdce46e6e6a3d61a337c0f8b763ca1e8717c03b369e87a7ec7ce1319c0a";
};
checkInputs = [ pytest ];

View File

@@ -32,11 +32,11 @@
buildPythonPackage rec {
pname = "sphinx";
version = "2.2.2";
version = "2.3.1";
src = fetchPypi {
pname = "Sphinx";
inherit version;
sha256 = "1wjcm382824rq8ijls9mlqwl2h8l26s201v5fwprhnins671m72m";
sha256 = "19a28nsb0w4bs6k8rdfyk6vzrcwdpvhs2wq77rgpmww59yvndrz6";
};
LC_ALL = "en_US.UTF-8";

View File

@@ -1,17 +1,16 @@
{ stdenv, lib, fetchPypi, buildPythonPackage, isPy3k, isPy35
, mock
, pysqlite
, fetchpatch
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "SQLAlchemy";
version = "1.3.10";
version = "1.3.13";
src = fetchPypi {
inherit pname version;
sha256 = "0f0768b5db594517e1f5e1572c73d14cf295140756431270d89496dc13d5e46c";
sha256 = "64a7b71846db6423807e96820993fa12a03b89127d278290ca25c0b11ed7b4fb";
};
checkInputs = [
@@ -29,20 +28,6 @@ buildPythonPackage rec {
disabledTests = lib.optionals isPy35 [ "exception_persistent_flush_py3k "]
++ lib.optionals stdenv.isDarwin [ "MemUsageWBackendTest" "MemUsageTest" ];
patches = [
# Two patches for sqlite 3.30 compatibility.
# https://github.com/sqlalchemy/sqlalchemy/pull/4921
(fetchpatch {
url = https://github.com/sqlalchemy/sqlalchemy/commit/8b35ba54ab31aab13a34c360a31d014da1f5c809.patch;
sha256 = "065csr6pd7j1fjnv72wbz8s6xhydi5f161gj7nyqq86rxkh0nl0n";
})
(fetchpatch {
url = https://github.com/sqlalchemy/sqlalchemy/commit/e18534a9045786efdaf4963515222838c62e0300.patch;
sha256 = "0bwfwp5gmgg12qilvwdd2a5xi76bllzzapb23ybh1k34c5pla195";
})
];
meta = with lib; {
homepage = http://www.sqlalchemy.org/;
description = "A Python SQL toolkit and Object Relational Mapper";

View File

@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "urllib3";
version = "1.25.7";
version = "1.25.8";
src = fetchPypi {
inherit pname version;
sha256 = "f3c5fd51747d450d4dcf6f923c81f78f811aab8205fda64b0aba34a4e48b0745";
sha256 = "87716c2d2a7121198ebcb7ce7cccf6ce5e9ba539041cfbaeecfb641dc0bf6acc";
};
NOSE_EXCLUDE = stdenv.lib.concatStringsSep "," [

View File

@@ -1,18 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi
, itsdangerous, hypothesis
, pytest, requests }:
, pytest, requests
, pytest-timeout
}:
buildPythonPackage rec {
pname = "Werkzeug";
version = "0.16.0";
version = "0.16.1";
src = fetchPypi {
inherit pname version;
sha256 = "7280924747b5733b246fe23972186c6b348f9ae29724135a6dfc1e53cea433e7";
sha256 = "b353856d37dec59d6511359f97f6a4b2468442e454bd1c98298ddce53cac1f04";
};
propagatedBuildInputs = [ itsdangerous ];
checkInputs = [ pytest requests hypothesis ];
checkInputs = [ pytest requests hypothesis pytest-timeout ];
checkPhase = ''
pytest ${stdenv.lib.optionalString stdenv.isDarwin "-k 'not test_get_machine_id'"}

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "zeroconf";
version = "0.24.3";
version = "0.24.4";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "de62e5067ea7ab356f7168a3562d79fececa8632ed0fad0e82f505e01fafbc6d";
sha256 = "f66d38f16026097572939ab78b1f46a97f556bca415491eb0fd094d0b5827dfe";
};
propagatedBuildInputs = [ ifaddr ]