mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
[python-updates] minor updates (2024-09-29) (#345326)
This commit is contained in:
commit
bb02d6c33d
10
pkgs/by-name/pr/pretix/fakeredis-0.25-compat.patch
Normal file
10
pkgs/by-name/pr/pretix/fakeredis-0.25-compat.patch
Normal file
@ -0,0 +1,10 @@
|
||||
diff --git a/src/pretix/testutils/mock.py b/src/pretix/testutils/mock.py
|
||||
index 66ee3fb52..9d9ba02bd 100644
|
||||
--- a/src/pretix/testutils/mock.py
|
||||
+++ b/src/pretix/testutils/mock.py
|
||||
@@ -38,4 +38,4 @@ def mocker_context():
|
||||
|
||||
|
||||
def get_redis_connection(alias="default", write=True):
|
||||
- return fakeredis.FakeStrictRedis(server=fakeredis.FakeServer.get_server("127.0.0.1:None:v(7, 0)", (7, 0)))
|
||||
+ return fakeredis.FakeStrictRedis(server=fakeredis.FakeServer.get_server("127.0.0.1:None:v(7, 0)", (7, 0), server_type="redis"))
|
@ -87,6 +87,9 @@ python.pkgs.buildPythonApplication rec {
|
||||
# Discover pretix.plugin entrypoints during build and add them into
|
||||
# INSTALLED_APPS, so that their static files are collected.
|
||||
./plugin-build.patch
|
||||
|
||||
# TypeError: FakeServer.get_server() missing 1 required positional argument: 'server_type'
|
||||
./fakeredis-0.25-compat.patch
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
@ -98,6 +101,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
"protobuf"
|
||||
"pyjwt"
|
||||
"python-bidi"
|
||||
"redis"
|
||||
"requests"
|
||||
"sentry-sdk"
|
||||
];
|
||||
|
@ -7,18 +7,18 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "selenium-manager";
|
||||
version = "4.24.0";
|
||||
version = "4.25.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SeleniumHQ";
|
||||
repo = "selenium";
|
||||
rev = "selenium-${version}";
|
||||
hash = "sha256-AsQr9kGv2dxkiFzptDA0D27OXZjYj7oDKz2oEQ2qW7s=";
|
||||
hash = "sha256-ykZdL2Rn+bU8do3e9zf9pJtInBNRGLcXi5pD1vm7OJY=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/rust";
|
||||
|
||||
cargoHash = "sha256-mirEeOi6CfKjb8ZuqardJeYy9EGnpsw5fkUw7umhkro=";
|
||||
cargoHash = "sha256-8is7lQ+V1Xf+Aturg836jRMoHIJzDoSVJT5ZOd8W51k=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
|
@ -20,10 +20,10 @@
|
||||
sourceVersion = {
|
||||
major = "3";
|
||||
minor = "12";
|
||||
patch = "6";
|
||||
patch = "7";
|
||||
suffix = "";
|
||||
};
|
||||
hash = "sha256-GZllgpjPL7g33/7Y/zwDPvDJjvIM9zxdX2a+1auJaXw=";
|
||||
hash = "sha256-JIh7kuKv1KKsYCQZrUtZY3L2esmwdxkPRZq6OQ+vVVA=";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchurl
|
||||
, fetchpatch2
|
||||
, glib
|
||||
, flex
|
||||
, bison
|
||||
@ -60,6 +61,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
src = ./absolute_shlib_path.patch;
|
||||
inherit nixStoreDir;
|
||||
})
|
||||
(fetchpatch2 {
|
||||
name = "setuptools-74.0-compat.patch";
|
||||
url = "https://github.com/GNOME/gobject-introspection/commit/a2139dba59eac283a7f543ed737f038deebddc19.patch";
|
||||
hash = "sha256-n++wpQuJhAEYtcu8LZDC4+Tx1MYuFIMysFgrvz68jWU=";
|
||||
})
|
||||
] ++ lib.optionals x11Support [
|
||||
# Hardcode the cairo shared library path in the Cairo gir shipped with this package.
|
||||
# https://github.com/NixOS/nixpkgs/issues/34080
|
||||
|
@ -11,12 +11,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "a2wsgi";
|
||||
version = "1.10.4";
|
||||
version = "1.10.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-UOgaxVqmCfosZm5CuswlxCTIiEzmBy8afpAhFLfuXWM=";
|
||||
hash = "sha256-zkYv9+HarAvFcYPG+ADwmnHCp6mN3VzeyhSePqvzM44=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pdm-backend ];
|
||||
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
six,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -11,21 +11,24 @@ buildPythonPackage rec {
|
||||
version = "2.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-eCB5DvuzFnOc3otOGTVyQ/w2CKFSAkKIUT3ZaNfZWf8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
# checks use bazel; should be revisited
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "absl" ];
|
||||
|
||||
meta = {
|
||||
description = "Abseil Python Common Libraries";
|
||||
homepage = "https://github.com/abseil/abseil-py";
|
||||
changelog = "https://github.com/abseil/abseil-py/blob/v${version}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aerosandbox";
|
||||
version = "4.2.5";
|
||||
version = "4.2.6";
|
||||
format = "wheel";
|
||||
|
||||
src = fetchPypi {
|
||||
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||
|
||||
python = "py3";
|
||||
dist = "py3";
|
||||
hash = "sha256-9WxeXmcOZpKpNn8r6REudQlDRXavym52tvKajYJIfXA=";
|
||||
hash = "sha256-jS1Eh/+2WXZkQC4pt1Rwvw7plJC1NFFC08gqzEyGir4=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aesara";
|
||||
version = "2.9.3";
|
||||
version = "2.9.4";
|
||||
pyproject = true;
|
||||
|
||||
# Python 3.12 is not supported: https://github.com/aesara-devs/aesara/issues/1520
|
||||
@ -35,7 +35,7 @@ buildPythonPackage rec {
|
||||
owner = "aesara-devs";
|
||||
repo = "aesara";
|
||||
rev = "refs/tags/rel-${version}";
|
||||
hash = "sha256-aO0+O7Ts9phsV4ghunNolxfAruGBbC+tHjVkmFedcCI=";
|
||||
hash = "sha256-V34uP50TfH6cLU7nWOx+8oXY1QawtaoIaKQpbLnz7eo=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
@ -5,6 +5,7 @@
|
||||
grpcio,
|
||||
protobuf,
|
||||
pytest-asyncio,
|
||||
pytest-cov-stub,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
@ -29,22 +30,23 @@ buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "setuptools_scm==6.3.2" "setuptools_scm"
|
||||
substituteInPlace setup.cfg \
|
||||
--replace-fail "--cov=aetcd" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDeps = [ "protobuf" ];
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
grpcio
|
||||
protobuf
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiobotocore";
|
||||
version = "2.13.1";
|
||||
version = "2.15.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -30,18 +30,16 @@ buildPythonPackage rec {
|
||||
owner = "aio-libs";
|
||||
repo = "aiobotocore";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-tSxCRms/YstYXWCJWirzhf87ZH4WUav/n7QfMvBwj2s=";
|
||||
hash = "sha256-kPSkvvXBBwnWrdf0jmDNiTG6T1qpm5pNcPDHpnMFdmc=";
|
||||
};
|
||||
|
||||
# Relax version constraints: aiobotocore works with newer botocore versions
|
||||
# the pinning used to match some `extras_require` we're not using.
|
||||
postPatch = ''
|
||||
sed -i "s/'botocore>=.*'/'botocore'/" setup.py
|
||||
'';
|
||||
pythonRelaxDeps = [ "botocore" ];
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiohttp
|
||||
aioitertools
|
||||
botocore
|
||||
|
@ -39,6 +39,10 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$TMPDIR
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "aiodhcpwatcher" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -8,16 +8,17 @@
|
||||
fetchFromGitHub,
|
||||
ifaddr,
|
||||
netifaces,
|
||||
poetry-core,
|
||||
pyroute2,
|
||||
pytest-asyncio,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiodiscover";
|
||||
version = "2.1.0";
|
||||
version = "2.2.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -26,12 +27,12 @@ buildPythonPackage rec {
|
||||
owner = "bdraco";
|
||||
repo = "aiodiscover";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-+DcROb6jR0veD3oSKgyJHUi1VtCT54yBKvVqir5y+R4=";
|
||||
hash = "sha256-A12YeNIm9Pv4zpzaejTk8VvLzKLHxZV2EzVpchLX1k8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
async-timeout
|
||||
aiodns
|
||||
cached-ipaddress
|
||||
@ -43,6 +44,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
@ -11,19 +11,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiofiles";
|
||||
version = "23.2.1";
|
||||
format = "pyproject";
|
||||
version = "24.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Tinche";
|
||||
repo = pname;
|
||||
repo = "aiofiles";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-EbRQD/AoTMWAlPOMWmD0UdFjRyjt5MUBkJtcydUCdHM=";
|
||||
hash = "sha256-uDKDMSNbMIlAaifpEBh1+q2bdZNUia8pPb30IOIgOAE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ hatchling ];
|
||||
build-system = [ hatchling ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
@ -45,6 +45,8 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "File support for asyncio";
|
||||
homepage = "https://github.com/Tinche/aiofiles";
|
||||
license = with licenses; [ asl20 ];
|
||||
changelog = "https://github.com/Tinche/aiofiles/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
aiohttp
|
||||
attrs
|
||||
python-socks
|
||||
];
|
||||
] ++ python-socks.optional-dependencies.asyncio;
|
||||
|
||||
# Checks needs internet access
|
||||
doCheck = false;
|
||||
|
@ -39,7 +39,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohttp";
|
||||
version = "3.10.7";
|
||||
version = "3.10.8";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -48,7 +48,7 @@ buildPythonPackage rec {
|
||||
owner = "aio-libs";
|
||||
repo = "aiohttp";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-UOsWC5P/KT5YMzkAM6WuoOum30b8s4sgSUgR6EskHy0=";
|
||||
hash = "sha256-ksvGRzar1Gp+86WrRFwyHoEdthyzvaAbyubdIhON/sk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -18,14 +18,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiojellyfin";
|
||||
version = "0.10.0";
|
||||
version = "0.10.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Jc2k";
|
||||
repo = "aiojellyfin";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-D4/DlhCeeI4CggW7KGauZ57fHY92JM/kZSUODyNVcNg=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-A+uvM1/7HntRMIdknfHr0TMGIjHk7BCwsZopXdVoEO8=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiojobs";
|
||||
version = "1.2.1";
|
||||
version = "1.3.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
owner = "aio-libs";
|
||||
repo = "aiojobs";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-LwFXb/SHP6bbqPg1tqYwE03FKHf4Mv1PPOxnPdESH0I=";
|
||||
hash = "sha256-FNc71YyAjtR+hd0UOqFAy6XW0PwHSlM76C3ecPM5vsU=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -3,7 +3,6 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
fetchpatch,
|
||||
flit-core,
|
||||
pygments,
|
||||
pytestCheckHook,
|
||||
@ -12,7 +11,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiorun";
|
||||
version = "2023.7.2";
|
||||
version = "2024.5.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -21,18 +20,9 @@ buildPythonPackage rec {
|
||||
owner = "cjrh";
|
||||
repo = "aiorun";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-3AGsT8IUNi5SZHBsBfd7akj8eQ+xb0mrR7ydIr3T8gs=";
|
||||
hash = "sha256-7wgsj44sX2Be/QyvG7KgQ/xSgsr+WPh7eeROeICSHGw=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Raise flit-core version constrains
|
||||
(fetchpatch {
|
||||
# https://github.com/cjrh/aiorun/pull/85
|
||||
url = "https://github.com/cjrh/aiorun/commit/a0c027ea331167712738e35ca70fefcd794e16d5.patch";
|
||||
hash = "sha256-M1rcrkdFcoFa3IncPnJaRhnXbelyk56QnMGtmgB6bvk=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [ flit-core ];
|
||||
|
||||
dependencies = [ pygments ];
|
||||
@ -42,7 +32,6 @@ buildPythonPackage rec {
|
||||
uvloop
|
||||
];
|
||||
|
||||
# allow for writable directory for darwin
|
||||
preBuild = ''
|
||||
export HOME=$TMPDIR
|
||||
'';
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiosql";
|
||||
version = "10.4";
|
||||
version = "12.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
owner = "nackjicholson";
|
||||
repo = "aiosql";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-TETZxIbC7pdak3m1rBwDg7L1yah/bin6iOZD/uANh48=";
|
||||
hash = "sha256-Ouk1bzoczkUeYG0JKOgleLuyu9ll2y17AN7gsUI3SRo=";
|
||||
};
|
||||
|
||||
sphinxRoot = "docs/source";
|
||||
|
@ -22,14 +22,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "alembic";
|
||||
version = "1.13.1";
|
||||
version = "1.13.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-STLIVYv2jy7pK5u8uCGGccYnBk1bCJOUN69td9wF5ZU=";
|
||||
hash = "sha256-IDUDEXQVVh4gOqFFQXQGQ6YR9kFRfwIJ/K5j6foJ8aI=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -2,56 +2,57 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
|
||||
# Runtime dependencies
|
||||
hatchling,
|
||||
toolz,
|
||||
numpy,
|
||||
jsonschema,
|
||||
typing-extensions,
|
||||
pandas,
|
||||
jinja2,
|
||||
packaging,
|
||||
|
||||
# Build, dev and test dependencies
|
||||
anywidget,
|
||||
ipython,
|
||||
ipywidgets,
|
||||
jinja2,
|
||||
jsonschema,
|
||||
narwhals,
|
||||
numpy,
|
||||
packaging,
|
||||
pandas,
|
||||
polars,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
toolz,
|
||||
typing-extensions,
|
||||
vega-datasets,
|
||||
sphinx,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "altair";
|
||||
version = "5.3.0";
|
||||
format = "pyproject";
|
||||
version = "5.4.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "altair-viz";
|
||||
repo = "altair";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-VGtH+baIKObJY8/44JCyKi+XrIddSqOtpNeMCO+8o9M=";
|
||||
hash = "sha256-7C51ACaBuNtOSXqLpuCI5bnLyE9U64vNXlD4/msPq2k=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ hatchling ];
|
||||
build-system = [ hatchling ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
jinja2
|
||||
jsonschema
|
||||
narwhals
|
||||
numpy
|
||||
packaging
|
||||
pandas
|
||||
toolz
|
||||
] ++ lib.optional (pythonOlder "3.11") typing-extensions;
|
||||
] ++ lib.optional (pythonOlder "3.14") typing-extensions;
|
||||
|
||||
nativeCheckInputs = [
|
||||
anywidget
|
||||
ipython
|
||||
sphinx
|
||||
vega-datasets
|
||||
ipywidgets
|
||||
polars
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
vega-datasets
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "altair" ];
|
||||
|
@ -31,6 +31,11 @@ buildPythonPackage rec {
|
||||
hash = "sha256-pf9X1B60FgqTbSw7D80ERHp4GCvCe5lqrlS96xPXLNo=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "pdm-backend~=" "pdm-backend>="
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
git
|
||||
pdm-backend
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "annexremote";
|
||||
version = "1.6.5";
|
||||
version = "1.6.6";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
owner = "Lykos153";
|
||||
repo = "AnnexRemote";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-8WAa5EO5n/dccNW0TUwFgcRjvDFt8QfpHIX2arM4HGc=";
|
||||
hash = "sha256-RShDcqAjG+ujGzWu5S9za24WSsIWctqi3nWQ8EU4DTo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -10,36 +10,38 @@
|
||||
bindep,
|
||||
buildPythonPackage,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ansible-builder";
|
||||
version = "3.0.1";
|
||||
format = "pyproject";
|
||||
version = "3.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-rxyhgj9Cad751tPAptCTLCtXQLUXaRYv39bkoFzzjOk=";
|
||||
pname = "ansible_builder";
|
||||
inherit version;
|
||||
hash = "sha256-0txXPianvVCV6YrrN+6bALyfUAWr6nFH10IpwPNCb8s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
buildInputs = [ bindep ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
podman
|
||||
jsonschema
|
||||
requirements-parser
|
||||
pyyaml
|
||||
];
|
||||
|
||||
patchPhase = ''
|
||||
# the upper limits of setuptools are unnecessary
|
||||
# See https://github.com/ansible/ansible-builder/issues/639
|
||||
sed -i 's/, <=[0-9.]*//g' pyproject.toml
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
buildInputs = [ bindep ];
|
||||
|
||||
dependencies = [
|
||||
podman
|
||||
jsonschema
|
||||
requirements-parser
|
||||
pyyaml
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Ansible execution environment builder";
|
||||
homepage = "https://ansible-builder.readthedocs.io/en/stable/";
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
let
|
||||
pname = "ansible";
|
||||
version = "10.2.0";
|
||||
version = "10.4.0";
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
@ -32,7 +32,7 @@ buildPythonPackage {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-iqBim6js7WRl4s60kCnpPTN8Sm/Fo+bpiCXCWN1qcFc=";
|
||||
hash = "sha256-XBIEiDGmaQ/IZd/gPcirYcO6CLXQGySaFrJHrZmmC8A=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -11,14 +11,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ansitable";
|
||||
version = "0.10.0";
|
||||
version = "0.11.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-ehPPpZ9C/Nrly9WoJJfZtv2YfZ9MEcQsKtuxNpcJe7U=";
|
||||
hash = "sha256-MQ6VLjFDt/dEHDK8PbQsBdfzogJCm+pzyVYDbqkDOao=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
@ -32,7 +32,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "anyio";
|
||||
version = "4.4.0";
|
||||
version = "4.6.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -41,7 +41,7 @@ buildPythonPackage rec {
|
||||
owner = "agronholm";
|
||||
repo = "anyio";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Sz/wWOT59T7LOAq68fBujgkTaY9ydMsIoSxeP3fBaoY=";
|
||||
hash = "sha256-aC/+46SWrpt+4MtvrqZq4gljWb3Kgps2r2/CeN0JfHE=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools-scm ];
|
||||
@ -78,10 +78,19 @@ buildPythonPackage rec {
|
||||
"'not network'"
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# PermissionError: [Errno 1] Operation not permitted: '/dev/console'
|
||||
"test_is_block_device"
|
||||
];
|
||||
disabledTests =
|
||||
[
|
||||
# TypeError: __subprocess_run() got an unexpected keyword argument 'umask'
|
||||
"test_py39_arguments"
|
||||
# AttributeError: 'module' object at __main__ has no attribute '__file__'
|
||||
"test_nonexistent_main_module"
|
||||
# 3 second timeout expired
|
||||
"test_keyboardinterrupt_during_test"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# PermissionError: [Errno 1] Operation not permitted: '/dev/console'
|
||||
"test_is_block_device"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# lots of DNS lookups
|
||||
|
@ -49,14 +49,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "apache-beam";
|
||||
version = "2.56.0";
|
||||
version = "2.59.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "apache";
|
||||
repo = "beam";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-SD+93duc3vTIlS/LPOuzXeiUSpwX+GNrqW3GTJMVgKY=";
|
||||
hash = "sha256-JeVYfXAx/GBGXQKAt6pSpnxH83oyeDylEY12EDzMxnw=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "app-model";
|
||||
version = "0.2.8";
|
||||
version = "0.3.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "pyapp-kit";
|
||||
repo = "app-model";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-vGSFo2ZckIDI3TjBSTKZagTEYdILt1/5Wyws3P7FNiQ=";
|
||||
hash = "sha256-PvQ9l2sCi1NaF/SWApWqt6a5AHI5A+zmJRo8gR3ng6Y=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
@ -2,21 +2,34 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
unittestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "appdirs";
|
||||
version = "1.4.4";
|
||||
format = "setuptools";
|
||||
pypoject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41";
|
||||
hash = "sha256-fV0BZ7KxuoIWR2Fq9Gp0nRxlN0DdDSQVEA/ibiev30E=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "appdirs" ];
|
||||
|
||||
meta = {
|
||||
description = "Python module for determining appropriate platform-specific dirs";
|
||||
homepage = "https://github.com/ActiveState/appdirs";
|
||||
changelog = "https://github.com/ActiveState/appdirs/releases/tag/${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
@ -9,19 +9,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "argcomplete";
|
||||
version = "3.4.0";
|
||||
version = "3.5.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kislyuk";
|
||||
repo = pname;
|
||||
repo = "argcomplete";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-4JMyBixc6LcSdpvvLmK4nyyqZMK2kuFcPU7OXhJLpoc=";
|
||||
hash = "sha256-um8iFzEHExTRV1BAl86/XKLc7vmf2Ws1dB83agfvoec=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
@ -32,10 +32,10 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "argcomplete" ];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/kislyuk/argcomplete/blob/v${version}/Changes.rst";
|
||||
description = "Bash tab completion for argparse";
|
||||
downloadPage = "https://github.com/kislyuk/argcomplete";
|
||||
homepage = "https://kislyuk.github.io/argcomplete/";
|
||||
changelog = "https://github.com/kislyuk/argcomplete/blob/v${version}/Changes.rst";
|
||||
downloadPage = "https://github.com/kislyuk/argcomplete";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ womfoo ];
|
||||
};
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asdf";
|
||||
version = "3.2.0";
|
||||
version = "3.4.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -32,7 +32,7 @@ buildPythonPackage rec {
|
||||
owner = "asdf-format";
|
||||
repo = "asdf";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-r+cEv6g7fq3I/h2mlszzJRQcazy7qP9pg0hfYG/Sa9E=";
|
||||
hash = "sha256-2ugrByX2eSac68RGc4mhPiYP8qnYoPwbhrMmvUr2FYg=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "astroid";
|
||||
version = "3.2.2"; # Check whether the version is compatible with pylint
|
||||
version = "3.3.4"; # Check whether the version is compatible with pylint
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "PyCQA";
|
||||
repo = "astroid";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Fc/AjMOz9D9SgkxXvMAhvJcZtj9BsPykg0DX4hEqdB8=";
|
||||
hash = "sha256-/VpGniyKzFToDNSnnbYvpUFJjx0Rx9N7x56BJnR0lpk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "astropy-iers-data";
|
||||
version = "0.2024.06.17.00.31.35";
|
||||
version = "0.2024.9.23.0.31.43";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
owner = "astropy";
|
||||
repo = "astropy-iers-data";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-hFlDXnxhKuhlCFrF+Uip3Xjc9Jt8UFJcDCST90BmAlg=";
|
||||
hash = "sha256-PGr8meqVs9l15+k5DHmcPcGK96ydN0nRUOBVfvCtRUg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -1,17 +1,15 @@
|
||||
{
|
||||
lib,
|
||||
fetchPypi,
|
||||
fetchpatch,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
|
||||
# build time
|
||||
astropy-extension-helpers,
|
||||
cython,
|
||||
jinja2,
|
||||
oldest-supported-numpy,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
wheel,
|
||||
|
||||
# testing
|
||||
pytestCheckHook,
|
||||
stdenv,
|
||||
@ -28,39 +26,29 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "astropy";
|
||||
version = "6.1.1";
|
||||
version = "6.1.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8"; # according to setup.cfg
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-5cb0XZEcMKy41VbH+O2ZSuxxsQjmHu5QZ/AK8eTjYTg=";
|
||||
hash = "sha256-NhVY4rCTqZvr5p8f1H+shqGSYHpMFu05ugqACyq2DDQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "drop-usage-known-bad-actor-cdn.patch";
|
||||
url = "https://github.com/astropy/astropy/commit/d329cb38e49584ad0ff5244fd2fff74cfa1f92f1.patch";
|
||||
hash = "sha256-+DbDwYeyR+mMDLRB4jiyol/5WO0LwqSCCEwjgflxoTk=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "numpy>=2.0.0" "numpy"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
astropy-extension-helpers
|
||||
cython
|
||||
jinja2
|
||||
oldest-supported-numpy
|
||||
setuptools
|
||||
setuptools-scm
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
astropy-iers-data
|
||||
numpy
|
||||
packaging
|
||||
@ -87,10 +75,6 @@ buildPythonPackage rec {
|
||||
# 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"
|
||||
# More flaky tests, see: https://github.com/NixOS/nixpkgs/issues/294392
|
||||
@ -99,6 +83,9 @@ buildPythonPackage rec {
|
||||
"test_datetime_to_timedelta"
|
||||
|
||||
"test_datetime_difference_agrees_with_timedelta_no_hypothesis"
|
||||
|
||||
# SAMPProxyError 1: 'Timeout expired!'
|
||||
"TestStandardProfile.test_main"
|
||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "test_sidereal_lat_independent" ];
|
||||
|
||||
meta = {
|
||||
|
@ -2,19 +2,19 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
pytest-asyncio,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
python-socks,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
tldextract,
|
||||
whodap,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asyncwhois";
|
||||
version = "1.1.4";
|
||||
version = "1.1.5";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -23,21 +23,16 @@ buildPythonPackage rec {
|
||||
owner = "pogzyb";
|
||||
repo = "asyncwhois";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-BjHGp94vad5qTvffiU8ZEOxYeXNzQHlNq1SaxviYfps=";
|
||||
hash = "sha256-y5JmAbrk9qJeNYejNcz5nI5bghaetUw1xkD8qgwOkao=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "python-socks[asyncio]" "python-socks"
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
python-socks
|
||||
tldextract
|
||||
whodap
|
||||
];
|
||||
] ++ python-socks.optional-dependencies.asyncio;
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
@ -68,7 +63,7 @@ buildPythonPackage rec {
|
||||
description = "Python module for retrieving WHOIS information";
|
||||
homepage = "https://github.com/pogzyb/asyncwhois";
|
||||
changelog = "https://github.com/pogzyb/asyncwhois/releases/tag/v${version}";
|
||||
license = with licenses; [ asl20 ];
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
@ -4,29 +4,29 @@
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
substituteAll,
|
||||
hatchling,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "attrs";
|
||||
version = "23.2.0";
|
||||
version = "24.2.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-k13DtSnCYvbPduUId9NaS9PB3hlP1B9HoreujxmXHzA=";
|
||||
hash = "sha256-XPsbkUi1sIZWm67APyDXtr87ysyaQr6/h/+qyjYvY0Y=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# hatch-vcs and hatch-fancy-pypi-readme depend on pytest, which depends on attrs
|
||||
./remove-hatch-plugins.patch
|
||||
(substituteAll {
|
||||
# hatch-vcs and hatch-fancy-pypi-readme depend on pytest, which depends on attrs
|
||||
src = ./remove-hatch-plugins.patch;
|
||||
inherit version;
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteAllInPlace pyproject.toml
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ hatchling ];
|
||||
|
||||
outputs = [
|
||||
|
@ -1,5 +1,5 @@
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index 1c72fc2..ae45740 100644
|
||||
index 93b3f40..e34ff5d 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -1,7 +1,7 @@
|
||||
@ -11,7 +11,7 @@ index 1c72fc2..ae45740 100644
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
|
||||
@@ -26,7 +26,8 @@ classifiers = [
|
||||
@@ -27,7 +27,8 @@ classifiers = [
|
||||
"Typing :: Typed",
|
||||
]
|
||||
dependencies = ["importlib_metadata;python_version<'3.8'"]
|
||||
@ -21,10 +21,11 @@ index 1c72fc2..ae45740 100644
|
||||
|
||||
[project.optional-dependencies]
|
||||
tests-mypy = [
|
||||
@@ -70,54 +71,9 @@ Funding = "https://github.com/sponsors/hynek"
|
||||
@@ -76,54 +77,9 @@ GitHub = "https://github.com/python-attrs/attrs"
|
||||
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" }
|
||||
@ -64,15 +65,14 @@ index 1c72fc2..ae45740 100644
|
||||
-
|
||||
----
|
||||
-
|
||||
-[Full changelog](https://www.attrs.org/en/stable/changelog.html)
|
||||
-[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'
|
||||
-pattern = 'docs\/_static\/sponsors'
|
||||
-replacement = 'https://www.attrs.org/en/$HFPR_VERSION/_static/sponsors'
|
||||
-
|
||||
-
|
||||
[tool.pytest.ini_options]
|
||||
addopts = ["-ra", "--strict-markers", "--strict-config"]
|
||||
xfail_strict = true
|
||||
[[tool.sponcon.sponsors]]
|
||||
title = "Variomedia AG"
|
||||
url = "https://www.variomedia.de/"
|
||||
|
@ -2,37 +2,36 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
hatchling,
|
||||
numpy,
|
||||
future,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "autograd";
|
||||
version = "1.6.2";
|
||||
format = "setuptools";
|
||||
version = "1.7.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-hzHgigxOOJ2GlaQAcq2kUSZBwRO2ys6PTPvo636a7es=";
|
||||
hash = "sha256-3nQ/02jW31I803MF3NFxhhqXUqFESTZ30sn1pWmD/y8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
future
|
||||
];
|
||||
build-system = [ hatchling ];
|
||||
|
||||
# Currently, the PyPI tarball doesn't contain the tests. When that has been
|
||||
# fixed, enable testing. See: https://github.com/HIPS/autograd/issues/404
|
||||
doCheck = false;
|
||||
dependencies = [ numpy ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "autograd" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/HIPS/autograd";
|
||||
description = "Compute derivatives of NumPy code efficiently";
|
||||
homepage = "https://github.com/HIPS/autograd";
|
||||
changelog = "https://github.com/HIPS/autograd/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jluttine ];
|
||||
};
|
||||
|
@ -10,25 +10,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "avro";
|
||||
version = "1.11.3";
|
||||
version = "1.12.0";
|
||||
pyproject = true;
|
||||
|
||||
# distutils usage: https://github.com/search?q=repo%3Aapache%2Favro%20distutils&type=code
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-M5O7UTn5zweR0gV1bOHjmltYWGr1sVPWo7WhmWEOnRc=";
|
||||
hash = "sha256-ytnFOyPO7Wmceva93O1C4sVy/WtAjCV6fU/E6M8uLWs=";
|
||||
};
|
||||
|
||||
postPatch = lib.optionalString (!pythonOlder "3.12") ''
|
||||
substituteInPlace avro/test/test_tether_word_count.py \
|
||||
--replace-fail 'distutils' 'setuptools._distutils'
|
||||
'';
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ typing-extensions ];
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
dependencies = lib.optionals (pythonOlder "3.8") [ typing-extensions ];
|
||||
|
||||
nativeCheckInputs = [ pytest7CheckHook ];
|
||||
|
||||
@ -43,10 +37,10 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python serialization and RPC framework";
|
||||
mainProgram = "avro";
|
||||
homepage = "https://github.com/apache/avro";
|
||||
changelog = "https://github.com/apache/avro/releases/tag/release-${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ zimbatm ];
|
||||
mainProgram = "avro";
|
||||
};
|
||||
}
|
||||
|
@ -12,13 +12,14 @@
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pyyaml,
|
||||
setuptools,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aws-sam-translator";
|
||||
version = "1.89.0";
|
||||
format = "setuptools";
|
||||
version = "1.91.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@ -26,7 +27,7 @@ buildPythonPackage rec {
|
||||
owner = "aws";
|
||||
repo = "serverless-application-model";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-wqM3n99lD0s/E9nd55q19Us31XgFtU/bBYJR1HTnnvk=";
|
||||
hash = "sha256-jcRpn9STkfg1xTwYzkpoYyuG0Hrv0XnbW1h6+SxzEjA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -34,7 +35,9 @@ buildPythonPackage rec {
|
||||
rm pytest.ini
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
boto3
|
||||
jsonschema
|
||||
pydantic
|
||||
|
@ -20,14 +20,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ax-platform";
|
||||
version = "0.4.1";
|
||||
version = "0.4.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "facebook";
|
||||
repo = "ax";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-ygMMMKY5XsoQGp9yUMFAQqkSUlXNBJCb8xgGE10db4U=";
|
||||
hash = "sha256-jmBjrtxqg4Iu3Qr0HRqjVfwURXzbJaGm+DBFNHYk/vA=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
@ -20,7 +20,7 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.30.2";
|
||||
version = "1.31.0";
|
||||
pname = "azure-core";
|
||||
pyproject = true;
|
||||
|
||||
@ -29,8 +29,9 @@ buildPythonPackage rec {
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-oU3CEO/NYIghqkctn7jo0DXSm2iZOBkUe8KQqKwiRHI=";
|
||||
pname = "azure_core";
|
||||
inherit version;
|
||||
hash = "sha256-ZWoN1h4YabFQa3xqOzHWLxWYSxpXPWMm9qovPkEjKEs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
@ -7,25 +7,31 @@
|
||||
cryptography,
|
||||
msal,
|
||||
msal-extensions,
|
||||
typing-extensions,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-identity";
|
||||
version = "1.17.0";
|
||||
format = "setuptools";
|
||||
version = "1.18.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-oRaPIjstf6OWg2K3iv/RV6Hzdy8xCozc6IPMUVxsiZg=";
|
||||
pname = "azure_identity";
|
||||
inherit version;
|
||||
hash = "sha256-9WdXmmXYky+pE8du3fMwUQGhXlcnpeSqXfZJoPVT1MM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
azure-core
|
||||
cryptography
|
||||
msal
|
||||
msal-extensions
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "azure.identity" ];
|
||||
@ -36,7 +42,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure Identity Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity";
|
||||
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-identity_${version}/sdk/identity/azure-identity/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ kamadorueda ];
|
||||
|
@ -1,35 +1,33 @@
|
||||
{
|
||||
lib,
|
||||
azure-common,
|
||||
azure-core,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
isodate,
|
||||
msrest,
|
||||
pythonOlder,
|
||||
typing-extensions,
|
||||
uamqp,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-servicebus";
|
||||
version = "7.12.2";
|
||||
format = "setuptools";
|
||||
version = "7.12.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-pqPF957VvvEB2ePjyYahA7IA4mxJU8R6UvVSx1fkXso=";
|
||||
pname = "azure_servicebus";
|
||||
inherit version;
|
||||
hash = "sha256-PwdZcxrSIRxo60sh5byimCf31v8Ccr3H7vEDwcE/gyI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
azure-common
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
azure-core
|
||||
isodate
|
||||
msrest
|
||||
typing-extensions
|
||||
uamqp
|
||||
];
|
||||
|
||||
# Tests require dev-tools
|
||||
@ -39,7 +37,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure Service Bus Client Library";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/servicebus/azure-servicebus";
|
||||
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-servicebus_${version}/sdk/servicebus/azure-servicebus/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ maxwilson ];
|
||||
|
@ -6,22 +6,26 @@
|
||||
fetchPypi,
|
||||
isodate,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-storage-blob";
|
||||
version = "12.20.0";
|
||||
format = "setuptools";
|
||||
version = "12.23.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-7rkSVuQdS1ubrWqH/QqK3gfdWKpSNE4sjSdG4noBfTs=";
|
||||
pname = "azure_storage_blob";
|
||||
inherit version;
|
||||
hash = "sha256-pYflTU450qJ711EJ2xZP+iBY/hlAYeVEbFqJvKkYJy8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
azure-core
|
||||
cryptography
|
||||
isodate
|
||||
|
@ -0,0 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
azure-core,
|
||||
azure-storage-blob,
|
||||
isodate,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-storage-file-datalake";
|
||||
version = "12.17.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Azure";
|
||||
repo = "azure-sdk-for-python";
|
||||
rev = "refs/tags/azure-storage-file-datalake_${version}";
|
||||
hash = "sha256-FT51a7yuSMLJSnMFK9N09Rc8p/uaoYCcj9WliSvY6UA=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/sdk/storage/azure-storage-file-datalake";
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
azure-core
|
||||
azure-storage-blob
|
||||
isodate
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
aio = [ azure-core ] ++ azure-core.optional-dependencies.aio;
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "azure.storage.filedatalake" ];
|
||||
|
||||
# require devtools_testutils which is a internal package for azure-sdk
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Microsoft Azure File DataLake Storage Client Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-file-datalake";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
@ -21,7 +21,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "b2sdk";
|
||||
version = "2.4.0";
|
||||
version = "2.5.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
owner = "Backblaze";
|
||||
repo = "b2-sdk-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-SaoQzP7vtzVWmkUTw0vCeneeSMTmBTIr5kiMXGcgm9g=";
|
||||
hash = "sha256-oS037l5pQW/z4GX5+hb/mCUA219cGHE7lyiG8aos21k=";
|
||||
};
|
||||
|
||||
build-system = [ pdm-backend ];
|
||||
@ -71,6 +71,7 @@ buildPythonPackage rec {
|
||||
"test_files_headers"
|
||||
"test_large_file"
|
||||
"test_file_info_b2_attributes"
|
||||
"test_sync_folder"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "b2sdk" ];
|
||||
|
@ -17,14 +17,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "babel";
|
||||
version = "2.15.0";
|
||||
version = "2.16.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-ja8OJl0FdovGx6MUzxMh6aEjr8MozGNcGGIqLzCgRBM=";
|
||||
hash = "sha256-0fNVTKJmBf4XPz3gxl91D1pC+SRJm/E03mQjWCKY4xY=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bambi";
|
||||
version = "0.13.0";
|
||||
version = "0.14.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||
owner = "bambinos";
|
||||
repo = "bambi";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-9+uTyV3mQlHOKAjXohwkhTzNe/+I5XR/LuH1ZYvhc8I=";
|
||||
hash = "sha256-kxrNNbZfC96/XHb1I7aUHYZdFJvGR80ZI8ell/0FQXc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
@ -21,14 +21,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bcrypt";
|
||||
version = "4.1.3";
|
||||
version = "4.2.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-LuFd10n1lS/j8EMND/a3QILhWcUDMqFBPVG1aJzwZiM=";
|
||||
hash = "sha256-z2nq9Rhf1Y8mj4BbUFzjH5ufwtZLN2ZCFk6SRFQMEiE=";
|
||||
};
|
||||
|
||||
cargoRoot = "src/_bcrypt";
|
||||
@ -36,7 +36,7 @@ buildPythonPackage rec {
|
||||
inherit src;
|
||||
sourceRoot = "${pname}-${version}/${cargoRoot}";
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-Uag1pUuis5lpnus2p5UrMLa4HP7VQLhKxR5TEMfpK0s=";
|
||||
hash = "sha256-dOS9A3pTwXYkzPFFNh5emxJw7pSdDyY+mNIoHdwNdmg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -2,7 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
hatchling,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
typing-extensions,
|
||||
@ -10,17 +10,17 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "beartype";
|
||||
version = "0.18.5";
|
||||
format = "setuptools";
|
||||
version = "0.19.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Jk3cLx2p7JT/Y5FB++M9IuEqn3WqhjuDtwRv//E4GSc=";
|
||||
hash = "sha256-3kLfwbpcNxD95sMALjvSytI27U0qq+h2NFqwtCNKZXM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ hatchling ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
|
@ -74,7 +74,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.3.3";
|
||||
version = "1.3.7";
|
||||
aws = [ fs-s3fs ];
|
||||
grpc = [
|
||||
grpcio
|
||||
@ -128,7 +128,7 @@ buildPythonPackage {
|
||||
owner = "bentoml";
|
||||
repo = "BentoML";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-PjmXPSPukLJ+iCpBdUynhcWCfFqplmdsgj0LYpodE/c=";
|
||||
hash = "sha256-98SVW7f/Yn+NMfS6UIicQcoatMSm4XSJzbuJ0S/p3sg=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
@ -2,26 +2,46 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
requests,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "betamax";
|
||||
version = "0.9.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-gjFuFnm8aHnjyDMY0Ba1S3ySJf8IxEYt5IE+IgONX5Q=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
doCheck = false;
|
||||
dependencies = [ requests ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "betamax" ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Tests require network access
|
||||
"tests/integration/test_hooks.py"
|
||||
"tests/integration/test_placeholders.py"
|
||||
"tests/integration/test_record_modes.py"
|
||||
"tests/integration/test_unicode.py"
|
||||
"tests/regression/test_gzip_compression.py"
|
||||
"tests/regression/test_requests_2_11_body_matcher.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://betamax.readthedocs.org/en/latest/";
|
||||
description = "VCR imitation for requests";
|
||||
description = "A VCR imitation for requests";
|
||||
homepage = "https://betamax.readthedocs.org/";
|
||||
changelog = "https://github.com/betamaxpy/betamax/blob/${version}/HISTORY.rst";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
};
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bids-validator";
|
||||
version = "1.14.6";
|
||||
version = "1.14.7.post0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "bids_validator";
|
||||
inherit version;
|
||||
hash = "sha256-3ytrXRqq1h00zK0ElPLtc84wgoJa2jGVTE4UwlONSFw=";
|
||||
hash = "sha256-5gBaUAt1+KlhWT+2fUYIUQfa2xFvWaXDtSSqBpeUW2Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -23,12 +23,12 @@
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "bilibili-api-python";
|
||||
version = "16.2.0";
|
||||
version = "16.3.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-ecv9lzp2L13seBosahgnglaZP8YZCD/13nlTPP8LCs0=";
|
||||
hash = "sha256-mwhyFc3b1qA7W76gaBcAup+Wca6gQAdRwZJaZXOHqCw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -13,14 +13,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "biopandas";
|
||||
version = "0.5.0";
|
||||
version = "0.5.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BioPandas";
|
||||
repo = "biopandas";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-1c78baBBsDyvAWrNx5mZI/Q75wyXv0DAwAdWm3EwX/I=";
|
||||
hash = "sha256-dUeGjDDz9VA1NrFLGKy0ebaa+MU4c1tHi5YYkAspLRk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -1,18 +0,0 @@
|
||||
diff --git a/Bio/SeqIO/SeqXmlIO.py b/Bio/SeqIO/SeqXmlIO.py
|
||||
index 8fe75ebb728..6758317d05f 100644
|
||||
--- a/Bio/SeqIO/SeqXmlIO.py
|
||||
+++ b/Bio/SeqIO/SeqXmlIO.py
|
||||
@@ -498,11 +498,12 @@ def iterate(self, handle):
|
||||
if not text:
|
||||
break
|
||||
parser.feed(text)
|
||||
+ # Closing the parser ensures that all XML data fed into it are processed
|
||||
+ parser.close()
|
||||
# We have reached the end of the XML file;
|
||||
# send out the remaining records
|
||||
yield from records
|
||||
records.clear()
|
||||
- parser.close()
|
||||
|
||||
|
||||
class SeqXmlWriter(SequenceWriter):
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
numpy,
|
||||
@ -9,22 +9,18 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "biopython";
|
||||
version = "1.83";
|
||||
version = "1.84";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-eOa/t43mMDQDev01/nfLbgqeW2Jwa+z3in2SKxbtg/c=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "biopython";
|
||||
repo = "biopython";
|
||||
rev = "refs/tags/biopython-${lib.replaceChars [ "." ] [ "" ] version}";
|
||||
hash = "sha256-zXUB/AkWc/cY9M02WheSvXjT/nwM+lGXfXgCcWfu0G4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# cherry-picked from https://github.com/biopython/biopython/commit/3f9bda7ef44f533dadbaa0de29ac21929bc0b2f1
|
||||
# fixes SeqXMLIO parser to process all data. remove on next update
|
||||
./close_parser_on_time.patch
|
||||
];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ numpy ];
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
let
|
||||
pname = "bitsandbytes";
|
||||
version = "0.43.1";
|
||||
version = "0.43.3";
|
||||
|
||||
inherit (torch) cudaCapabilities cudaPackages cudaSupport;
|
||||
inherit (cudaPackages) backendStdenv cudaVersion;
|
||||
@ -54,7 +54,7 @@ buildPythonPackage {
|
||||
owner = "TimDettmers";
|
||||
repo = "bitsandbytes";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-GFbFKPdV96DXPA+PZO4h0zdBclN670fb0PGv4QPHWHU=";
|
||||
hash = "sha256-JOB+WCrLFjjeJJHbsOei8+D5CMuFmyVLnoKRd05tYDU=";
|
||||
};
|
||||
|
||||
postPatch =
|
||||
|
@ -25,14 +25,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "black";
|
||||
version = "24.4.2";
|
||||
version = "24.8.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-yHK1MFfwAAhdpmoZxV1o9vjdysJkI5KtOjVYeEBvvU0=";
|
||||
hash = "sha256-JQCUVCC2eEw4ue6IWvA59edHHvKEqwP6Nezd5GiM2D8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -19,6 +19,7 @@
|
||||
# propagates
|
||||
msgpack,
|
||||
ndindex,
|
||||
numexpr,
|
||||
numpy,
|
||||
py-cpuinfo,
|
||||
rich,
|
||||
@ -31,21 +32,25 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "blosc2";
|
||||
version = "2.5.1";
|
||||
version = "2.7.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Blosc";
|
||||
repo = "python-blosc2";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-yBgnNJU1q+FktIkpQn74LuRP19Ta/fNC60Z8TxzlWPk=";
|
||||
hash = "sha256-2aLfyd+/I8cy9OqdU4yNXY/bkf0AdXu+hZPLDdM3g5g=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "numpy>=2.0.0" "numpy"
|
||||
substituteInPlace requirements-runtime.txt \
|
||||
--replace "pytest" ""
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [ "numpy" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
cython
|
||||
@ -65,6 +70,7 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [
|
||||
msgpack
|
||||
ndindex
|
||||
numexpr
|
||||
numpy
|
||||
py-cpuinfo
|
||||
rich
|
||||
|
@ -46,14 +46,14 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "bokeh";
|
||||
# update together with panel which is not straightforward
|
||||
version = "3.5.2";
|
||||
version = "3.6.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-A6VKZ9tne4iBg0JxxiCngbODrlk69cPqIUkWR1REDQc=";
|
||||
hash = "sha256-ADLcHnatCXsHYm5RWEaF/0jGVIH7qq0QVmOxBGFlhno=";
|
||||
};
|
||||
|
||||
src_test = fetchFromGitHub {
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "boltztrap2";
|
||||
version = "24.1.1";
|
||||
version = "24.9.4";
|
||||
|
||||
pyproject = true;
|
||||
build-system = [ setuptools ];
|
||||
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "BoltzTraP2";
|
||||
inherit version;
|
||||
hash = "sha256-kgv4lPBxcBmRKihaTwPRz8bHTWAWUOGZADtJUb3y+C4=";
|
||||
hash = "sha256-BfGR7sY0E9r+RXA1fC9uy1GXC+EFV1RKOvMyvGcf+aE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -3,31 +3,46 @@
|
||||
fetchPypi,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
cmake,
|
||||
pybind11,
|
||||
nanobind,
|
||||
ninja,
|
||||
setuptools-scm,
|
||||
boost,
|
||||
numpy,
|
||||
pytestCheckHook,
|
||||
pytest-benchmark,
|
||||
setuptools-scm,
|
||||
scikit-build-core,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "boost-histogram";
|
||||
version = "1.4.1";
|
||||
format = "setuptools";
|
||||
version = "1.5.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "boost_histogram";
|
||||
inherit version;
|
||||
hash = "sha256-lxRvc19GfVBpdqBH8/I3zlmECpUv0jH19DH4l/sAbN0=";
|
||||
hash = "sha256-BiPwEObFLl0Bh2dyOVloYJDbB/ww8NHYR1tdZjxd2yw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
build-system = [
|
||||
pybind11
|
||||
nanobind
|
||||
ninja
|
||||
scikit-build-core
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
buildInputs = [ boost ];
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
dependencies = [ numpy ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
|
@ -359,7 +359,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "boto3-stubs";
|
||||
version = "1.34.160";
|
||||
version = "1.35.29";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -367,7 +367,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "boto3_stubs";
|
||||
inherit version;
|
||||
hash = "sha256-xrHf6zyuZz7tWW8BQJM54uC5VaUkGhbO5p8pMD2bN94=";
|
||||
hash = "sha256-bl8IL3zQKL3zv8V8nbO3hOD27CIysQSChZqRnWzWv8k=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -28,9 +28,7 @@ buildPythonPackage rec {
|
||||
hash = "sha256-b08tC8EA6iW0O/7rseD9pTkKh/cJ2fe3xJZkEqxS6VI=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
pythonRelaxDeps = [ "s3transfer" ];
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "botocore-stubs";
|
||||
version = "1.34.160";
|
||||
version = "1.35.29";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "botocore_stubs";
|
||||
inherit version;
|
||||
hash = "sha256-kAlT8/km0gVQV3ZTX9ExBH74lRlzTx5TZdA+y67FPNk=";
|
||||
hash = "sha256-QNTPX8Un+604G+GM+DdADW8WiogOJu55TIwE+go+YsU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
@ -27,9 +27,9 @@ buildPythonPackage rec {
|
||||
hash = "sha256-q1NQ6KUOSNNx+i1RfWXCmkDEN4jLmhU4f5PqxaI98P0=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
pythonRelaxDeps = [ "urllib3" ];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
jmespath
|
||||
|
@ -16,14 +16,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "botorch";
|
||||
version = "0.11.3";
|
||||
version = "0.12.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pytorch";
|
||||
repo = "botorch";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-AtRU5KC8KlkxMCU0OUAHDFK7BsPO3TbRmmzDGV7+yVk=";
|
||||
hash = "sha256-CKlerCUadObpPq4jQAiFDBOZMHZ4QccAKQz30OFe64E=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
@ -9,12 +9,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bottle";
|
||||
version = "0.12.25";
|
||||
version = "0.13.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-4anJSXCubXELP7RSYpTf64byy0qB7/OkuY3ED7Dl4CE=";
|
||||
hash = "sha256-pIhS3HoFE1PT5N491VkM0l3jcLz9lKciN1YeMUzrDIg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
@ -15,12 +15,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "brian2";
|
||||
version = "2.7.0";
|
||||
version = "2.7.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-d9GDWp8CGIjeprWf4TtchVd36gmo36HBRkBOLaRXbpo=";
|
||||
hash = "sha256-mp1xo6ooYm21s6FYcegQdsHmVgH81usV9IfIM0GM7lc=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -12,15 +12,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "btrees";
|
||||
version = "6.0";
|
||||
version = "6.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "BTrees";
|
||||
inherit version;
|
||||
hash = "sha256-9puM3TNDThPhgCFruCrgt80x+t+3zFWWlcs3MZyjX/A=";
|
||||
inherit pname version;
|
||||
hash = "sha256-4YdG+GQYaaIPRTKMm1+X3GxxoRlZYDVq72O3X1yNRF8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -13,14 +13,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bx-python";
|
||||
version = "0.12.0";
|
||||
version = "0.13.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bxlab";
|
||||
repo = "bx-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-ZpZjh7OXdUY7rd692h7VYHzC3qCrDKFme6r+wuG7GP4=";
|
||||
hash = "sha256-I5yc8i9xoievaZbgwHSQQSVvs1VnNa66Q883T4dCYYw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -3,29 +3,25 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cachetools";
|
||||
version = "5.3.2";
|
||||
version = "5.5.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tkem";
|
||||
repo = pname;
|
||||
repo = "cachetools";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-CmyAW9uV63OV/zZsWwZkXOWbHfHAJdYFGJsRhpqQ1f4=";
|
||||
hash = "sha256-WG9PiUMVGaEXXHKbtOFEGjLiSbNnpSI2fXCogpGj1PI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
@ -35,7 +31,7 @@ buildPythonPackage rec {
|
||||
description = "Extensible memoizing collections and decorators";
|
||||
homepage = "https://github.com/tkem/cachetools";
|
||||
changelog = "https://github.com/tkem/cachetools/blob/v${version}/CHANGELOG.rst";
|
||||
license = with licenses; [ mit ];
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
@ -18,14 +18,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cantools";
|
||||
version = "39.4.5";
|
||||
version = "39.4.8";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-WU8q6A3q24xrCOjhMi1C4lj0DULIDWiG2E4BQ/kLWiM=";
|
||||
hash = "sha256-kzgDr+l96R2ScFOwJ+KhZeTOiRq/jkLWtAmnt9/vqA0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -19,14 +19,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cashews";
|
||||
version = "7.2.0";
|
||||
version = "7.3.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Krukov";
|
||||
repo = "cashews";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-7T9M8ioeTjW7OmcHyxZ6awNfp9kVU8Hi+Lgy17jXxK4=";
|
||||
hash = "sha256-GS6QnWCVUgxj5uiH13jUDvRBadAB0xcZd4pb0+4q6gk=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -4,6 +4,7 @@
|
||||
buildPythonPackage,
|
||||
cbor2,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
exceptiongroup,
|
||||
hatchling,
|
||||
hatch-vcs,
|
||||
@ -11,6 +12,7 @@
|
||||
immutables,
|
||||
motor,
|
||||
msgpack,
|
||||
msgspec,
|
||||
orjson,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
@ -23,7 +25,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cattrs";
|
||||
version = "23.2.3";
|
||||
version = "24.1.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -32,9 +34,27 @@ buildPythonPackage rec {
|
||||
owner = "python-attrs";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-zWM5zmZr2EiJb/4Dc6KjDL89p0C1V0Dsz949byz5OVM=";
|
||||
hash = "sha256-LSP8a/JduK0h9GytfbN7/CjFlnGGChaa3VbbCHQ3AFE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/python-attrs/cattrs/pull/576
|
||||
(fetchpatch2 {
|
||||
name = "attrs-24_2-compatibility1.patch";
|
||||
url = "https://github.com/python-attrs/cattrs/commit/2d37226ff19506e23bbc291125a29ce514575819.patch";
|
||||
excludes = [
|
||||
"pyproject.toml"
|
||||
"pdm.lock"
|
||||
];
|
||||
hash = "sha256-nbk7rmOFk42DXYdOgw4Oe3gl3HbxNEtaJ7ZiVSBb3YA=";
|
||||
})
|
||||
(fetchpatch2 {
|
||||
name = "attrs-24_2-compatibility2.patch";
|
||||
url = "https://github.com/python-attrs/cattrs/commit/4bd6dde556042241c6381e1993cedd6514921f58.patch";
|
||||
hash = "sha256-H1xSAYjvVUI8/jON3LWg2F2TlSxejf6TU1jpCeqly6I=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
hatch-vcs
|
||||
@ -53,6 +73,7 @@ buildPythonPackage rec {
|
||||
immutables
|
||||
motor
|
||||
msgpack
|
||||
msgspec
|
||||
orjson
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
@ -87,6 +108,9 @@ buildPythonPackage rec {
|
||||
"test_orjson"
|
||||
# tomlkit is pinned to an older version and newer versions raise InvalidControlChar exception
|
||||
"test_tomlkit"
|
||||
# msgspec causes a segmentation fault for some reason
|
||||
"test_simple_classes"
|
||||
"test_msgspec_json_converter"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "cattr" ];
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
# tests
|
||||
hypothesis,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
@ -25,12 +26,7 @@ buildPythonPackage rec {
|
||||
hash = "sha256-HFM8UN3oa+8caVBgIFSg/6PDduiw4gx7j1sQh5P2mD4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace " --cov" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
@ -39,6 +35,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
hypothesis
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
@ -15,14 +15,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "celery-redbeat";
|
||||
version = "2.1.0";
|
||||
version = "2.2.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sibson";
|
||||
repo = "redbeat";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-WW/OYa7TWEKkata1eULir29wHaCnavBJebn4GrBzmWY=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-lAEbhRTp0jYrCgHaTvPrl+lW1NRezmmTqAnUmLdpVwY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -35,9 +35,9 @@ buildPythonPackage rec {
|
||||
|
||||
sourceRoot = "${src.name}/${pname}";
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
configargparse
|
||||
acme
|
||||
configobj
|
||||
@ -61,7 +61,11 @@ buildPythonPackage rec {
|
||||
pytest-xdist
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ];
|
||||
pytestFlagsArray = [
|
||||
"-o cache_dir=$(mktemp -d)"
|
||||
"-W"
|
||||
"ignore::DeprecationWarning"
|
||||
];
|
||||
|
||||
makeWrapperArgs = [ "--prefix PATH : ${dialog}/bin" ];
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "certifi";
|
||||
version = "2024.07.04";
|
||||
version = "2024.08.30";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
owner = pname;
|
||||
repo = "python-certifi";
|
||||
rev = version;
|
||||
hash = "sha256-ArJB19tPpwTT1LjYo8OF1+Mo//l8FaMHTpvSvlfve3Q=";
|
||||
hash = "sha256-E3Ykb7KLWWVlJ8kFGC9X/6I1SlyNxUXUPb3xN8CwlHI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -1,29 +1,44 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
cryptography,
|
||||
fetchPypi,
|
||||
pyopenssl,
|
||||
flask,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
requests,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "certipy";
|
||||
version = "0.1.3";
|
||||
format = "setuptools";
|
||||
version = "0.2.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0n980gqpzh0fm58h3i4mi2i10wgj606lscm1r5sk60vbf6vh8mv9";
|
||||
hash = "sha256-DA6nslJItC+5MPMBc6eMAp5rpn4u+VmMpEcNiXXJy7Y=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyopenssl ];
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
doCheck = false; # no tests were included
|
||||
dependencies = [ cryptography ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
flask
|
||||
pytestCheckHook
|
||||
requests
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "certipy" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utility to create and sign CAs and certificates";
|
||||
homepage = "https://github.com/LLNL/certipy";
|
||||
description = "wrapper for pyOpenSSL";
|
||||
mainProgram = "certipy";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ isgy ];
|
||||
mainProgram = "certipy";
|
||||
};
|
||||
}
|
||||
|
@ -2,6 +2,7 @@
|
||||
lib,
|
||||
aws-sam-translator,
|
||||
buildPythonPackage,
|
||||
defusedxml,
|
||||
fetchFromGitHub,
|
||||
jschema-to-python,
|
||||
jsonpatch,
|
||||
@ -15,13 +16,14 @@
|
||||
pyyaml,
|
||||
regex,
|
||||
sarif-om,
|
||||
setuptools,
|
||||
sympy,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cfn-lint";
|
||||
version = "0.87.7";
|
||||
format = "setuptools";
|
||||
version = "1.15.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
@ -29,10 +31,12 @@ buildPythonPackage rec {
|
||||
owner = "aws-cloudformation";
|
||||
repo = "cfn-lint";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-em6Vi9zIn8ikmcHVbljA1vr+R3t8ZpJ57p3Ix3bqMYU=";
|
||||
hash = "sha256-45UIKXb1tX/jWw612WTGgYbg93bAYsQlXHJDZQUl5jg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
aws-sam-translator
|
||||
jschema-to-python
|
||||
jsonpatch
|
||||
@ -46,11 +50,26 @@ buildPythonPackage rec {
|
||||
sympy
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
graph = [ pydot ];
|
||||
junit = [ junit-xml ];
|
||||
sarif = [
|
||||
jschema-to-python
|
||||
sarif-om
|
||||
];
|
||||
full = [
|
||||
jschema-to-python
|
||||
junit-xml
|
||||
pydot
|
||||
sarif-om
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
defusedxml
|
||||
mock
|
||||
pydot
|
||||
pytestCheckHook
|
||||
];
|
||||
] ++ lib.flatten (builtins.attrValues optional-dependencies);
|
||||
|
||||
preCheck = ''
|
||||
export PATH=$out/bin:$PATH
|
||||
@ -68,6 +87,8 @@ buildPythonPackage rec {
|
||||
"test_override_parameters"
|
||||
"test_positional_template_parameters"
|
||||
"test_template_config"
|
||||
# Assertion error
|
||||
"test_build_graph"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "cfnlint" ];
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "chispa";
|
||||
version = "0.10.0";
|
||||
version = "0.10.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
owner = "MrPowers";
|
||||
repo = "chispa";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-r3/Uae/Bu/+ZpWt19jetfIRpew1hBB24WWQRJIcYqFs=";
|
||||
hash = "sha256-WPtn8YGlj67MEy2onxoU5SctQ7NcvTImaU0VgMoz2B4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
@ -89,10 +89,15 @@ buildPythonPackage rec {
|
||||
"cirq/_version_test.py"
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals stdenv.hostPlatform.isAarch64 [
|
||||
# https://github.com/quantumlib/Cirq/issues/5924
|
||||
"test_prepare_two_qubit_state_using_sqrt_iswap"
|
||||
];
|
||||
disabledTests =
|
||||
[
|
||||
# Assertion error
|
||||
"test_parameterized_cphase"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isAarch64 [
|
||||
# https://github.com/quantumlib/Cirq/issues/5924
|
||||
"test_prepare_two_qubit_state_using_sqrt_iswap"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits";
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "clarifai";
|
||||
version = "10.8.0";
|
||||
version = "10.8.6";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||
owner = "Clarifai";
|
||||
repo = "clarifai-python";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-dRhFZACfdMW0cIBDVUOSGDl5fai0gFXDPyfDil+itwQ=";
|
||||
hash = "sha256-/fHNRFtxyNa9VdEi5wQ+YA+9mFv3ZpRFJQnWkuxQd5I=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
@ -12,12 +12,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "click-odoo-contrib";
|
||||
version = "1.18.1";
|
||||
version = "1.19";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-3gusvy3d6kgmyBY+bmXB6lbWk7qxJIuHALZtug1WLzo=";
|
||||
hash = "sha256-Tg3C/mdgkB1TtQZaUOX4ZjpD3InI8CxoNUSfotRqbg0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
@ -24,7 +24,7 @@
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "clickhouse-connect";
|
||||
version = "0.7.12";
|
||||
version = "0.8.0";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
@ -34,7 +34,7 @@ buildPythonPackage rec {
|
||||
repo = "clickhouse-connect";
|
||||
owner = "ClickHouse";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-UJSg/ADxVsO4xuym8NGjbgQafWmu7J3Is2hKvObYhU8=";
|
||||
hash = "sha256-Jx+lbCs1zsU11D76COIiMxwqHlYKC1DOMegM4RsQkVg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
|
@ -4,46 +4,46 @@
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
flit-core,
|
||||
importlib-metadata,
|
||||
typing-extensions,
|
||||
cloudpathlib,
|
||||
azure-storage-blob,
|
||||
azure-storage-file-datalake,
|
||||
google-cloud-storage,
|
||||
boto3,
|
||||
psutil,
|
||||
pydantic,
|
||||
pytest7CheckHook,
|
||||
pytestCheckHook,
|
||||
pytest-cases,
|
||||
pytest-cov,
|
||||
pytest-cov-stub,
|
||||
pytest-xdist,
|
||||
python-dotenv,
|
||||
shortuuid,
|
||||
tenacity,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cloudpathlib";
|
||||
version = "0.18.1";
|
||||
version = "0.19.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "drivendataorg";
|
||||
repo = "cloudpathlib";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-RrdRUqQ3QyMUpTi1FEsSXK6WS37r77SdPBH1oVVvSw0=";
|
||||
hash = "sha256-VjoQc9nzwcMh9kiqWXsJNE5X7e7/sVGId5jgFTLZQy4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ flit-core ];
|
||||
build-system = [ flit-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
importlib-metadata
|
||||
typing-extensions
|
||||
];
|
||||
dependencies = lib.optional (pythonOlder "3.11") typing-extensions;
|
||||
|
||||
optional-dependencies = {
|
||||
all = [ cloudpathlib ];
|
||||
azure = [ azure-storage-blob ];
|
||||
all = optional-dependencies.azure ++ optional-dependencies.gs ++ optional-dependencies.s3;
|
||||
azure = [
|
||||
azure-storage-blob
|
||||
azure-storage-file-datalake
|
||||
];
|
||||
gs = [ google-cloud-storage ];
|
||||
s3 = [ boto3 ];
|
||||
};
|
||||
@ -51,18 +51,16 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "cloudpathlib" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
azure-storage-blob
|
||||
boto3
|
||||
google-cloud-storage
|
||||
psutil
|
||||
pydantic
|
||||
pytest7CheckHook
|
||||
pytestCheckHook
|
||||
pytest-cases
|
||||
pytest-cov
|
||||
pytest-cov-stub
|
||||
pytest-xdist
|
||||
python-dotenv
|
||||
shortuuid
|
||||
];
|
||||
tenacity
|
||||
] ++ optional-dependencies.all;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python pathlib-style classes for cloud storage services such as Amazon S3, Azure Blob Storage, and Google Cloud Storage";
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cocotb";
|
||||
version = "1.8.1";
|
||||
version = "1.9.1";
|
||||
format = "setuptools";
|
||||
|
||||
# pypi source doesn't include tests
|
||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "cocotb";
|
||||
repo = "cocotb";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-B7SePM8muEL3KFVOY7+OAgQVIRvTs6k29xASK9lgCB4=";
|
||||
hash = "sha256-+pS+y9rmyJ4laDK5evAtoqr5D0GuHGaX6DpK1qtumnA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "configobj";
|
||||
version = "5.0.8";
|
||||
version = "5.0.9";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
owner = "DiffSK";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-t3Q0FEBibkAM5PAG4fjXwNH/71RqSSDj/Mn27ri0iDU=";
|
||||
hash = "sha256-duPCGBaHCXp4A6ZHLnyL1SZtR7K4FJ4hs5wCE1V9WB4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
@ -10,14 +10,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "configparser";
|
||||
version = "7.0.0";
|
||||
version = "7.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jaraco";
|
||||
repo = "configparser";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-OqlmAmBt4x+cJtK89dxsU7+Vn9wmGR9Djc59/ewHSxs=";
|
||||
hash = "sha256-6B1I/kS60opMDpCzy2tnlnV65Qo500G0zPHP1I5TDWA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "confluent-kafka";
|
||||
version = "2.4.0";
|
||||
version = "2.5.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
owner = "confluentinc";
|
||||
repo = "confluent-kafka-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-JlPWh46WjY4GHRKtamB+qigVvVzvbRagbigyCol6lfg=";
|
||||
hash = "sha256-b9RTz4wUtDzGkoeB0cp5vbZEBk8jSw2JiXEx6tUuPVw=";
|
||||
};
|
||||
|
||||
buildInputs = [ rdkafka ];
|
||||
|
@ -12,12 +12,12 @@
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "consolekit";
|
||||
version = "1.7.0";
|
||||
version = "1.7.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Dqi84qeUGirw4z1ay3burLeHESeNK2DDPtPnpJzD/Qw=A";
|
||||
hash = "sha256-TU5sufqJ0znCD/QOidrT7jB1NCXJ1p8Z7FPFNPp97qg=";
|
||||
};
|
||||
|
||||
build-system = [ flit-core ];
|
||||
|
@ -27,7 +27,7 @@
|
||||
let
|
||||
contourpy = buildPythonPackage rec {
|
||||
pname = "contourpy";
|
||||
version = "1.2.1";
|
||||
version = "1.3.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -36,17 +36,18 @@ let
|
||||
owner = "contourpy";
|
||||
repo = "contourpy";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Qd6FC7SgFyC/BvOPWVkr2ZfKVMVAknLlidNRq3zcWU0=";
|
||||
hash = "sha256-QvAIV2Y8H3oPZCF5yaqy2KWfs7aMyRX6aAU5t8E9Vpo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
meson-python
|
||||
ninja
|
||||
pybind11
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
build-system = [ meson-python ];
|
||||
|
||||
dependencies = [ numpy ];
|
||||
|
||||
passthru.optional-depdendencies = {
|
||||
bokeh = [
|
||||
|
@ -13,14 +13,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "courlan";
|
||||
version = "1.3.0";
|
||||
version = "1.3.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-OGjziBIvKwnRVIAgQ/6S39YsPqenAOquirwFGYz4vCU=";
|
||||
hash = "sha256-EIWKtoZHCjsdh0jXuIGZYHyU5066PIredZukqVdtNm4=";
|
||||
};
|
||||
|
||||
# Tests try to write to /tmp directly. use $TMPDIR instead.
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "coverage";
|
||||
version = "7.5.3";
|
||||
version = "7.6.1";
|
||||
pyproject = true;
|
||||
|
||||
# uses f strings
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-BK78pRkNHcelOkwaWn+FaIETBteo7iMcQvtpIVVxlE8=";
|
||||
hash = "sha256-lTUQ37exKradIBNaBmI5fwd8WbHmN5p2jpfFnYUu5R0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
@ -9,14 +9,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cron-descriptor";
|
||||
version = "1.4.4";
|
||||
version = "1.4.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Salamek";
|
||||
repo = "cron-descriptor";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-NKAfNwIRnND4ume27CSPJoib9DysbpdD905SNP+wx0A=";
|
||||
hash = "sha256-ElYma6RH2u1faIgOvGpMQA26dSIibWcO4mWU6NAA5PQ=";
|
||||
};
|
||||
|
||||
# remove tests_require, as we don't do linting anyways
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user