Merge pull request #294305 from NixOS/python-updates

[python-updates] 2024/03/07 - major updates
This commit is contained in:
Martin Weinelt 2024-03-13 00:13:18 +01:00 committed by GitHub
commit 20eae76661
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
633 changed files with 3176 additions and 1902 deletions

View File

@ -38,6 +38,16 @@ let
hash = "sha256-7e6bCn/yZiG9WowQ/0hK4oc3okENmbC7mmhQx/uXeqA=";
};
});
netaddr = super.netaddr.overridePythonAttrs (oldAttrs: rec {
version = "0.9.0";
src = fetchPypi {
pname = "netaddr";
inherit version;
hash = "sha256-e0b6mxotcf1d6eSjeE7zOXAKU6CMgEDwi69fEZTaASg=";
};
});
}
)

View File

@ -42,7 +42,7 @@ python3.pkgs.buildPythonApplication rec {
loguru
more-itertools
packaging
pendulum_3
pendulum
psutil
pynzb
pyrsistent

View File

@ -55,7 +55,7 @@ python3.pkgs.buildPythonApplication rec {
pytest-freezer
pytest-mock
pytest-regressions
pytestCheckHook
(pytestCheckHook.override { pytest = pytest_7; })
];
doCheck = true;

View File

@ -0,0 +1,34 @@
{ lib
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "selenium-manager";
version = "4.18.1";
src = fetchFromGitHub {
owner = "SeleniumHQ";
repo = "selenium";
rev = "selenium-${version}";
hash = "sha256-1C9Epsk9rFlShxHGGzbWl6smrMzPn2h3yCWlzUIMpY8=";
};
sourceRoot = "${src.name}/rust";
cargoHash = "sha256-BystESOFIitw3ER2K1TPOf5luOBvKXFuqc/unL93yRY=";
# TODO: enable tests
# The test suite depends on a number of browsers and network requests,
# check the Gentoo package for inspiration
doCheck = false;
meta = with lib; {
description = "A browser automation framework and ecosystem";
homepage = "https://github.com/SeleniumHQ/selenium";
license = licenses.asl20;
maintainers = with maintainers; [ ];
mainProgram = "selenium-manager";
platforms = platforms.all;
};
}

View File

@ -1,11 +1,12 @@
{ lib
, fetchPypi
, buildPythonApplication
, pythonRelaxDepsHook
, poetry-core
, colorama
, more-itertools
, packaging
, pydantic
, pydantic_1
, requests
, pygobject3
, gobject-introspection
@ -27,13 +28,18 @@ buildPythonApplication rec {
gobject-introspection
poetry-core
wrapGAppsNoGuiHook
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"more-itertools"
];
propagatedBuildInputs = [
colorama
more-itertools
packaging
pydantic
pydantic_1
requests
pygobject3
];

View File

@ -9,12 +9,12 @@
buildPythonPackage rec {
pname = "absl-py";
version = "2.0.0";
version = "2.1.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-2WkCEcX8/vzdGkVHCsK1xazUUkHDr3Hu2WvFRBdGwNU=";
hash = "sha256-eCB5DvuzFnOc3otOGTVyQ/w2CKFSAkKIUT3ZaNfZWf8=";
};
nativeBuildInputs = [

View File

@ -4,6 +4,7 @@
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, pytest_7
, setuptools
, numpy
, packaging
@ -20,7 +21,7 @@
buildPythonPackage rec {
pname = "accelerate";
version = "0.26.1";
version = "0.27.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -29,7 +30,7 @@ buildPythonPackage rec {
owner = "huggingface";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-l0RSBVAa2u3bGDLbg/e/1UP5WO8z2+YBqzwdviAcMA0=";
hash = "sha256-7rnI8UXyAql8fLMKoSRrWzVw5CnyYVE2o6dJOzSgWxw=";
};
nativeBuildInputs = [ setuptools ];
@ -46,7 +47,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
evaluate
parameterized
pytestCheckHook
(pytestCheckHook.override { pytest = pytest_7; })
transformers
];
preCheck = ''

View File

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "adlfs";
version = "2023.10.0";
version = "2024.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "fsspec";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-pmKqMNVSW+Jzz4MZaiUbzXFcLzTKj52RJH7WvFMj6NM=";
hash = "sha256-/Qakr7ISlzDqunoshUf8mpWCvFXOH3haUx/C79j4RZA=";
};
propagatedBuildInputs = [

View File

@ -1,4 +1,5 @@
{ lib
, aioboto3
, aiohttp
, buildPythonPackage
, fetchPypi
@ -7,7 +8,7 @@
buildPythonPackage rec {
pname = "aioaladdinconnect";
version = "0.1.58";
version = "0.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -15,10 +16,11 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "AIOAladdinConnect";
inherit version;
hash = "sha256-ymynaOKvnqqHIEuQc+5CagsaH5cHnQit8ileoUO6G+I=";
hash = "sha256-5vfw8SU3lWlPoMAR+byf8jpZrGmXTPoeO+DvPByjZnw=";
};
propagatedBuildInputs = [
aioboto3
aiohttp
];

View File

@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "aioautomower";
version = "2024.2.10";
version = "2024.3.0";
pyproject = true;
disabled = pythonOlder "3.11";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "Thomas55555";
repo = "aioautomower";
rev = "refs/tags/${version}";
hash = "sha256-NRcLyuU5FFIKJALUrx5iVSihzgO6ljqaqlhbs+y2E4Q=";
hash = "sha256-Buvnu1UoTPZcHg5422n/Ms+TGsqjqdJ8RQaEJ1oYM1s=";
};
postPatch = ''

View File

@ -1,7 +1,6 @@
{ lib
, aiobotocore
, aiofiles
, boto3
, buildPythonPackage
, chalice
, cryptography
@ -13,6 +12,7 @@
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, requests
}:
@ -33,6 +33,11 @@ buildPythonPackage rec {
nativeBuildInputs = [
poetry-core
poetry-dynamic-versioning
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"aiobotocore"
];
propagatedBuildInputs = [

View File

@ -20,7 +20,7 @@
buildPythonPackage rec {
pname = "aiobotocore";
version = "2.11.2";
version = "2.12.1";
pyproject = true;
disabled = pythonOlder "3.8";
@ -29,7 +29,7 @@ buildPythonPackage rec {
owner = "aio-libs";
repo = "aiobotocore";
rev = "refs/tags/${version}";
hash = "sha256-H9nsLPxjv3H5y6+5piBt6Pb+Wks4vwOitM+WQtyViPs=";
hash = "sha256-+CXKDk6crCPTVpVfcDWy+1UzS05oTu1RtIvDcVrEmFU=";
};
# Relax version constraints: aiobotocore works with newer botocore versions

View File

@ -1,6 +1,6 @@
{ lib
, aiohttp
, aresponses
, aioresponses
, buildPythonPackage
, fetchFromGitHub
, mashumaro
@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "aioelectricitymaps";
version = "0.4.0";
version = "1.0.0";
pyproject = true;
disabled = pythonOlder "3.11";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "jpbede";
repo = "aioelectricitymaps";
rev = "refs/tags/v${version}";
hash = "sha256-q06B40c0uvSuzH/3YCoxg4p9aNIOPrphsoESktF+B14=";
hash = "sha256-l6D5Cr2d89n+Ac5V5geBUY0sOiEO3sci9244K0MI+dc=";
};
postPatch = ''
@ -42,7 +42,7 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
aresponses
aioresponses
pytest-asyncio
pytestCheckHook
syrupy

View File

@ -25,7 +25,7 @@
buildPythonPackage rec {
pname = "aioesphomeapi";
version = "23.0.0";
version = "23.1.0";
pyproject = true;
disabled = pythonOlder "3.9";
@ -34,7 +34,7 @@ buildPythonPackage rec {
owner = "esphome";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-iYaRA1Jj9Ew/s/LyS6U+NZ3TsAlXdDq0DAaudgFV5/o=";
hash = "sha256-1Y2hcgvn0Msx17t1sH5N8cg2wmYo6YqFWPUqUNTNN5M=";
};
nativeBuildInputs = [

View File

@ -22,6 +22,7 @@
, gunicorn
, pytest-mock
, pytestCheckHook
, pytest_7
, python-on-whales
, re-assert
, trustme
@ -82,7 +83,7 @@ buildPythonPackage rec {
freezegun
gunicorn
pytest-mock
pytestCheckHook
(pytestCheckHook.override { pytest = pytest_7; })
python-on-whales
re-assert
] ++ lib.optionals (!(stdenv.isDarwin && stdenv.isAarch64)) [

View File

@ -5,6 +5,7 @@
, poetry-core
, pytest
, pythonOlder
, pythonRelaxDepsHook
}:
buildPythonPackage rec {
@ -22,6 +23,11 @@ buildPythonPackage rec {
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"pytest"
];
buildInputs = [

View File

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "aiosmtpd";
version = "1.4.4.post2";
version = "1.4.5";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -19,8 +19,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "aio-libs";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-iWKOxXtOBmszDBgeSHNY4a74D00p/9Pf7h/n+ohpTqs=";
rev = "refs/tags/v${version}";
hash = "sha256-8nQ4BVSLYgZHRGkbujy/olV/+GABlkDhe5wef3hyQpQ=";
};
propagatedBuildInputs = [

View File

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "aiosql";
version = "9.3";
version = "10.1";
pyproject = true;
disabled = pythonOlder "3.8";
@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "nackjicholson";
repo = "aiosql";
rev = "refs/tags/${version}";
hash = "sha256-7bCJykE+7/eA1h4L5MyH/zVPZVMt7cNLXZSWq+8mPtY=";
hash = "sha256-KlDwvoU0GYCN+ZCp4pp557qf9ChceS4NeA0Yiq+g3YQ=";
};
sphinxRoot = "docs/source";

View File

@ -1,16 +1,22 @@
{ lib, buildPythonPackage, fetchPypi
, pygments }:
{ lib
, buildPythonPackage
, fetchPypi
, flit-core
, pygments
}:
buildPythonPackage rec {
pname = "alabaster";
version = "0.7.13";
format = "setuptools";
version = "0.7.16";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-onpKCE1eaQ4W4B4DrSsuVSxhplRpQZuQckMZPeGoSuI=";
hash = "sha256-dai5nCil2tUN1/jM3UR6Eh3bOJLanlPRylzKMQbVjWU=";
};
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ pygments ];
# No tests included

View File

@ -16,14 +16,14 @@
buildPythonPackage rec {
pname = "albumentations";
version = "1.4.0";
version = "1.4.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-ZJ+KFIlveIs1bsxwCDxPuRvtq0/04rOa0heoJOGJ3tA=";
hash = "sha256-VWxTqVi9Js5IT1RQWNdVr1XbE6gLiu9pRrh63LOKVUU=";
};
nativeBuildInputs = [

View File

@ -21,14 +21,14 @@
buildPythonPackage rec {
pname = "alembic";
version = "1.13.0";
version = "1.13.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-q0s7lNLh5fgeNL6Km3t1dfyd1TmPzLC+81HsmxSHJiM=";
hash = "sha256-STLIVYv2jy7pK5u8uCGGccYnBk1bCJOUN69td9wF5ZU=";
};
nativeBuildInputs = [

View File

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "amazon-ion";
version = "0.11.3";
version = "0.12.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -23,7 +23,7 @@ buildPythonPackage rec {
rev = "refs/tags/v${version}";
# Test vectors require git submodule
fetchSubmodules = true;
hash = "sha256-wA24ASd6+rTAqHNQ9ZGMnCK9ykJjogCtEWfrXY1B87o=";
hash = "sha256-L21FYl4Q+nhB3CU1maOxBHSLU+ox1POHtMio8SSZ/r0=";
};
postPatch = ''

View File

@ -31,14 +31,14 @@
buildPythonPackage rec {
pname = "androguard";
version = "3.4.0a1";
version = "4.1.0";
format = "setuptools";
src = fetchFromGitHub {
repo = pname;
owner = pname;
rev = "v${version}";
sha256 = "1aparxiq11y0hbvkayp92w684nyxyyx7mi0n1x6x51g5z6c58vmy";
rev = "refs/tags/v${version}";
sha256 = "sha256-NJYiuAr/rfR24pAhQDysGWXH2bBuvTrJI1jkmrJS8+c=";
};
nativeBuildInputs = [

View File

@ -1,6 +1,5 @@
{ lib
, buildPythonPackage
, fetchpatch
, fetchPypi
, pytestCheckHook
, setuptools
@ -10,22 +9,14 @@
buildPythonPackage rec {
pname = "ansi2html";
version = "1.8.0";
version = "1.9.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-OLgqKYSCofomE/D5yb6z23Ko+DLurFjrLke/Ms039tU=";
hash = "sha256-XGg3oT7MGQOqt6VFNTMSBJ3+3+UQU2KtOo2dIHhx7HE=";
};
patches = [
(fetchpatch {
name = "update-build-requirements.patch";
url = "https://github.com/pycontribs/ansi2html/commit/be9c47dd39e500b2e34e95efde90d0a3b44daaee.patch";
hash = "sha256-nvOclsgysg+4sK694ppls0BLfq5MCJJQW3V/Ru30D/k=";
})
];
nativeBuildInputs = [
setuptools
setuptools-scm

View File

@ -19,7 +19,7 @@
buildPythonPackage rec {
pname = "anthropic";
version = "0.15.0";
version = "0.19.1";
pyproject = true;
disabled = pythonOlder "3.8";
@ -28,7 +28,7 @@ buildPythonPackage rec {
owner = "anthropics";
repo = "anthropic-sdk-python";
rev = "refs/tags/v${version}";
hash = "sha256-cI+CbQir2QpHAb+72clLGG7ZBsrYT3fY14HzxjtKOsk=";
hash = "sha256-D9asbwZ9puOuIK6w7cWJ2HmC3JYjamUZPOxVKWq+Va4=";
};
nativeBuildInputs = [

View File

@ -7,17 +7,16 @@
buildPythonPackage rec {
pname = "anyconfig";
version = "0.13.0";
version = "0.14.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-A/8uF2KvOI+7vtHBq3+fHsAGqR2n2zpouWPabneV0qw=";
hash = "sha256-LN9Ur12ujpF0Pe2CxU7Z2Krvo6lyL11F6bX3S2A+AU0=";
};
postPatch = ''
substituteInPlace setup.cfg \
--replace "--cov=src -vv" ""
sed -i '/addopts =/d' setup.cfg
'';
propagatedBuildInputs = [
@ -36,6 +35,7 @@ buildPythonPackage rec {
disabledTestPaths = [
# NameError: name 'TT' is not defined
"tests/schema/test_jsonschema.py"
"tests/backend/loaders/pickle/test_pickle_stdlib.py"
];
pythonImportsCheck = [ "anyconfig" ];

View File

@ -29,7 +29,7 @@
buildPythonPackage rec {
pname = "anyio";
version = "4.2.0";
version = "4.3.0";
pyproject = true;
disabled = pythonOlder "3.8";
@ -38,7 +38,7 @@ buildPythonPackage rec {
owner = "agronholm";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-9BxzdeQ5Yh4FDXGNVx9kiy7/fBmn8esvZkrK4wW4oGA=";
hash = "sha256-y58DQiTD0ZKaBNf0cA3MFE+7F68Svrl+Idz6BZY7HWQ=";
};
nativeBuildInputs = [

View File

@ -44,6 +44,11 @@ buildPythonPackage rec {
pytestCheckHook
];
pytestFlagsArray = [
# pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
"-W" "ignore::pytest.PytestRemovedIn8Warning"
];
# Tests print “Fontconfig error: Cannot load default config file”
preCheck = lib.optionalString withGraphviz ''
export FONTCONFIG_FILE=${fontconfig.out}/etc/fonts/fonts.conf

View File

@ -49,14 +49,14 @@
buildPythonPackage rec {
pname = "apache-beam";
version = "2.52.0";
version = "2.54.0";
pyproject = true;
src = fetchFromGitHub {
owner = "apache";
repo = "beam";
rev = "refs/tags/v${version}";
hash = "sha256-s/DgTMsJc3c3dqR5Ak9p+xmLm72uNL3AofGzR26B3nI=";
hash = "sha256-DcqYBPAS+yUqTJLUem8+2OqRUzb6DoBOeRkMjmvuvws=";
};
patches = [

View File

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "apsw";
version = "3.44.2.0";
version = "3.45.1.0";
format = "setuptools";
disabled = isPyPy;
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "rogerbinns";
repo = "apsw";
rev = "refs/tags/${version}";
hash = "sha256-H7aqZHU4SXNrfbv6iwHckkNm5MeGkro42+njSoFJgS4=";
hash = "sha256-NkpkciLR2TgfK/7UQHEzvQu8qRj4UJyOlGQbiV23qrc=";
};
buildInputs = [

View File

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "archspec";
version = "0.2.2";
version = "0.2.3";
pyproject = true;
disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
repo = "archspec";
rev = "refs/tags/v${version}";
fetchSubmodules = true;
hash = "sha256-6+1TiXCBqW8YH/ggZhRcZV/Tyh8Ku3ocwxf9z9KrCZY=";
hash = "sha256-Ek+rmgvG6DbtxljAEHVac/JzNI1MaLpPu4G8nhaxzg8=";
};
nativeBuildInputs = [

View File

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "argcomplete";
version = "3.2.1";
version = "3.2.2";
pyproject = true;
disabled = pythonOlder "3.8";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "kislyuk";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-gOKuFv04Qv9ry7LEKC9zIe7kJvHNFhTBDUrL+zu8AYk=";
hash = "sha256-xHUK57Adp3pnzHtFzvjFYb3t1cywRrEeKKXgJJqg10s=";
};
nativeBuildInputs = [

View File

@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "argh";
version = "0.30.4";
version = "0.31.2";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-n8qOacTa1PjSp7373YCwdURitTUQoD4bXPK0Oofm6WA=";
hash = "sha256-2xw0iFgE99RkbDhdwvsZtFKYVhMi9MFerhsTOZP54yM=";
};
nativeBuildInputs = [

View File

@ -21,15 +21,15 @@
buildPythonPackage rec {
pname = "aria2p";
version = "0.11.2";
version = "0.12.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "pawamoy";
repo = pname;
rev = version;
hash = "sha256-z74ej6J6Yh1aVsXR5fE+XhoCzCS+zfDxQL8gKFd7tBA=";
rev = "refs/tags/${version}";
hash = "sha256-WlbZP2+qUSyfmeFFiuarXI3VaNZvD9cnOef/WM+J0OE=";
};
nativeBuildInputs = [

View File

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "asdf-standard";
version = "1.0.3";
version = "1.1.1";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "asdf_standard";
inherit version;
hash = "sha256-r9j/mnDnsX9rzGTrkqVEhn1dT+HwB2cZFC/fYrls/UQ=";
hash = "sha256-AVNbwrFb/AnsimLUmZ+c8y3EnccWYMhCVkAij9h3YQI=";
};
nativeBuildInputs = [

View File

@ -1,5 +1,6 @@
{ lib
, buildPythonPackage
, pythonAtLeast
, pythonOlder
, fetchFromGitHub
, anyio
@ -39,6 +40,12 @@ buildPythonPackage rec {
trio
];
disabledTests = lib.optionals (pythonAtLeast "3.12") [
# stuck in threading waiter.acquire()
"test_https_get"
"test_https_get_checks_cert"
];
pythonImportsCheck = [ "asks" ];
meta = {

View File

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "astroid";
version = "3.0.2"; # Check whether the version is compatible with pylint
version = "3.1.0"; # Check whether the version is compatible with pylint
pyproject = true;
disabled = pythonOlder "3.8";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "PyCQA";
repo = "astroid";
rev = "refs/tags/v${version}";
hash = "sha256-KTmFJKlymI1ACWk3UhbkZF/dB9W8/h6kaAfKLL3yiCA=";
hash = "sha256-+cTQHbqoucaNi7rPoyH6Cu07vZMS8KWn5C/A3NXRSwE=";
};
nativeBuildInputs = [

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "astropy-iers-data";
version = "0.2023.12.04.00.30.20";
version = "0.2024.03.04.00.30.17";
pyproject = true;
disabled = pythonOlder "3.8";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "astropy";
repo = "astropy-iers-data";
rev = "refs/tags/v${version}";
hash = "sha256-r4YCBeAyqzwQghLK56d+nJ/TkoSIHmtiW5Gi5xXM2QM=";
hash = "sha256-BG5hQHvPqpuV2TUsD/kZv3DKx+wjods/XgZw1Z5hygg=";
};
nativeBuildInputs = [

View File

@ -72,6 +72,13 @@ buildPythonPackage rec {
# May fail due to parallelism, see:
# https://github.com/astropy/astropy/issues/15441
"TestUnifiedOutputRegistry"
# fail due to pytest>=8
# https://github.com/astropy/astropy/issues/15960#issuecomment-1913654471
"test_distortion_header"
# flaky
"test_timedelta_conversion"
];
meta = {

View File

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "atlassian-python-api";
version = "3.41.3";
version = "3.41.11";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "atlassian-api";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-MIzBuIeQfAVlllaU02htx1eufRlpe+V9Kzo+EFF45ME=";
hash = "sha256-yQqy+pFl5TK4CEUM+vpwl+pkUjBuc0xvqC9o1ZC5m7c=";
};
propagatedBuildInputs = [

View File

@ -33,6 +33,11 @@ buildPythonPackage rec {
sybil
];
pytestFlagsArray = [
# TypeError: FixtureManager.getfixtureclosure() missing 1 required positional argument: 'ignore_args'
"--ignore=docs/using.rst"
];
postPatch = ''
sed -i '/cov=public/d' pyproject.toml
'';

View File

@ -8,13 +8,13 @@
buildPythonPackage rec {
pname = "attrs";
version = "23.1.0";
version = "23.2.0";
disabled = pythonOlder "3.7";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-YnmDbVgVE6JvG/I1+azTM7yRFWg/FPfo+uRsmPxQ4BU=";
hash = "sha256-k13DtSnCYvbPduUId9NaS9PB3hlP1B9HoreujxmXHzA=";
};
patches = [

View File

@ -1,18 +1,18 @@
diff --git a/pyproject.toml b/pyproject.toml
index fb8fae3..998211f 100644
index 1c72fc2..ae45740 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: MIT
[build-system]
-requires = ["hatchling", "hatch-vcs", "hatch-fancy-pypi-readme"]
-requires = ["hatchling", "hatch-vcs", "hatch-fancy-pypi-readme>=23.2.0"]
+requires = ["hatchling"]
build-backend = "hatchling.build"
@@ -26,7 +26,8 @@ classifiers = [
"Typing :: Typed",
"Typing :: Typed",
]
dependencies = ["importlib_metadata;python_version<'3.8'"]
-dynamic = ["version", "readme"]
@ -20,12 +20,11 @@ index fb8fae3..998211f 100644
+version = "@version@"
[project.optional-dependencies]
tests-no-zope = [
@@ -67,50 +68,9 @@ Changelog = "https://www.attrs.org/en/stable/changelog.html"
Funding = "https://github.com/sponsors/hynek"
tests-mypy = [
@@ -70,54 +71,9 @@ Funding = "https://github.com/sponsors/hynek"
Tidelift = "https://tidelift.com/subscription/pkg/pypi-attrs?utm_source=pypi-attrs&utm_medium=pypi"
-
-[tool.hatch.version]
-source = "vcs"
-raw-options = { local_scheme = "no-local-version" }
@ -68,7 +67,12 @@ index fb8fae3..998211f 100644
-[Full changelog](https://www.attrs.org/en/stable/changelog.html)
-"""
-
-# Point sponsor image URLs to versions.
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
-pattern = '\/latest\/_static/sponsors'
-replacement = '/$HFPR_VERSION/_static/sponsors'
-
# Make coverage play nicely with pytest-xdist.
[tool.hatch.build.targets.wheel.hooks.autorun]
dependencies = ["hatch-autorun"]
-
[tool.pytest.ini_options]
addopts = ["-ra", "--strict-markers", "--strict-config"]
xfail_strict = true

View File

@ -18,7 +18,7 @@
buildPythonPackage rec {
pname = "auth0-python";
version = "4.7.0";
version = "4.7.1";
pyproject = true;
disabled = pythonOlder "3.8";
@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "auth0";
repo = "auth0-python";
rev = "refs/tags/${version}";
hash = "sha256-Z89T0HXB66MZTYNKSK8fHunUBFuI1wT5jcy+P3+9tIk=";
hash = "sha256-udtrvAr8wfg1DbNbBEjA/tlrYhIiXtTFqi4bZCuKI0Q=";
};
nativeBuildInputs = [

View File

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "aws-lambda-builders";
version = "1.45.0";
version = "1.47.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "awslabs";
repo = "aws-lambda-builders";
rev = "refs/tags/v${version}";
hash = "sha256-TmU7neEnHaRuGNzK9VuXUiEayBLZaPqjrnPLvBOQj5g=";
hash = "sha256-hfvqK27yxk/y67gz0N6VuFj8OR3cQMD4iYQtx1XJSgw=";
};
postPatch = ''

View File

@ -16,7 +16,7 @@
buildPythonPackage rec {
pname = "aws-sam-translator";
version = "1.82.0";
version = "1.86.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "aws";
repo = "serverless-application-model";
rev = "refs/tags/v${version}";
hash = "sha256-xAbFF4bKHFv5YAOlMA28lW1Xc37xV83X4r19MdubvFs=";
hash = "sha256-elirU6u6smuYIj8oO6s2ybQB8Tu0pJPkBdjd0W0CfFE=";
};
postPatch = ''

View File

@ -22,7 +22,7 @@
buildPythonPackage rec {
pname = "aws-xray-sdk";
version = "2.12.1";
version = "2.13.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -31,7 +31,7 @@ buildPythonPackage rec {
owner = "aws";
repo = "aws-xray-sdk-python";
rev = "refs/tags/${version}";
hash = "sha256-NLFNst4Yqsz2u5IXwe8OdJPW77irLRO5tWWn1uV3tMg=";
hash = "sha256-KhYYzeOteQxS1ltEUbjsDriHXO0Kom9YiCvVhSNvXVQ=";
};
nativeBuildInputs = [

View File

@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "awslambdaric";
version = "2.0.8";
version = "2.0.10";
pyproject = true;
disabled = isPy27;
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "aws";
repo = "aws-lambda-python-runtime-interface-client";
rev = "refs/tags/${version}";
sha256 = "sha256-0ej+Gy9nF96SaGhohHF9EJObSpHdxIe9QXHNHejVwbQ=";
sha256 = "sha256-tvTN6gV73Qnbe4OBHtfxt4jXV32fMTPE4H79WIkgkxE=";
};
patches = [

View File

@ -25,7 +25,7 @@
buildPythonPackage rec {
pname = "awswrangler";
version = "3.5.2";
version = "3.7.1";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -34,7 +34,7 @@ buildPythonPackage rec {
owner = "aws";
repo = "aws-sdk-pandas";
rev = "refs/tags/${version}";
hash = "sha256-lIEitS/pyOq4RjyUqPzfKOcNtAIWp14sQcLfQ1FwEoE=";
hash = "sha256-6HocnnPG/Id+49NN3WqnSYEnsijA2r13WM2NJIxVwFs=";
};
nativeBuildInputs = [

View File

@ -20,14 +20,14 @@
buildPythonPackage rec {
pname = "ax";
version = "0.3.6";
version = "0.3.7";
format = "pyproject";
src = fetchFromGitHub {
owner = "facebook";
repo = pname;
rev = version;
hash = "sha256-5f2VpOFDRz6YzxvxFYWMu8hljkMVbBsyULYVreUxYRU=";
rev = "refs/tags/${version}";
hash = "sha256-UOX8Q7F5c9J1KSfQUy8aoL5CNb9YmEI4X7Fd5B16UqQ=";
};
nativeBuildInputs = [

View File

@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "axisregistry";
version = "0.4.5";
version = "0.4.9";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-elQUcl6Zh/3xXLduFKbiXZ6uQsDE8C6M3QnTEwaJlaA=";
hash = "sha256-obpjiX86fzokao7UWQUXgarKYRNdxplr6/r2D2d7DCI=";
};
propagatedBuildInputs = [

View File

@ -12,14 +12,14 @@
buildPythonPackage rec {
pname = "azure-servicebus";
version = "7.11.4";
version = "7.12.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-970pd5G2pXfONqOeoKuxCqD4dba7DTFSLtntK7AojUw=";
hash = "sha256-Xr5KU7/BAw9AH2lOrB7NJ8FB2ATl5vzyNXQrLWKUbks=";
};
propagatedBuildInputs = [

View File

@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "azure-storage-blob";
version = "12.19.0";
version = "12.19.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-JsCkMgo0o8Kht0UoumgS68tjKgTNZ7HHN3IyxLAaWJc=";
hash = "sha256-E+FrpC/FSsLH6Pl2BiFzpcgrnsBZRyjhNKrDcpZaEbA=";
};
propagatedBuildInputs = [

View File

@ -1,7 +1,7 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, glibcLocales
, importlib-metadata
, logfury
@ -10,28 +10,34 @@
, pytest-lazy-fixture
, pytest-mock
, pythonOlder
, pythonRelaxDepsHook
, pdm-backend
, requests
, setuptools
, setuptools-scm
, tqdm
, typing-extensions
}:
buildPythonPackage rec {
pname = "b2sdk";
version = "1.29.1";
version = "1.32.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-Talw1P0JnPdU+dDgC8J2TJSOV/LshgQyBbPYEqzKpfA=";
src = fetchFromGitHub {
owner = "Backblaze";
repo = "b2-sdk-python";
rev = "refs/tags/v${version}";
hash = "sha256-xBLMvH51zbrSuBOtMxLeQJt7Wv31OcxBbD72EuLHzuU=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
pdm-backend
pythonRelaxDepsHook
];
pythonRemoveDeps = [
"setuptools"
];
propagatedBuildInputs = [
@ -53,11 +59,6 @@ buildPythonPackage rec {
glibcLocales
];
postPatch = ''
substituteInPlace setup.py \
--replace 'setuptools_scm<6.0' 'setuptools_scm'
'';
disabledTestPaths = [
# requires aws s3 auth
"test/integration/test_download.py"

View File

@ -4,7 +4,7 @@
buildPythonPackage rec {
pname = "bayespy";
version = "0.5.28";
version = "0.6.1";
format = "setuptools";
# Python 2 not supported and not some old Python 3 because MPL doesn't support
@ -13,7 +13,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "sha256-0NKxx3dGNNsYc0nD9nIwJ1wpDJHu4Ny+Z/zzj4jys40=";
sha256 = "sha256-3N8w/LiTLsDZbHp3z26FvDg3vStB2l3XkIWx+Mma1G0=";
};
nativeCheckInputs = [ pytestCheckHook nose glibcLocales ];

View File

@ -1,7 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, chardet
, hatchling
, html5lib
@ -22,8 +21,8 @@
buildPythonPackage rec {
pname = "beautifulsoup4";
version = "4.12.2";
format = "pyproject";
version = "4.12.3";
pyproject = true;
outputs = ["out" "doc"];
@ -31,21 +30,9 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
hash = "sha256-SSu8adyjXRLarHHE2xv/8Mh2wA70ov+sziJtRjjrcto=";
hash = "sha256-dOPRko7cBw0hdIGFxG4/szSQ8i9So63e6a7g9Pd4EFE=";
};
patches = [
# Fix test with libxml 2.12.
# https://bugs.launchpad.net/beautifulsoup/+bug/2045481
(fetchpatch {
url = "https://bugs.launchpad.net/beautifulsoup/+bug/2045481/+attachment/5726132/+files/2045481.diff";
hash = "sha256-f/Wkh7El4r1iWM2/CSi5AKE1+NsEP3D5pxWgBcZ//Vs=";
excludes = [
"CHANGELOG"
];
})
];
nativeBuildInputs = [
hatchling
sphinxHook

View File

@ -69,7 +69,7 @@
}:
let
version = "1.1.11";
version = "1.2.5";
aws = [ fs-s3fs ];
grpc = [
grpcio
@ -105,7 +105,7 @@ buildPythonPackage {
owner = "bentoml";
repo = "BentoML";
rev = "refs/tags/v${version}";
hash = "sha256-2EjltGfmLalgPD9XNYYduYGzqbumqoglVVL+AbRzMJE=";
hash = "sha256-GBKxyjCs02mxYiMK4GhgFUATRCUSVf8mFbWjuPVD7SU=";
};
# https://github.com/bentoml/BentoML/pull/4227 should fix this test

View File

@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "betamax";
version = "0.8.1";
version = "0.9.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1hki1c2vs7adq7zr56wi6i5bhrkia4s2ywpv2c98ibnczz709w2v";
sha256 = "sha256-gjFuFnm8aHnjyDMY0Ba1S3ySJf8IxEYt5IE+IgONX5Q=";
};
propagatedBuildInputs = [ requests ];

View File

@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "bids-validator";
version = "1.14.0";
version = "1.14.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-M7D4ZcGqPjn7klGN8WP6a3lHjRqhAq9S/VNwSl7y6kY=";
hash = "sha256-Rv8fBCLm16K33co+H0WcN7rSaKoS1bjGvg2pKcEhm/4=";
};
nativeBuildInputs = [

View File

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "bitarray";
version = "2.8.5";
version = "2.9.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-t1ZP0hjMRHn38BBtNB4Jb3iQe0eGWu7/cCyAffGSfAE=";
hash = "sha256-qPKGpRoyMjcV13dV7ZWflL7xOXLpov5xtgnkDm0nlX4=";
};
checkPhase = ''

View File

@ -24,14 +24,14 @@
buildPythonPackage rec {
pname = "black";
version = "24.1.1";
version = "24.2.0";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-SLV2Dcv+XPl/1PuiOUZoHzqBUUxquKRbUNpnrI+8bHs";
hash = "sha256-vOTyXCfDQ15NrOSBW8sgCLh+Fn479O5HzNxc6QbrSJQ=";
};
nativeBuildInputs = [

View File

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "blobfile";
version = "2.0.2";
version = "2.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "christopher-hesse";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-vVoiNIN/LNdbedaOQ+gtj4jhzmrGri49fftHKG+K/fg=";
hash = "sha256-VBh1JMP+8FEqD0uXpxA5RRMFH9XIUb4FUgsPq3vZWHM=";
};
propagatedBuildInputs = [

View File

@ -13,14 +13,14 @@
buildPythonPackage rec {
pname = "bluecurrent-api";
version = "1.0.6";
version = "1.2.1";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-XHVdtkiG0ff/OY8g+W5iur7OAyhhk1UGA+XUfB2L8/o=";
hash = "sha256-vr6mehGRXHW+fP2luLpD14igCdIgJI5NXzaa+bEife0=";
};
nativeBuildInputs = [

View File

@ -16,15 +16,15 @@
buildPythonPackage rec {
pname = "bork";
version = "7.0.2";
version = "8.0.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "duckinator";
repo = pname;
rev = "v${version}";
hash = "sha256-sHCPT6nTenE6mbTifNPtg0OMNIJCs7LRcF8Xuk+MwLs=";
rev = "refs/tags/v${version}";
hash = "sha256-BDwVhKmZ/F8CvpT6dEI5moQZx8wHy1TwdOl889XogEo=";
};
nativeBuildInputs = [

View File

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "boto3";
version = "1.34.49"; # N.B: if you change this, change botocore and awscli to a matching version
version = "1.34.58"; # N.B: if you change this, change botocore and awscli to a matching version
pyproject = true;
disabled = pythonOlder "3.8";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "boto";
repo = "boto3";
rev = "refs/tags/${version}";
hash = "sha256-/pgbLSL5RJ5RrKUAfQ1QNJykBdICrpqnuziHOVHt1JI=";
hash = "sha256-2L4pHjrDoy7dPZm0nx+NXZV/K3ZVx7FrNGYZTMrwAs4=";
};
nativeBuildInputs = [
@ -31,7 +31,6 @@ buildPythonPackage rec {
];
pythonRelaxDeps = [
"botocore"
"s3transfer"
];

View File

@ -14,14 +14,14 @@
buildPythonPackage rec {
pname = "botocore";
version = "1.34.49"; # N.B: if you change this, change boto3 and awscli to a matching version
version = "1.34.58"; # N.B: if you change this, change boto3 and awscli to a matching version
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-2JQQvGBnPq/xaZ8/H9yw46Xh96agSMDYjDzlw1SUM+w=";
hash = "sha256-11IWlSiG3FE+obXil5pq8I/u0vU34/wQLkoKLq1WOjU=";
};
pythonRelaxDeps = [

View File

@ -16,14 +16,14 @@
buildPythonPackage rec {
pname = "botorch";
version = "0.9.5";
version = "0.10.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "pytorch";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-M/VOt0p7io0K+VHrAmBJQ71VigH0Ll1D5it6+/o/3jg=";
hash = "sha256-IaFtQWrgOhVHDOiPQ4oG8l+Q0igWamYVWEReGccbVoI=";
};
nativeBuildInputs = [

View File

@ -15,14 +15,14 @@
buildPythonPackage rec {
pname = "broadbean";
version = "0.11.0";
version = "0.14.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-e+LAcmWxT+SkaWtToPgg+x3QRu5fCSm+w4dLCcyZrw8=";
hash = "sha256-v+Ov6mlSnaJG98ooA9AhPGJflrFafKQoO5wi+PxcZVw=";
};
patches = [

View File

@ -19,7 +19,7 @@
buildPythonPackage rec {
pname = "build";
version = "1.0.3";
version = "1.1.1";
format = "pyproject";
disabled = pythonOlder "3.7";

View File

@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "buildcatrust";
version = "0.2.1";
version = "0.3.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-mjX+T5xo6cD1GxJ49Tx7zthPbGPFPYaf2qcNKVHEzJA=";
hash = "sha256-Ac10CZdihFBmr5LE6xFKx4+zr2n5nyR23px6N4vN05M=";
};
nativeBuildInputs = [

View File

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "cachelib";
version = "0.10.2";
version = "0.12.0";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -16,7 +16,7 @@ buildPythonPackage rec {
owner = "pallets";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-2V2FvZC8jM84fZEdK9ShzFrjO8goOQsN6cnJTHDDL9E=";
hash = "sha256-gSBY8zMGVn5Ndu4OexMP1v7bhXAAdl2UcEjjKFa21rE=";
};
nativeCheckInputs = [
@ -27,6 +27,7 @@ buildPythonPackage rec {
disabledTestPaths = [
# requires set up local server
"tests/test_dynamodb_cache.py"
"tests/test_mongodb_cache.py"
];
pythonImportsCheck = [ "cachelib" ];

View File

@ -1,25 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, cairocffi
, cssselect2
, defusedxml
, fetchPypi
, pillow
, tinycss2
, pytestCheckHook
, setuptools
, tinycss2
}:
buildPythonPackage rec {
pname = "CairoSVG";
version = "2.7.0";
disabled = !isPy3k;
pname = "cairosvg";
version = "2.7.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-rE3HwdOLOhVxfbJjOjo4MBLgvmZMcnyRFjfmr2pJKTw=";
pname = "CairoSVG";
inherit version;
hash = "sha256-QyUx1yNHKRuanr+2d3AmtgdWP9hxnEbudC2wrvcnG6A=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ cairocffi cssselect2 defusedxml pillow tinycss2 ];
propagatedNativeBuildInputs = [ cairocffi ];
@ -44,6 +47,7 @@ buildPythonPackage rec {
meta = with lib; {
homepage = "https://cairosvg.org";
changelog = "https://github.com/Kozea/CairoSVG/releases/tag/${version}";
license = licenses.lgpl3Plus;
description = "SVG converter based on Cairo";
maintainers = with maintainers; [ ];

View File

@ -17,14 +17,14 @@
buildPythonPackage rec {
pname = "cantools";
version = "39.4.4";
version = "39.4.5";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-bo6Ri2ZxpiqfOZBUbs5WI+Hetx3vsc74WplVrDAdqZ4=";
hash = "sha256-WU8q6A3q24xrCOjhMi1C4lj0DULIDWiG2E4BQ/kLWiM=";
};
postPatch = ''

View File

@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "catppuccin";
version = "1.3.2";
version = "2.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "catppuccin";
repo = "python";
rev = "v${version}";
hash = "sha256-spPZdQ+x3isyeBXZ/J2QE6zNhyHRfyRQGiHreuXzzik=";
rev = "refs/tags/v${version}";
hash = "sha256-/RINDyO0cngDy9APqsFHBFBKi8aDf7Tah/IIFdXQURo=";
};
nativeBuildInputs = [

View File

@ -8,24 +8,26 @@
buildPythonPackage rec {
pname = "celery-types";
version = "0.20.0";
format = "pyproject";
version = "0.22.0";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchPypi {
inherit pname version;
hash = "sha256-5cdiVVYF7QWSuu2dUZIwBGzo56EcZ6ghVVwIt87OGWA=";
pname = "celery_types";
inherit version;
hash = "sha256-DsrS+lpu3tCh+Rnl4eOBzC/wY1/ksh21O0ZhtodtWzA=";
};
propagatedBuildInputs = [
typing-extensions
];
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
typing-extensions
];
doCheck = false;
meta = with lib; {

View File

@ -74,6 +74,8 @@ buildPythonPackage rec {
# test_multi tries to create directories under /var
"t/unit/bin/test_multi.py"
"t/unit/apps/test_multi.py"
# requires moto<5
"t/unit/backends/test_s3.py"
];
disabledTests = [

View File

@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "cffsubr";
version = "0.2.9.post1";
version = "0.3.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-azFBLc9JyPqEZkvahn4u3cVbb+b6aW/yU8TxOp/y/Fw=";
hash = "sha256-d0UVC9uBZ5+s3RHB87hwlsT029SVfo/Ou4jEVoeVLvs=";
};
patches = [

View File

@ -20,7 +20,7 @@
buildPythonPackage rec {
pname = "cfn-lint";
version = "0.84.0";
version = "0.86.0";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -29,7 +29,7 @@ buildPythonPackage rec {
owner = "aws-cloudformation";
repo = "cfn-lint";
rev = "refs/tags/v${version}";
hash = "sha256-N1bMJdPgl3Ohe4MhmFB5KH2FK4Vp2jB0RUscLFDvi2k=";
hash = "sha256-QkxCQ8YPRZSqAidmPus4JCgzez6uuRWvcaqfZsvugtY=";
};
propagatedBuildInputs = [

View File

@ -66,6 +66,10 @@ buildPythonPackage rec {
websocket-client
];
pytestFlagsArray = [
"-W" "ignore::pytest.PytestRemovedIn8Warning"
];
disabledTestPaths = [
# Don't check the templates and the sample app
"chalice/templates"

View File

@ -23,7 +23,7 @@
buildPythonPackage rec {
pname = "clarifai";
version = "10.1.0";
version = "10.1.1";
pyproject = true;
disabled = pythonOlder "3.8";
@ -32,7 +32,7 @@ buildPythonPackage rec {
owner = "Clarifai";
repo = "clarifai-python";
rev = "refs/tags/${version}";
hash = "sha256-/2PIsSsYr/R7DuTX/ndBAOX7C3IaFqPw16ZAX8E1Vk8=";
hash = "sha256-36XceC40cL0SywY0Mus/s8OCO0ujWqxEIKZW+fvd7lw=";
};
pythonRelaxDeps = [

View File

@ -24,7 +24,7 @@
buildPythonPackage rec {
pname = "cleanlab";
version = "2.5.0";
version = "2.6.1";
pyproject = true;
disabled = pythonOlder "3.7";
@ -32,7 +32,7 @@ buildPythonPackage rec {
owner = "cleanlab";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-5XQQVrhjpvjwtFM79DqttObmw/GQLkMQVXb5jhiC8e0=";
hash = "sha256-+uJtm/t6Ri25V/9N/2fcOgCOBaBy8PrsM/tO1uX7FEY=";
};
nativeBuildInputs = [ setuptools ];

View File

@ -17,12 +17,12 @@
buildPythonPackage rec {
pname = "cliff";
version = "4.4.0";
version = "4.6.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-qo1ASqLWtNhjnGG9bcR6yzZW68P8Alsbe7B68rrveF8=";
hash = "sha256-LzjOi9HqSVjWbxWwZqxH5l1h9gC5MZuSHhLp6cvNmdA=";
};
postPatch = ''

View File

@ -12,6 +12,7 @@
, psutil
, pydantic
, pytestCheckHook
, pytest_7
, pytest-cases
, pytest-cov
, pytest-xdist
@ -65,7 +66,7 @@ buildPythonPackage rec {
google-cloud-storage
psutil
pydantic
pytestCheckHook
(pytestCheckHook.override { pytest = pytest_7; })
pytest-cases
pytest-cov
pytest-xdist

View File

@ -8,14 +8,14 @@
buildPythonPackage rec {
pname = "cmarkgfm";
version = "2022.10.27";
version = "2024.1.14";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-k9msdxbqkBygv9GK47aPH2v1HeCDDD8jPvc0/NUqB5k=";
hash = "sha256-ogjBcm4SujhRJc7yxtN1xBxd6kzCZzp3r3ErHb8HTpA=";
};
propagatedNativeBuildInputs = [

View File

@ -17,14 +17,14 @@
buildPythonPackage rec {
pname = "coconut";
version = "3.0.4";
version = "3.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "evhub";
repo = "coconut";
rev = "refs/tags/v${version}";
hash = "sha256-TIYep9EuCfcN8bp0vkaoB5W626lrD4PVh+oYKmVrfeY=";
hash = "sha256-xlA/yryUXZCU56gJ0y7M9JHgWkvXiB09ywyf0sP1o+4=";
};
nativeBuildInputs = [

View File

@ -1,15 +1,23 @@
{ lib, buildPythonPackage, fetchPypi }:
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
}:
buildPythonPackage rec {
pname = "cogapp";
version = "3.3.0";
format = "setuptools";
version = "3.4.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "1be95183f70282422d594fa42426be6923070a4bd8335621f6347f3aeee81db0";
sha256 = "sha256-qAbV254xihotP86YgAgXkWjn2xPl5VsZt5dj+budKYI=";
};
nativeBuildInputs = [
setuptools
];
# there are no tests
doCheck = false;

View File

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "coincurve";
version = "18.0.0";
version = "19.0.1";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "ofek";
repo = "coincurve";
rev = "refs/tags/v${version}";
hash = "sha256-Z5g6ten8wNICoFu7+aZc6r8ET+RDmFeb93ONjsTzcbw=";
hash = "sha256-T60iKRrc8/t86nqf8/R4971SjOw586YNCWWBuLd9MjM=";
};
postPatch = ''

View File

@ -9,12 +9,12 @@
buildPythonPackage rec {
pname = "colorcet";
version = "3.0.1";
version = "3.1.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-UUVaIDU9EvrJH5U3cthAnyR05qDbGvP6T3AF9AWiSAs=";
hash = "sha256-KSGzzYGiKIqvLWPbwM48JtzYgujDicxQXWiGv3qppOs=";
};
propagatedBuildInputs = [

View File

@ -1,20 +1,26 @@
{ lib
, buildPythonPackage
, fetchPypi
, hatchling
, portalocker
}:
buildPythonPackage rec {
pname = "concurrent-log-handler";
version = "0.9.24";
format = "setuptools";
version = "0.9.25";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-APVkbG5fb8Y2VFNvO0Sqorm3SyMkXhT1JY7ZHOOdEuI=";
pname = "concurrent_log_handler";
inherit version;
hash = "sha256-HixvAhQU4hTT2sZhB4lIJ6PnjbYwGDBKTynlW6VJrCI=";
};
propagatedBuildInputs = [
build-system = [
hatchling
];
dependencies = [
portalocker
];
@ -26,7 +32,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python logging handler that allows multiple processes to safely write to the same log file concurrently";
homepage = "https://pypi.org/project/concurrent-log-handler";
homepage = "https://github.com/Preston-Landers/concurrent-log-handler";
license = licenses.asl20;
maintainers = [ maintainers.bbjubjub ];
};

View File

@ -1,16 +1,28 @@
{ lib, stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, setuptools-scm }:
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, setuptools
, setuptools-scm
}:
buildPythonPackage rec {
pname = "configparser";
version = "6.0.0";
format = "pyproject";
version = "6.0.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-7JFKseVsZy3h9cNIOWTmj3GzTkV5BLe3bga5Iq7AZ6g=";
src = fetchFromGitHub {
owner = "jaraco";
repo = "configparser";
rev = "refs/tags/v${version}";
hash = "sha256-r+poK+knBQi48Z1VrNFqUt9Qm9iGERAOTFa4bKfXi0g=";
};
nativeBuildInputs = [ setuptools-scm ];
nativeBuildInputs = [
setuptools
setuptools-scm
];
nativeCheckInputs = [ pytestCheckHook ];
@ -18,12 +30,6 @@ buildPythonPackage rec {
export LC_ALL=${if stdenv.isDarwin then "en_US" else "C"}.UTF-8
'';
preCheck = ''
# avoid FileNotFoundError
# FileNotFoundError: [Errno 2] No such file or directory: 'cfgparser.3'
cd tests
'';
meta = with lib; {
description = "Updated configparser from Python 3.7 for Python 2.6+.";
homepage = "https://github.com/jaraco/configparser";

View File

@ -89,6 +89,11 @@ buildPythonPackage rec {
disabledTests = [
# AssertionError
"test_headers"
# waiter.acquire() deadlock
"test_cors_server_error"
"test_get_bad_default_response"
"test_schema_response"
"test_writeonly"
];
meta = with lib; {

View File

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "cookiecutter";
version = "2.5.0";
version = "2.6.0";
pyproject = true;
# not sure why this is broken
@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
hash = "sha256-5h6QNHSOP0G4vSwR8A0DB4S0hxHE1cQjY8UJiaZTMew=";
hash = "sha256-2yH4Fp6k9P3CQI1IykSFk0neJkf75JSp1sPt/AVCwhw=";
};
nativeBuildInputs = [

View File

@ -9,12 +9,12 @@
buildPythonPackage rec {
pname = "cornice";
version = "6.0.1";
version = "6.1.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "6edf6f206ff1c3d108d7a7b9ae640a2f4737cfc04f0914ccc4eefe511d3a8985";
sha256 = "sha256-v9G2wqmRp8yxsggrbenjuPGYtqK0oHqwgA4F3wWkU2E=";
};
propagatedBuildInputs = [ pyramid simplejson six venusian ];

View File

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "coverage";
version = "7.3.2";
version = "7.4.3";
pyproject = true;
# uses f strings
@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
hash = "sha256-vjKtKTQbAXDnlcpZDhwH6B/AYctbEMdM5yA0kUhEBO8=";
hash = "sha256-J29gd6XGFEekjRM+0T51nAnmKv8NyEJ0po3BhmAQTVI=";
};
nativeBuildInputs = [

View File

@ -4,35 +4,31 @@
, rustPlatform
, stdenv
, libiconv
, brotli
, hypothesis
, lz4
, memory-profiler
, numpy
, py
, pytest-benchmark
, pytest-xdist
, pytestCheckHook
, python-snappy
, zstd
}:
buildPythonPackage rec {
pname = "cramjam";
version = "2.6.2.post1";
format = "pyproject";
version = "2.8.2";
pyproject = true;
src = fetchFromGitHub {
owner = "milesgranger";
repo = "pyrus-cramjam";
rev = "refs/tags/v${version}";
hash = "sha256-KU1JVNEQJadXNiIWTvI33N2NSq994xoKxcAGGezFjaI=";
hash = "sha256-BO35s7qOW4+l968I9qn9L1m2BtgRFNYUNlA7W1sctT8=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
hash = "sha256-w1bEf+etLgR/YOyLmC3lFtO9fqAx8z2aul/XIKUQb5k=";
hash = "sha256-YWXf+ZDJLq6VxI5sa9G63fCPz2377BVSTmPM0mQSu8M=";
};
buildAndTestSubdir = "cramjam-python";
nativeBuildInputs = with rustPlatform; [
cargoSetupHook
maturinBuildHook
@ -41,24 +37,18 @@ buildPythonPackage rec {
buildInputs = lib.optional stdenv.isDarwin libiconv;
nativeCheckInputs = [
brotli
hypothesis
lz4
memory-profiler
numpy
py
pytest-benchmark
pytest-xdist
pytestCheckHook
python-snappy
zstd
];
pytestFlagsArray = [
"--benchmark-disable"
"cramjam-python/tests"
];
disabledTestPaths = [
"benchmarks/test_bench.py"
"cramjam-python/benchmarks/test_bench.py"
];
pythonImportsCheck = [

View File

@ -12,13 +12,13 @@
buildPythonPackage rec {
pname = "cryptoparser";
version = "0.12.2";
version = "0.12.3";
pyproject = true;
src = fetchPypi {
pname = "CryptoParser";
inherit version;
hash = "sha256-SG7I/uOWZapjZ5zGW1HndGqaYc2k2aRWf3IWlartIJE=";
hash = "sha256-1A0VEpUPsYtEu2aT+ldt/Z/PtV8lvD+9jSx75yGB6Ao=";
};
postPatch = ''

View File

@ -42,6 +42,11 @@ buildPythonPackage rec {
importlib-resources
];
pytestFlagsArray = [
# pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
"-W" "ignore::pytest.PytestRemovedIn8Warning"
];
disabledTests = [
# access network
"test_parseUrl"

View File

@ -1,25 +1,34 @@
{ lib
, fetchPypi
, fetchFromGitHub
, buildPythonPackage
, py
, pytestCheckHook
, pytest-html
, pyyaml
, setuptools
}:
buildPythonPackage rec {
pname = "cucumber-tag-expressions";
version = "4.1.0";
format = "setuptools";
version = "6.1.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "e314d5fed6eebb2f90380271f562248fb15e18636764faf40f4dde4b28b1f960";
src = fetchFromGitHub{
owner = "cucumber";
repo = "tag-expressions";
rev = "refs/tags/v${version}";
hash = "sha256-etJKAOamCq63HsUqJMPBnmn0YFO3ZHOvs3/rDHN7YPU=";
};
sourceRoot = "${src.name}/python";
build-system = [
setuptools
];
nativeCheckInputs = [
py
pytestCheckHook
pytest-html
pyyaml
];
meta = with lib; {

View File

@ -40,14 +40,14 @@ let
in
buildPythonPackage rec {
pname = "cupy";
version = "12.3.0";
version = "13.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-R9syEU5v3UjQUQy/Cwiwk1Ui19+j45QWsMDaORQyNSQ=";
hash = "sha256-LwTnhX9pKnEzYNycOwZwmAarhAT8o5ta+XIcBKKXmq4=";
};
# See https://docs.cupy.dev/en/v10.2.0/reference/environment.html. Seting both

View File

@ -11,13 +11,13 @@
buildPythonPackage rec {
pname = "cytoolz";
version = "0.12.2";
version = "0.12.3";
format = "setuptools";
disabled = isPy27 || isPyPy;
src = fetchPypi {
inherit pname version;
hash = "sha256-MdSwRV1y2RRkX4A9kX2vTzFNEVxw3gV404IN64sQH2Y=";
hash = "sha256-RQPcWfTO1TpUZDJyxh3DBdHbv719a98paUjenzTDooI=";
};
nativeBuildInputs = [ cython ];

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