[python-updates] Major updates 2025-08-05 (#431074)
This commit is contained in:
@@ -170,7 +170,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
perl
|
||||
|
||||
# Don't change this to python3 and python3.pkgs.*, breaks cross-compilation
|
||||
python3Packages.python
|
||||
(python3Packages.python.withPackages (ps: with ps; [ distlib ]))
|
||||
]
|
||||
++ lib.optionals gtkSupport [ wrapGAppsHook3 ]
|
||||
++ lib.optionals enableDocs [
|
||||
|
||||
@@ -14,14 +14,14 @@ let
|
||||
pname = "awscli";
|
||||
# N.B: if you change this, change botocore and boto3 to a matching version too
|
||||
# check e.g. https://github.com/aws/aws-cli/blob/1.33.21/setup.py
|
||||
version = "1.40.31";
|
||||
version = "1.42.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aws";
|
||||
repo = "aws-cli";
|
||||
tag = version;
|
||||
hash = "sha256-BjQyA7uK9F/5myPXsMpD0HZK69Se3WveYMHNCzhVNKc=";
|
||||
hash = "sha256-vkQFhSsK9MWhp+jvomkVdjxXuBOH4GnFgz/9jtPRNIs=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
acl,
|
||||
e2fsprogs,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
libb2,
|
||||
lz4,
|
||||
openssh,
|
||||
@@ -30,6 +31,14 @@ python.pkgs.buildPythonApplication rec {
|
||||
hash = "sha256-1RRizsHY6q1ruofTkRZ4sSN4k6Hoo+sG85w2zz+7yL8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "allow-msgpack-1.1.1.patch";
|
||||
url = "https://github.com/borgbackup/borg/commit/f6724bfef2515ed5bf66c9a0434655c60a82aae2.patch";
|
||||
hash = "sha256-UfLaAFKEAHvbIR5WDYJY7bz3aiffdwAXJKfzZZU+NT8=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# sandbox does not support setuid/setgid/sticky bits
|
||||
substituteInPlace src/borg/testsuite/archiver.py \
|
||||
|
||||
@@ -61,7 +61,8 @@ python.pkgs.buildPythonApplication rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools==80.9.0" "setuptools"
|
||||
--replace-fail "setuptools==80.9.0" "setuptools" \
|
||||
--replace-fail "wheel>=0.43,<0.46" "wheel"
|
||||
'';
|
||||
|
||||
# Remove esptool and platformio from requirements
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
fetchpatch,
|
||||
meson,
|
||||
ninja,
|
||||
pkg-config,
|
||||
@@ -31,6 +32,14 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-ccoEFpp6tOFdrfMyE0JNKKMAdN4Q95tP7j7vzUj+lSQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "python-compat.patch";
|
||||
url = "https://code.videolan.org/videolan/libplacebo/-/commit/12509c0f1ee8c22ae163017f0a5e7b8a9d983a17.patch";
|
||||
hash = "sha256-RrlFu0xgLB05IVrzL2EViTPuATYXraM1KZMxnZCvgrk=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
|
||||
@@ -12,16 +12,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "maturin";
|
||||
version = "1.9.1";
|
||||
version = "1.9.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PyO3";
|
||||
repo = "maturin";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-nqi3t1rK2ZTIwFra1avnnhJSMbRI64t5/wP3dCyCY3A=";
|
||||
hash = "sha256-VhL4nKXyONXbxriEHta0vCnWY1j82oDOLoxVigaggSc=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-ZszmCXvPRpt6+cTDU1GD3K81Qw4UVFMDKLOlb1R6KiE=";
|
||||
cargoHash = "sha256-Iom4GoTBFJ9P5UQnYF5JbeQeO2Eh1MwKOwbo+PhgtQM=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
libiconv
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchPypi,
|
||||
node-gyp,
|
||||
nodejs_20,
|
||||
nixosTests,
|
||||
@@ -40,6 +41,18 @@ let
|
||||
packageOverrides = final: prev: {
|
||||
django = prev.django_5_1;
|
||||
|
||||
fido2 = prev.fido2.overridePythonAttrs {
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "fido2";
|
||||
version = "1.2.0";
|
||||
hash = "sha256-45+VkgEi1kKD/aXlWB2VogbnBPpChGv6RmL4aqDTMzs=";
|
||||
};
|
||||
|
||||
pytestFlags = [ ];
|
||||
};
|
||||
|
||||
# tesseract5 may be overwritten in the paperless module and we need to propagate that to make the closure reduction effective
|
||||
ocrmypdf = prev.ocrmypdf.override { tesseract = tesseract5; };
|
||||
};
|
||||
@@ -170,6 +183,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
tag = version;
|
||||
hash = "sha256-1HmEJ5E4Vp/CoyzUegqQXpzKUuz3dLx2EEv7dk8fq8w=";
|
||||
};
|
||||
patches = [ ];
|
||||
}
|
||||
))
|
||||
django-auditlog
|
||||
|
||||
@@ -28,7 +28,7 @@ let
|
||||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "pdm";
|
||||
version = "2.24.2";
|
||||
version = "2.25.5";
|
||||
pyproject = true;
|
||||
|
||||
disabled = python.pkgs.pythonOlder "3.8";
|
||||
@@ -37,7 +37,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
owner = "pdm-project";
|
||||
repo = "pdm";
|
||||
tag = version;
|
||||
hash = "sha256-z2p7guCQrKpDSYRHaGcHuwoTDsprrvJo9SH3sGBILSQ=";
|
||||
hash = "sha256-OXwtmcwRYRL9CZwAoJz9ID9oI3zz+5MkvU0vI5NjvEE=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "hishel" ];
|
||||
@@ -126,6 +126,9 @@ python.pkgs.buildPythonApplication rec {
|
||||
"test_use_python_write_file_multiple_versions"
|
||||
"test_repository_get_token_from_oidc"
|
||||
"test_repository_get_token_misconfigured_github"
|
||||
|
||||
# https://github.com/pdm-project/pdm/issues/3590
|
||||
"test_install_from_lock_with_higher_version"
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
fetchPypi,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -25,6 +26,16 @@ let
|
||||
hash = "sha256-CgaWlqjvBTN7GuerzmO5IiEdXxYH6pmTDj9IsNJlCBE=";
|
||||
};
|
||||
});
|
||||
|
||||
findpython = super.findpython.overridePythonAttrs (old: rec {
|
||||
version = "0.6.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit (old) pname;
|
||||
inherit version;
|
||||
hash = "sha256-WGPqVVVtiq3Gk0gaFKxPNiSVJxnvwcVZGrsLSp6WXJQ=";
|
||||
};
|
||||
});
|
||||
}
|
||||
// (plugins self);
|
||||
python = python3.override (old: {
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
gettext,
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
fetchPypi,
|
||||
plugins ? [ ],
|
||||
nixosTests,
|
||||
}:
|
||||
@@ -14,6 +15,15 @@ let
|
||||
packageOverrides = final: prev: {
|
||||
django = prev.django_5_1;
|
||||
|
||||
django-csp = prev.django-csp.overridePythonAttrs rec {
|
||||
version = "3.8";
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "django_csp";
|
||||
hash = "sha256-7w8an32Nporm4WnALprGYcDs8E23Dg0dhWQFEqaEccA=";
|
||||
};
|
||||
};
|
||||
|
||||
django-extensions = prev.django-extensions.overridePythonAttrs {
|
||||
# Compat issues with Django 5.1
|
||||
# https://github.com/django-extensions/django-extensions/issues/1885
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rdkafka";
|
||||
version = "2.10.1";
|
||||
version = "2.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "confluentinc";
|
||||
repo = "librdkafka";
|
||||
tag = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-+ACn+1fjWEnUB32gUCoMpnq+6YBu+rufPT8LY920DBk=";
|
||||
sha256 = "sha256-37lCQ+CFeTRQwL6FCl79RSGw+nRKr0DeuXob9CjiVnk=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
|
||||
@@ -33,11 +33,17 @@ stdenv.mkDerivation rec {
|
||||
cmake
|
||||
flex
|
||||
pkg-config
|
||||
python3
|
||||
python3.pkgs.setuptools
|
||||
]
|
||||
++ lib.optionals (!static) [
|
||||
python3.pkgs.twisted
|
||||
(python3.withPackages (
|
||||
ps:
|
||||
with ps;
|
||||
[
|
||||
setuptools
|
||||
six
|
||||
]
|
||||
++ lib.optionals (!static) [
|
||||
twisted
|
||||
]
|
||||
))
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
||||
@@ -150,7 +150,10 @@ python.pkgs.buildPythonApplication rec {
|
||||
++ drf-spectacular.optional-dependencies.sidecar
|
||||
++ drf-standardized-errors.optional-dependencies.openapi;
|
||||
|
||||
pythonRelaxDeps = [ "certifi" ];
|
||||
pythonRelaxDeps = [
|
||||
"certifi"
|
||||
"lxml"
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
postgres = with python.pkgs; [ psycopg ];
|
||||
|
||||
@@ -12,17 +12,23 @@
|
||||
pkg-config,
|
||||
python-setup-hook,
|
||||
|
||||
# high level switches
|
||||
withMinimalDeps ? false,
|
||||
|
||||
# runtime dependencies
|
||||
bzip2,
|
||||
withExpat ? true,
|
||||
withExpat ? !withMinimalDeps,
|
||||
expat,
|
||||
libffi,
|
||||
libuuid,
|
||||
withLibxcrypt ? !withMinimalDeps,
|
||||
libxcrypt,
|
||||
withMpdecimal ? true,
|
||||
withMpdecimal ? !withMinimalDeps,
|
||||
mpdecimal,
|
||||
ncurses,
|
||||
withOpenssl ? !withMinimalDeps,
|
||||
openssl,
|
||||
withSqlite ? !withMinimalDeps,
|
||||
sqlite,
|
||||
xz,
|
||||
zlib,
|
||||
@@ -35,12 +41,12 @@
|
||||
# optional dependencies
|
||||
bluezSupport ? false,
|
||||
bluez,
|
||||
mimetypesSupport ? true,
|
||||
mimetypesSupport ? !withMinimalDeps,
|
||||
mailcap,
|
||||
tzdata,
|
||||
withGdbm ? !stdenv.hostPlatform.isWindows,
|
||||
withGdbm ? !withMinimalDeps && !stdenv.hostPlatform.isWindows,
|
||||
gdbm,
|
||||
withReadline ? !stdenv.hostPlatform.isWindows,
|
||||
withReadline ? !withMinimalDeps && !stdenv.hostPlatform.isWindows,
|
||||
readline,
|
||||
x11Support ? false,
|
||||
tcl,
|
||||
@@ -63,13 +69,13 @@
|
||||
sourceVersion,
|
||||
hash,
|
||||
passthruFun,
|
||||
stripConfig ? false,
|
||||
stripIdlelib ? false,
|
||||
stripTests ? false,
|
||||
stripTkinter ? false,
|
||||
rebuildBytecode ? true,
|
||||
stripConfig ? withMinimalDeps,
|
||||
stripIdlelib ? withMinimalDeps,
|
||||
stripTests ? withMinimalDeps,
|
||||
stripTkinter ? withMinimalDeps,
|
||||
rebuildBytecode ? !withMinimalDeps,
|
||||
stripBytecode ? true,
|
||||
includeSiteCustomize ? true,
|
||||
includeSiteCustomize ? !withMinimalDeps,
|
||||
static ? stdenv.hostPlatform.isStatic,
|
||||
enableFramework ? false,
|
||||
noldconfigPatch ? ./. + "/${sourceVersion.major}.${sourceVersion.minor}/no-ldconfig.patch",
|
||||
@@ -85,7 +91,8 @@
|
||||
|
||||
# enabling LTO on 32bit arch causes downstream packages to fail when linking
|
||||
enableLTO ?
|
||||
stdenv.hostPlatform.isDarwin || (stdenv.hostPlatform.is64bit && stdenv.hostPlatform.isLinux),
|
||||
!withMinimalDeps
|
||||
&& (stdenv.hostPlatform.isDarwin || (stdenv.hostPlatform.is64bit && stdenv.hostPlatform.isLinux)),
|
||||
|
||||
# enable asserts to ensure the build remains reproducible
|
||||
reproducibleBuild ? false,
|
||||
@@ -97,7 +104,9 @@
|
||||
testers,
|
||||
|
||||
# allow pythonMinimal to prevent accidental dependencies it doesn't want
|
||||
allowedReferenceNames ? [ ],
|
||||
# Having this as an option is useful to allow overriding, eg. adding things to
|
||||
# python3Minimal
|
||||
allowedReferenceNames ? if withMinimalDeps then [ "bashNonInteractive" ] else [ ],
|
||||
|
||||
}@inputs:
|
||||
|
||||
@@ -140,12 +149,12 @@ let
|
||||
;
|
||||
|
||||
# mixes libc and libxcrypt headers and libs and causes segfaults on importing crypt
|
||||
libxcrypt = if stdenv.hostPlatform.isFreeBSD then null else inputs.libxcrypt;
|
||||
libxcrypt = if stdenv.hostPlatform.isFreeBSD && withMinimalDeps then null else inputs.libxcrypt;
|
||||
|
||||
buildPackages = pkgsBuildHost;
|
||||
inherit (passthru) pythonOnBuildForHost;
|
||||
|
||||
tzdataSupport = tzdata != null && passthru.pythonAtLeast "3.9";
|
||||
tzdataSupport = !withMinimalDeps && tzdata != null && passthru.pythonAtLeast "3.9";
|
||||
|
||||
passthru =
|
||||
let
|
||||
@@ -200,13 +209,15 @@ let
|
||||
nativeBuildInputs = [
|
||||
nukeReferences
|
||||
]
|
||||
++ optionals (!stdenv.hostPlatform.isDarwin) [
|
||||
++ optionals (!stdenv.hostPlatform.isDarwin && !withMinimalDeps) [
|
||||
autoconf-archive # needed for AX_CHECK_COMPILE_FLAG
|
||||
autoreconfHook
|
||||
]
|
||||
++ optionals (!stdenv.hostPlatform.isDarwin || passthru.pythonAtLeast "3.14") [
|
||||
pkg-config
|
||||
]
|
||||
++
|
||||
optionals ((!stdenv.hostPlatform.isDarwin || passthru.pythonAtLeast "3.14") && !withMinimalDeps)
|
||||
[
|
||||
pkg-config
|
||||
]
|
||||
++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
buildPackages.stdenv.cc
|
||||
pythonOnBuildForHost
|
||||
@@ -223,19 +234,22 @@ let
|
||||
];
|
||||
|
||||
buildInputs = lib.filter (p: p != null) (
|
||||
[
|
||||
optionals (!withMinimalDeps) [
|
||||
bzip2
|
||||
libffi
|
||||
libuuid
|
||||
libxcrypt
|
||||
ncurses
|
||||
openssl
|
||||
sqlite
|
||||
xz
|
||||
zlib
|
||||
]
|
||||
++ optionals (passthru.pythonAtLeast "3.14") [
|
||||
zstd
|
||||
++ optionals withLibxcrypt [
|
||||
libxcrypt
|
||||
]
|
||||
++ optionals withOpenssl [
|
||||
openssl
|
||||
]
|
||||
++ optionals withSqlite [
|
||||
sqlite
|
||||
]
|
||||
++ optionals withMpdecimal [
|
||||
mpdecimal
|
||||
@@ -243,6 +257,9 @@ let
|
||||
++ optionals withExpat [
|
||||
expat
|
||||
]
|
||||
++ optionals (passthru.pythonAtLeast "3.14") [
|
||||
zstd
|
||||
]
|
||||
++ optionals bluezSupport [
|
||||
bluez
|
||||
]
|
||||
@@ -435,7 +452,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
env = {
|
||||
CPPFLAGS = concatStringsSep " " (map (p: "-I${getDev p}/include") buildInputs);
|
||||
LDFLAGS = concatStringsSep " " (map (p: "-L${getLib p}/lib") buildInputs);
|
||||
LIBS = "${optionalString (!stdenv.hostPlatform.isDarwin && libxcrypt != null) "-lcrypt"}";
|
||||
LIBS = "${optionalString (!stdenv.hostPlatform.isDarwin && withLibxcrypt) "-lcrypt"}";
|
||||
NIX_LDFLAGS = lib.optionalString (stdenv.cc.isGNU && !stdenv.hostPlatform.isStatic) (
|
||||
{
|
||||
"glibc" = "-lgcc_s";
|
||||
@@ -457,7 +474,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ optionals withMpdecimal [
|
||||
"--with-system-libmpdec"
|
||||
]
|
||||
++ optionals (openssl != null) [
|
||||
++ optionals withOpenssl [
|
||||
"--with-openssl=${openssl.dev}"
|
||||
]
|
||||
++ optionals tzdataSupport [
|
||||
@@ -484,10 +501,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ optionals enableDebug [
|
||||
"--with-pydebug"
|
||||
]
|
||||
++ optionals (sqlite != null) [
|
||||
++ optionals withSqlite [
|
||||
"--enable-loadable-sqlite-extensions"
|
||||
]
|
||||
++ optionals (libxcrypt != null) [
|
||||
++ optionals withLibxcrypt [
|
||||
"CFLAGS=-I${libxcrypt}/include"
|
||||
"LIBS=-L${libxcrypt}/lib"
|
||||
]
|
||||
@@ -592,7 +609,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
[
|
||||
(placeholder "out")
|
||||
]
|
||||
++ lib.optional (libxcrypt != null) libxcrypt
|
||||
++ lib.optional withLibxcrypt libxcrypt
|
||||
++ lib.optional tzdataSupport tzdata
|
||||
);
|
||||
in
|
||||
@@ -758,7 +775,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# Enforce that we don't have references to the OpenSSL -dev package, which we
|
||||
# explicitly specify in our configure flags above.
|
||||
disallowedReferences =
|
||||
lib.optionals (openssl != null && !static && !enableFramework) [
|
||||
lib.optionals (withOpenssl && !static && !enableFramework) [
|
||||
openssl.dev
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
|
||||
@@ -105,37 +105,7 @@
|
||||
inherit passthruFun;
|
||||
pythonAttr = "python3Minimal";
|
||||
# strip down that python version as much as possible
|
||||
openssl = null;
|
||||
readline = null;
|
||||
ncurses = null;
|
||||
gdbm = null;
|
||||
sqlite = null;
|
||||
tzdata = null;
|
||||
libuuid = null;
|
||||
bzip2 = null;
|
||||
libxcrypt = null;
|
||||
xz = null;
|
||||
zlib = null;
|
||||
libffi = null;
|
||||
stripConfig = true;
|
||||
stripIdlelib = true;
|
||||
stripTests = true;
|
||||
stripTkinter = true;
|
||||
rebuildBytecode = false;
|
||||
stripBytecode = true;
|
||||
includeSiteCustomize = false;
|
||||
enableOptimizations = false;
|
||||
enableLTO = false;
|
||||
mimetypesSupport = false;
|
||||
withExpat = false;
|
||||
withMpdecimal = false;
|
||||
/*
|
||||
The actual 'allowedReferences' attribute is set inside the cpython derivation.
|
||||
This is necessary in order to survive overrides of dependencies.
|
||||
*/
|
||||
allowedReferenceNames = [
|
||||
"bashNonInteractive"
|
||||
];
|
||||
withMinimalDeps = true;
|
||||
}
|
||||
// sources.python313
|
||||
)).overrideAttrs
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "a2wsgi";
|
||||
version = "1.10.8";
|
||||
version = "1.10.10";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-/AC6sfx5L4mozhtJGyrRcXsUXYyu+3XQqFhpRu3JfLI=";
|
||||
hash = "sha256-pbz/tSCBujnfDV6aiE/G+BnZLjpCOJNDunfL+An+H0U=";
|
||||
};
|
||||
|
||||
build-system = [ pdm-backend ];
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "abjad";
|
||||
version = "3.22";
|
||||
version = "3.28";
|
||||
format = "setuptools";
|
||||
|
||||
# see issue upstream indicating Python 3.12 support will come
|
||||
@@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-cTll4E5qPuacc7K3TFfK4IqtXGUHuiiU5J20poRuWbI=";
|
||||
hash = "sha256-J4LPOSz34GvDRwpCG8yt4LAqt+dhDrfG/W451bZRpgk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -1,33 +1,31 @@
|
||||
{
|
||||
lib,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
buildPythonPackage,
|
||||
python,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "about-time";
|
||||
version = "4.2.1";
|
||||
format = "setuptools";
|
||||
version = "4.2.2";
|
||||
pyproject = true;
|
||||
|
||||
# PyPi release does not contain test files, but the repo has no release tags,
|
||||
# so while having no tests is not ideal, follow the PyPi releases for now
|
||||
# TODO: switch to fetchFromGitHub once this issue is fixed:
|
||||
# https://github.com/rsalmei/about-time/issues/15
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-alOIYtM85n2ZdCnRSZgxDh2/2my32bv795nEcJhH/s4=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "rsalmei";
|
||||
repo = "about-time";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-a7jFVrxUvdR5UdeNNXSTsXC/Q76unedMLmcu0iTS3Tk=";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools~=75.3" setuptools
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
pythonImportsCheck = [ "about_time" ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/doc/python${python.pythonVersion}-$pname-$version/
|
||||
mv $out/LICENSE $out/share/doc/python${python.pythonVersion}-$pname-$version/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cool helper for tracking time and throughput of code blocks, with beautiful human friendly renditions";
|
||||
homepage = "https://github.com/rsalmei/about-time";
|
||||
|
||||
@@ -2,22 +2,22 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
hatchling,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "absl-py";
|
||||
version = "2.2.2";
|
||||
version = "2.3.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "abseil";
|
||||
repo = "abseil-py";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-KsaFfdq6+Pc8k0gM1y+HJ1v6VrTAK7TBgh92BSFuc+Q=";
|
||||
hash = "sha256-U8doys7SoOhtUkF0dsCFKnM9ItOoi5a6cK6zGOe/U8s=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
build-system = [ hatchling ];
|
||||
|
||||
# checks use bazel; should be revisited
|
||||
doCheck = false;
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
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";
|
||||
changelog = "https://github.com/abseil/abseil-py/blob/${src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
|
||||
@@ -41,6 +41,8 @@ buildPythonPackage rec {
|
||||
fsspec
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "azure-datalake-store" ];
|
||||
|
||||
# Tests require a running Docker instance
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -31,6 +31,8 @@ buildPythonPackage rec {
|
||||
lxml
|
||||
];
|
||||
|
||||
doCheck = false; # Failed: async def functions are not natively supported.
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-aiohttp
|
||||
pytestCheckHook
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytest-cov-stub,
|
||||
pytest-asyncio,
|
||||
pytest-asyncio_0,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
@@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
dependencies = [ asyncssh ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytest-asyncio_0
|
||||
pytest-cov-stub
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
diff --git a/aioboto3/session.py b/aioboto3/session.py
|
||||
index b6c2129..c97eaaf 100644
|
||||
--- a/aioboto3/session.py
|
||||
+++ b/aioboto3/session.py
|
||||
@@ -79,7 +79,9 @@ class Session(boto3.session.Session):
|
||||
|
||||
if any(creds):
|
||||
if self._account_id_set_without_credentials(
|
||||
- aws_account_id, aws_access_key_id, aws_secret_access_key
|
||||
+ aws_account_id=aws_account_id,
|
||||
+ aws_access_key_id=aws_access_key_id,
|
||||
+ aws_secret_access_key=aws_secret_access_key
|
||||
):
|
||||
raise NoCredentialsError()
|
||||
|
||||
@@ -16,16 +16,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioboto3";
|
||||
version = "14.3.0";
|
||||
version = "15.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "terrycain";
|
||||
owner = "terricain";
|
||||
repo = "aioboto3";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-3GdTpbU0uEEzezQPHJTGPB42Qu604eIhcIAP4rZMQiY=";
|
||||
hash = "sha256-Z4tUwTFaXC3BGUKc1FPY0xoaUViAEiZNeP5REWotw2M=";
|
||||
};
|
||||
|
||||
# https://github.com/terricain/aioboto3/pull/377
|
||||
patches = [ ./boto3-compat.patch ];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"aiobotocore"
|
||||
];
|
||||
@@ -63,8 +66,8 @@ buildPythonPackage rec {
|
||||
|
||||
meta = {
|
||||
description = "Wrapper to use boto3 resources with the aiobotocore async backend";
|
||||
homepage = "https://github.com/terrycain/aioboto3";
|
||||
changelog = "https://github.com/terrycain/aioboto3/blob/${src.rev}/CHANGELOG.rst";
|
||||
homepage = "https://github.com/terricain/aioboto3";
|
||||
changelog = "https://github.com/terricain/aioboto3/blob/${src.rev}/CHANGELOG.rst";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ mbalatsko ];
|
||||
};
|
||||
|
||||
@@ -17,20 +17,21 @@
|
||||
werkzeug,
|
||||
awscli,
|
||||
boto3,
|
||||
httpx,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiobotocore";
|
||||
version = "2.22.0";
|
||||
version = "2.23.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aio-libs";
|
||||
repo = "aiobotocore";
|
||||
tag = version;
|
||||
hash = "sha256-Zzwj0osXqWSCWsuxlpiqpptzjLhFwlqfXqiWMP7CgXg=";
|
||||
hash = "sha256-3aqA+zjXgYGqDRF0x2eS458A0N7Dmc0tfOcnukjf0DM=";
|
||||
};
|
||||
|
||||
# Relax version constraints: aiobotocore works with newer botocore versions
|
||||
@@ -55,6 +56,7 @@ buildPythonPackage rec {
|
||||
optional-dependencies = {
|
||||
awscli = [ awscli ];
|
||||
boto3 = [ boto3 ];
|
||||
httpx = [ httpx ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
@@ -69,11 +71,14 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "aiobotocore" ];
|
||||
|
||||
disabledTests = [
|
||||
# TypeError: sequence item 1: expected str instance, MagicMock found
|
||||
"test_signers_generate_db_auth_token"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Test requires network access
|
||||
"tests/test_version.py"
|
||||
# Test not compatible with latest moto
|
||||
"tests/python3.8/test_eventstreams.py"
|
||||
"tests/test_basic_s3.py"
|
||||
"tests/test_batch.py"
|
||||
"tests/test_dynamodb.py"
|
||||
@@ -86,6 +91,11 @@ buildPythonPackage rec {
|
||||
"tests/test_waiter.py"
|
||||
];
|
||||
|
||||
disabledTestMarks = [
|
||||
# Exclude localonly tests (incompatible with moto mocks)
|
||||
"localonly"
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -58,7 +58,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python module to discover hosts via ARP and PTR lookup";
|
||||
homepage = "https://github.com/bdraco/aiodiscover";
|
||||
changelog = "https://github.com/bdraco/aiodiscover/releases/tag/v${version}";
|
||||
changelog = "https://github.com/bdraco/aiodiscover/releases/tag/${src.tag}";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
||||
@@ -37,6 +37,8 @@ buildPythonPackage rec {
|
||||
|
||||
dependencies = [ aiohttp ];
|
||||
|
||||
doCheck = false; # Failed: async def functions are not natively supported.
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-aiohttp
|
||||
pytestCheckHook
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
meteocalc,
|
||||
pytest-asyncio_0,
|
||||
pytest-aiohttp,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
@@ -32,7 +33,8 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-aiohttp
|
||||
pytest-asyncio_0
|
||||
(pytest-aiohttp.override { pytest-asyncio = pytest-asyncio_0; })
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
sphinxHook,
|
||||
|
||||
# tests
|
||||
pytest-asyncio,
|
||||
pytest-asyncio_0,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
@@ -50,7 +50,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytest-asyncio_0
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
fetchFromGitHub,
|
||||
orjson,
|
||||
poetry-core,
|
||||
pytest-asyncio_0,
|
||||
pytest-aiohttp,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
@@ -50,7 +51,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-aiohttp
|
||||
(pytest-aiohttp.override { pytest-asyncio = pytest-asyncio_0; })
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
pytest-aiohttp,
|
||||
pytest-asyncio,
|
||||
pytest-asyncio_0,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
@@ -31,8 +31,8 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "aiohttp_sse" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-aiohttp
|
||||
pytest-asyncio
|
||||
(pytest-aiohttp.override { pytest-asyncio = pytest-asyncio_0; })
|
||||
pytest-asyncio_0
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
isPyPy,
|
||||
|
||||
# build-system
|
||||
cython_3_1,
|
||||
cython,
|
||||
pkgconfig,
|
||||
setuptools,
|
||||
|
||||
@@ -50,14 +50,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohttp";
|
||||
version = "3.12.14";
|
||||
version = "3.12.15";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aio-libs";
|
||||
repo = "aiohttp";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-KPPxP6x/3sz2mDJNswh/xPatcMtVdYv3aArg//7tSao=";
|
||||
hash = "sha256-nVDGSbzjCdyJFCsHq8kJigNA4vGs4Pg1Vyyvw+gKg2w=";
|
||||
};
|
||||
|
||||
patches = lib.optionals (!lib.meta.availableOn stdenv.hostPlatform isa-l) [
|
||||
@@ -75,7 +75,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
cython_3_1
|
||||
cython
|
||||
pkgconfig
|
||||
setuptools
|
||||
];
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
mock,
|
||||
poetry-core,
|
||||
pyopenssl,
|
||||
pytest-asyncio,
|
||||
pytest-asyncio_0,
|
||||
pytestCheckHook,
|
||||
pytz,
|
||||
}:
|
||||
@@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
imaplib2
|
||||
mock
|
||||
pyopenssl
|
||||
pytest-asyncio
|
||||
pytest-asyncio_0
|
||||
pytestCheckHook
|
||||
pytz
|
||||
];
|
||||
|
||||
@@ -26,6 +26,8 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
||||
doCheck = false; # all tests are async and no async plugin is configured
|
||||
|
||||
nativeCheckInputs = [
|
||||
faker
|
||||
pytest-aiohttp
|
||||
@@ -33,11 +35,6 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Not all tests are ready yet
|
||||
"test_successful"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "aiolookin" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiomisc-pytest";
|
||||
version = "1.2.1";
|
||||
version = "1.3.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "aiomisc_pytest";
|
||||
inherit version;
|
||||
hash = "sha256-4mWP77R3CoX+XhoT6BbxQtxpINpdmeozjYUsegNfMyU=";
|
||||
hash = "sha256-9Of1pSUcMiIhkz7OW5erF4oDlf/ABkaamDBPg7+WbBE=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
@@ -22,14 +22,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiomisc";
|
||||
version = "17.7.8";
|
||||
version = "17.9.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Wfum+9M0Kx9GA9F2/fzhvETsQodNKnoRXSADFZl6Sf4=";
|
||||
hash = "sha256-oSwMhomcPIN2JYterJuBUcmJtUx3rayADH1ugah+pI8=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aionotion";
|
||||
version = "2024.03.0";
|
||||
version = "2025.02.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -29,9 +29,14 @@ buildPythonPackage rec {
|
||||
owner = "bachya";
|
||||
repo = "aionotion";
|
||||
tag = version;
|
||||
hash = "sha256-BsbfLb5wCVxR8v2U2Zzt7LMl7XJcZWfVjZN47VDkhFc=";
|
||||
hash = "sha256-MqH3CPp+dAX5DXtnHio95KGQ+Ok2TXrX6rn/AMx5OsY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "poetry-core==" "poetry-core>="
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -44,6 +49,12 @@ buildPythonPackage rec {
|
||||
yarl
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"ciso8601"
|
||||
"frozenlist"
|
||||
"mashumaro"
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
nativeCheckInputs = [
|
||||
@@ -61,7 +72,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python library for Notion Home Monitoring";
|
||||
homepage = "https://github.com/bachya/aionotion";
|
||||
changelog = "https://github.com/bachya/aionotion/releases/tag/${version}";
|
||||
changelog = "https://github.com/bachya/aionotion/releases/tag/${src.tag}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
buildPythonPackage,
|
||||
setuptools,
|
||||
websockets,
|
||||
pytest-asyncio,
|
||||
pytest-asyncio_0,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
@@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||
optional-dependencies.ws = [ websockets ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytest-asyncio_0
|
||||
pytestCheckHook
|
||||
]
|
||||
++ lib.flatten (lib.attrValues optional-dependencies);
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiortm";
|
||||
version = "0.10.0";
|
||||
version = "0.11.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
@@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
owner = "MartinHjelmare";
|
||||
repo = "aiortm";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-YclrU24eyk88eOc/nlgeWJ/Fo9SveCzRqQCKYAA9Y9s=";
|
||||
hash = "sha256-KghKxaa1MhNH13NdUpDiT5h8ZEj5aWLUVhvQKvLC+oM=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "typer" ];
|
||||
@@ -57,7 +57,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Library for the Remember the Milk API";
|
||||
homepage = "https://github.com/MartinHjelmare/aiortm";
|
||||
changelog = "https://github.com/MartinHjelmare/aiortm/blob/v${version}/CHANGELOG.md";
|
||||
changelog = "https://github.com/MartinHjelmare/aiortm/blob/${src.tag}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "aiortm";
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiosonic";
|
||||
version = "0.22.0";
|
||||
version = "0.24.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -34,7 +34,7 @@ buildPythonPackage rec {
|
||||
owner = "sonic182";
|
||||
repo = "aiosonic";
|
||||
tag = version;
|
||||
hash = "sha256-wBYGiSTSRhi11uqTyGgF1YpnBVoDraCr2GKC8VkQEWc=";
|
||||
hash = "sha256-Yh1AD/tBHQBpwAA86XuP9UuXnCAFcMw/XSv6z46XP0k=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -113,7 +113,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/sonic182/aiosonic/blob/${version}/CHANGELOG.md";
|
||||
changelog = "https://github.com/sonic182/aiosonic/blob/${src.tag}/CHANGELOG.md";
|
||||
description = "Very fast Python asyncio http client";
|
||||
license = lib.licenses.mit;
|
||||
homepage = "https://github.com/sonic182/aiosonic";
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiosql";
|
||||
version = "13.3";
|
||||
version = "13.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
owner = "nackjicholson";
|
||||
repo = "aiosql";
|
||||
tag = version;
|
||||
hash = "sha256-FCCS91nH/HPhez+bJE7+JoFW4hKkXMdY4bAaEOZ06jU=";
|
||||
hash = "sha256-a3pRzcDMXdaDs0ub6k5bPRwnk+RCbxZ7ceIt8/fMSPg=";
|
||||
};
|
||||
|
||||
sphinxRoot = "docs/source";
|
||||
@@ -52,7 +52,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Simple SQL in Python";
|
||||
homepage = "https://nackjicholson.github.io/aiosql/";
|
||||
changelog = "https://github.com/nackjicholson/aiosql/releases/tag/${version}";
|
||||
changelog = "https://github.com/nackjicholson/aiosql/releases/tag/${src.tag}";
|
||||
license = with licenses; [ bsd2 ];
|
||||
maintainers = with maintainers; [ kaction ];
|
||||
};
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiostream";
|
||||
version = "0.6.4";
|
||||
version = "0.7.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "vxgmichel";
|
||||
repo = "aiostream";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-hRbPK1JsB/JQuSjj81YMUAI8eDUyXCOFhdW22ZJ47xU=";
|
||||
hash = "sha256-oOx1LG3UyMJRm/HvmrHT00jTp3+XzmvS2XRH4BJNyPE=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -39,7 +39,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Generator-based operators for asynchronous iteration";
|
||||
homepage = "https://aiostream.readthedocs.io";
|
||||
changelog = "https://github.com/vxgmichel/aiostream/releases/tag/v${version}";
|
||||
changelog = "https://github.com/vxgmichel/aiostream/releases/tag/${src.tag}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ rmcgibbo ];
|
||||
};
|
||||
|
||||
@@ -21,6 +21,11 @@ buildPythonPackage rec {
|
||||
hash = "sha256-VBdHI6aGfhcgDdwspToHp3iNFQRT0Z+Fseq0eNdUwTo=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ aiohttp ];
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "albucore";
|
||||
version = "0.0.24";
|
||||
version = "0.0.33";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "albumentations-team";
|
||||
repo = "albucore";
|
||||
tag = version;
|
||||
hash = "sha256-frVMPW3au/6vPRY89GIt7chCPkUMl13DpPqCPqIjz/o=";
|
||||
hash = "sha256-OQYIvJM3pLna5rr1H7pVDhUR9sLmx032AZ9SWXQqMjc=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "opencv-python" ];
|
||||
@@ -43,7 +43,7 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "High-performance image processing library to optimize and extend Albumentations with specialized functions for image transformations";
|
||||
homepage = "https://github.com/albumentations-team/albucore";
|
||||
changelog = "https://github.com/albumentations-team/albucore/releases/tag/${version}";
|
||||
changelog = "https://github.com/albumentations-team/albucore/releases/tag/${src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ bcdarwin ];
|
||||
};
|
||||
|
||||
@@ -2,34 +2,30 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
importlib-metadata,
|
||||
importlib-resources,
|
||||
mako,
|
||||
sqlalchemy,
|
||||
typing-extensions,
|
||||
|
||||
# tests
|
||||
pytest7CheckHook,
|
||||
black,
|
||||
pytestCheckHook,
|
||||
pytest-xdist,
|
||||
python-dateutil,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "alembic";
|
||||
version = "1.15.2";
|
||||
version = "1.16.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-HHI5G73v/M/jF+77pobLmjwHgAVHiIVBO5XDsmxXqKc=";
|
||||
hash = "sha256-76tq2g3Q+uLJIGCADgv1wdwmrxWhDgL7S6v/FktHJeI=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -38,16 +34,13 @@ buildPythonPackage rec {
|
||||
mako
|
||||
sqlalchemy
|
||||
typing-extensions
|
||||
]
|
||||
++ lib.optionals (pythonOlder "3.9") [
|
||||
importlib-resources
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "alembic" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest7CheckHook
|
||||
black
|
||||
pytestCheckHook
|
||||
pytest-xdist
|
||||
python-dateutil
|
||||
];
|
||||
|
||||
@@ -37,6 +37,8 @@ buildPythonPackage rec {
|
||||
grapheme
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "about_time" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
click
|
||||
pytestCheckHook
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "allure-behave";
|
||||
version = "2.13.5";
|
||||
version = "2.15.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-M4yizHOV0e491y9dfZLYkg8a3g4H3evGN7OOYeBtyNw=";
|
||||
hash = "sha256-puJuaeA6uFJRF1ZS7jWY55Mmk2Y4SQiuhZGEGi7yexs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "allure-pytest";
|
||||
version = "2.13.5";
|
||||
version = "2.15.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-DvjheQxEqYjba4PE1PXpFFHixMjqEGAd+ohSjSOvz24=";
|
||||
hash = "sha256-uPRk07/rbLXmp35w6s0ao3YhM2d8q+zlegfJ87zUseg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
@@ -12,12 +12,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "allure-python-commons-test";
|
||||
version = "2.13.5";
|
||||
version = "2.15.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-pWkLVfBrLEhdhuTE95K3aqrhEY2wEyo5uRzuJC3ngjE=";
|
||||
pname = "allure_python_commons_test";
|
||||
inherit version;
|
||||
hash = "sha256-5l/9K6ToYEGaYXOmVxB188wu9gQ+2cMHxfVNlX8Rz9g=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
@@ -13,30 +13,22 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "allure-python-commons";
|
||||
version = "2.13.5";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
version = "2.15.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-ojLnlVgR+Yjkmkwd1sFszn6bgdDqBCKx5WVNMlTiyvM=";
|
||||
pname = "allure_python_commons";
|
||||
inherit version;
|
||||
hash = "sha256-T2Oci7S3nfDZTxuqiHgsk5m+P0X9g5rlg6MUpdRRuXg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
attrs
|
||||
pluggy
|
||||
six
|
||||
allure-python-commons-test
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m doctest ./src/utils.py
|
||||
${python.interpreter} -m doctest ./src/mapping.py
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"allure"
|
||||
"allure_commons"
|
||||
|
||||
@@ -11,14 +11,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "amazon-kclpy";
|
||||
version = "3.0.1";
|
||||
version = "3.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "awslabs";
|
||||
repo = "amazon-kinesis-client-python";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-P/kYRFDmWcqvnAaKYx22PwtC51JlYB0qopO3+QuRHAk=";
|
||||
hash = "sha256-nboEZwRlhbr176H4b6ESm3LfVZCoKz3yKrQptERsLgg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -56,7 +56,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python module for Amcrest and Dahua Cameras";
|
||||
homepage = "https://github.com/tchellomello/python-amcrest";
|
||||
changelog = "https://github.com/tchellomello/python-amcrest/releases/tag/${version}";
|
||||
changelog = "https://github.com/tchellomello/python-amcrest/releases/tag/${src.tag}";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
||||
@@ -32,14 +32,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "anndata";
|
||||
version = "0.11.4";
|
||||
version = "0.12.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scverse";
|
||||
repo = "anndata";
|
||||
tag = version;
|
||||
hash = "sha256-9RDR0veZ8n2sq0kUbAkS2nP57u47cQxmubzuWWYBKBY=";
|
||||
hash = "sha256-vxyRJ77PIkRIyl4aTQggXSQVoMKLQe3mCA5H3W/wmN8=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -148,7 +148,7 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "anndata" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/scverse/anndata/blob/main/docs/release-notes/${version}.md";
|
||||
changelog = "https://github.com/scverse/anndata/blob/main/docs/release-notes/${src.tag}.md";
|
||||
description = "Python package for handling annotated data matrices in memory and on disk";
|
||||
homepage = "https://anndata.readthedocs.io/";
|
||||
license = lib.licenses.bsd3;
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "annotatedyaml";
|
||||
version = "0.4.5";
|
||||
version = "1.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "annotatedyaml";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-AmgM5KF8O8/rkR/9PmTzcyQaSlEDcYBDDRq5ujwANR0=";
|
||||
hash = "sha256-bVXhKm69A5FIXYY2yq7jXPIK7lSCQD20a3oX1GdqOLY=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -50,7 +50,7 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Annotated YAML that supports secrets for Python";
|
||||
homepage = "https://github.com/home-assistant-libs/annotatedyaml";
|
||||
changelog = "https://github.com/home-assistant-libs/annotatedyaml/blob/${src.rev}/CHANGELOG.md";
|
||||
changelog = "https://github.com/home-assistant-libs/annotatedyaml/blob/${src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
|
||||
@@ -41,6 +41,8 @@ buildPythonPackage rec {
|
||||
disabledTests = [
|
||||
# Makes network calls
|
||||
"test_async_data_1"
|
||||
# async def functions are not natively supported.
|
||||
"test_can_create"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "anova_wifi" ];
|
||||
|
||||
@@ -47,9 +47,6 @@ buildPythonPackage rec {
|
||||
# the python interpreter again, as it would break execution of
|
||||
# connection plugins.
|
||||
postPatch = ''
|
||||
substituteInPlace lib/ansible/executor/task_executor.py \
|
||||
--replace "[python," "["
|
||||
|
||||
patchShebangs --build packaging/cli-doc/build.py
|
||||
|
||||
SETUPTOOLS_PATTERN='"setuptools[0-9 <>=.,]+"'
|
||||
@@ -60,6 +57,9 @@ buildPythonPackage rec {
|
||||
else
|
||||
exit 2
|
||||
fi
|
||||
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "wheel == 0.45.1" wheel
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -32,14 +32,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "anthropic";
|
||||
version = "0.59.0";
|
||||
version = "0.60.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anthropics";
|
||||
repo = "anthropic-sdk-python";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-JUgJB0+9zfmj3asjn7FOozNB9STkKEvObbTP3KLDV+M=";
|
||||
hash = "sha256-NwwZjpamBtRHYs/k+i2TfydTEzU2aB5+IxkONXlCqEk=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "anyio";
|
||||
version = "4.9.0";
|
||||
version = "4.10.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -42,7 +42,7 @@ buildPythonPackage rec {
|
||||
owner = "agronholm";
|
||||
repo = "anyio";
|
||||
tag = version;
|
||||
hash = "sha256-kISaBHDkMOYYU9sdiQAXiq3jp1ehWOYFpvFbuceBWB0=";
|
||||
hash = "sha256-9nOGQTqdO3VzA9c97BpZqqwpll5O5+3gRvF/l2Y2ars=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
@@ -59,6 +59,16 @@ buildPythonPackage rec {
|
||||
disabledTests = [
|
||||
# requires package.json
|
||||
"test_version"
|
||||
|
||||
# AssertionError: assert not {140737277121872: <MockComm id='140737277118512'>}
|
||||
"test_descriptor_with_psygnal"
|
||||
"test_descriptor_with_pydantic"
|
||||
"test_descriptor_with_msgspec"
|
||||
"test_descriptor_with_traitlets"
|
||||
"test_infer_file_contents"
|
||||
|
||||
# assert not {<function _connect_psygnal.<locals>._disconnect at 0x7ffff3617e...
|
||||
"test_descriptor_with_psygnal"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "anywidget" ];
|
||||
|
||||
@@ -62,14 +62,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "apache-beam";
|
||||
version = "2.65.0";
|
||||
version = "2.66.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "apache";
|
||||
repo = "beam";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-vDW0PVNep+egIZBe4t8IPwLgsQDmoO4rrA4wUoAHzfg=";
|
||||
hash = "sha256-nRofy9pvhO5SUvkIk73ViFm1gPWxEhj1rAUeCVYIpYs=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
@@ -372,7 +372,7 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Unified model for defining both batch and streaming data-parallel processing pipelines";
|
||||
homepage = "https://beam.apache.org/";
|
||||
changelog = "https://github.com/apache/beam/blob/release-${version}/CHANGES.md";
|
||||
changelog = "https://github.com/apache/beam/blob/release-${src.tag}/CHANGES.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ ndl ];
|
||||
};
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
graphql-core,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pytest8_3CheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
@@ -37,7 +37,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
pytest8_3CheckHook
|
||||
]
|
||||
++ lib.flatten (builtins.attrValues optional-dependencies);
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
pytest-asyncio,
|
||||
pytest-cov-stub,
|
||||
pytest-tornado,
|
||||
pytestCheckHook,
|
||||
pytest8_3CheckHook,
|
||||
pythonOlder,
|
||||
pytz,
|
||||
setuptools,
|
||||
@@ -31,6 +31,10 @@ buildPythonPackage rec {
|
||||
hash = "sha256-tFEm9yXf8CqcipSYtM7JM6WQ5Qm0YtgWhZvZOBAzy+w=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i "/addopts/d" pyproject.toml
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
@@ -45,7 +49,7 @@ buildPythonPackage rec {
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
pytest-tornado
|
||||
pytestCheckHook
|
||||
pytest8_3CheckHook
|
||||
pytz
|
||||
tornado
|
||||
twisted
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "apycula";
|
||||
version = "0.18";
|
||||
version = "0.21";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "Apycula";
|
||||
hash = "sha256-nUaXnx4xFNH5wKZRaFXt0uLAgLm5/dTSKhiZQoSL8pg=";
|
||||
hash = "sha256-rh+1U1bqyrX3Mv1HUl22ykUHx5Zaq59suc7ZVAOi0mo=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
aiohttp,
|
||||
attrs,
|
||||
defusedxml,
|
||||
pytest-asyncio_0,
|
||||
pytest-aiohttp,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
@@ -15,7 +16,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "arcam-fmj";
|
||||
version = "1.8.2";
|
||||
version = "2.0.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -24,7 +25,7 @@ buildPythonPackage rec {
|
||||
owner = "elupus";
|
||||
repo = "arcam_fmj";
|
||||
tag = version;
|
||||
hash = "sha256-iks3ENcv7OtU30kZyG6Z7bG/WrYQQLbfXP55IkltmaE=";
|
||||
hash = "sha256-OiBTlAcSLhaMWbp5k+0yU1amSpLKnJA+3Q56lyiSDUA=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -36,6 +37,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio_0
|
||||
pytest-aiohttp
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
@@ -65,7 +67,7 @@ buildPythonPackage rec {
|
||||
description = "Python library for speaking to Arcam receivers";
|
||||
mainProgram = "arcam-fmj";
|
||||
homepage = "https://github.com/elupus/arcam_fmj";
|
||||
changelog = "https://github.com/elupus/arcam_fmj/releases/tag/${version}";
|
||||
changelog = "https://github.com/elupus/arcam_fmj/releases/tag/${src.tag}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
pytest-asyncio,
|
||||
pytest-asyncio_0,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
pytest-asyncio
|
||||
pytest-asyncio_0
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
@@ -1,38 +1,42 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
libargon2,
|
||||
cffi,
|
||||
setuptools-scm,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "argon2-cffi-bindings";
|
||||
version = "21.2.0";
|
||||
format = "setuptools";
|
||||
version = "25.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "bb89ceffa6c791807d1305ceb77dbfacc5aa499891d2c55661c6459651fc39e3";
|
||||
src = fetchFromGitHub {
|
||||
owner = "hynek";
|
||||
repo = "argon2-cffi-bindings";
|
||||
tag = version;
|
||||
hash = "sha256-UDPxwqEpsmByAPM7lz3cxZz8jWwCEdghPlKXt8zQrfc=";
|
||||
};
|
||||
|
||||
buildInputs = [ libargon2 ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools-scm
|
||||
cffi
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ cffi ];
|
||||
dependencies = [ cffi ];
|
||||
|
||||
env.ARGON2_CFFI_USE_SYSTEM = 1;
|
||||
|
||||
# tarball doesn't include tests, but the upstream tests are minimal
|
||||
doCheck = false;
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "_argon2_cffi_bindings" ];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/hynek/argon2-cffi-bindings/releases/tag/${src.tag}";
|
||||
description = "Low-level CFFI bindings for Argon2";
|
||||
homepage = "https://github.com/hynek/argon2-cffi-bindings";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "argon2-cffi";
|
||||
version = "23.1.0";
|
||||
version = "25.1.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "argon2_cffi";
|
||||
inherit version;
|
||||
hash = "sha256-h5w+eaJynOdo67fTbUYJ46eKTKLsOp8SKGygV+PQ2wg=";
|
||||
hash = "sha256-aUrlzIpC9MTivyyg5k5R4joEDGpReoUHRoPTlZ4TRsE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "argos-translate-files";
|
||||
version = "1.2.0";
|
||||
version = "1.4.0";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-vIwZ2jdrBXtz6gG+Zfgqq6HVfdzmQf7nLqCDaQZT4js=";
|
||||
hash = "sha256-vKnPL0xgyJ1vYtB2AgnKv4BqigSiFYmIm5HBq4hQ7nI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
numpy,
|
||||
jaxlib,
|
||||
jax,
|
||||
@@ -18,17 +19,20 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "array-api-compat";
|
||||
version = "1.11.2";
|
||||
version = "1.12";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "data-apis";
|
||||
repo = "array-api-compat";
|
||||
tag = version;
|
||||
hash = "sha256-qGf1XDhRx9hJJP0LcZF7lA8tl+LKYNCw0xTqGjsZYj8=";
|
||||
hash = "sha256-Hb0bFjVMl4CBI3gN3abTO2QUPAOvUaFE0GdPjdops5E=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
asdf-standard,
|
||||
asdf-transform-schemas,
|
||||
attrs,
|
||||
@@ -16,6 +17,7 @@
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pyyaml,
|
||||
requests,
|
||||
semantic-version,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
@@ -23,7 +25,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asdf";
|
||||
version = "4.1.0";
|
||||
version = "4.3.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -32,7 +34,7 @@ buildPythonPackage rec {
|
||||
owner = "asdf-format";
|
||||
repo = "asdf";
|
||||
tag = version;
|
||||
hash = "sha256-h7OkLq9+sW507Va22cF0eez6xrI7iIaLV5D7EZFWxJQ=";
|
||||
hash = "sha256-sCjDZ/6KiFH9LbdDpco8z1xRgJe0dm0HVhpRbO51RDI=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -53,11 +55,13 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aiohttp
|
||||
fsspec
|
||||
lz4
|
||||
psutil
|
||||
pytest-remotedata
|
||||
pytestCheckHook
|
||||
requests
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "astroid";
|
||||
version = "3.3.10"; # Check whether the version is compatible with pylint
|
||||
version = "3.3.11"; # Check whether the version is compatible with pylint
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "PyCQA";
|
||||
repo = "astroid";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-q4ZPXz2xaKJ39q6g1c9agktKSCfbRp+3INDfXg/wP8k=";
|
||||
hash = "sha256-lv+BQDYP7N4UGMf7XhB6HVDORPU0kZQPYveQWOcAqfQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
@@ -33,6 +33,11 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html.
|
||||
"test_identify_old_namespace_package_protocol"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# requires mypy
|
||||
"tests/test_raw_building.py"
|
||||
|
||||
@@ -2,28 +2,25 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
hatchling,
|
||||
hatch-vcs,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "astropy-iers-data";
|
||||
version = "0.2025.3.31.0.36.18";
|
||||
version = "0.2025.8.4.0.42.59";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "astropy";
|
||||
repo = "astropy-iers-data";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-51U5QStpzTGwg1MC1NJPMnothjF3Aa7j3dxiRUfnqDE=";
|
||||
hash = "sha256-Izqm626PZzjnMNUzPW2x15ER7fn5f9+m2X434vXV/yo=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
hatchling
|
||||
hatch-vcs
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "astropy_iers_data" ];
|
||||
|
||||
@@ -52,20 +52,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "astropy";
|
||||
version = "7.0.1";
|
||||
version = "7.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-OS/utEOyQ3zUwuBkGmXg8VunkeFI6bHl7X3n38s45GA=";
|
||||
hash = "sha256-yPJUMiKVsbjPJDA9bxVb9+/bbBKCiCuWbOMEDv+MU8U=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./test_z_at_value_numpyvectorize.patch
|
||||
];
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=unused-command-line-argument";
|
||||
};
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
From 9a7f821351f0870608b2fa3e1be31bda70707913 Mon Sep 17 00:00:00 2001
|
||||
From: "P. L. Lim" <2090236+pllim@users.noreply.github.com>
|
||||
Date: Fri, 2 May 2025 13:49:06 -0400
|
||||
Subject: [PATCH] TST: xfail test_z_at_value_numpyvectorize for numpy 2.3.dev
|
||||
and later until we can fix the underlying issue
|
||||
|
||||
Originally this is
|
||||
https://github.com/astropy/astropy/commit/9fce0d46c5e1807d7e1030c3cb0b1a9c0a359dd9
|
||||
but the path to the file has changed since the release currently in nixpkgs.
|
||||
---
|
||||
astropy/cosmology/_src/tests/funcs/test_funcs.py | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
--- a/astropy/cosmology/funcs/tests/test_funcs.py
|
||||
+++ b/astropy/cosmology/funcs/tests/test_funcs.py
|
||||
@@ -31,6 +31,7 @@
|
||||
)
|
||||
from astropy.cosmology._src.funcs.optimize import _z_at_scalar_value
|
||||
from astropy.units import allclose
|
||||
+from astropy.utils.compat import NUMPY_LT_2_3
|
||||
from astropy.utils.compat.optional_deps import HAS_SCIPY
|
||||
from astropy.utils.exceptions import AstropyUserWarning
|
||||
|
||||
@@ -173,6 +174,9 @@ def test_scalar_input_to_output(self):
|
||||
|
||||
|
||||
@pytest.mark.skipif(not HAS_SCIPY, reason="test requires scipy")
|
||||
+@pytest.mark.xfail(
|
||||
+ not NUMPY_LT_2_3, reason="TODO fix: https://github.com/astropy/astropy/issues/18045"
|
||||
+)
|
||||
def test_z_at_value_numpyvectorize():
|
||||
"""Test that numpy vectorize fails on Quantities.
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
connio,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
pytest-asyncio,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
@@ -46,6 +47,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
@@ -21,14 +21,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asyncssh";
|
||||
version = "2.20.0";
|
||||
version = "2.21.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-AgtuOEsjKO+Gg5CK2Oc96ewrm2L9lkVx6pV7uphBKYM=";
|
||||
hash = "sha256-RQ/hO7jYao9OfXtfr853kRgco+fJLhW7xF37JYZuSLM=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -81,6 +81,8 @@ buildPythonPackage rec {
|
||||
"test_connect_timeout_exceeded"
|
||||
# Fails in the sandbox
|
||||
"test_forward_remote"
|
||||
# (2.21.0) SFTP copy ends up with an empty file
|
||||
"test_copy_max_requests"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "asyncssh" ];
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asyncua";
|
||||
version = "1.1.5";
|
||||
version = "1.1.6";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
owner = "FreeOpcUa";
|
||||
repo = "opcua-asyncio";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-XXjzYDOEBdA4uk0VCzscHrPCY2Lgin0JBAVDdxmSOio=";
|
||||
hash = "sha256-GxjEbzPvley0EL7xuZWr1jzR9Lpui1fVL2FOWnRL34Q=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
@@ -83,7 +83,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "OPC UA / IEC 62541 Client and Server for Python";
|
||||
homepage = "https://github.com/FreeOpcUa/opcua-asyncio";
|
||||
changelog = "https://github.com/FreeOpcUa/opcua-asyncio/releases/tag/v${version}";
|
||||
changelog = "https://github.com/FreeOpcUa/opcua-asyncio/releases/tag/${src.tag}";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ harvidsen ];
|
||||
};
|
||||
|
||||
@@ -47,14 +47,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "atopile";
|
||||
version = "0.2.69";
|
||||
version = "0.11.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "atopile";
|
||||
repo = "atopile";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-mQYnaWch0lVzz1hV6WboYxBGe3ruw+mK2AwMx13DQJM=";
|
||||
hash = "sha256-rf8dWeZYnL0Ce4TDEyediYN+jc+StsGZrpp9OohSz8g=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -118,7 +118,7 @@ buildPythonPackage rec {
|
||||
description = "Design circuit boards with code";
|
||||
homepage = "https://aiopg.readthedocs.io/";
|
||||
downloadPage = "https://github.com/atopile/atopile";
|
||||
changelog = "https://github.com/atopile/atopile/releases/tag/${src.rev}";
|
||||
changelog = "https://github.com/atopile/atopile/releases/tag/${src.tag}";
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = with lib.maintainers; [ sigmanificient ];
|
||||
mainProgram = "ato";
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "audioop-lts";
|
||||
version = "0.2.1";
|
||||
version = "0.2.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.13";
|
||||
@@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
owner = "AbstractUmbra";
|
||||
repo = "audioop";
|
||||
tag = version;
|
||||
hash = "sha256-tx5/dcyEfHlYRohfYW/t0UkLiZ9LJHmI8g3sC3+DGAE=";
|
||||
hash = "sha256-C1z24kH5t0RSVqjT8SBdrilMtVs7pTI1vd+iwMk3RXE=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
pygobject3,
|
||||
pyopenssl,
|
||||
qrcode,
|
||||
pytest-asyncio,
|
||||
pytest-asyncio_0,
|
||||
python-snappy,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
@@ -35,8 +35,6 @@ buildPythonPackage rec {
|
||||
version = "24.4.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "crossbario";
|
||||
repo = "autobahn-python";
|
||||
@@ -63,7 +61,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
mock
|
||||
pytest-asyncio
|
||||
pytest-asyncio_0
|
||||
pytestCheckHook
|
||||
]
|
||||
++ optional-dependencies.scram
|
||||
|
||||
@@ -2,29 +2,26 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
attrs,
|
||||
hatch-vcs,
|
||||
pytest-benchmark,
|
||||
pytestCheckHook,
|
||||
setuptools-scm,
|
||||
six,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
let
|
||||
automat = buildPythonPackage rec {
|
||||
version = "24.8.1";
|
||||
version = "25.4.16";
|
||||
format = "pyproject";
|
||||
pname = "automat";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-s0Inz2P2MluK0jme3ngGdQg+Q5sgwyPTdjc9juYwbYg=";
|
||||
hash = "sha256-ABdZGlR3Bm6Q0msOaW3cFDuq/Ye1iM+sgQC8a+ljTeA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
attrs
|
||||
build-system = [
|
||||
setuptools
|
||||
hatch-vcs
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "avidtools";
|
||||
version = "0.1.2";
|
||||
version = "0.2.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-2YtX+kUryTwaQ4QvExw5OJ4Rx8JoTzBeC8VSyNEL7OY=";
|
||||
hash = "sha256-rYkA/+YfFhrS/WSx+jUWCsXDjp03aMoMiGdXeK3Kf4M=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -3,14 +3,15 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
poetry-core,
|
||||
hatchling,
|
||||
pytest-codspeed,
|
||||
pytest-snapshot,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "awesomeversion";
|
||||
version = "24.6.0";
|
||||
version = "25.8.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -19,7 +20,7 @@ buildPythonPackage rec {
|
||||
owner = "ludeeus";
|
||||
repo = "awesomeversion";
|
||||
tag = version;
|
||||
hash = "sha256-lpG42Be0MVinWX5MyDvBPdoZFx66l6tpUxpAJRqEf88=";
|
||||
hash = "sha256-2CEuJagUkYwtjzpQLYLlz+V5e2feEU6di3wI0+uWuy4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -28,11 +29,12 @@ buildPythonPackage rec {
|
||||
--replace-fail 'version = "0"' 'version = "${version}"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
nativeBuildInputs = [ hatchling ];
|
||||
|
||||
pythonImportsCheck = [ "awesomeversion" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-codspeed
|
||||
pytest-snapshot
|
||||
pytestCheckHook
|
||||
];
|
||||
@@ -40,7 +42,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python module to deal with versions";
|
||||
homepage = "https://github.com/ludeeus/awesomeversion";
|
||||
changelog = "https://github.com/ludeeus/awesomeversion/releases/tag/${version}";
|
||||
changelog = "https://github.com/ludeeus/awesomeversion/releases/tag/${src.tag}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aws-adfs";
|
||||
version = "2.11.2";
|
||||
version = "2.12.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
owner = "venth";
|
||||
repo = "aws-adfs";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-ZzQ92VBa8CApd0WkfPrUZsEZICK2fhwmt45P2sx2mK0=";
|
||||
hash = "sha256-TYfKeLe1zp6d5/JPURAcCAfjtaiWHkkmP1+zE+PiiR4=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -66,7 +66,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Command line tool to ease AWS CLI authentication against ADFS";
|
||||
homepage = "https://github.com/venth/aws-adfs";
|
||||
changelog = "https://github.com/venth/aws-adfs/releases/tag/v${version}";
|
||||
changelog = "https://github.com/venth/aws-adfs/releases/tag/${src.tag}";
|
||||
license = licenses.psfl;
|
||||
maintainers = with maintainers; [ bhipple ];
|
||||
mainProgram = "aws-adfs";
|
||||
|
||||
@@ -15,14 +15,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aws-encryption-sdk";
|
||||
version = "4.0.1";
|
||||
version = "4.0.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-cyDcTPjY1am0yIo0O+k4NdoYdW4FMI01NlVL4MooiaU=";
|
||||
hash = "sha256-kRqQCYBzLlCbhuBEP+O9zuSAdgpGDg9wLzYFZaIPOIg=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aws-lambda-builders";
|
||||
version = "1.53.0";
|
||||
version = "1.56.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
owner = "awslabs";
|
||||
repo = "aws-lambda-builders";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-4OiXri1u4co1cuDm7bLyw8XfMg2S3sKrkPWF2tD8zg8=";
|
||||
hash = "sha256-7fXuDR5AYAtnJapTTJ1QE45aP2l80ao/8RFwM7bgA4w=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -76,7 +76,7 @@ buildPythonPackage rec {
|
||||
description = "Tool to compile, build and package AWS Lambda functions";
|
||||
mainProgram = "lambda-builders";
|
||||
homepage = "https://github.com/awslabs/aws-lambda-builders";
|
||||
changelog = "https://github.com/aws/aws-lambda-builders/releases/tag/v${version}";
|
||||
changelog = "https://github.com/aws/aws-lambda-builders/releases/tag/${src.tag}";
|
||||
longDescription = ''
|
||||
Lambda Builders is a Python library to compile, build and package
|
||||
AWS Lambda functions for several runtimes & frameworks.
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aws-sam-translator";
|
||||
version = "1.98.0";
|
||||
version = "1.99.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
owner = "aws";
|
||||
repo = "serverless-application-model";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-OfWH1V+F90ukVgan+eZKo00hrOMf/6x6HqxARzFiKHI=";
|
||||
hash = "sha256-Y82qN2bmzE5Xqz2wSw9lWItsPbsRevLL7FlLN0FGKs0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
importlib-metadata,
|
||||
jsonpickle,
|
||||
pymysql,
|
||||
pytest-asyncio,
|
||||
pytest-asyncio_0,
|
||||
pynamodb,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
@@ -52,7 +52,7 @@ buildPythonPackage rec {
|
||||
httpx
|
||||
pymysql
|
||||
pynamodb
|
||||
pytest-asyncio
|
||||
pytest-asyncio_0
|
||||
pytestCheckHook
|
||||
sqlalchemy
|
||||
webtest
|
||||
@@ -64,6 +64,8 @@ buildPythonPackage rec {
|
||||
# We don't care about benchmarks
|
||||
"tests/test_local_sampling_benchmark.py"
|
||||
"tests/test_patcher.py"
|
||||
# async def functions are not natively supported.
|
||||
"tests/test_async_recorder.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "aws_xray_sdk" ];
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "awsiotpythonsdk";
|
||||
version = "1.5.4";
|
||||
version = "1.5.5";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
owner = "aws";
|
||||
repo = "aws-iot-device-sdk-python";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-TUNIWGal7NQy2qmHVTiw6eX4t/Yt3NnM3HHztBwMfoM=";
|
||||
hash = "sha256-mgf2hb7dWOGzaHnOQDz7GJeQV3Pa0X56X8nC15Tq0dY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
@@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python SDK for connecting to AWS IoT";
|
||||
homepage = "https://github.com/aws/aws-iot-device-sdk-python";
|
||||
changelog = "https://github.com/aws/aws-iot-device-sdk-python/releases/tag/v${version}";
|
||||
changelog = "https://github.com/aws/aws-iot-device-sdk-python/releases/tag/${src.tag}";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "awswrangler";
|
||||
version = "3.12.0";
|
||||
version = "3.12.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -35,7 +35,7 @@ buildPythonPackage rec {
|
||||
owner = "aws";
|
||||
repo = "aws-sdk-pandas";
|
||||
tag = version;
|
||||
hash = "sha256-BudK7pP7b8YJRyDCQAZv8FtxF5paA+AR/ZBt9UO3XjM=";
|
||||
hash = "sha256-N4IqeAfW4PqgQcBFaFK/Ugbcsz8pLiFzkBr9SRm7AOs=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
||||
@@ -11,14 +11,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "axisregistry";
|
||||
version = "0.4.12";
|
||||
version = "0.4.16";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-d60VbzlDiAL+J8sCE0sp2RgB02WGrigqcdzqW55ex1s=";
|
||||
hash = "sha256-eohwtlFSTuttPv0PsOy1uezGT1NNlwm8ZunVJd1a9zo=";
|
||||
};
|
||||
|
||||
# Relax the dependency on protobuf 3. Other packages in the Google Fonts
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-ai-vision-imageanalysis";
|
||||
version = "1.0.0b3";
|
||||
version = "39.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Azure";
|
||||
repo = "azure-sdk-for-python";
|
||||
tag = "azure-ai-vision-imageanalysis_${version}";
|
||||
hash = "sha256-Hkj9mrjCc8Li8z6e1BjpzANRVx6+DjN0MhTLANMT78E=";
|
||||
tag = "azure-mgmt-containerservice_${version}";
|
||||
hash = "sha256-zufXc8LR4STHi/jjV0bcLsifcHIif2m+3Q/KZlsSkRw=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/sdk/vision/azure-ai-vision-imageanalysis";
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
aiohttp,
|
||||
flask,
|
||||
mock,
|
||||
opentelemetry-api,
|
||||
opentelemetry-instrumentation,
|
||||
opentelemetry-instrumentation-requests,
|
||||
opentelemetry-sdk,
|
||||
pytest,
|
||||
pytest-asyncio,
|
||||
pytest-trio,
|
||||
@@ -20,7 +24,7 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.32.0";
|
||||
version = "1.35.0";
|
||||
pname = "azure-core";
|
||||
pyproject = true;
|
||||
|
||||
@@ -31,12 +35,12 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "azure_core";
|
||||
inherit version;
|
||||
hash = "sha256-IrPDXWstrhSZD2wb4pEr8j/+ULIg5wiiirG7krHHMOU=";
|
||||
hash = "sha256-wL5ShIlIXp7eWbaXHrY8HqrPg+9TABv+OQTkdelyvlw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
requests
|
||||
six
|
||||
typing-extensions
|
||||
@@ -44,12 +48,16 @@ buildPythonPackage rec {
|
||||
|
||||
optional-dependencies = {
|
||||
aio = [ aiohttp ];
|
||||
tracing = [ opentelemetry-api ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
aiodns
|
||||
flask
|
||||
mock
|
||||
opentelemetry-instrumentation
|
||||
opentelemetry-instrumentation-requests
|
||||
opentelemetry-sdk
|
||||
pytest
|
||||
pytest-trio
|
||||
pytest-asyncio
|
||||
@@ -95,6 +103,10 @@ buildPythonPackage rec {
|
||||
"tests/test_polling.py"
|
||||
"tests/async_tests/test_base_polling_async.py"
|
||||
"tests/async_tests/test_polling_async.py"
|
||||
# infinite recursion with azure-storage-blob
|
||||
"tests/async_tests/test_tracing_live_async.py"
|
||||
"tests/test_serialization.py"
|
||||
"tests/test_tracing_live.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -11,14 +11,15 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-datalake-store";
|
||||
version = "0.0.53";
|
||||
version = "1.0.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-BbbeYu4/KgpuaUHmkzt5K4AMPn9v/OL8MkvBmHV1c5M=";
|
||||
pname = "azure_datalake_store";
|
||||
inherit version;
|
||||
hash = "sha256-U2TURFqrFUocfLECFWKcPORs5ceqrxYHGJDAP65ToDU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-eventhub";
|
||||
version = "5.15.0";
|
||||
version = "39.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Azure";
|
||||
repo = "azure-sdk-for-python";
|
||||
tag = "azure-eventhub_${version}";
|
||||
hash = "sha256-zpj1DUeFCXgVw44LcBCYtuFcQtA9BnrDKAxKSYzu4ts=";
|
||||
tag = "azure-mgmt-containerservice_${version}";
|
||||
hash = "sha256-zufXc8LR4STHi/jjV0bcLsifcHIif2m+3Q/KZlsSkRw=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/sdk/eventhub/azure-eventhub";
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-identity";
|
||||
version = "1.21.0";
|
||||
version = "1.23.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "azure_identity";
|
||||
inherit version;
|
||||
hash = "sha256-6iLObmsPQpvBuNkhLVufmHe9TILxckv6kQdgYSwHqaY=";
|
||||
hash = "sha256-Imwe+YKp+NXc9uD57TXq7ypNlx592GMX6bnVLnCgNeQ=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-keyvault-keys";
|
||||
version = "4.10.0";
|
||||
version = "4.11.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "azure_keyvault_keys";
|
||||
inherit version;
|
||||
hash = "sha256-URIGrpCuwXJqTW/1qS11S9DA8eh1GJE2jTD7cLYpVfE=";
|
||||
hash = "sha256-8lexkXosOoiYPj9WdaZBlEnrJiMYiI1bUeHLO+15d5o=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-kusto-data";
|
||||
version = "4.6.3";
|
||||
version = "5.0.5";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
owner = "Azure";
|
||||
repo = "azure-kusto-python";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-VndOEvSi4OMf/yAjNl34X9IFF0T+wNfjlPW8NfdrwUo=";
|
||||
hash = "sha256-DEHTxSvc6AeBMEJuAiDavFj2xVfPmWKpZBaZcpHWHak=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/${pname}";
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-kusto-ingest";
|
||||
version = "4.6.3";
|
||||
version = "5.0.5";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
owner = "Azure";
|
||||
repo = "azure-kusto-python";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-VndOEvSi4OMf/yAjNl34X9IFF0T+wNfjlPW8NfdrwUo=";
|
||||
hash = "sha256-DEHTxSvc6AeBMEJuAiDavFj2xVfPmWKpZBaZcpHWHak=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/${pname}";
|
||||
@@ -40,6 +40,11 @@ buildPythonPackage rec {
|
||||
tenacity
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"azure-storage-blob"
|
||||
"azure-storage-queue"
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
pandas = [ pandas ];
|
||||
};
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-containerservice";
|
||||
version = "37.0.0";
|
||||
version = "39.0.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "azure_mgmt_containerservice";
|
||||
inherit version;
|
||||
hash = "sha256-F02cVmGhYuxDoK95BbzxHNIJpugARaj0I31TcB0qkTs=";
|
||||
hash = "sha256-qgAWke3WPQc3S1gggcC7IMi+b/uIWlkqFXfSH0EYqDc=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user