Merge pull request #127419 from NixOS/python-unstable

Python package set minor updates
This commit is contained in:
Jonathan Ringer 2021-06-22 14:49:00 -07:00 committed by GitHub
commit 32e7183410
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
609 changed files with 2497 additions and 1414 deletions

View file

@ -1,6 +1,7 @@
{ lib
, python3
, fetchFromGitHub
, fetchpatch
, libcdio-paranoia
, cdrdao
, libsndfile
@ -22,6 +23,15 @@ in python3.pkgs.buildPythonApplication rec {
sha256 = "00cq03cy5dyghmibsdsq5sdqv3bzkzhshsng74bpnb5lasxp3ia5";
};
patches = [
(fetchpatch {
# Use custom YAML subclass to be compatible with ruamel_yaml>=0.17
# https://github.com/whipper-team/whipper/pull/543
url = "https://github.com/whipper-team/whipper/commit/3ce5964dfe8be1e625c3e3b091360dd0bc34a384.patch";
sha256 = "0n9dmib884y8syvypsg88j0h71iy42n1qsrh0am8pwna63sl15ah";
})
];
nativeBuildInputs = with python3.pkgs; [
setuptools-scm
docutils

View file

@ -6,14 +6,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "maestral-qt";
version = "1.4.3";
version = "1.4.4";
disabled = python3.pkgs.pythonOlder "3.6";
src = fetchFromGitHub {
owner = "SamSchott";
repo = "maestral-qt";
rev = "v${version}";
sha256 = "sha256-+eBwBZx+kp2ACbFjtYK6ux9lcPmEQsunvxAAZ2HgAYw=";
sha256 = "sha256-4IrLwpdMepXBxjgR6euENuVKaPRU0dLiApJO45DB2C4=";
};
propagatedBuildInputs = with python3.pkgs; [
@ -45,6 +45,6 @@ python3.pkgs.buildPythonApplication rec {
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.linux;
inherit (src.meta) homepage;
homepage = "https://maestral.app";
};
}

View file

@ -125,6 +125,9 @@ stdenv.mkDerivation (rec {
# upstream patch. Don't forget to check backport status of the upstream patch
# when adding new GHC releases in nixpkgs.
./respect-ar-path.patch
# Fix documentation configuration which causes a syntax error with sphinx 4.*
# See https://gitlab.haskell.org/ghc/ghc/-/issues/19962, remove at 8.10.6.
./sphinx-4-configuration.patch
] ++ lib.optionals stdenv.isDarwin [
# Make Block.h compile with c++ compilers. Remove with the next release
(fetchpatch {

View file

@ -134,6 +134,9 @@ stdenv.mkDerivation (rec {
# upstream patch. Don't forget to check backport status of the upstream patch
# when adding new GHC releases in nixpkgs.
./respect-ar-path.patch
# Fix documentation configuration which causes a syntax error with sphinx 4.*
# See also https://gitlab.haskell.org/ghc/ghc/-/issues/19962
./sphinx-4-configuration.patch
];
postPatch = "patchShebangs .";

View file

@ -0,0 +1,11 @@
--- ghc-8.10.4/docs/users_guide/conf.py.orig 2021-06-21 13:46:34.196383559 +0200
+++ ghc-8.10.4/docs/users_guide/conf.py 2021-06-21 13:46:54.839349941 +0200
@@ -100,7 +100,7 @@
latex_elements = {
'inputenc': '',
'utf8extra': '',
- 'preamble': '''
+ 'preamble': r'''
\usepackage{fontspec}
\usepackage{makeidx}
\setsansfont{DejaVu Sans}

View file

@ -5,10 +5,10 @@
let
computeUrl = {format ? "setuptools", ... } @attrs: let
computeWheelUrl = {pname, version, python ? "py2.py3", abi ? "none", platform ? "any"}:
computeWheelUrl = {pname, version, dist ? "py2.py3", python ? "py2.py3", abi ? "none", platform ? "any"}:
# Fetch a wheel. By default we fetch an universal wheel.
# See https://www.python.org/dev/peps/pep-0427/#file-name-convention for details regarding the optional arguments.
"https://files.pythonhosted.org/packages/${python}/${builtins.substring 0 1 pname}/${pname}/${pname}-${version}-${python}-${abi}-${platform}.whl";
"https://files.pythonhosted.org/packages/${dist}/${builtins.substring 0 1 pname}/${pname}/${pname}-${version}-${python}-${abi}-${platform}.whl";
computeSourceUrl = {pname, version, extension ? "tar.gz"}:
# Fetch a source tarball.

View file

@ -5,6 +5,7 @@ pythonRemoveTestsDir() {
echo "Executing pythonRemoveTestsDir"
rm -rf $out/@pythonSitePackages@/tests
rm -rf $out/@pythonSitePackages@/test
echo "Finished executing pythonRemoveTestsDir"
}
@ -12,4 +13,3 @@ pythonRemoveTestsDir() {
if [ -z "${dontUsePythonRemoveTestsDir-}" ]; then
postFixupHooks+=(pythonRemoveTestsDir)
fi

View file

@ -217,8 +217,15 @@ def _get_latest_version_github(package, extension, current_version, target):
release = next(filter(lambda x: strip_prefix(x['tag_name']) == version, releases))
prefix = get_prefix(release['tag_name'])
sha256 = subprocess.check_output(["nix-prefetch-url", "--type", "sha256", "--unpack", f"{release['tarball_url']}"], stderr=subprocess.DEVNULL)\
.decode('utf-8').strip()
try:
sha256 = subprocess.check_output(["nix-prefetch-url", "--type", "sha256", "--unpack", f"{release['tarball_url']}"], stderr=subprocess.DEVNULL)\
.decode('utf-8').strip()
except:
# this may fail if they have both a branch and a tag of the same name, attempt tag name
tag_url = str(release['tarball_url']).replace("tarball","tarball/refs/tags")
sha256 = subprocess.check_output(["nix-prefetch-url", "--type", "sha256", "--unpack", tag_url], stderr=subprocess.DEVNULL)\
.decode('utf-8').strip()
return version, sha256, prefix

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "Babel";
version = "2.9.0";
version = "2.9.1";
src = fetchPypi {
inherit pname version;
sha256 = "018yg7g2pa6vjixx1nx41cfispgfi0azzp0a1chlycbj8jsil0ys";
sha256 = "bc0c176f9f6a994582230df350aa6e05ba2ebe4b3ac317eab29d9be5d2768da0";
};
propagatedBuildInputs = [ pytz ];

View file

@ -6,16 +6,18 @@
, git
, gitdb
, ddt
, pythonOlder
, typing-extensions
}:
buildPythonPackage rec {
pname = "GitPython";
version = "3.1.14";
version = "3.1.18";
disabled = isPy27; # no longer supported
src = fetchPypi {
inherit pname version;
sha256 = "be27633e7509e58391f10207cd32b2a6cf5b908f92d9cd30da2e514e1137af61";
sha256 = "b838a895977b45ab6f0cc926a9045c8d1c44e2b653c1fcc39fe91f42c6e8f05b";
};
patches = [
@ -25,7 +27,12 @@ buildPythonPackage rec {
})
];
propagatedBuildInputs = [ gitdb ddt ];
propagatedBuildInputs = [
gitdb
ddt
] ++ lib.optionals (pythonOlder "3.8") [
typing-extensions
];
# Tests require a git repo
doCheck = false;

View file

@ -9,12 +9,12 @@
buildPythonPackage rec {
pname = "JPype1";
version = "1.2.1";
version = "1.3.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "f210646127d24be73cfc6d807e2cda1c6b2ab39b7a293008e8b46367af6f2204";
sha256 = "4fc27dba89750cb0c9d692466341ce60c0fe86a16051091cb5347a37cf884151";
};
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "Pygments";
version = "2.8.1";
version = "2.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "153zyxigm879sk2n71lfv03y2pgxb7dl0dlsbwkz9aydxnkf2mi6";
sha256 = "a18f47b506a429f6f4b9df81bb02beab9ca21d0a5fee38ed15aef65f0545519f";
};
propagatedBuildInputs = [ docutils ];

View file

@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "absl-py";
version = "0.12.0";
version = "0.13.0";
src = fetchPypi {
inherit pname version;
sha256 = "b44f68984a5ceb2607d135a615999b93924c771238a63920d17d3387b0d229d5";
sha256 = "6953272383486044699fd0e9f00aad167a27e08ce19aae66c6c4b10e7e767793";
};
propagatedBuildInputs = [

View file

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "adal";
version = "1.2.6";
version = "1.2.7";
src = fetchPypi {
inherit pname version;
sha256 = "08b94d30676ceb78df31bce9dd0f05f1bc2b6172e44c437cbf5b968a00ac6489";
sha256 = "d74f45b81317454d96e982fd1c50e6fb5c99ac2223728aea8764433a39f566f1";
};
propagatedBuildInputs = [ requests pyjwt dateutil ];

View file

@ -12,13 +12,13 @@
buildPythonPackage rec {
pname = "aio-geojson-client";
version = "0.14";
version = "0.15";
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-aio-geojson-client";
rev = "v${version}";
sha256 = "1nk0mas71n1bn4wc7pcv279i1b5mxy9phyc8ppxlb16kbjnjj0h8";
sha256 = "0sbzrzmny7x4bkbg6z0cjn4d10r50nxdyaq7g6lagwd8ijpkg8l3";
};
propagatedBuildInputs = [

View file

@ -12,13 +12,13 @@
buildPythonPackage rec {
pname = "aio-geojson-geonetnz-volcano";
version = "0.5";
version = "0.6";
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-aio-geojson-geonetnz-volcano";
rev = "v${version}";
sha256 = "0x4i9gjwb2j788aw4j47bxin0d2ma3khssprq4ga3cjzx2qjwjvn";
sha256 = "0n97kij2fprzajh57sy1z57kaqiil7pd5y67lq2hqm2cnvkar5ci";
};
propagatedBuildInputs = [

View file

@ -15,14 +15,14 @@
buildPythonPackage rec {
pname = "aio-georss-client";
version = "0.7";
version = "0.8";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-aio-georss-client";
rev = "v${version}";
sha256 = "1nhw2sf92dbizxdcil1wdmbaa3hbmsiriy8jfzpqxsliw5dc0kmh";
sha256 = "0447scp5n906p8kfzy0lwdq06f6hkq71r2zala6g3vr6b3kla6h8";
};
propagatedBuildInputs = [

View file

@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "aiobotocore";
version = "1.3.0";
version = "1.3.1";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "17pcdi69bwdfw2wv3a0fhira5gimw88sp2wf47yqz50z1ckhv2c1";
sha256 = "8ecee55346651e0f4cbda883e3e16cfe11460b8d7adcc08d0017cbb867636ae1";
};
# relax version constraints: aiobotocore works with newer botocore versions

View file

@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "aioesphomeapi";
version = "2.8.0";
version = "2.9.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1j25i7vh4fg56rzhzxlaj4ys1rvswld15ia44mwwzxfggw8w3rbk";
sha256 = "11259cd1f115d31b91512a209779fa813dded747408100805bc8ecf7c1c1fa82";
};
propagatedBuildInputs = [ attrs protobuf zeroconf ];

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "aiofiles";
version = "0.6.0";
version = "0.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "e0281b157d3d5d59d803e3f4557dcc9a3dff28a4dd4829a9ff478adae50ca092";
sha256 = "a1c4fc9b2ff81568c83e21392a82f344ea9d23da906e4f6a52662764545e19d4";
};
disabled = pythonOlder "3.3";

View file

@ -15,7 +15,6 @@
, freezegun
, gunicorn
, pytest-mock
, pytest-xdist
, pytestCheckHook
, re-assert
, trustme
@ -52,16 +51,11 @@ buildPythonPackage rec {
freezegun
gunicorn
pytest-mock
pytest-xdist
pytestCheckHook
re-assert
trustme
];
pytestFlagsArray = [
"-n auto"
];
disabledTests = [
# Disable tests that require network access
"test_mark_formdata_as_processed"

View file

@ -10,7 +10,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "01ywyiwqa7nyd4kprqxcycv50xydsi95q3lzidpm2r3kn1byis1y";
sha256 = "3ee8e857b07364516f8b9f0e5c52d4cd775036f3ace37c2769de1e8579f4dc07";
};
propagatedBuildInputs = [

View file

@ -4,6 +4,7 @@
, backports-zoneinfo
, buildPythonPackage
, fetchFromGitHub
, holidays
, poetry-core
, pytest-asyncio
, pytest-timeout
@ -14,7 +15,7 @@
buildPythonPackage rec {
pname = "aiopvpc";
version = "2.1.2";
version = "2.2.0";
disabled = pythonOlder "3.8";
format = "pyproject";
@ -22,7 +23,7 @@ buildPythonPackage rec {
owner = "azogue";
repo = pname;
rev = "v${version}";
sha256 = "0s8ki46dh39kw6qvsjcfcxa0gblyi33m3hry137kbi4lw5ws6qhr";
sha256 = "1hk3giwzzlcqnpw9kx3zrr808nmdb7qwac60fki5395qffd2fpqw";
};
nativeBuildInputs = [
@ -32,6 +33,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
aiohttp
backports-zoneinfo
holidays
tzdata
async-timeout
];

View file

@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "1b5bqpl8wbs0nm6025wlz4n5sns6ca1x6kgw9wx227flwf3qjlgm";
sha256 = "f5518987e3d41d213a4ffc4dd38362465b5d2cf99417014cb5402f8ee8c5abac";
};
propagatedBuildInputs = [

View file

@ -9,14 +9,14 @@
buildPythonPackage rec {
pname = "aiostream";
version = "0.4.2";
version = "0.4.3";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "vxgmichel";
repo = pname;
rev = "v${version}";
sha256 = "0ss41hzvlnyll5xc5ddxqyqqw4gnd67yyhci25xnb1vpcz0jqsq8";
sha256 = "1r3x9qwl08yscmzvhafc6gsmq84lr17s6p7a1qxr49cmdvjzsc13";
};
checkInputs = [ pytestCheckHook pytestcov pytest-asyncio ];

View file

@ -2,19 +2,22 @@
, buildPythonPackage
, fetchPypi
, pythonOlder
, winacl
}:
buildPythonPackage rec {
pname = "aiowinreg";
version = "0.0.4";
version = "0.0.5";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "956278a90ef6958f9e2392891b2a305273f695b15b14489cd2097197d6cbe155";
sha256 = "096663ec3db35fdc7ccc1c2d0d64a11cf64f4baa48955088e42b6a649ce418a5";
};
propagatedBuildInputs = [ winacl ];
# Project doesn't have tests
doCheck = false;
pythonImportsCheck = [ "aiowinreg" ];

View file

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "alembic";
version = "1.5.8";
version = "1.6.5";
src = fetchPypi {
inherit pname version;
sha256 = "e27fd67732c97a1c370c33169ef4578cf96436fa0e7dcfaeeef4a917d0737d56";
sha256 = "a21fedebb3fb8f6bbbba51a11114f08c78709377051384c9c5ead5705ee93a51";
};
buildInputs = [ pytest pytestcov mock coverage ];

View file

@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "amazon_kclpy";
version = "2.0.1";
version = "2.0.2";
src = fetchFromGitHub {
owner = "awslabs";
repo = "amazon-kinesis-client-python";
rev = "v${version}";
sha256 = "13iq217fg0bxafp2rl684pg1rz4jbwid8cc8ip4rim07kzn65lbg";
sha256 = "12yxcwml6g86sv1pj3wc2k97md9szdj6xx07qwri1mr9bdkzw7rv";
};
# argparse is just required for python2.6

View file

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "ambee";
version = "0.2.1";
version = "0.3.0";
disabled = pythonOlder "3.8";
format = "pyproject";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "frenck";
repo = "python-ambee";
rev = "v${version}";
sha256 = "11liw2206lyrnx09giqapjpi25lr2qnbmigi6rgynr2a1i9vxy1s";
sha256 = "0vivzpfsmb4gy7k5wlbk5ylkpqy4jhki9lbgxyrrqj5yhhzz6cwy";
};
nativeBuildInputs = [

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "amqp";
version = "5.0.5";
version = "5.0.6";
src = fetchPypi {
inherit pname version;
sha256 = "affdd263d8b8eb3c98170b78bf83867cdb6a14901d586e00ddb65bfe2f0c4e60";
sha256 = "03e16e94f2b34c31f8bf1206d8ddd3ccaa4c315f7f6a1879b7b1210d229568c2";
};
propagatedBuildInputs = [ vine ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "ansicolor";
version = "0.2.6";
version = "0.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "d17e1b07b9dd7ded31699fbca53ae6cd373584f9b6dcbc124d1f321ebad31f1d";
sha256 = "3b840a6b1184b5f1568635b1adab28147947522707d41ceba02d5ed0a0877279";
};
meta = with lib; {

View file

@ -3,6 +3,7 @@
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools-scm
, idna
, sniffio
, typing-extensions
@ -18,7 +19,7 @@
buildPythonPackage rec {
pname = "anyio";
version = "3.1.0";
version = "3.2.0";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -29,6 +30,14 @@ buildPythonPackage rec {
sha256 = "sha256-zQiSAQN7cp1s+8hDTvYaMkHUXV1ccNwIsl2IOztH7J8=";
};
preBuild = ''
export SETUPTOOLS_SCM_PRETEND_VERSION=${version}
'';
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
idna
sniffio

View file

@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "apispec";
version = "4.4.1";
version = "4.6.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-qt7UrkUXUsWLcOV5kj2Nt9rwtx9i3vjI/noqUr18BqI=";
sha256 = "a896f97394b7d046d46c65262e51e45241dd8d9d71eedebcdb2d7024b775eec4";
};
propagatedBuildInputs = [

View file

@ -5,12 +5,12 @@
}:
buildPythonPackage rec {
version = "0.11.9";
version = "0.11.10";
pname = "applicationinsights";
src = fetchPypi {
inherit pname version;
sha256 = "1hyjdv6xnswgqvip8y164piwfach9hjkbp7vc2qzhd7amjpim89h";
sha256 = "0b761f3ef0680acf4731906dfc1807faa6f2a57168ae74592db0084a6099f7b3";
};
propagatedBuildInputs = [ portalocker ];

View file

@ -7,11 +7,11 @@
}:
buildPythonPackage rec {
pname = "argcomplete";
version = "1.12.2";
version = "1.12.3";
src = fetchPypi {
inherit pname version;
sha256 = "de0e1282330940d52ea92a80fea2e4b9e0da1932aaa570f84d268939d1897b04";
sha256 = "2c7dbffd8c045ea534921e63b0be6fe65e88599990d8dc408ac8c542b72a5445";
};
doCheck = false; # meant to be ran with interactive interpreter

View file

@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "Arpeggio";
version = "1.10.1";
version = "1.10.2";
src = fetchPypi {
inherit pname version;
sha256 = "920d12cc762edb2eb56daae64a14c93e43dc181b481c88fc79314c0df6ee639e";
sha256 = "bfe349f252f82f82d84cb886f1d5081d1a31451e6045275e9f90b65d0daa06f1";
};
# Shall not be needed for next release

View file

@ -12,13 +12,13 @@
buildPythonPackage rec {
pname = "arrow";
version = "1.0.3";
version = "1.1.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "399c9c8ae732270e1aa58ead835a79a40d7be8aa109c579898eb41029b5a231d";
sha256 = "1n2vzyrirfj7fp0zn6iipm3i8bch0g4m14z02nrvlyjiyfmi7zmq";
};
postPatch = ''
@ -41,6 +41,8 @@ buildPythonPackage rec {
"test_parse_tz_name_zzz"
];
pythonImportsCheck = [ "arrow" ];
meta = with lib; {
description = "Python library for date manipulation";
homepage = "https://github.com/crsmithdev/arrow";

View file

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "asciimatics";
version = "1.12.0";
version = "1.13.0";
src = fetchPypi {
inherit pname version;
sha256 = "4120461a3fb345638dee4fe0f8a3d3f9b6d2d2e003f95c5f914523f94463158d";
sha256 = "a041826ec5add03fb882d8981c1debf9b9e98274f4f2d52ec21ef30de70c2c6e";
};
nativeBuildInputs = [

View file

@ -13,14 +13,14 @@
buildPythonPackage rec {
pname = "async-upnp-client";
version = "0.18.0";
disabled = pythonOlder "3.5";
version = "0.19.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "StevenLooman";
repo = "async_upnp_client";
rev = version;
sha256 = "sha256-pntOy7J4dPtAS8ZzxLLV79VQ36r+0sXMImJFhDk9bQw=";
sha256 = "0xj3j54nasl59gs1k84h3fixjsaqn7whg33h6wi99l5yfbwfqv8p";
};
propagatedBuildInputs = [
@ -36,6 +36,24 @@ buildPythonPackage rec {
pytest-asyncio
];
disabledTests = [
# socket.gaierror: [Errno -2] Name or service not known
"test_get_local_ip"
"test_async_get_local_ip"
# OSError: [Errno 101] Network is unreachable
"test_subscribe_fail"
"test_subscribe_auto_resubscribe"
"test_subscribe_manual_resubscribe"
"test_auto_resubscribe_fail"
"test_on_notify_dlna_event"
"test_on_notify_upnp_event"
"test_unsubscribe"
"test_subscribe"
"test_subscribe_renew"
"test_start_server"
"test_init"
];
pythonImportsCheck = [ "async_upnp_client" ];
meta = with lib; {

View file

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "asyncio_mqtt";
version = "0.8.1";
version = "0.9.1";
src = fetchPypi {
inherit pname version;
sha256 = "c1b3bea68a35c83d290a89903079ffb311106195cd56867e201633a1ee1cad0c";
sha256 = "0550229cecde6ff1751c49dd5ea26b02bf52b7e9bbe9bf763da765f35bb281de";
};
propagatedBuildInputs = [

View file

@ -3,12 +3,12 @@
buildPythonPackage rec {
pname = "asyncpg";
version = "0.22.0";
version = "0.23.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "348ad471d9bdd77f0609a00c860142f47c81c9123f4064d13d65c8569415d802";
sha256 = "812dafa4c9e264d430adcc0f5899f0dc5413155a605088af696f952d72d36b5e";
};
checkInputs = [

View file

@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "asyncssh";
version = "2.5.0";
version = "2.6.0";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
sha256 = "0b65e2af73a2e39a271bd627abbe4f7e4b0345486ed403e65987d79c72fcb70b";
sha256 = "20f0ef553a1e64a7d38db86ba3a2f3907e72f1e81f3dfec5edb191383783c7d1";
};
patches = [

View file

@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "asyncwhois";
version = "0.3.1";
version = "0.3.2";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pogzyb";
repo = pname;
rev = "v${version}";
sha256 = "1wp6pwnc1inzzn9nhkwq9m9ab1aylw0hzq94w6p2dsm2njfqma8h";
sha256 = "0cxmvxc82dxrg18kcc321hfmp877knl76pa6dpfhwphwfs2v02f1";
};
propagatedBuildInputs = [

View file

@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "atpublic";
version = "2.1.3";
version = "2.3";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "e0b274759bfbcb6eeb7c7b44a7a46391990a43ac77aa55359b075765b54d9f5d";
sha256 = "d6b9167fc3e09a2de2d2adcfc9a1b48d84eab70753c97de3800362e1703e3367";
};
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [

View file

@ -10,12 +10,12 @@
}:
buildPythonPackage rec {
version = "0.3.0";
version = "0.4.0";
pname = "atsim.potentials";
src = fetchPypi {
inherit pname version;
sha256 = "70082fc40b0ab7565a671c2d764fe3db08bc6ce45da44e1c1e8b77a65d1f7a23";
sha256 = "0c3e4e2323e969880f17a9924642e0991be5761f50b254bcbadd046db3be6390";
};
checkInputs = [ pytest ];

View file

@ -1,27 +1,36 @@
{ lib, stdenv, buildPythonPackage, fetchPypi, pytest, hypothesis, zope_interface
, pympler, coverage, six, clang }:
{ lib
, callPackage
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "attrs";
version = "20.3.0";
version = "21.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "832aa3cde19744e49938b91fea06d69ecb9e649c93ba974535d08ad92164f700";
sha256 = "ef6aaac3ca6cd92904cdd0d83f629a15f18053ec84e6432106f7a4d04ae4f5fb";
};
# macOS needs clang for testing
checkInputs = [
pytest hypothesis zope_interface pympler coverage six
] ++ lib.optionals (stdenv.isDarwin) [ clang ];
outputs = [ "out" "testout" ];
checkPhase = ''
py.test
postInstall = ''
# Install tests as the tests output.
mkdir $testout
cp -R tests $testout/tests
'';
# To prevent infinite recursion with pytest
pythonImportsCheck = [ "attr" ];
# pytest depends on attrs, so we can't do this out-of-the-box.
# Instead, we do this as a passthru.tests test.
doCheck = false;
passthru.tests = {
pytest = callPackage ./tests.nix { };
};
meta = with lib; {
description = "Python attributes without boilerplate";
homepage = "https://github.com/hynek/attrs";

View file

@ -0,0 +1,21 @@
{ buildPythonPackage
, pytestCheckHook
, attrs
, hypothesis
}:
buildPythonPackage {
pname = "attrs-tests";
inherit (attrs) version;
srcs = attrs.testout;
dontBuild = true;
dontInstall = true;
checkInputs = [
attrs
hypothesis
pytestCheckHook
];
}

View file

@ -3,20 +3,22 @@
, fetchPypi
, requests
, mock
, pyjwt
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "auth0-python";
version = "3.14.0";
version = "3.16.2";
src = fetchPypi {
inherit pname version;
sha256 = "ac7808d00676c5e7ffa9eaa228807ca1f8db7a0f4dc115337c80fb6d7eb2b50a";
sha256 = "4a5a709a5d460ddc406783fa567d9baebba94687e2387be6405dba97482d4c93";
};
propagatedBuildInputs = [
requests
pyjwt
];
checkInputs = [

View file

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "awkward";
version = "1.2.3";
version = "1.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "7d727542927a926f488fa62d04e2c5728c72660f17f822e627f349285f295063";
sha256 = "b6021694adec9813842bad1987b837e439dabaf5b0dff9041201d238fca71fb4";
};
nativeBuildInputs = [ cmake ];

View file

@ -12,14 +12,14 @@
buildPythonPackage rec {
pname = "aws-lambda-builders";
version = "1.3.0";
version = "1.4.0";
# No tests available in PyPI tarball
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-lambda-builders";
rev = "v${version}";
sha256 = "1cfacp0a5qsaf3crcybslhbfwm1mqfyafj71dlvnidzx7b9bm60v";
sha256 = "0g7qj74mgazc7y1w0d9vs276vmfb3svi5whn2c87bryhrwq650vf";
};
# Package is not compatible with Python 3.5

View file

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "aws-sam-translator";
version = "1.35.0";
version = "1.36.0";
src = fetchPypi {
inherit pname version;
sha256 = "5cf7faab3566843f3b44ef1a42a9c106ffb50809da4002faab818076dcc7bff8";
sha256 = "fa1b990d9329d19052e7b91cf0b19371ed9d31a529054b616005884cd662b584";
};
# Tests are not included in the PyPI package

View file

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "aws-xray-sdk";
version = "2.7.0";
version = "2.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "697c9068e84dd5d2c1456def3fd0865f226046b5db4db56d738050e425960adf";
sha256 = "90c2fcc982a770e86d009a4c3d2b5c3e372da91cb8284d982bae458e2c0bb268";
};
propagatedBuildInputs = [

View file

@ -2,7 +2,7 @@
buildPythonPackage rec {
pname = "awscrt";
version = "0.11.13";
version = "0.11.24";
buildInputs = lib.optionals stdenv.isDarwin
(with darwin.apple_sdk.frameworks; [ CoreFoundation Security ]);
@ -23,7 +23,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "sha256-G/bf2AzWp8AHL4of0zfX3jIYyTtmTLBIC2ZKiMi19c0=";
sha256 = "b8aa68bca404bf0085be0570eff5b542d01f7e8e3c0f9b0859abfe5e070162ff";
};
meta = with lib; {

View file

@ -3,14 +3,14 @@
buildPythonPackage rec {
pname = "awslambdaric";
version = "1.0.0";
version = "1.1.1";
disabled = isPy27;
src = fetchFromGitHub {
owner = "aws";
repo = "aws-lambda-python-runtime-interface-client";
rev = "v${version}";
sha256 = "13v1lsp3lxbqknvlb3gvljjf3wyrx5jg8sf9yfiaj1sm8pb8pmrf";
rev = version;
sha256 = "1f8828y32yrf87bc933jhmjrvj746baibvpn0w21x3ji81vf6mri";
};
propagatedBuildInputs = [ simplejson ];

View file

@ -7,12 +7,12 @@
}:
buildPythonPackage rec {
version = "3.1.2";
version = "3.2.0";
pname = "azure-cosmos";
src = fetchPypi {
inherit pname version;
sha256 = "7f8ac99e4e40c398089fc383bfadcdc83376f72b88532b0cac0b420357cd08c7";
sha256 = "4f77cc558fecffac04377ba758ac4e23f076dc1c54e2cf2515f85bc15cbde5c6";
};
propagatedBuildInputs = [ six requests ];

View file

@ -9,12 +9,12 @@
buildPythonPackage rec {
pname = "azure-eventgrid";
version = "4.2.0";
version = "4.3.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "77af2c20abde7d8342da7993781605b440aeac0f95c4af13bb87465c3bd5fe35";
sha256 = "bf50c8a4dc022ff9b1810800cb431b2c68b748eed160dd71fb8eb9bd860c7ecc";
};
propagatedBuildInputs = [

View file

@ -5,13 +5,13 @@
}:
buildPythonPackage rec {
version = "0.1.0";
version = "0.3.0";
pname = "azure-mgmt-apimanagement";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "06bqqkn5mx127x1z7ycm6rl8ajxlrmrm2kcdpgkbl4baii1x6iax";
sha256 = "ec363581ef950945447e45d259441cb690a4b790057c7b8470ad8a6eeca04feb";
extension = "zip";
};

View file

@ -12,13 +12,13 @@
buildPythonPackage rec {
pname = "azure-storage-file-share";
version = "12.4.2";
version = "12.5.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "6c458d1e3db38fdd502d8f77107c81e6859654f02c0e7f2a98214289d9e0dde2";
sha256 = "ed82e9bf8d25d62e50996604fce701cec6a39ec0ceba6efbf8790f7f8b7746a8";
};
propagatedBuildInputs = [

View file

@ -16,12 +16,12 @@
buildPythonPackage rec {
pname = "b2sdk";
version = "1.7.0";
version = "1.9.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-8X5XLh9SxZI1P7/2ZjOy8ipcEzTcriJfGI7KlMXncv4=";
sha256 = "ff9c27c89f53583fd83c711d0a642d9b3bdbb8682c2e8e2315674b517cb441ec";
};
nativeBuildInputs = [

View file

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "backports.functools_lru_cache";
version = "1.6.3";
version = "1.6.4";
src = fetchPypi {
inherit pname version;
sha256 = "d84e126e2a29e4fde8931ff8131240bbf30a0e7dbcc3897a8dbd8ea5ac11419c";
sha256 = "d5ed2169378b67d3c545e5600d363a923b09c456dab1593914935a68ad478271";
};
nativeBuildInputs = [ setuptools-scm ];

View file

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "batchspawner";
version = "1.0.1";
version = "1.1.0";
disabled = isPy27;
src = fetchFromGitHub {
owner = "jupyterhub";
repo = "batchspawner";
rev = "v${version}";
sha256 = "0vqf3qc2yp52441s6xwgixgl37976qqgpd9sshbgh924j314v1yv";
sha256 = "0zv485b7fk5zlwgp5fyibanqzbpisdl2a0gz70fwdj4kl462axnw";
};
propagatedBuildInputs = [

View file

@ -4,12 +4,12 @@
}:
buildPythonPackage rec {
version = "1.6.0";
version = "1.7.2";
pname = "bids-validator";
src = fetchPypi {
inherit pname version;
sha256 = "6858eab83068d34a9d41155c931ca8db9faef2272710d9730c2135915c19be82";
sha256 = "12398831a3a3a2ed7c67e693cf596610c23dd23e0889bfeae0830bbd1d41e5b9";
};
# needs packages which are not available in nixpkgs

View file

@ -1,23 +1,27 @@
{ lib, buildPythonPackage, fetchPypi, isPyPy, pytestCheckHook, case, psutil, fetchpatch }:
{ lib
, buildPythonPackage
, fetchPypi
, isPyPy
, pytestCheckHook
, case
, psutil
}:
buildPythonPackage rec {
pname = "billiard";
version = "3.6.3.0";
version = "3.6.4.0";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
sha256 = "0spssl3byzqsplra166d59jx8iqfxyzvcbx7vybkmwr5ck72a5yr";
sha256 = "0ismj2p8c66ykpss94rs0bfra5agxxmljz8r3gaq79r8valfb799";
};
patches = [(fetchpatch {
# Add Python 3.9 support to spawnv_passfds()
# Should be included in next release after 3.6.3.0
url = "https://github.com/celery/billiard/pull/310/commits/a508ebafadcfe2e25554b029593f3e66d01ede6c.patch";
sha256 = "05zsr1bvjgi01qg7r274c0qvbn65iig3clyz14c08mpfyn38h84i";
excludes = [ "tox.ini" ];
})];
checkInputs = [ pytestCheckHook case psutil ];
checkInputs = [
case
psutil
pytestCheckHook
];
meta = with lib; {
homepage = "https://github.com/celery/billiard";

View file

@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "biopython";
version = "1.78";
version = "1.79";
src = fetchPypi {
inherit pname version;
sha256 = "1ee0a0b6c2376680fea6642d5080baa419fd73df104a62d58a8baf7a8bbe4564";
sha256 = "edb07eac99d3b8abd7ba56ff4bedec9263f76dfc3c3f450e7d2e2bcdecf8559b";
};
disabled = !isPy3k;

View file

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "bip_utils";
version = "1.9.0";
version = "1.11.1";
disabled = pythonOlder "3.6";
@ -16,7 +16,7 @@ buildPythonPackage rec {
owner = "ebellocchia";
repo = pname;
rev = "v${version}";
sha256 = "0i1jdpdsrc8cal5x0b1am9mgbca69ymxlaqpkw0y4d0m3m6vs33k";
sha256 = "0r8h979rklq7cvl0b449mfrx62dv367s31zgwfqn81kj72i3ndg4";
};
propagatedBuildInputs = [ ecdsa pysha3 ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "bitarray";
version = "2.1.0";
version = "2.1.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-lyJKGTJezuSaO/TfPuBTHTr5zyiLZ9CJp+9Eo8TqODk=";
sha256 = "a24aff72a7f1b09571b5daf9dbfcffd98481be1fe085ae5ef662cf11452a97e0";
};
checkPhase = ''

View file

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "blessed";
version = "1.18.0";
version = "1.18.1";
src = fetchPypi {
inherit pname version;
sha256 = "1312879f971330a1b7f2c6341f2ae7e2cbac244bfc9d0ecfbbecd4b0293bc755";
sha256 = "8b09936def6bc06583db99b65636b980075733e13550cb6af262ce724a55da23";
};
checkInputs = [ pytest mock glibcLocales ];

View file

@ -34,11 +34,11 @@
buildPythonPackage rec {
pname = "bokeh";
# update together with panel which is not straightforward
version = "2.3.0";
version = "2.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "dd417708f90702190222b1068a645acae99e66d4b58d7a336d545aeaa04e9b40";
sha256 = "fcc0d0a3129ae457cdb0a4f503843a4d13d1f5d07af7748424ea8c7ddfc321f1";
};
patches = [

View file

@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "boto3";
version = "1.17.88"; # N.B: if you change this, change botocore and awscli to a matching version
version = "1.17.97"; # N.B: if you change this, change botocore and awscli to a matching version
src = fetchPypi {
inherit pname version;
sha256 = "sha256-pxXKbERX1W6j4+/em9yL5BwpsvKpBPvRK+/bnLXiieQ=";
sha256 = "0ab5afc51461c30f27aebef944211d16f47697b98ff8d2e2f6e49e59584853bb";
};
propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ];

View file

@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "botocore";
version = "1.20.88"; # N.B: if you change this, change boto3 and awscli to a matching version
version = "1.20.97"; # N.B: if you change this, change boto3 and awscli to a matching version
src = fetchPypi {
inherit pname version;
sha256 = "sha256-vJie2rUtR4iq3Y0a/5JfXGp8vGiQC/2443mWWurBcxc=";
sha256 = "f7e119cf3e0f4a36100f0e983583afa91a84fb27c479a1716820aee4f2e190ab";
};
propagatedBuildInputs = [

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "braintree";
version = "4.7.0";
version = "4.10.0";
src = fetchPypi {
inherit pname version;
sha256 = "25a95f95acb7f180b37f8dcf4df7efa84ae0ba6ad9dc4ba0e724e2cc534c3483";
sha256 = "f934a329c7a2b3f7058d5c733cc95da694f66afb5a789162ec701ba4d26a0d90";
};
propagatedBuildInputs = [ requests ];

View file

@ -1,13 +1,13 @@
{ lib, fetchPypi, buildPythonPackage, docutils, six, sphinx, isPy3k, isPy27 }:
buildPythonPackage rec {
version = "4.28.0";
version = "4.30.0";
pname = "breathe";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "11e35a5fed7545554be51b70eea4578643d8c08972bea43774f413943006b17a";
sha256 = "363dec85abc0c4b3f22628b0cf82cc2dc46c4397d8a18312d1a7d1365d49b014";
};
propagatedBuildInputs = [ docutils six sphinx ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "browser-cookie3";
version = "0.12.0";
version = "0.12.1";
src = fetchPypi {
inherit pname version;
sha256 = "5f26422091ad0e97375d565f8fbacfaf314d0722db35c921635eab23686e4fc4";
sha256 = "72c1e6aa6a98adab3a6797b889664bdbfddc287474dd8e774da37a854ec32185";
};
disabled = !isPy3k;

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "bsdiff4";
version = "1.2.0";
version = "1.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "17fc0dd4204x5gqapvbrc4kv83jdajs00jxm739586pl0iapybrw";
sha256 = "87cffc7522effdda03fd1564b212ad2279c0af50d16c3e65776f80acb6705d4b";
};
checkPhase = ''

View file

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

View file

@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "bugsnag";
version = "4.0.2";
version = "4.0.3";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "7a49dacf055a8c6dda4ce714acd91fabe9546f1ad826276918a26603a8b5489a";
sha256 = "0b70bc95e4e4f98b2eef7a3dadfdc50c1a40da7f50446adf43be05574a4b9f7c";
};
propagatedBuildInputs = [ six webob ];

View file

@ -7,7 +7,7 @@
buildPythonPackage rec {
pname = "cachetools";
version = "4.2.1";
version = "4.2.2";
disabled = isPy27;
@ -15,7 +15,7 @@ buildPythonPackage rec {
owner = "tkem";
repo = pname;
rev = "v${version}";
sha256 = "1b662ph8m2d05d2vi3izgnr6v7h9zfvscfsaaw8nhdmmm15ivfa6";
sha256 = "sha256-JTm8ht2Ubn34uQLR0yjUjXSdDQggWfYUlS0T628OUoI=";
};
checkInputs = [ pytestCheckHook ];

View file

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "carbon";
version = "1.1.7";
version = "1.1.8";
src = fetchPypi {
inherit pname version;
sha256 = "08ndphpcbdx2ab4f5jsn2y4l5p55h9wscbg7clhbyyh03r5hianr";
sha256 = "95918c4b14e1c525d9499554d5e03b349f87e0c2bc17ec5c64d18679a30b69f1";
};
# Carbon-s default installation is /opt/graphite. This env variable ensures

View file

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "casbin";
version = "0.19.1";
version = "0.20.0";
disabled = isPy27;
@ -16,7 +16,7 @@ buildPythonPackage rec {
owner = pname;
repo = "pycasbin";
rev = "v${version}";
sha256 = "0fkkz5k3h4pkxacrbacamnh4yfghxgajdzzmdlck7i4v5x06vz8f";
sha256 = "1j7kd4rvf4myg4x4sm4njlhzkxm2m3cva9wmp9vx0nnpfdlyb67f";
};
propagatedBuildInputs = [

View file

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "cbor2";
version = "5.2.0";
version = "5.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "a33aa2e5534fd74401ac95686886e655e3b2ce6383b3f958199b6e70a87c94bf";
sha256 = "a7926f7244b08c413f1a4fa71a81aa256771c75bdf1a4fd77308547a2d63dd48";
};
nativeBuildInputs = [ setuptools-scm ];

View file

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "celery";
version = "5.0.5";
version = "5.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "f4efebe6f8629b0da2b8e529424de376494f5b7a743c321c8a2ddc2b1414921c";
sha256 = "54436cd97b031bf2e08064223240e2a83d601d9414bcb1b702f94c6c33c29485";
};
postPatch = ''

View file

@ -1,20 +1,38 @@
{ lib, buildPythonPackage, fetchPypi, pytestrunner, pytest }:
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "Cerberus";
version = "1.3.2";
version = "1.3.4";
src = fetchPypi {
inherit pname version;
sha256 = "12cm547hpypqd7bwcl4wr4w6varibc1dagzicg5qbp86yaa6cbih";
src = fetchFromGitHub {
owner = "pyeve";
repo = "cerberus";
rev = version;
sha256 = "03kj15cf1pbd11mxsik96m5w1m6p0fbdc4ia5ihzmq8rz28razpq";
};
checkInputs = [ pytestrunner pytest ];
checkInputs = [
pytestCheckHook
];
checkPhase = ''
pytest -k 'not nested_oneofs'
preCheck = ''
export TESTDIR=$(mktemp -d)
cp -R ./cerberus/tests $TESTDIR
pushd $TESTDIR
'';
postCheck = ''
popd
'';
pythonImportsCheck = [
"cerberus"
];
meta = with lib; {
homepage = "http://python-cerberus.org/";
description = "Lightweight, extensible schema and data validation tool for Python dictionaries";

View file

@ -9,13 +9,13 @@
buildPythonPackage rec {
pname = "certbot";
version = "1.15.0";
version = "1.16.0";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "sha256-Z5ZIA0ib+N7La6Z0Taf6DovCF6fXnEDppPQt6Vgwl0c=";
sha256 = "0jdq6pvq7af2x483857qyp1qvqs4yb4nqcv66qi70glmbanhlxd4";
};
sourceRoot = "source/${pname}";

View file

@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "cfgv";
version = "3.2.0";
version = "3.3.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "cf22deb93d4bcf92f345a5c3cd39d3d41d6340adc60c78bbbd6588c384fda6a1";
sha256 = "9e600479b3b99e8af981ecdfc80a0296104ee610cab48a5ae4ffd0b668650eb1";
};
propagatedBuildInputs = [ six ];

View file

@ -21,13 +21,13 @@
buildPythonPackage rec {
pname = "cfn-lint";
version = "0.48.0";
version = "0.51.0";
src = fetchFromGitHub {
owner = "aws-cloudformation";
repo = "cfn-python-lint";
rev = "v${version}";
sha256 = "03j5w9cyvpbxh634jd2dhkgfs3c2hmgqh77w664855lgy2ph9zll";
sha256 = "1027s243sik25c6sqw6gla7k7vl3jdicrik5zdsa8pafxh2baja4";
};
postPatch = ''

View file

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "cftime";
version = "1.4.1";
version = "1.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "7c55540bc164746c3c4f86a07c9c7b9ed4dfb0b0d988348ec63cec065c58766d";
sha256 = "b644bcb53346b6f4fe2fcc9f3b574740a2097637492dcca29632c817e0604f29";
};
checkInputs = [

View file

@ -5,7 +5,7 @@
buildPythonPackage rec {
pname = "chainer";
version = "7.7.0";
version = "7.8.0";
disabled = !isPy3k; # python2.7 abandoned upstream
# no tests in Pypi tarball
@ -13,7 +13,7 @@ buildPythonPackage rec {
owner = "chainer";
repo = "chainer";
rev = "v${version}";
sha256 = "0m97k5bv4pcp5rvbczvrr2vxddwzw2h42cm021f5y779jx5ghclh";
sha256 = "1zfj3pk54gzxd4nid0qjx4kw1wdngwscvn4hk4cijxvwqi4a5zxj";
};
checkInputs = [

View file

@ -23,11 +23,11 @@
buildPythonPackage rec {
pname = "chalice";
version = "1.22.3";
version = "1.23.0";
src = fetchPypi {
inherit pname version;
sha256 = "5a84a73c4a8d8b22bb64e06ff99060d7f222097db4237e58749dcad5165f082d";
sha256 = "8e3b26f8ec15197d8c04cd1edb0d692a490cb5ec179560183a403de63f21c1d7";
};
checkInputs = [ watchdog pytest hypothesis mock ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "Cheetah3";
version = "3.2.6.post1";
version = "3.2.6.post2";
src = fetchPypi {
inherit pname version;
sha256 = "58b5d84e5fbff6cf8e117414b3ea49ef51654c02ee887d155113c5b91d761967";
sha256 = "63157d7a00a273b59676b5be5aa817c75c37efc88478231f1a160f4cfb7f7878";
};
doCheck = false; # Circular dependency

View file

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "citeproc-py";
version = "0.5.1";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "00aaff50jy4j0nakdzq9258z1gzrac9baarli2ymgspj88jg5968";
sha256 = "d9e3a224f936fe2e5033b5d9ffdacab769cedb61d96c4e0cf2f0b488f1d24b4e";
};
buildInputs = [ rnc2rng ];

View file

@ -1,4 +1,10 @@
{ lib, buildPythonPackage, fetchFromGitHub, click, pytest }:
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, click
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "click-default-group";
@ -12,9 +18,19 @@ buildPythonPackage rec {
sha256 = "0nk39lmkn208w8kvq6f4h3a6qzxrrvxixahpips6ik3zflbkss86";
};
patches = [
# make tests compatible with click 8
(fetchpatch {
url = "https://github.com/click-contrib/click-default-group/commit/9415c77d05cf7d16876e7d70a49a41a6189983b4.patch";
sha256 = "1czzma8nmwyxhwhnr8rfw5bjw6d46b3s5r5bfb8ly3sjwqjlwhw2";
})
];
propagatedBuildInputs = [ click ];
checkInputs = [ pytest ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "click_default_group" ];
meta = with lib; {
homepage = "https://github.com/click-contrib/click-default-group";

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "click-repl";
version = "0.1.6";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "1mcmz95595nrp4r58spy1ac993db26hk4q97isghbmn4md99vwmr";
sha256 = "cd12f68d745bf6151210790540b4cb064c7b13e571bc64b6957d98d120dacfd8";
};
propagatedBuildInputs = [ click prompt_toolkit ];

View file

@ -0,0 +1,28 @@
{ lib, buildPythonPackage, fetchPypi, locale, pytestCheckHook }:
buildPythonPackage rec {
pname = "click";
version = "7.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a";
};
postPatch = ''
substituteInPlace src/click/_unicodefun.py \
--replace "'locale'" "'${locale}/bin/locale'"
'';
checkInputs = [ pytestCheckHook ];
meta = with lib; {
homepage = "https://click.palletsprojects.com/";
description = "Create beautiful command line interfaces in Python";
longDescription = ''
A Python package for creating beautiful command line interfaces in a
composable way, with as little code as necessary.
'';
license = licenses.bsd3;
};
}

View file

@ -1,12 +1,19 @@
{ lib, buildPythonPackage, fetchPypi, locale, pytestCheckHook }:
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, importlib-metadata
, locale
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "click";
version = "7.1.2";
version = "8.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a";
sha256 = "0ymdyf37acq4qxh038q0xx44qgj6y2kf0jd0ivvix6qij88w214c";
};
postPatch = ''
@ -14,7 +21,13 @@ buildPythonPackage rec {
--replace "'locale'" "'${locale}/bin/locale'"
'';
checkInputs = [ pytestCheckHook ];
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
checkInputs = [
pytestCheckHook
];
meta = with lib; {
homepage = "https://click.palletsprojects.com/";

View file

@ -16,11 +16,11 @@
buildPythonPackage rec {
pname = "cliff";
version = "3.7.0";
version = "3.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "389c81960de13f05daf1cbd546f33199e86c518ba4266c79ec7a153a280980ea";
sha256 = "8dd215d0a84c9a3ab2fa2aa700849f4e7b786639f66caa0ad4108c85dca95a7c";
};
propagatedBuildInputs = [

View file

@ -4,13 +4,13 @@
buildPythonPackage rec {
pname = "cligj";
version = "0.5.0";
version = "0.7.2";
src = fetchFromGitHub {
owner = "mapbox";
repo = "cligj";
rev = version;
sha256 = "13vlibbn86dhh6iy8k831vsa249746jnk419wcr9vvr3pqxml6g2";
sha256 = "sha256-0f9+I6ozX93Vn0l7+WR0mpddDZymJQ3+Krovt6co22Y=";
};
propagatedBuildInputs = [

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "cock";
version = "0.8.0";
version = "0.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "1gwaklvwlyvhz2c07hdmhbnqqmpybssxzzr0399dpjk7dgdqgam3";
sha256 = "0d9021c2d9ce0dbf495a3c5ef960a9996a0681bb96ff6099f37302a3813a184e";
};
propagatedBuildInputs = [ click sortedcontainers pyyaml ];

View file

@ -14,11 +14,11 @@
}:
buildPythonPackage rec {
pname = "commoncode";
version = "21.1.21";
version = "21.6.11";
src = fetchPypi {
inherit pname version;
sha256 = "6e2daa34fac2d91307b23d9df5f01a6168fdffb12bf5d161bd6776bade29b479";
sha256 = "d6c8c985746a541913d5bb534c770f2422e5b4ac7a4ef765abc05c287a40ff4b";
};
dontConfigure = true;

View file

@ -1,12 +1,12 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k, rdkafka, requests, avro3k, avro ? null, futures ? null, enum34 ? null }:
buildPythonPackage rec {
version = "1.6.0";
version = "1.7.0";
pname = "confluent-kafka";
src = fetchPypi {
inherit pname version;
sha256 = "8a9caabdb02e87cd65c7f10f689ba3f1a15f8774de455e96fa5fc56eecfee63c";
sha256 = "80e01b4791513c27eded8517af847530dfdf04c43d99ff132ed9c3085933b75b";
};
buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ enum34 avro futures ]) ;

View file

@ -5,7 +5,7 @@
buildPythonPackage rec {
pname = "construct";
version = "2.10.63";
version = "2.10.67";
disabled = pythonOlder "3.6";
@ -14,7 +14,7 @@ buildPythonPackage rec {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "0dnj815qdxrn0q6bpwsmkca2jy02gjy6d3amqg4y6gha1kc1mymv";
sha256 = "1nciwim745qk41l1ck4chx3vxpfr6cq4k3a4i7vfnnrd3s6szzsw";
};
# not an explicit dependency, but it's imported by an entrypoint

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