diff --git a/pkgs/applications/virtualization/qemu/default.nix b/pkgs/applications/virtualization/qemu/default.nix index 75945ebf8302..98542ee3aabc 100644 --- a/pkgs/applications/virtualization/qemu/default.nix +++ b/pkgs/applications/virtualization/qemu/default.nix @@ -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 [ diff --git a/pkgs/by-name/aw/awscli/package.nix b/pkgs/by-name/aw/awscli/package.nix index 39cc67df9f87..298f46a9773c 100644 --- a/pkgs/by-name/aw/awscli/package.nix +++ b/pkgs/by-name/aw/awscli/package.nix @@ -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 = [ diff --git a/pkgs/by-name/bo/borgbackup/package.nix b/pkgs/by-name/bo/borgbackup/package.nix index a3a49005af9f..cdeb0d332a6b 100644 --- a/pkgs/by-name/bo/borgbackup/package.nix +++ b/pkgs/by-name/bo/borgbackup/package.nix @@ -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 \ diff --git a/pkgs/by-name/es/esphome/package.nix b/pkgs/by-name/es/esphome/package.nix index ef77f7baaf53..2fcd40ed1bcc 100644 --- a/pkgs/by-name/es/esphome/package.nix +++ b/pkgs/by-name/es/esphome/package.nix @@ -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 diff --git a/pkgs/by-name/li/libplacebo/package.nix b/pkgs/by-name/li/libplacebo/package.nix index 6960879bdc8a..9ec11a30a720 100644 --- a/pkgs/by-name/li/libplacebo/package.nix +++ b/pkgs/by-name/li/libplacebo/package.nix @@ -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 diff --git a/pkgs/by-name/ma/maturin/package.nix b/pkgs/by-name/ma/maturin/package.nix index f1befa6b5b71..1a5a7472b87a 100644 --- a/pkgs/by-name/ma/maturin/package.nix +++ b/pkgs/by-name/ma/maturin/package.nix @@ -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 diff --git a/pkgs/by-name/pa/paperless-ngx/package.nix b/pkgs/by-name/pa/paperless-ngx/package.nix index 6e233aaa3d11..12edfd5b1e7e 100644 --- a/pkgs/by-name/pa/paperless-ngx/package.nix +++ b/pkgs/by-name/pa/paperless-ngx/package.nix @@ -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 diff --git a/pkgs/by-name/pd/pdm/package.nix b/pkgs/by-name/pd/pdm/package.nix index 7bddb9c35873..c561562a50d8 100644 --- a/pkgs/by-name/pd/pdm/package.nix +++ b/pkgs/by-name/pd/pdm/package.nix @@ -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; diff --git a/pkgs/by-name/po/poetry/package.nix b/pkgs/by-name/po/poetry/package.nix index b17bd307b3dd..b96a4cce5b14 100644 --- a/pkgs/by-name/po/poetry/package.nix +++ b/pkgs/by-name/po/poetry/package.nix @@ -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: { diff --git a/pkgs/by-name/pr/pretalx/package.nix b/pkgs/by-name/pr/pretalx/package.nix index 0f684765681a..bd6aa3dec1f9 100644 --- a/pkgs/by-name/pr/pretalx/package.nix +++ b/pkgs/by-name/pr/pretalx/package.nix @@ -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 diff --git a/pkgs/by-name/rd/rdkafka/package.nix b/pkgs/by-name/rd/rdkafka/package.nix index 976c1c044179..89c5701e3880 100644 --- a/pkgs/by-name/rd/rdkafka/package.nix +++ b/pkgs/by-name/rd/rdkafka/package.nix @@ -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 = [ diff --git a/pkgs/by-name/th/thrift/package.nix b/pkgs/by-name/th/thrift/package.nix index 574c028e463d..7b32a64faad9 100644 --- a/pkgs/by-name/th/thrift/package.nix +++ b/pkgs/by-name/th/thrift/package.nix @@ -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 = [ diff --git a/pkgs/by-name/we/weblate/package.nix b/pkgs/by-name/we/weblate/package.nix index b0500def65f7..36bbdc21b1ea 100644 --- a/pkgs/by-name/we/weblate/package.nix +++ b/pkgs/by-name/we/weblate/package.nix @@ -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 ]; diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix index ec6d55011bad..abdf0a1ceb22 100644 --- a/pkgs/development/interpreters/python/cpython/default.nix +++ b/pkgs/development/interpreters/python/cpython/default.nix @@ -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) [ diff --git a/pkgs/development/interpreters/python/default.nix b/pkgs/development/interpreters/python/default.nix index 322de044a111..9679b39a2890 100644 --- a/pkgs/development/interpreters/python/default.nix +++ b/pkgs/development/interpreters/python/default.nix @@ -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 diff --git a/pkgs/development/python-modules/a2wsgi/default.nix b/pkgs/development/python-modules/a2wsgi/default.nix index f281c25b3884..e38f47e6bcd8 100644 --- a/pkgs/development/python-modules/a2wsgi/default.nix +++ b/pkgs/development/python-modules/a2wsgi/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/abjad/default.nix b/pkgs/development/python-modules/abjad/default.nix index e03212322041..4f89767c1b7a 100644 --- a/pkgs/development/python-modules/abjad/default.nix +++ b/pkgs/development/python-modules/abjad/default.nix @@ -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 = [ diff --git a/pkgs/development/python-modules/about-time/default.nix b/pkgs/development/python-modules/about-time/default.nix index 02f1ca4f917d..3271a11755b4 100644 --- a/pkgs/development/python-modules/about-time/default.nix +++ b/pkgs/development/python-modules/about-time/default.nix @@ -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"; diff --git a/pkgs/development/python-modules/absl-py/default.nix b/pkgs/development/python-modules/absl-py/default.nix index ca12c857ca09..21552b076199 100644 --- a/pkgs/development/python-modules/absl-py/default.nix +++ b/pkgs/development/python-modules/absl-py/default.nix @@ -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 = [ ]; }; diff --git a/pkgs/development/python-modules/adlfs/default.nix b/pkgs/development/python-modules/adlfs/default.nix index 729323af99ff..d0f3e8b5a399 100644 --- a/pkgs/development/python-modules/adlfs/default.nix +++ b/pkgs/development/python-modules/adlfs/default.nix @@ -41,6 +41,8 @@ buildPythonPackage rec { fsspec ]; + pythonRelaxDeps = [ "azure-datalake-store" ]; + # Tests require a running Docker instance doCheck = false; diff --git a/pkgs/development/python-modules/afsapi/default.nix b/pkgs/development/python-modules/afsapi/default.nix index d58391180025..40ce655ab559 100644 --- a/pkgs/development/python-modules/afsapi/default.nix +++ b/pkgs/development/python-modules/afsapi/default.nix @@ -31,6 +31,8 @@ buildPythonPackage rec { lxml ]; + doCheck = false; # Failed: async def functions are not natively supported. + nativeCheckInputs = [ pytest-aiohttp pytestCheckHook diff --git a/pkgs/development/python-modules/aioasuswrt/default.nix b/pkgs/development/python-modules/aioasuswrt/default.nix index ff54fa553086..2544f86902ee 100644 --- a/pkgs/development/python-modules/aioasuswrt/default.nix +++ b/pkgs/development/python-modules/aioasuswrt/default.nix @@ -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 diff --git a/pkgs/development/python-modules/aioboto3/boto3-compat.patch b/pkgs/development/python-modules/aioboto3/boto3-compat.patch new file mode 100644 index 000000000000..7f4b2272e509 --- /dev/null +++ b/pkgs/development/python-modules/aioboto3/boto3-compat.patch @@ -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() + diff --git a/pkgs/development/python-modules/aioboto3/default.nix b/pkgs/development/python-modules/aioboto3/default.nix index c36746e5cc71..157aae9026e0 100644 --- a/pkgs/development/python-modules/aioboto3/default.nix +++ b/pkgs/development/python-modules/aioboto3/default.nix @@ -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 ]; }; diff --git a/pkgs/development/python-modules/aiobotocore/default.nix b/pkgs/development/python-modules/aiobotocore/default.nix index a1dbe65c0123..d9afb4a006cb 100644 --- a/pkgs/development/python-modules/aiobotocore/default.nix +++ b/pkgs/development/python-modules/aiobotocore/default.nix @@ -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 = { diff --git a/pkgs/development/python-modules/aiodiscover/default.nix b/pkgs/development/python-modules/aiodiscover/default.nix index 8420da320779..18845fc8c92a 100644 --- a/pkgs/development/python-modules/aiodiscover/default.nix +++ b/pkgs/development/python-modules/aiodiscover/default.nix @@ -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 ]; }; diff --git a/pkgs/development/python-modules/aioeafm/default.nix b/pkgs/development/python-modules/aioeafm/default.nix index 056e9bd6b8eb..95b287786cdd 100644 --- a/pkgs/development/python-modules/aioeafm/default.nix +++ b/pkgs/development/python-modules/aioeafm/default.nix @@ -37,6 +37,8 @@ buildPythonPackage rec { dependencies = [ aiohttp ]; + doCheck = false; # Failed: async def functions are not natively supported. + nativeCheckInputs = [ pytest-aiohttp pytestCheckHook diff --git a/pkgs/development/python-modules/aioecowitt/default.nix b/pkgs/development/python-modules/aioecowitt/default.nix index 15be3f422192..88f0db5ac7b4 100644 --- a/pkgs/development/python-modules/aioecowitt/default.nix +++ b/pkgs/development/python-modules/aioecowitt/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/aiohappyeyeballs/default.nix b/pkgs/development/python-modules/aiohappyeyeballs/default.nix index f1c32db66e93..1ed3bcfe9b66 100644 --- a/pkgs/development/python-modules/aiohappyeyeballs/default.nix +++ b/pkgs/development/python-modules/aiohappyeyeballs/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/aiohomekit/default.nix b/pkgs/development/python-modules/aiohomekit/default.nix index 4bd67403b3ad..3498ee8f5a6b 100644 --- a/pkgs/development/python-modules/aiohomekit/default.nix +++ b/pkgs/development/python-modules/aiohomekit/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/aiohttp-sse/default.nix b/pkgs/development/python-modules/aiohttp-sse/default.nix index 851f0fef08cb..ec7f64216c64 100644 --- a/pkgs/development/python-modules/aiohttp-sse/default.nix +++ b/pkgs/development/python-modules/aiohttp-sse/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/aiohttp/default.nix b/pkgs/development/python-modules/aiohttp/default.nix index b12fa8da9a9d..d39e8318943e 100644 --- a/pkgs/development/python-modules/aiohttp/default.nix +++ b/pkgs/development/python-modules/aiohttp/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/aioimaplib/default.nix b/pkgs/development/python-modules/aioimaplib/default.nix index 2c9502ff289a..5d6205362fa5 100644 --- a/pkgs/development/python-modules/aioimaplib/default.nix +++ b/pkgs/development/python-modules/aioimaplib/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/aiolookin/default.nix b/pkgs/development/python-modules/aiolookin/default.nix index 677d9ba7c72e..fa1d100cb914 100644 --- a/pkgs/development/python-modules/aiolookin/default.nix +++ b/pkgs/development/python-modules/aiolookin/default.nix @@ -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; { diff --git a/pkgs/development/python-modules/aiomisc-pytest/default.nix b/pkgs/development/python-modules/aiomisc-pytest/default.nix index 0e0add78bf19..1db59e19c44b 100644 --- a/pkgs/development/python-modules/aiomisc-pytest/default.nix +++ b/pkgs/development/python-modules/aiomisc-pytest/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/aiomisc/default.nix b/pkgs/development/python-modules/aiomisc/default.nix index f92816215373..b61f558e7146 100644 --- a/pkgs/development/python-modules/aiomisc/default.nix +++ b/pkgs/development/python-modules/aiomisc/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/aionotion/default.nix b/pkgs/development/python-modules/aionotion/default.nix index fb7ab4d6bad1..048ef8c0518f 100644 --- a/pkgs/development/python-modules/aionotion/default.nix +++ b/pkgs/development/python-modules/aionotion/default.nix @@ -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 ]; }; diff --git a/pkgs/development/python-modules/aiorpcx/default.nix b/pkgs/development/python-modules/aiorpcx/default.nix index 9ed371bb9d86..c217cdfe6f3b 100644 --- a/pkgs/development/python-modules/aiorpcx/default.nix +++ b/pkgs/development/python-modules/aiorpcx/default.nix @@ -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); diff --git a/pkgs/development/python-modules/aiortm/default.nix b/pkgs/development/python-modules/aiortm/default.nix index 4bc009caa27c..a55633c9f229 100644 --- a/pkgs/development/python-modules/aiortm/default.nix +++ b/pkgs/development/python-modules/aiortm/default.nix @@ -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"; diff --git a/pkgs/development/python-modules/aiosonic/default.nix b/pkgs/development/python-modules/aiosonic/default.nix index 4a7872e14464..e1586de94bfb 100644 --- a/pkgs/development/python-modules/aiosonic/default.nix +++ b/pkgs/development/python-modules/aiosonic/default.nix @@ -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"; diff --git a/pkgs/development/python-modules/aiosql/default.nix b/pkgs/development/python-modules/aiosql/default.nix index 4528d603b2a3..1c233d8f9f2c 100644 --- a/pkgs/development/python-modules/aiosql/default.nix +++ b/pkgs/development/python-modules/aiosql/default.nix @@ -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 ]; }; diff --git a/pkgs/development/python-modules/aiostream/default.nix b/pkgs/development/python-modules/aiostream/default.nix index 3d4bbd2dc63b..de2b2fec0067 100644 --- a/pkgs/development/python-modules/aiostream/default.nix +++ b/pkgs/development/python-modules/aiostream/default.nix @@ -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 ]; }; diff --git a/pkgs/development/python-modules/aiowebostv/default.nix b/pkgs/development/python-modules/aiowebostv/default.nix index 2c8e20c3d8b4..e4f5283f5d93 100644 --- a/pkgs/development/python-modules/aiowebostv/default.nix +++ b/pkgs/development/python-modules/aiowebostv/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/albucore/default.nix b/pkgs/development/python-modules/albucore/default.nix index 4ca66b260401..6a4491840858 100644 --- a/pkgs/development/python-modules/albucore/default.nix +++ b/pkgs/development/python-modules/albucore/default.nix @@ -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 ]; }; diff --git a/pkgs/development/python-modules/alembic/default.nix b/pkgs/development/python-modules/alembic/default.nix index 3ea57cab5cea..1962325dc373 100644 --- a/pkgs/development/python-modules/alembic/default.nix +++ b/pkgs/development/python-modules/alembic/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/alive-progress/default.nix b/pkgs/development/python-modules/alive-progress/default.nix index f981c8d1ae92..c795aed0f14d 100644 --- a/pkgs/development/python-modules/alive-progress/default.nix +++ b/pkgs/development/python-modules/alive-progress/default.nix @@ -37,6 +37,8 @@ buildPythonPackage rec { grapheme ]; + pythonRelaxDeps = [ "about_time" ]; + nativeCheckInputs = [ click pytestCheckHook diff --git a/pkgs/development/python-modules/allure-behave/default.nix b/pkgs/development/python-modules/allure-behave/default.nix index 4b80c97c8777..8dcc076cab59 100644 --- a/pkgs/development/python-modules/allure-behave/default.nix +++ b/pkgs/development/python-modules/allure-behave/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/allure-pytest/default.nix b/pkgs/development/python-modules/allure-pytest/default.nix index 88fc7054f1e6..6eaec2b6e5ad 100644 --- a/pkgs/development/python-modules/allure-pytest/default.nix +++ b/pkgs/development/python-modules/allure-pytest/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/allure-python-commons-test/default.nix b/pkgs/development/python-modules/allure-python-commons-test/default.nix index 5a4f5049d9cc..764641b7c6bb 100644 --- a/pkgs/development/python-modules/allure-python-commons-test/default.nix +++ b/pkgs/development/python-modules/allure-python-commons-test/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/allure-python-commons/default.nix b/pkgs/development/python-modules/allure-python-commons/default.nix index 30881b90f3fd..57571c89095c 100644 --- a/pkgs/development/python-modules/allure-python-commons/default.nix +++ b/pkgs/development/python-modules/allure-python-commons/default.nix @@ -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" diff --git a/pkgs/development/python-modules/amazon-kclpy/default.nix b/pkgs/development/python-modules/amazon-kclpy/default.nix index 591ee5568390..3c039de4dbab 100644 --- a/pkgs/development/python-modules/amazon-kclpy/default.nix +++ b/pkgs/development/python-modules/amazon-kclpy/default.nix @@ -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 = [ diff --git a/pkgs/development/python-modules/amcrest/default.nix b/pkgs/development/python-modules/amcrest/default.nix index b3fd5616ea92..2d48513f3fd3 100644 --- a/pkgs/development/python-modules/amcrest/default.nix +++ b/pkgs/development/python-modules/amcrest/default.nix @@ -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 ]; }; diff --git a/pkgs/development/python-modules/anndata/default.nix b/pkgs/development/python-modules/anndata/default.nix index dac4af2f18d0..de98a116f529 100644 --- a/pkgs/development/python-modules/anndata/default.nix +++ b/pkgs/development/python-modules/anndata/default.nix @@ -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; diff --git a/pkgs/development/python-modules/annotatedyaml/default.nix b/pkgs/development/python-modules/annotatedyaml/default.nix index dc790ed0902b..16d589e587e0 100644 --- a/pkgs/development/python-modules/annotatedyaml/default.nix +++ b/pkgs/development/python-modules/annotatedyaml/default.nix @@ -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 ]; }; diff --git a/pkgs/development/python-modules/anova-wifi/default.nix b/pkgs/development/python-modules/anova-wifi/default.nix index 07f9bcf2dfe5..b7374b5caa86 100644 --- a/pkgs/development/python-modules/anova-wifi/default.nix +++ b/pkgs/development/python-modules/anova-wifi/default.nix @@ -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" ]; diff --git a/pkgs/development/python-modules/ansible/core.nix b/pkgs/development/python-modules/ansible/core.nix index 2b635f5160b0..12a897f95e98 100644 --- a/pkgs/development/python-modules/ansible/core.nix +++ b/pkgs/development/python-modules/ansible/core.nix @@ -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 = [ diff --git a/pkgs/development/python-modules/anthropic/default.nix b/pkgs/development/python-modules/anthropic/default.nix index 00073ddaf14d..397c4f6e3bfa 100644 --- a/pkgs/development/python-modules/anthropic/default.nix +++ b/pkgs/development/python-modules/anthropic/default.nix @@ -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 = '' diff --git a/pkgs/development/python-modules/anyio/default.nix b/pkgs/development/python-modules/anyio/default.nix index afe573ab3feb..99fd7ff5dcab 100644 --- a/pkgs/development/python-modules/anyio/default.nix +++ b/pkgs/development/python-modules/anyio/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/anywidget/default.nix b/pkgs/development/python-modules/anywidget/default.nix index e79ac1a6e939..1420201e9707 100644 --- a/pkgs/development/python-modules/anywidget/default.nix +++ b/pkgs/development/python-modules/anywidget/default.nix @@ -59,6 +59,16 @@ buildPythonPackage rec { disabledTests = [ # requires package.json "test_version" + + # AssertionError: assert not {140737277121872: } + "test_descriptor_with_psygnal" + "test_descriptor_with_pydantic" + "test_descriptor_with_msgspec" + "test_descriptor_with_traitlets" + "test_infer_file_contents" + + # assert not {._disconnect at 0x7ffff3617e... + "test_descriptor_with_psygnal" ]; pythonImportsCheck = [ "anywidget" ]; diff --git a/pkgs/development/python-modules/apache-beam/default.nix b/pkgs/development/python-modules/apache-beam/default.nix index 73c85297671d..f13ce79961f7 100644 --- a/pkgs/development/python-modules/apache-beam/default.nix +++ b/pkgs/development/python-modules/apache-beam/default.nix @@ -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 ]; }; diff --git a/pkgs/development/python-modules/apischema/default.nix b/pkgs/development/python-modules/apischema/default.nix index e30e9de5c916..b470b3454d8c 100644 --- a/pkgs/development/python-modules/apischema/default.nix +++ b/pkgs/development/python-modules/apischema/default.nix @@ -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); diff --git a/pkgs/development/python-modules/apscheduler/default.nix b/pkgs/development/python-modules/apscheduler/default.nix index ade71286799d..028df647f83a 100644 --- a/pkgs/development/python-modules/apscheduler/default.nix +++ b/pkgs/development/python-modules/apscheduler/default.nix @@ -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 diff --git a/pkgs/development/python-modules/apycula/default.nix b/pkgs/development/python-modules/apycula/default.nix index d3029efed1bd..2d882dc92005 100644 --- a/pkgs/development/python-modules/apycula/default.nix +++ b/pkgs/development/python-modules/apycula/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/arcam-fmj/default.nix b/pkgs/development/python-modules/arcam-fmj/default.nix index b626683a1188..94ce7ed66ada 100644 --- a/pkgs/development/python-modules/arcam-fmj/default.nix +++ b/pkgs/development/python-modules/arcam-fmj/default.nix @@ -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 ]; }; diff --git a/pkgs/development/python-modules/aresponses/default.nix b/pkgs/development/python-modules/aresponses/default.nix index 5c8c98177b69..d3557ea7278e 100644 --- a/pkgs/development/python-modules/aresponses/default.nix +++ b/pkgs/development/python-modules/aresponses/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/argon2-cffi-bindings/default.nix b/pkgs/development/python-modules/argon2-cffi-bindings/default.nix index 0df49f583588..2f9c1b7f70b7 100644 --- a/pkgs/development/python-modules/argon2-cffi-bindings/default.nix +++ b/pkgs/development/python-modules/argon2-cffi-bindings/default.nix @@ -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; diff --git a/pkgs/development/python-modules/argon2-cffi/default.nix b/pkgs/development/python-modules/argon2-cffi/default.nix index 2ab26082ad16..ec4b5a4f9c37 100644 --- a/pkgs/development/python-modules/argon2-cffi/default.nix +++ b/pkgs/development/python-modules/argon2-cffi/default.nix @@ -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 = [ diff --git a/pkgs/development/python-modules/argos-translate-files/default.nix b/pkgs/development/python-modules/argos-translate-files/default.nix index be863989ac97..933238b68cba 100644 --- a/pkgs/development/python-modules/argos-translate-files/default.nix +++ b/pkgs/development/python-modules/argos-translate-files/default.nix @@ -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 = [ diff --git a/pkgs/development/python-modules/array-api-compat/default.nix b/pkgs/development/python-modules/array-api-compat/default.nix index e38443513a14..778fb21a861a 100644 --- a/pkgs/development/python-modules/array-api-compat/default.nix +++ b/pkgs/development/python-modules/array-api-compat/default.nix @@ -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 diff --git a/pkgs/development/python-modules/asdf/default.nix b/pkgs/development/python-modules/asdf/default.nix index 847b9eca0a38..d0dc783b7820 100644 --- a/pkgs/development/python-modules/asdf/default.nix +++ b/pkgs/development/python-modules/asdf/default.nix @@ -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 = [ diff --git a/pkgs/development/python-modules/astroid/default.nix b/pkgs/development/python-modules/astroid/default.nix index 2e82ff76ea46..645fa378aea7 100644 --- a/pkgs/development/python-modules/astroid/default.nix +++ b/pkgs/development/python-modules/astroid/default.nix @@ -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" diff --git a/pkgs/development/python-modules/astropy-iers-data/default.nix b/pkgs/development/python-modules/astropy-iers-data/default.nix index f9a3e1f5783d..e7fd9b9ec84f 100644 --- a/pkgs/development/python-modules/astropy-iers-data/default.nix +++ b/pkgs/development/python-modules/astropy-iers-data/default.nix @@ -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" ]; diff --git a/pkgs/development/python-modules/astropy/default.nix b/pkgs/development/python-modules/astropy/default.nix index bb643c6742ea..d8751b9e6c7d 100644 --- a/pkgs/development/python-modules/astropy/default.nix +++ b/pkgs/development/python-modules/astropy/default.nix @@ -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"; }; diff --git a/pkgs/development/python-modules/astropy/test_z_at_value_numpyvectorize.patch b/pkgs/development/python-modules/astropy/test_z_at_value_numpyvectorize.patch deleted file mode 100644 index 5ffa586d06d5..000000000000 --- a/pkgs/development/python-modules/astropy/test_z_at_value_numpyvectorize.patch +++ /dev/null @@ -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. - diff --git a/pkgs/development/python-modules/async-modbus/default.nix b/pkgs/development/python-modules/async-modbus/default.nix index 83efbef9a9cb..dcc5a4247a6f 100644 --- a/pkgs/development/python-modules/async-modbus/default.nix +++ b/pkgs/development/python-modules/async-modbus/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/asyncssh/default.nix b/pkgs/development/python-modules/asyncssh/default.nix index adc123e7e013..76216913df50 100644 --- a/pkgs/development/python-modules/asyncssh/default.nix +++ b/pkgs/development/python-modules/asyncssh/default.nix @@ -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" ]; diff --git a/pkgs/development/python-modules/asyncua/default.nix b/pkgs/development/python-modules/asyncua/default.nix index 4102aa6bd30f..6e77e4b1d1b2 100644 --- a/pkgs/development/python-modules/asyncua/default.nix +++ b/pkgs/development/python-modules/asyncua/default.nix @@ -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 ]; }; diff --git a/pkgs/development/python-modules/atopile/default.nix b/pkgs/development/python-modules/atopile/default.nix index 8f43b9091078..66fc8d1b4e88 100644 --- a/pkgs/development/python-modules/atopile/default.nix +++ b/pkgs/development/python-modules/atopile/default.nix @@ -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"; diff --git a/pkgs/development/python-modules/audioop-lts/default.nix b/pkgs/development/python-modules/audioop-lts/default.nix index 63db1dbfc60b..726ceca435c0 100644 --- a/pkgs/development/python-modules/audioop-lts/default.nix +++ b/pkgs/development/python-modules/audioop-lts/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/autobahn/default.nix b/pkgs/development/python-modules/autobahn/default.nix index 18a6d7c98494..403bf76705e1 100644 --- a/pkgs/development/python-modules/autobahn/default.nix +++ b/pkgs/development/python-modules/autobahn/default.nix @@ -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 diff --git a/pkgs/development/python-modules/automat/default.nix b/pkgs/development/python-modules/automat/default.nix index 76bfc2a42dd4..878c37ee0398 100644 --- a/pkgs/development/python-modules/automat/default.nix +++ b/pkgs/development/python-modules/automat/default.nix @@ -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 = [ diff --git a/pkgs/development/python-modules/avidtools/default.nix b/pkgs/development/python-modules/avidtools/default.nix index 3b58583c4fd2..0326b2add22d 100644 --- a/pkgs/development/python-modules/avidtools/default.nix +++ b/pkgs/development/python-modules/avidtools/default.nix @@ -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 = '' diff --git a/pkgs/development/python-modules/awesomeversion/default.nix b/pkgs/development/python-modules/awesomeversion/default.nix index 001ddf58a9a1..70e9f56b430e 100644 --- a/pkgs/development/python-modules/awesomeversion/default.nix +++ b/pkgs/development/python-modules/awesomeversion/default.nix @@ -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 ]; }; diff --git a/pkgs/development/python-modules/aws-adfs/default.nix b/pkgs/development/python-modules/aws-adfs/default.nix index ea09c20e51c0..810714b0eba1 100644 --- a/pkgs/development/python-modules/aws-adfs/default.nix +++ b/pkgs/development/python-modules/aws-adfs/default.nix @@ -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"; diff --git a/pkgs/development/python-modules/aws-encryption-sdk/default.nix b/pkgs/development/python-modules/aws-encryption-sdk/default.nix index 178aa2a7d50e..bdfe21d15840 100644 --- a/pkgs/development/python-modules/aws-encryption-sdk/default.nix +++ b/pkgs/development/python-modules/aws-encryption-sdk/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/aws-lambda-builders/default.nix b/pkgs/development/python-modules/aws-lambda-builders/default.nix index 3f49679b12ae..8f28fc43296b 100644 --- a/pkgs/development/python-modules/aws-lambda-builders/default.nix +++ b/pkgs/development/python-modules/aws-lambda-builders/default.nix @@ -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. diff --git a/pkgs/development/python-modules/aws-sam-translator/default.nix b/pkgs/development/python-modules/aws-sam-translator/default.nix index e9e46a05b4f0..c9ba2878ef13 100644 --- a/pkgs/development/python-modules/aws-sam-translator/default.nix +++ b/pkgs/development/python-modules/aws-sam-translator/default.nix @@ -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 = '' diff --git a/pkgs/development/python-modules/aws-xray-sdk/default.nix b/pkgs/development/python-modules/aws-xray-sdk/default.nix index 4b509361fb92..ee6ad97f7207 100644 --- a/pkgs/development/python-modules/aws-xray-sdk/default.nix +++ b/pkgs/development/python-modules/aws-xray-sdk/default.nix @@ -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" ]; diff --git a/pkgs/development/python-modules/awsiotpythonsdk/default.nix b/pkgs/development/python-modules/awsiotpythonsdk/default.nix index 486cfcc86d22..151dabb399cd 100644 --- a/pkgs/development/python-modules/awsiotpythonsdk/default.nix +++ b/pkgs/development/python-modules/awsiotpythonsdk/default.nix @@ -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 ]; }; diff --git a/pkgs/development/python-modules/awswrangler/default.nix b/pkgs/development/python-modules/awswrangler/default.nix index 260bf04247f7..ef33e99adc91 100644 --- a/pkgs/development/python-modules/awswrangler/default.nix +++ b/pkgs/development/python-modules/awswrangler/default.nix @@ -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 = [ diff --git a/pkgs/development/python-modules/axisregistry/default.nix b/pkgs/development/python-modules/axisregistry/default.nix index fe5efc40c7fe..e9cb74745b95 100644 --- a/pkgs/development/python-modules/axisregistry/default.nix +++ b/pkgs/development/python-modules/axisregistry/default.nix @@ -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 diff --git a/pkgs/development/python-modules/azure-ai-vision-imageanalysis/default.nix b/pkgs/development/python-modules/azure-ai-vision-imageanalysis/default.nix index fe71a257941b..fd508eb915fa 100644 --- a/pkgs/development/python-modules/azure-ai-vision-imageanalysis/default.nix +++ b/pkgs/development/python-modules/azure-ai-vision-imageanalysis/default.nix @@ -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"; diff --git a/pkgs/development/python-modules/azure-core/default.nix b/pkgs/development/python-modules/azure-core/default.nix index 6bcdd65876ef..4f4e81311ed0 100644 --- a/pkgs/development/python-modules/azure-core/default.nix +++ b/pkgs/development/python-modules/azure-core/default.nix @@ -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; { diff --git a/pkgs/development/python-modules/azure-datalake-store/default.nix b/pkgs/development/python-modules/azure-datalake-store/default.nix index 1552f1c4b75d..2491d213be6a 100644 --- a/pkgs/development/python-modules/azure-datalake-store/default.nix +++ b/pkgs/development/python-modules/azure-datalake-store/default.nix @@ -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 = [ diff --git a/pkgs/development/python-modules/azure-eventhub/default.nix b/pkgs/development/python-modules/azure-eventhub/default.nix index 1cfda2439a9e..814fc18681a1 100644 --- a/pkgs/development/python-modules/azure-eventhub/default.nix +++ b/pkgs/development/python-modules/azure-eventhub/default.nix @@ -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"; diff --git a/pkgs/development/python-modules/azure-identity/default.nix b/pkgs/development/python-modules/azure-identity/default.nix index 0844690094f9..ef5a195b1356 100644 --- a/pkgs/development/python-modules/azure-identity/default.nix +++ b/pkgs/development/python-modules/azure-identity/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/azure-keyvault-keys/default.nix b/pkgs/development/python-modules/azure-keyvault-keys/default.nix index 3e53dd4ce7df..21cb1fa32c4d 100644 --- a/pkgs/development/python-modules/azure-keyvault-keys/default.nix +++ b/pkgs/development/python-modules/azure-keyvault-keys/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/azure-kusto-data/default.nix b/pkgs/development/python-modules/azure-kusto-data/default.nix index 9ef5b0b7d97c..5fa85ce9827d 100644 --- a/pkgs/development/python-modules/azure-kusto-data/default.nix +++ b/pkgs/development/python-modules/azure-kusto-data/default.nix @@ -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}"; diff --git a/pkgs/development/python-modules/azure-kusto-ingest/default.nix b/pkgs/development/python-modules/azure-kusto-ingest/default.nix index b9aa9fac7f94..c59e9a57eb39 100644 --- a/pkgs/development/python-modules/azure-kusto-ingest/default.nix +++ b/pkgs/development/python-modules/azure-kusto-ingest/default.nix @@ -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 ]; }; diff --git a/pkgs/development/python-modules/azure-mgmt-containerservice/default.nix b/pkgs/development/python-modules/azure-mgmt-containerservice/default.nix index cab199d3eaa4..a9466082adce 100644 --- a/pkgs/development/python-modules/azure-mgmt-containerservice/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-containerservice/default.nix @@ -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 ]; diff --git a/pkgs/development/python-modules/azure-mgmt-core/default.nix b/pkgs/development/python-modules/azure-mgmt-core/default.nix index d69683337d22..e9e2eb34c9c2 100644 --- a/pkgs/development/python-modules/azure-mgmt-core/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-core/default.nix @@ -7,7 +7,7 @@ }: buildPythonPackage rec { - version = "1.5.0"; + version = "1.6.0"; format = "setuptools"; pname = "azure-mgmt-core"; @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "azure_mgmt_core"; inherit version; extension = "tar.gz"; - hash = "sha256-OArj36Njn0pcJGp9t+0tCDdOiCMP0No+uJn3wR5cRBo="; + hash = "sha256-smIyr4V7Ah5h2BPZ9K5TBGUlXLELPd6UWtN0P3pY55w="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/azure-mgmt-iothub/default.nix b/pkgs/development/python-modules/azure-mgmt-iothub/default.nix index fee59741d9d1..f4d17304e312 100644 --- a/pkgs/development/python-modules/azure-mgmt-iothub/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-iothub/default.nix @@ -5,28 +5,27 @@ buildPythonPackage, fetchPypi, isodate, - pythonOlder, - typing-extensions, + setuptools, }: buildPythonPackage rec { pname = "azure-mgmt-iothub"; - version = "3.0.0"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; + version = "4.0.0"; + pyproject = true; src = fetchPypi { - inherit pname version; - hash = "sha256-2vIfyYxoo1PsYWMYwOYr4EyNaJmWC+jCy/mRZzrItyI="; + pname = "azure_mgmt_iothub"; + inherit version; + hash = "sha256-B/Jb1vZzdLqxfMEZL5+SGzUONWAlHxkGnmZlg1Qe1Ng="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ azure-common azure-mgmt-core isodate - ] - ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ]; + ]; # Module has no tests doCheck = false; diff --git a/pkgs/development/python-modules/azure-mgmt-keyvault/default.nix b/pkgs/development/python-modules/azure-mgmt-keyvault/default.nix index eeaeb6fb85b3..e26a0010caf7 100644 --- a/pkgs/development/python-modules/azure-mgmt-keyvault/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-keyvault/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "azure-mgmt-keyvault"; - version = "11.0.0"; + version = "12.0.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "azure_mgmt_keyvault"; inherit version; - hash = "sha256-/PsTZoUpJvKjEeG8bmp4brioof1G5gJdTBFO3iy0ZC4="; + hash = "sha256-4s8Y6KSSi10cqxJ75C6prQJG1ofKEvwnoq1mSHzhyGs="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/azure-mgmt-monitor/default.nix b/pkgs/development/python-modules/azure-mgmt-monitor/default.nix index 6ce2643655de..575ccb77b587 100644 --- a/pkgs/development/python-modules/azure-mgmt-monitor/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-monitor/default.nix @@ -5,28 +5,27 @@ buildPythonPackage, fetchPypi, isodate, - pythonOlder, - typing-extensions, + setuptools, }: buildPythonPackage rec { pname = "azure-mgmt-monitor"; - version = "6.0.2"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; + version = "7.0.0"; + pyproject = true; src = fetchPypi { - inherit pname version; - hash = "sha256-X/v1AOSZq3kSsbptJs7yZIDZrkEVMgGbt41yViGW4Hs="; + pname = "azure_mgmt_monitor"; + inherit version; + hash = "sha256-t19TZEHUMPaf+HOhZG5fXbyzCAoQdopZ0K3AFUFiOBY="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ isodate azure-common azure-mgmt-core - ] - ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ]; + ]; pythonNamespaces = [ "azure.mgmt" ]; diff --git a/pkgs/development/python-modules/azure-mgmt-recoveryservices/default.nix b/pkgs/development/python-modules/azure-mgmt-recoveryservices/default.nix index 314938116ddc..d4028f823225 100644 --- a/pkgs/development/python-modules/azure-mgmt-recoveryservices/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-recoveryservices/default.nix @@ -5,28 +5,27 @@ buildPythonPackage, fetchPypi, isodate, - pythonOlder, - typing-extensions, + setuptools, }: buildPythonPackage rec { pname = "azure-mgmt-recoveryservices"; - version = "3.0.0"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; + version = "3.1.0"; + pyproject = true; src = fetchPypi { - inherit pname version; - hash = "sha256-3yEt+t+8xlnDEjHD4XCqt8IRRNFysPiCaKsPWtjpWII="; + pname = "azure_mgmt_recoveryservices"; + inherit version; + hash = "sha256-fy25hAFwjPFFMi9QvEkcr3lnvsSvO/ewmEufB9MJJoc="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ azure-common azure-mgmt-core isodate - ] - ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ]; + ]; # Module has no tests doCheck = false; diff --git a/pkgs/development/python-modules/azure-mgmt-resource/default.nix b/pkgs/development/python-modules/azure-mgmt-resource/default.nix index d865e6ecf0c8..17e7eb95c2c7 100644 --- a/pkgs/development/python-modules/azure-mgmt-resource/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-resource/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "azure-mgmt-resource"; - version = "23.4.0"; + version = "24.0.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "azure_mgmt_resource"; inherit version; - hash = "sha256-fMCQkYS9AUOeJF9fLiCUWjZo1FpndOHwCCJ7szpzPRY="; + hash = "sha256-z2uJlfzdQHrJ/x3UdAhxKUKaHZDbsax3+XwZuWI3smU="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/azure-mgmt-search/default.nix b/pkgs/development/python-modules/azure-mgmt-search/default.nix index 7a8b87c32bb6..b877e2995618 100644 --- a/pkgs/development/python-modules/azure-mgmt-search/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-search/default.nix @@ -5,28 +5,27 @@ buildPythonPackage, fetchPypi, isodate, - pythonOlder, - typing-extensions, + setuptools, }: buildPythonPackage rec { pname = "azure-mgmt-search"; - version = "9.1.0"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; + version = "9.2.0"; + pyproject = true; src = fetchPypi { - inherit pname version; - hash = "sha256-U7xu6tsJdNIfEguyG7Xmgn321lDhc0dGD9g+LWiINZk="; + pname = "azure_mgmt_search"; + inherit version; + hash = "sha256-oNoOwzLR9D0PastjuM/YAIWwdeka/PgS+MdprZ/crYQ="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ azure-common azure-mgmt-core isodate - ] - ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ]; + ]; # Module has no tests doCheck = false; diff --git a/pkgs/development/python-modules/azure-monitor-ingestion/default.nix b/pkgs/development/python-modules/azure-monitor-ingestion/default.nix index e77ae5df94d3..e7ab2783c853 100644 --- a/pkgs/development/python-modules/azure-monitor-ingestion/default.nix +++ b/pkgs/development/python-modules/azure-monitor-ingestion/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "azure-monitor-ingestion"; - version = "1.0.4"; + version = "1.1.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-JU11mTof5wfRmPAUrvWhT6pXDO5zabNbsDriqo+Zvnk="; + hash = "sha256-l6/ueA2a4waRKM3ncCfUzGL6gk/mTVusiArEpksKDE4="; }; nativeBuildInputs = [ setuptools ]; diff --git a/pkgs/development/python-modules/azure-multiapi-storage/default.nix b/pkgs/development/python-modules/azure-multiapi-storage/default.nix index 57ddf17de1ab..5482d0817956 100644 --- a/pkgs/development/python-modules/azure-multiapi-storage/default.nix +++ b/pkgs/development/python-modules/azure-multiapi-storage/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "azure-multiapi-storage"; - version = "1.4.1"; + version = "1.5.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -22,7 +22,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "azure_multiapi_storage"; inherit version; - hash = "sha256-INTvVn+1ysQHKRyI0Q4p43Ynyyj2BiBPVMcfaAEDCyg="; + hash = "sha256-g/5BOsU3OzvpxMnySPVNoaXLrmwjb8aq3hetC/jsEWY="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/azure-storage-blob/default.nix b/pkgs/development/python-modules/azure-storage-blob/default.nix index abe4710cf0c9..491f35a9c797 100644 --- a/pkgs/development/python-modules/azure-storage-blob/default.nix +++ b/pkgs/development/python-modules/azure-storage-blob/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "azure-storage-blob"; - version = "12.25.1"; + version = "12.26.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -20,7 +20,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "azure_storage_blob"; inherit version; - hash = "sha256-TylN3JvEeQmsZriTS9JrUNIAAnixCtgswQl2T9xuDjs="; + hash = "sha256-XdfXgkIk994Av+sDJ1NgHJgmVRcwYeJC8Tvm4m141x8="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/azure-storage-file-share/default.nix b/pkgs/development/python-modules/azure-storage-file-share/default.nix index 2fa9f218cced..0c9b0fc40afe 100644 --- a/pkgs/development/python-modules/azure-storage-file-share/default.nix +++ b/pkgs/development/python-modules/azure-storage-file-share/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "azure-storage-file-share"; - version = "12.21.0"; + version = "12.22.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -20,7 +20,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "azure_storage_file_share"; inherit version; - hash = "sha256-20K/a0OzwMJ8kVIgKVUnffwmpZ9/rSbAWEMaaumVgM4="; + hash = "sha256-5YPI4IbufW7FDMI9r0KDnBjc4Rs2s9E2TBNxTAi1NFI="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/azure-storage-queue/default.nix b/pkgs/development/python-modules/azure-storage-queue/default.nix index dbeb4286bbfe..8e0814f06fa5 100644 --- a/pkgs/development/python-modules/azure-storage-queue/default.nix +++ b/pkgs/development/python-modules/azure-storage-queue/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "azure-storage-queue"; - version = "12.12.0"; + version = "12.13.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "azure_storage_queue"; inherit version; - hash = "sha256-uvLxvIK31PUpGSLD6k8jziJD6ULb50lPyheCKQs38eQ="; + hash = "sha256-JWkeeVjSSXA5JFETTfpUdjf9Lfz95bNHai4VLlaXP4w="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/backoff/default.nix b/pkgs/development/python-modules/backoff/default.nix index a068a640914b..1d7cb898d244 100644 --- a/pkgs/development/python-modules/backoff/default.nix +++ b/pkgs/development/python-modules/backoff/default.nix @@ -4,7 +4,7 @@ fetchFromGitHub, poetry-core, pytestCheckHook, - pytest-asyncio, + pytest-asyncio_0, responses, }: @@ -23,7 +23,7 @@ buildPythonPackage rec { nativeBuildInputs = [ poetry-core ]; nativeCheckInputs = [ - pytest-asyncio + pytest-asyncio_0 pytestCheckHook responses ]; diff --git a/pkgs/development/python-modules/backrefs/default.nix b/pkgs/development/python-modules/backrefs/default.nix index 2446f8379b04..41d43f18495c 100644 --- a/pkgs/development/python-modules/backrefs/default.nix +++ b/pkgs/development/python-modules/backrefs/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "backrefs"; - version = "5.9"; + version = "6.0.1"; pyproject = true; src = fetchFromGitHub { owner = "facelessuser"; repo = "backrefs"; tag = version; - hash = "sha256-W75JLoBn990PoO3Ej3nb3BjOGm0c71o8hDDBUFWr8i4="; + hash = "sha256-7kB8z8pNU6eLuz4eSYXkSDL5npowlYsm0hjjh8zcAK0="; }; build-system = [ @@ -33,7 +33,7 @@ buildPythonPackage rec { meta = { description = "Wrapper around re or regex that adds additional back references"; homepage = "https://github.com/facelessuser/backrefs"; - changelog = "https://github.com/facelessuser/backrefs/releases/tag/${version}"; + changelog = "https://github.com/facelessuser/backrefs/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ drupol ]; }; diff --git a/pkgs/development/python-modules/badsecrets/default.nix b/pkgs/development/python-modules/badsecrets/default.nix index e0c169e58b0e..08972bff8e4d 100644 --- a/pkgs/development/python-modules/badsecrets/default.nix +++ b/pkgs/development/python-modules/badsecrets/default.nix @@ -40,6 +40,8 @@ buildPythonPackage rec { viewstate ]; + pythonRelaxDeps = [ "viewstate" ]; + pythonImportsCheck = [ "badsecrets" ]; meta = { diff --git a/pkgs/development/python-modules/bandit/default.nix b/pkgs/development/python-modules/bandit/default.nix index 983ef8fba2e7..ea061336c5dc 100644 --- a/pkgs/development/python-modules/bandit/default.nix +++ b/pkgs/development/python-modules/bandit/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "bandit"; - version = "1.8.5"; + version = "1.8.6"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; - hash = "sha256-24EunDm4howP7VJ4t3//u6uoKLSJG8gONLnFA3MgHP0="; + hash = "sha256-2/6cJfxpYcIHhZPeVf0Z8lWfnkW5nxJyNB9bld6k5Ws="; }; nativeBuildInputs = [ pbr ]; diff --git a/pkgs/development/python-modules/basemap/default.nix b/pkgs/development/python-modules/basemap/default.nix index 0551f450c4e7..415b6addd73b 100644 --- a/pkgs/development/python-modules/basemap/default.nix +++ b/pkgs/development/python-modules/basemap/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "basemap"; - version = "1.4.1"; + version = "2.0.0"; format = "setuptools"; src = fetchFromGitHub { owner = "matplotlib"; repo = "basemap"; tag = "v${version}"; - hash = "sha256-0rTGsphwLy2yGvhO7bcmFqdgysIXXkDBmURwRVw3ZHY="; + hash = "sha256-1T1FTcR99KbpqiYzrd2r5h1wTcygBEU7BLZXZ8uMthU="; }; sourceRoot = "${src.name}/packages/basemap"; diff --git a/pkgs/development/python-modules/basswood-av/default.nix b/pkgs/development/python-modules/basswood-av/default.nix index 2d9f44b5b5be..e6588b8962cd 100644 --- a/pkgs/development/python-modules/basswood-av/default.nix +++ b/pkgs/development/python-modules/basswood-av/default.nix @@ -4,7 +4,7 @@ fetchFromGitHub, setuptools, pkg-config, - cython_3_1, + cython, ffmpeg, }: @@ -22,7 +22,7 @@ buildPythonPackage rec { build-system = [ setuptools - cython_3_1 + cython ]; nativeBuildInputs = [ pkg-config ]; diff --git a/pkgs/development/python-modules/bayesian-optimization/default.nix b/pkgs/development/python-modules/bayesian-optimization/default.nix index 22fc9d78767c..0de71843bf96 100644 --- a/pkgs/development/python-modules/bayesian-optimization/default.nix +++ b/pkgs/development/python-modules/bayesian-optimization/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "bayesian-optimization"; - version = "3.0.1"; + version = "3.1.0"; pyproject = true; src = fetchFromGitHub { owner = "bayesian-optimization"; repo = "BayesianOptimization"; tag = "v${version}"; - hash = "sha256-dq5R0/gqjSzQPAmYvtByJ6gT8pOiXcezfYlKpFLnryk="; + hash = "sha256-CYkFobGLlh5cPLwChRWXCow0d5uz8eN5hcRanNMfW8s="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/bc-python-hcl2/default.nix b/pkgs/development/python-modules/bc-python-hcl2/default.nix index 506352b25d32..e253b4a1911e 100644 --- a/pkgs/development/python-modules/bc-python-hcl2/default.nix +++ b/pkgs/development/python-modules/bc-python-hcl2/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "bc-python-hcl2"; - version = "0.4.2"; + version = "0.4.3"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-rI/1n7m9Q36im4mn18UH/QoelXhFuumurGnyiSuNaB4="; + hash = "sha256-+uYrKkGmda0zDRNNgldlJtt1X3K70OWoUN49hfwkxA4="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/beanhub-cli/default.nix b/pkgs/development/python-modules/beanhub-cli/default.nix index c9a1f7abe3c8..178476f284b9 100644 --- a/pkgs/development/python-modules/beanhub-cli/default.nix +++ b/pkgs/development/python-modules/beanhub-cli/default.nix @@ -39,7 +39,7 @@ buildPythonPackage rec { pname = "beanhub-cli"; - version = "2.1.1"; + version = "3.0.1"; pyproject = true; disabled = pythonOlder "3.10"; @@ -48,7 +48,7 @@ buildPythonPackage rec { owner = "LaunchPlatform"; repo = "beanhub-cli"; tag = version; - hash = "sha256-mGLg6Kgur2LAcujFzO/rkSPAC2t3wR5CO2AeOO0+bFI="; + hash = "sha256-hreVGsptCGW6L3rj6Ec8+lefZWpQ4tZtUEJI+NxTO7w="; }; pythonRelaxDeps = [ diff --git a/pkgs/development/python-modules/beanhub-extract/default.nix b/pkgs/development/python-modules/beanhub-extract/default.nix index bf21ebb68d4a..6030be8ee225 100644 --- a/pkgs/development/python-modules/beanhub-extract/default.nix +++ b/pkgs/development/python-modules/beanhub-extract/default.nix @@ -3,16 +3,16 @@ fetchFromGitHub, buildPythonPackage, pythonOlder, + hatchling, pytestCheckHook, iso8601, - poetry-core, pytest-lazy-fixture, pytz, }: buildPythonPackage rec { pname = "beanhub-extract"; - version = "0.1.5"; + version = "0.1.6"; pyproject = true; disabled = pythonOlder "3.9"; @@ -21,10 +21,10 @@ buildPythonPackage rec { owner = "LaunchPlatform"; repo = "beanhub-extract"; tag = version; - hash = "sha256-L3TM3scBJGlOXXxeJAkiqMkpBmhJZB6b+IQT2DGIfO0="; + hash = "sha256-N4LCMZRPbIzVUPDCW3mAVw6WwpuvxiJmMIoyk8VwXS0="; }; - build-system = [ poetry-core ]; + build-system = [ hatchling ]; pythonRelaxDeps = [ "pytz" ]; @@ -43,7 +43,7 @@ buildPythonPackage rec { meta = { description = "Simple library for extracting all kind of bank account transaction export files, mostly for beanhub-import to ingest and generate transactions"; homepage = "https://github.com/LaunchPlatform/beanhub-extract/"; - changelog = "https://github.com/LaunchPlatform/beanhub-extract/releases/tag/${version}"; + changelog = "https://github.com/LaunchPlatform/beanhub-extract/releases/tag/${src.tag}"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ fangpen ]; }; diff --git a/pkgs/development/python-modules/beartype/default.nix b/pkgs/development/python-modules/beartype/default.nix index 2873b74ba566..1458225ed605 100644 --- a/pkgs/development/python-modules/beartype/default.nix +++ b/pkgs/development/python-modules/beartype/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "beartype"; - version = "0.19.0"; + version = "0.21.0"; pyproject = true; src = fetchFromGitHub { owner = "beartype"; repo = "beartype"; tag = "v${version}"; - hash = "sha256-uUwqgK7K8x61J7A6S/DGLJljSKABxsbOCsFBDtsameU="; + hash = "sha256-oD7LS+c+mZ8W4YnAaAYxQkbUlmO8E2TPxy0PBI7Jr7A="; }; build-system = [ hatchling ]; @@ -41,7 +41,7 @@ buildPythonPackage rec { meta = { description = "Fast runtime type checking for Python"; homepage = "https://github.com/beartype/beartype"; - changelog = "https://github.com/beartype/beartype/releases/tag/v${version}"; + changelog = "https://github.com/beartype/beartype/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ bcdarwin ]; }; diff --git a/pkgs/development/python-modules/bentoml/default.nix b/pkgs/development/python-modules/bentoml/default.nix index 57bbfbf1e6c1..12f5cf61a0c0 100644 --- a/pkgs/development/python-modules/bentoml/default.nix +++ b/pkgs/development/python-modules/bentoml/default.nix @@ -74,7 +74,7 @@ }: let - version = "1.3.20"; + version = "1.4.19"; aws = [ fs-s3fs ]; grpc = [ grpcio @@ -124,7 +124,7 @@ let owner = "bentoml"; repo = "BentoML"; tag = "v${version}"; - hash = "sha256-zc/JvnEEoV21EbBHhLBWvilidXHx1pxYsBYISFg16Us="; + hash = "sha256-sRQfjB3K5F6lYeW92O7BV2slQ+DRCuMTVqRG8vT+9wc="; }; in buildPythonPackage { diff --git a/pkgs/development/python-modules/binsync/default.nix b/pkgs/development/python-modules/binsync/default.nix index 2e396eeb365e..7883e9b5ed42 100644 --- a/pkgs/development/python-modules/binsync/default.nix +++ b/pkgs/development/python-modules/binsync/default.nix @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "binsync"; - version = "5.3.0"; + version = "5.5.1"; pyproject = true; src = fetchFromGitHub { owner = "binsync"; repo = "binsync"; tag = "v${version}"; - hash = "sha256-f0pPuNTrZ5+iuJgtxLXJF89C9hKXwplhBA/olyhfsQ4="; + hash = "sha256-C9yIb//h1pAJnlWT4+VgeVzeSjd0sfn8o4yfePNF/YM="; }; build-system = [ setuptools ]; @@ -61,7 +61,7 @@ buildPythonPackage rec { meta = { description = "Reversing plugin for cross-decompiler collaboration, built on git"; homepage = "https://github.com/binsync/binsync"; - changelog = "https://github.com/binsync/binsync/releases/tag/v${version}"; + changelog = "https://github.com/binsync/binsync/releases/tag/${src.tag}"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ scoder12 ]; }; diff --git a/pkgs/development/python-modules/biosppy/default.nix b/pkgs/development/python-modules/biosppy/default.nix index b47e9efba4b2..29d1968731ff 100644 --- a/pkgs/development/python-modules/biosppy/default.nix +++ b/pkgs/development/python-modules/biosppy/default.nix @@ -21,14 +21,14 @@ buildPythonPackage rec { pname = "biosppy"; - version = "2.2.2"; + version = "2.2.3"; pyproject = true; src = fetchFromGitHub { owner = "scientisst"; repo = "BioSPPy"; tag = "v${version}"; - hash = "sha256-U0ZftAlRlazSO66raH74o/6eP1RpmuFoA6HJ+xmgKR8="; + hash = "sha256-R+3K8r+nzrCiZegxur/rf3/gDGhN9bVNMhlK94SHer0="; }; build-system = [ @@ -64,7 +64,7 @@ buildPythonPackage rec { meta = { description = "Biosignal Processing in Python"; homepage = "https://biosppy.readthedocs.io/"; - changelog = "https://github.com/scientisst/BioSPPy/releases/tag/v${version}"; + changelog = "https://github.com/scientisst/BioSPPy/releases/tag/${src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ genga898 ]; }; diff --git a/pkgs/development/python-modules/bitarray/default.nix b/pkgs/development/python-modules/bitarray/default.nix index f99321e0e04f..0914b1ad5bfe 100644 --- a/pkgs/development/python-modules/bitarray/default.nix +++ b/pkgs/development/python-modules/bitarray/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "bitarray"; - version = "3.4.3"; + version = "3.6.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-3d+yvwhrZq7BwBENxGZCtxYfWHpkQc/nTanjI5dfYvA="; + hash = "sha256-IP68hJofhY5qV6fUezI/6ecnxXnd1SbTF62IMXSKZqg="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/bitbox02/default.nix b/pkgs/development/python-modules/bitbox02/default.nix index 69b2b258e1f2..62c9ca5edcc1 100644 --- a/pkgs/development/python-modules/bitbox02/default.nix +++ b/pkgs/development/python-modules/bitbox02/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "bitbox02"; - version = "6.3.0"; + version = "7.0.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-0D+yIovlYw8dfDUeW+vcualbvmLs+IySkTpmHwk2meM="; + hash = "sha256-J9UQXrFaVTcZ+p0+aJIchksAyGGzpkQETZrGhCbxhEc="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/bitsandbytes/default.nix b/pkgs/development/python-modules/bitsandbytes/default.nix index 14299f664c4b..6dd1b0bd30a5 100644 --- a/pkgs/development/python-modules/bitsandbytes/default.nix +++ b/pkgs/development/python-modules/bitsandbytes/default.nix @@ -11,7 +11,7 @@ let pname = "bitsandbytes"; - version = "0.46.0"; + version = "0.46.1"; inherit (torch) cudaPackages cudaSupport; inherit (cudaPackages) cudaMajorMinorVersion; @@ -57,7 +57,7 @@ buildPythonPackage { owner = "bitsandbytes-foundation"; repo = "bitsandbytes"; tag = version; - hash = "sha256-q1ltNYO5Ex6F2bfCcsekdsWjzXoal7g4n/LIHVGuj+k="; + hash = "sha256-CAGKp8aFp1GjJ1uR+O1Ptxr8wfz1zECCEWhWMYs3zEQ="; }; # By default, which library is loaded depends on the result of `torch.cuda.is_available()`. diff --git a/pkgs/development/python-modules/black/default.nix b/pkgs/development/python-modules/black/default.nix index 2dbdeb9906af..70fac527e59e 100644 --- a/pkgs/development/python-modules/black/default.nix +++ b/pkgs/development/python-modules/black/default.nix @@ -3,6 +3,7 @@ lib, buildPythonPackage, fetchPypi, + fetchpatch, pythonOlder, pytestCheckHook, aiohttp, @@ -35,6 +36,24 @@ buildPythonPackage rec { hash = "sha256-M0ltXNEiKtczkTUrSujaFSU8Xeibk6gLPiyNmhnsJmY="; }; + patches = [ + (fetchpatch { + name = "click-8.2-compat-1.patch"; + url = "https://github.com/psf/black/commit/14e1de805a5d66744a08742cad32d1660bf7617a.patch"; + hash = "sha256-fHRlMetE6+09MKkuFNQQr39nIKeNrqwQuBNqfIlP4hc="; + }) + (fetchpatch { + name = "click-8.2-compat-2.patch"; + url = "https://github.com/psf/black/commit/ed64d89faa7c738c4ba0006710f7e387174478af.patch"; + hash = "sha256-df/J6wiRqtnHk3mAY3ETiRR2G4hWY1rmZMfm2rjP2ZQ="; + }) + (fetchpatch { + name = "click-8.2-compat-3.patch"; + url = "https://github.com/psf/black/commit/b0f36f5b4233ef4cf613daca0adc3896d5424159.patch"; + hash = "sha256-SGLCxbgrWnAi79IjQOb2H8mD/JDbr2SGfnKyzQsJrOA="; + }) + ]; + nativeBuildInputs = [ hatch-fancy-pypi-readme hatch-vcs diff --git a/pkgs/development/python-modules/bleak/default.nix b/pkgs/development/python-modules/bleak/default.nix index 6a558e4aa620..6ec575619579 100644 --- a/pkgs/development/python-modules/bleak/default.nix +++ b/pkgs/development/python-modules/bleak/default.nix @@ -50,7 +50,7 @@ buildPythonPackage rec { meta = with lib; { description = "Bluetooth Low Energy platform agnostic client"; homepage = "https://github.com/hbldh/bleak"; - changelog = "https://github.com/hbldh/bleak/blob/v${version}/CHANGELOG.rst"; + changelog = "https://github.com/hbldh/bleak/blob/${src.tag}/CHANGELOG.rst"; license = licenses.mit; platforms = platforms.linux; maintainers = with maintainers; [ oxzi ]; diff --git a/pkgs/development/python-modules/blessed/default.nix b/pkgs/development/python-modules/blessed/default.nix index 6bb56aaab30e..2e416b2403eb 100644 --- a/pkgs/development/python-modules/blessed/default.nix +++ b/pkgs/development/python-modules/blessed/default.nix @@ -11,12 +11,12 @@ buildPythonPackage rec { pname = "blessed"; - version = "1.20.0"; + version = "1.21.0"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-LN1n+HRuBI8A30eiiA9NasvNs5kDG2BONLqPcdV4doA="; + hash = "sha256-7Oi7xHWKuRdkUvTjpxnXAIjrVzl5jNVYLJ4F8qKDN+w="; }; nativeCheckInputs = [ diff --git a/pkgs/development/python-modules/blis/default.nix b/pkgs/development/python-modules/blis/default.nix index 0aabdaea5196..c77191f806f3 100644 --- a/pkgs/development/python-modules/blis/default.nix +++ b/pkgs/development/python-modules/blis/default.nix @@ -67,6 +67,11 @@ buildPythonPackage rec { rm -rf ./blis ''; + disabledTestPaths = [ + # ImportError: cannot import name 'NO_CONJUGATE' from 'blis.cy' + "tests/test_dotv.py" + ]; + passthru = { tests = { numpy_1 = blis.overridePythonAttrs (old: { diff --git a/pkgs/development/python-modules/boost-histogram/default.nix b/pkgs/development/python-modules/boost-histogram/default.nix index 11e569659ab8..667d5e177ebd 100644 --- a/pkgs/development/python-modules/boost-histogram/default.nix +++ b/pkgs/development/python-modules/boost-histogram/default.nix @@ -27,14 +27,14 @@ buildPythonPackage rec { pname = "boost-histogram"; - version = "1.5.1"; + version = "1.5.2"; pyproject = true; src = fetchFromGitHub { owner = "scikit-hep"; repo = "boost-histogram"; tag = "v${version}"; - hash = "sha256-7E4y3P3RzVmIHb5mEoEYWZSwWnmL3LbGqYjGbnszM98="; + hash = "sha256-fWbvv9MiBZZiTZLu78tMR5Cx0/7xSuVIya3dkuahPE4="; }; nativeBuildInputs = [ cmake ]; @@ -69,7 +69,7 @@ buildPythonPackage rec { meta = { description = "Python bindings for the C++14 Boost::Histogram library"; homepage = "https://github.com/scikit-hep/boost-histogram"; - changelog = "https://github.com/scikit-hep/boost-histogram/releases/tag/v${version}"; + changelog = "https://github.com/scikit-hep/boost-histogram/releases/tag/${src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ veprbl ]; }; diff --git a/pkgs/development/python-modules/boto3/default.nix b/pkgs/development/python-modules/boto3/default.nix index 39b5dd0c3cad..05ba5ae02f3b 100644 --- a/pkgs/development/python-modules/boto3/default.nix +++ b/pkgs/development/python-modules/boto3/default.nix @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "boto"; repo = "boto3"; tag = version; - hash = "sha256-3NK9xp58w+Wrhs/i7eXLF/P9Dwadptrr4LlpV6MRbGM="; + hash = "sha256-+3UcnKgDIA9PPELnB70La+Lo03SMouVLzvLQ9zyFGsE="; }; build-system = [ diff --git a/pkgs/development/python-modules/botocore/default.nix b/pkgs/development/python-modules/botocore/default.nix index 742b4bc893d8..49a89d8e3253 100644 --- a/pkgs/development/python-modules/botocore/default.nix +++ b/pkgs/development/python-modules/botocore/default.nix @@ -19,14 +19,14 @@ buildPythonPackage rec { pname = "botocore"; - version = "1.38.32"; # N.B: if you change this, change boto3 and awscli to a matching version + version = "1.40.4"; # N.B: if you change this, change boto3 and awscli to a matching version pyproject = true; src = fetchFromGitHub { owner = "boto"; repo = "botocore"; tag = version; - hash = "sha256-KW9EAeunL3+pccGsrFitonc5EHdm2Cd+7dM3kdvdkvM="; + hash = "sha256-VJAd9aCJkwSyurAWF/YAVRcSTR+9ZbkH7H6LZGvcXYY="; }; build-system = [ diff --git a/pkgs/development/python-modules/bottle/default.nix b/pkgs/development/python-modules/bottle/default.nix index 5d7a8d100f24..72df474668ac 100644 --- a/pkgs/development/python-modules/bottle/default.nix +++ b/pkgs/development/python-modules/bottle/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "bottle"; - version = "0.13.3"; + version = "0.13.4"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-HCOuswqooT85xgwNpJRTDd1d49ojW8QxuBilDZmd5J8="; + hash = "sha256-eH54Mn4SsieTjeAiSDM9eIz+RZh+3Kc1+PiOA0csP0c="; }; nativeBuildInputs = [ setuptools ]; diff --git a/pkgs/development/python-modules/brevo-python/default.nix b/pkgs/development/python-modules/brevo-python/default.nix index 965fcdfee708..746776e97ca9 100644 --- a/pkgs/development/python-modules/brevo-python/default.nix +++ b/pkgs/development/python-modules/brevo-python/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "brevo-python"; - version = "1.1.2"; + version = "1.2.0"; pyproject = true; src = fetchFromGitHub { owner = "getbrevo"; repo = "brevo-python"; tag = "v${version}"; - hash = "sha256-XOUFyUrqVlI7Qr4uzeXr6GJuQ+QTVhsueT1xxVQMm14="; + hash = "sha256-VYj1r69pgKgNCXzxRqvwlj5w+y3IIu21bsZJAe/7zf8="; }; build-system = [ setuptools ]; @@ -35,6 +35,11 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTestPaths = [ + # broken import; https://github.com/getbrevo/brevo-python/issues/2 + "test/test_configuration.py" + ]; + pythonImportsCheck = [ "brevo_python" ]; meta = { diff --git a/pkgs/development/python-modules/bthome-ble/default.nix b/pkgs/development/python-modules/bthome-ble/default.nix index 5d9294e1b658..665094952cc1 100644 --- a/pkgs/development/python-modules/bthome-ble/default.nix +++ b/pkgs/development/python-modules/bthome-ble/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "bthome-ble"; - version = "3.13.1"; + version = "3.14.0"; pyproject = true; src = fetchFromGitHub { owner = "Bluetooth-Devices"; repo = "bthome-ble"; tag = "v${version}"; - hash = "sha256-oGFjWe9e386EPAJGKL8Qk55iXoyW3rXuyG7ElyQYurg="; + hash = "sha256-1jgrE7EwYJPb/F5gIXmRFU3xBG00tIXRA8BsE20Tw6Y="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/build/default.nix b/pkgs/development/python-modules/build/default.nix index ae2fe86d38f6..61a426b2cf28 100644 --- a/pkgs/development/python-modules/build/default.nix +++ b/pkgs/development/python-modules/build/default.nix @@ -21,26 +21,21 @@ buildPythonPackage rec { pname = "build"; - version = "1.2.2.post1"; - format = "pyproject"; - - disabled = pythonOlder "3.7"; + version = "1.3.0"; + pyproject = true; src = fetchFromGitHub { owner = "pypa"; repo = "build"; - rev = "refs/tags/${version}"; - hash = "sha256-PHS7CjdKo5u4VTpbo409zLQAOmslV9bX0j0S83Gdv1U="; + tag = version; + hash = "sha256-w2YKQzni8e6rpnQJH2J0bHzRigjWOlWiI8Po5d3ZqS8="; }; - postPatch = '' - # not strictly required, causes circular dependency cycle - sed -i '/importlib-metadata >= 4.6/d' pyproject.toml - ''; + build-system = [ flit-core ]; - nativeBuildInputs = [ flit-core ]; + pythonRemoveDeps = [ "importlib-metadata" ]; - propagatedBuildInputs = [ + dependencies = [ packaging pyproject-hooks ] @@ -107,7 +102,7 @@ buildPythonPackage rec { is a simple build tool and does not perform any dependency management. ''; homepage = "https://github.com/pypa/build"; - changelog = "https://github.com/pypa/build/blob/${version}/CHANGELOG.rst"; + changelog = "https://github.com/pypa/build/blob/${src.tag}/CHANGELOG.rst"; license = licenses.mit; maintainers = [ maintainers.fab ]; teams = [ teams.python ]; diff --git a/pkgs/development/python-modules/buildcatrust/default.nix b/pkgs/development/python-modules/buildcatrust/default.nix index cc2b5b5a2946..c8d57ce48032 100644 --- a/pkgs/development/python-modules/buildcatrust/default.nix +++ b/pkgs/development/python-modules/buildcatrust/default.nix @@ -8,12 +8,12 @@ buildPythonPackage rec { pname = "buildcatrust"; - version = "0.3.0"; + version = "0.4.0"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-Ac10CZdihFBmr5LE6xFKx4+zr2n5nyR23px6N4vN05M="; + hash = "sha256-GYw/RN1OK5fqo3em8hia2l/IwN76hnPnFuYprqeX144="; }; nativeBuildInputs = [ flit-core ]; diff --git a/pkgs/development/python-modules/bumps/default.nix b/pkgs/development/python-modules/bumps/default.nix index 0070effd7a0a..c9ffdad6bb8f 100644 --- a/pkgs/development/python-modules/bumps/default.nix +++ b/pkgs/development/python-modules/bumps/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "bumps"; - version = "0.9.3"; + version = "1.0.2"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-MpUpj3/hsjkrsv+Ix6Cuadd6dpivWAqBVwBSygW6Uw8="; + hash = "sha256-YfnBA1rCD05B4XOS611qgi4ab3xKoYs108mwhj/I+sg="; }; # Module has no tests diff --git a/pkgs/development/python-modules/busylight-for-humans/default.nix b/pkgs/development/python-modules/busylight-for-humans/default.nix index f60436f64846..1cbb1d14136c 100644 --- a/pkgs/development/python-modules/busylight-for-humans/default.nix +++ b/pkgs/development/python-modules/busylight-for-humans/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "busylight-for-humans"; - version = "0.35.2"; + version = "0.37.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "JnyJny"; repo = "busylight"; tag = "v${version}"; - hash = "sha256-0jmaVMN4wwqoO5wGMaV4kJefNUPOuJpWbsqHcZZ0Nh4="; + hash = "sha256-uKuQy4ce6WTTpprAbQ6QE7WlotMlVacaDZ+dsvY1N58="; }; build-system = [ poetry-core ]; @@ -58,7 +58,7 @@ buildPythonPackage rec { meta = with lib; { description = "Control USB connected presence lights from multiple vendors via the command-line or web API"; homepage = "https://github.com/JnyJny/busylight"; - changelog = "https://github.com/JnyJny/busylight/releases/tag/${version}"; + changelog = "https://github.com/JnyJny/busylight/releases/tag/${src.tag}"; license = licenses.asl20; teams = [ teams.helsinki-systems ]; mainProgram = "busylight"; diff --git a/pkgs/development/python-modules/cachetools/default.nix b/pkgs/development/python-modules/cachetools/default.nix index 4411b9c91bf1..39923013689a 100644 --- a/pkgs/development/python-modules/cachetools/default.nix +++ b/pkgs/development/python-modules/cachetools/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "cachetools"; - version = "5.5.2"; + version = "6.1.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "tkem"; repo = "cachetools"; tag = "v${version}"; - hash = "sha256-CWgl2UW7+rBXRQ6N/QY3vJiLsrPfmplmQbxPp2vcdU0="; + hash = "sha256-o3Ice6w7Ovot+nsmTpsl/toosZuVbi9RvRGs07W4H0Y="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/cachier/default.nix b/pkgs/development/python-modules/cachier/default.nix index dc6371f50c5c..60f46103311d 100644 --- a/pkgs/development/python-modules/cachier/default.nix +++ b/pkgs/development/python-modules/cachier/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "cachier"; - version = "3.1.2"; + version = "4.1.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "python-cachier"; repo = "cachier"; tag = "v${version}"; - hash = "sha256-siighT6hMicN+F/LIXfUAPQ2kkRiyk7CtjqmyC/qCFg="; + hash = "sha256-FmrwH5Ksmgt0HA5eUN5LU36P5sY4PymRKsUWVkQlvBo="; }; pythonRemoveDeps = [ "setuptools" ]; @@ -80,7 +80,7 @@ buildPythonPackage rec { meta = { homepage = "https://github.com/python-cachier/cachier"; - changelog = "https://github.com/python-cachier/cachier/releases/tag/v${version}"; + changelog = "https://github.com/python-cachier/cachier/releases/tag/${src.tag}"; description = "Persistent, stale-free, local and cross-machine caching for functions"; mainProgram = "cachier"; maintainers = with lib.maintainers; [ pbsds ]; diff --git a/pkgs/development/python-modules/caio/default.nix b/pkgs/development/python-modules/caio/default.nix index ae4a10952868..be7dbc35ee8a 100644 --- a/pkgs/development/python-modules/caio/default.nix +++ b/pkgs/development/python-modules/caio/default.nix @@ -5,7 +5,8 @@ buildPythonPackage, fetchFromGitHub, pytest-aiohttp, - pytestCheckHook, + pytest-asyncio_0, + pytest8_3CheckHook, pythonOlder, setuptools, }: @@ -28,8 +29,8 @@ buildPythonPackage rec { nativeCheckInputs = [ aiomisc - pytest-aiohttp - pytestCheckHook + (pytest-aiohttp.override { pytest-asyncio = pytest-asyncio_0; }) + pytest8_3CheckHook ]; env.NIX_CFLAGS_COMPILE = toString ( diff --git a/pkgs/development/python-modules/caldav/default.nix b/pkgs/development/python-modules/caldav/default.nix index 99a18e14a498..bbff613096a2 100644 --- a/pkgs/development/python-modules/caldav/default.nix +++ b/pkgs/development/python-modules/caldav/default.nix @@ -5,33 +5,35 @@ icalendar, lxml, pytestCheckHook, - pythonOlder, python, recurring-ical-events, requests, - setuptools, - setuptools-scm, + hatchling, + hatch-vcs, + proxy-py, + pyfakefs, toPythonModule, tzlocal, vobject, xandikos, + writableTmpDirAsHomeHook, }: buildPythonPackage rec { pname = "caldav"; - version = "1.6.0"; + version = "2.0.1"; pyproject = true; src = fetchFromGitHub { owner = "python-caldav"; repo = "caldav"; tag = "v${version}"; - hash = "sha256-SWecaXiXp8DSOLVWzgPsbL7UGCtTBfNXYmuDQGdyqbQ="; + hash = "sha256-n7ZKTBXg66firbS34J41NrTM/PL/OrKMnS4iguRz4Ho="; }; build-system = [ - setuptools - setuptools-scm + hatchling + hatch-vcs ]; dependencies = [ @@ -43,9 +45,17 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ + proxy-py + pyfakefs pytestCheckHook tzlocal (toPythonModule (xandikos.override { python3Packages = python.pkgs; })) + writableTmpDirAsHomeHook + ]; + + disabledTestPaths = [ + "tests/test_docs.py" + "tests/test_examples.py" ]; pythonImportsCheck = [ "caldav" ]; @@ -53,7 +63,7 @@ buildPythonPackage rec { meta = with lib; { description = "CalDAV (RFC4791) client library"; homepage = "https://github.com/python-caldav/caldav"; - changelog = "https://github.com/python-caldav/caldav/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/python-caldav/caldav/blob/${src.tag}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ marenz diff --git a/pkgs/development/python-modules/canonical-sphinx-extensions/default.nix b/pkgs/development/python-modules/canonical-sphinx-extensions/default.nix index d87c3c5dd876..c4c8d9dab408 100644 --- a/pkgs/development/python-modules/canonical-sphinx-extensions/default.nix +++ b/pkgs/development/python-modules/canonical-sphinx-extensions/default.nix @@ -12,13 +12,13 @@ buildPythonPackage rec { pname = "canonical-sphinx-extensions"; - version = "0.0.27"; + version = "0.0.33"; pyproject = true; src = fetchPypi { pname = "canonical_sphinx_extensions"; inherit version; - hash = "sha256-ZorSmn+PAVS8xO7X3zk6u3W7pn3JB9w0PhFAXzv6l78="; + hash = "sha256-Rb4FK1e0pb+fub58Fq61i3kMhRm/nekHNr91zft8iJY="; }; build-system = [ diff --git a/pkgs/development/python-modules/cantools/default.nix b/pkgs/development/python-modules/cantools/default.nix index 2710187e569d..2fd9f9b31bab 100644 --- a/pkgs/development/python-modules/cantools/default.nix +++ b/pkgs/development/python-modules/cantools/default.nix @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "cantools"; - version = "40.2.3"; + version = "40.3.0"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; - hash = "sha256-PFXL19fVJ6VluYEj+7uPXfCRMvdM63Iv9UH9gLWZFCQ="; + hash = "sha256-xucuPUaMi3ECi+vPR3MFcE74F95eTWlGS/CNIoi+gSU="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/cartopy/default.nix b/pkgs/development/python-modules/cartopy/default.nix index fc842ff4fd4c..8df52e398f07 100644 --- a/pkgs/development/python-modules/cartopy/default.nix +++ b/pkgs/development/python-modules/cartopy/default.nix @@ -23,14 +23,14 @@ buildPythonPackage rec { pname = "cartopy"; - version = "0.24.1"; + version = "0.25.0"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchPypi { inherit pname version; - hash = "sha256-AckQ1WNMaafv3sRuChfUc9Iyh2fwAdTcC1xLSOWFyL0="; + hash = "sha256-VfGjkOXz8HWyIcfZH7ECWK2XjbeGx5MOugbrRdKHU/4="; }; build-system = [ setuptools-scm ]; diff --git a/pkgs/development/python-modules/catppuccin/default.nix b/pkgs/development/python-modules/catppuccin/default.nix index d0fc7210c542..84b5be78fc3f 100644 --- a/pkgs/development/python-modules/catppuccin/default.nix +++ b/pkgs/development/python-modules/catppuccin/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "catppuccin"; - version = "2.4.1"; + version = "2.5.0"; pyproject = true; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "catppuccin"; repo = "python"; tag = "v${version}"; - hash = "sha256-lQsJnzOnyDIUu1mbydiyfRwh0zCRGU35p0Kn2a3H/48="; + hash = "sha256-wumJ8kpr+C2pdw8jYf+IqYTdSB6Iy37yZqPKycYmOSs="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/cattrs/default.nix b/pkgs/development/python-modules/cattrs/default.nix index ee3d8559806f..9d635cd1c9bb 100644 --- a/pkgs/development/python-modules/cattrs/default.nix +++ b/pkgs/development/python-modules/cattrs/default.nix @@ -4,7 +4,6 @@ buildPythonPackage, cbor2, fetchFromGitHub, - fetchpatch2, exceptiongroup, hatchling, hatch-vcs, @@ -26,34 +25,16 @@ buildPythonPackage rec { pname = "cattrs"; - version = "24.1.3"; + version = "25.1.1"; pyproject = true; src = fetchFromGitHub { owner = "python-attrs"; repo = "cattrs"; tag = "v${version}"; - hash = "sha256-yrrb2Lvq7zMzeOLr8wwxVsKmPYEZxzDKR2mnCMNuHdE="; + hash = "sha256-kaB/UJcd4E4PUkz6mD53lXtmj4Z4P+Tuu7bSljYVOO4="; }; - 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="; - }) - ]; - build-system = [ hatchling hatch-vcs @@ -61,10 +42,10 @@ buildPythonPackage rec { dependencies = [ attrs + typing-extensions ] ++ lib.optionals (pythonOlder "3.11") [ exceptiongroup - typing-extensions ]; nativeCheckInputs = [ @@ -79,7 +60,6 @@ buildPythonPackage rec { pytestCheckHook pyyaml tomlkit - typing-extensions ujson ]; @@ -117,7 +97,7 @@ buildPythonPackage rec { meta = { description = "Python custom class converters for attrs"; homepage = "https://github.com/python-attrs/cattrs"; - changelog = "https://github.com/python-attrs/cattrs/blob/${src.rev}/HISTORY.md"; + changelog = "https://github.com/python-attrs/cattrs/blob/${src.tag}/HISTORY.md"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/causal-conv1d/default.nix b/pkgs/development/python-modules/causal-conv1d/default.nix index 924cc8b07df3..ffc494ce6ff3 100644 --- a/pkgs/development/python-modules/causal-conv1d/default.nix +++ b/pkgs/development/python-modules/causal-conv1d/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "causal-conv1d"; - version = "1.5.0.post8"; + version = "1.5.2"; pyproject = true; src = fetchFromGitHub { owner = "Dao-AILab"; repo = "causal-conv1d"; tag = "v${version}"; - hash = "sha256-CuDAEjRG6NGCoYx5r8pFVnec+3Pqh8ZldzTVx09N6E0="; + hash = "sha256-B2I5QiJl0p5d1BeQcMbJBAYUb10HzqFd88QMM8Rerm0="; }; build-system = [ diff --git a/pkgs/development/python-modules/celery-redbeat/default.nix b/pkgs/development/python-modules/celery-redbeat/default.nix index f79f5e94b4bf..c8d04153df73 100644 --- a/pkgs/development/python-modules/celery-redbeat/default.nix +++ b/pkgs/development/python-modules/celery-redbeat/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "celery-redbeat"; - version = "2.3.2"; + version = "2.3.3"; format = "setuptools"; src = fetchFromGitHub { owner = "sibson"; repo = "redbeat"; tag = "v${version}"; - hash = "sha256-nUVioETVIAjLPOmhBSf+bOUsYuV1C1VGwHz5KjbIjHc="; + hash = "sha256-bptEAOVxuwj9Y7LyBhtMU22Z1uCiJ4O4BZT2ytqQI80="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/certbot/default.nix b/pkgs/development/python-modules/certbot/default.nix index 08cb1c05d5e5..0bb466a705b5 100644 --- a/pkgs/development/python-modules/certbot/default.nix +++ b/pkgs/development/python-modules/certbot/default.nix @@ -23,14 +23,14 @@ buildPythonPackage rec { pname = "certbot"; - version = "4.0.0"; + version = "4.1.1"; pyproject = true; src = fetchFromGitHub { owner = "certbot"; repo = "certbot"; tag = "v${version}"; - hash = "sha256-GS4JLLXrX4+BQ4S6ySbOHUaUthCFYTCHWnOaMpfnIj8="; + hash = "sha256-nlNjBbXd4ujzVx10+UwqbXliuLVVf+UHR8Dl5CQzsZo="; }; postPatch = "cd certbot"; # using sourceRoot would interfere with patches @@ -66,6 +66,11 @@ buildPythonPackage rec { "-Wignore::DeprecationWarning" ]; + disabledTests = [ + # network access + "test_lock_order" + ]; + makeWrapperArgs = [ "--prefix PATH : ${dialog}/bin" ]; # certbot.withPlugins has a similar calling convention as python*.withPackages diff --git a/pkgs/development/python-modules/cfn-lint/default.nix b/pkgs/development/python-modules/cfn-lint/default.nix index b13885318ae2..1f3434430a7c 100644 --- a/pkgs/development/python-modules/cfn-lint/default.nix +++ b/pkgs/development/python-modules/cfn-lint/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { pname = "cfn-lint"; - version = "1.32.1"; + version = "1.38.2"; pyproject = true; disabled = pythonOlder "3.8"; @@ -31,7 +31,7 @@ buildPythonPackage rec { owner = "aws-cloudformation"; repo = "cfn-lint"; tag = "v${version}"; - hash = "sha256-s0CYQ6r3rA1PEiZ9LLFL3RC2PdfCgZHTqQ9nZUi1m+Q="; + hash = "sha256-oHbTB4XOyYSazyhO6No2+Z9QRR8tnuB3E4kGzG1HwTk="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/cgen/default.nix b/pkgs/development/python-modules/cgen/default.nix index 186422a49c34..0821e5fc84ad 100644 --- a/pkgs/development/python-modules/cgen/default.nix +++ b/pkgs/development/python-modules/cgen/default.nix @@ -2,30 +2,32 @@ lib, buildPythonPackage, fetchPypi, + hatchling, pytools, numpy, - pytest, + typing-extensions, + pytestCheckHook, }: buildPythonPackage rec { pname = "cgen"; - version = "2020.1"; - format = "setuptools"; + version = "2025.1"; + pyproject = true; src = fetchPypi { inherit pname version; - sha256 = "4ec99d0c832d9f95f5e51dd18a629ad50df0b5464ce557ef42c6e0cd9478bfcf"; + hash = "sha256-efAeAQ1JwT5YtMqPLUmWprcXiWj18tkGJiczSArnotQ="; }; - nativeCheckInputs = [ pytest ]; - propagatedBuildInputs = [ + build-system = [ hatchling ]; + + dependencies = [ pytools numpy + typing-extensions ]; - checkPhase = '' - pytest - ''; + nativeCheckInputs = [ pytestCheckHook ]; meta = { description = "C/C++ source generation from an AST"; diff --git a/pkgs/development/python-modules/checkdmarc/default.nix b/pkgs/development/python-modules/checkdmarc/default.nix index 2f7c6473fc94..fcf750f68395 100644 --- a/pkgs/development/python-modules/checkdmarc/default.nix +++ b/pkgs/development/python-modules/checkdmarc/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "checkdmarc"; - version = "5.8.1"; + version = "5.8.6"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -28,7 +28,7 @@ buildPythonPackage rec { owner = "domainaware"; repo = "checkdmarc"; tag = version; - hash = "sha256-mdEfVfqK277A8QUc8rpLxS2pfdyg4Z5XqWpWkh9mFLk="; + hash = "sha256-MlHRBedBbcFbVga5q0havdD6M/YOlFW8SX0k1tRngmc="; }; pythonRelaxDeps = [ "xmltodict" ]; diff --git a/pkgs/development/python-modules/cherrypy/default.nix b/pkgs/development/python-modules/cherrypy/default.nix index ee502767a117..31ee288bbc22 100644 --- a/pkgs/development/python-modules/cherrypy/default.nix +++ b/pkgs/development/python-modules/cherrypy/default.nix @@ -68,6 +68,7 @@ buildPythonPackage rec { pytestFlags = [ "-Wignore::DeprecationWarning" + "-Wignore::pytest.PytestUnraisableExceptionWarning" ]; disabledTests = [ diff --git a/pkgs/development/python-modules/cirq-core/default.nix b/pkgs/development/python-modules/cirq-core/default.nix index 7391d4563145..f0962e14788a 100644 --- a/pkgs/development/python-modules/cirq-core/default.nix +++ b/pkgs/development/python-modules/cirq-core/default.nix @@ -37,14 +37,14 @@ buildPythonPackage rec { pname = "cirq-core"; - version = "1.5.0"; + version = "1.6.0"; pyproject = true; src = fetchFromGitHub { owner = "quantumlib"; repo = "cirq"; tag = "v${version}"; - hash = "sha256-4FgXX4ox7BkjmLecxsvg0/JpcrHPn6hlFw5rk4bn9Cc="; + hash = "sha256-LlWv4wWQWZsTB9JXS21O1WkIYhKkJwY5SM70hnzfnDQ="; }; sourceRoot = "${src.name}/${pname}"; @@ -105,7 +105,7 @@ buildPythonPackage rec { meta = { description = "Framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits"; homepage = "https://github.com/quantumlib/cirq"; - changelog = "https://github.com/quantumlib/Cirq/releases/tag/v${version}"; + changelog = "https://github.com/quantumlib/Cirq/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ drewrisinger diff --git a/pkgs/development/python-modules/clarifai-grpc/default.nix b/pkgs/development/python-modules/clarifai-grpc/default.nix index 632a7d39c118..84a99d7ff11d 100644 --- a/pkgs/development/python-modules/clarifai-grpc/default.nix +++ b/pkgs/development/python-modules/clarifai-grpc/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "clarifai-grpc"; - version = "11.5.5"; + version = "11.6.6"; pyproject = true; disabled = pythonOlder "3.8"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "Clarifai"; repo = "clarifai-python-grpc"; tag = version; - hash = "sha256-ijfuZh35HpmR3p7n2S+cCpcO4ld52StQOpxgPJtRqM4="; + hash = "sha256-/LCTiGJOdvMp+I/Gl0iySMg5MTPjBi3FatnkfifFkG0="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/clarifai/default.nix b/pkgs/development/python-modules/clarifai/default.nix index 433df5084cb5..f0cd9a2468f2 100644 --- a/pkgs/development/python-modules/clarifai/default.nix +++ b/pkgs/development/python-modules/clarifai/default.nix @@ -23,7 +23,7 @@ buildPythonPackage rec { pname = "clarifai"; - version = "11.0.5"; + version = "11.6.7"; pyproject = true; disabled = pythonOlder "3.8"; @@ -32,7 +32,7 @@ buildPythonPackage rec { owner = "Clarifai"; repo = "clarifai-python"; tag = version; - hash = "sha256-JLZGVVrvGVUWr7WCTu2alVl+4GuYqLWP2dodgxYbmgc="; + hash = "sha256-1ftwsIKJ494F8q45x0LtvOZhM72AAhJWe0LligNNpkQ="; }; pythonRelaxDeps = [ diff --git a/pkgs/development/python-modules/cli-helpers/default.nix b/pkgs/development/python-modules/cli-helpers/default.nix index 9655cd190758..fdd1962b5c87 100644 --- a/pkgs/development/python-modules/cli-helpers/default.nix +++ b/pkgs/development/python-modules/cli-helpers/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "cli-helpers"; - version = "2.4.0"; + version = "2.7.0"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -20,7 +20,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "cli_helpers"; inherit version; - hash = "sha256-VZA7cFohKkc3Mdsg+ib1hlXjVAeLmcsTyZ7AaUAoek0="; + hash = "sha256-YtEXENvrwvxGAAPeEhVogyXYY2hZBW1oizhBm9QEi8A="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/click-plugins/default.nix b/pkgs/development/python-modules/click-plugins/default.nix index bf4a347b92d7..2a5d4ccd334f 100644 --- a/pkgs/development/python-modules/click-plugins/default.nix +++ b/pkgs/development/python-modules/click-plugins/default.nix @@ -4,19 +4,23 @@ fetchPypi, click, pytest, + setuptools, }: buildPythonPackage rec { pname = "click-plugins"; - version = "1.1.1"; - format = "setuptools"; + version = "1.1.1.2"; + pyproject = true; src = fetchPypi { - inherit pname version; - sha256 = "46ab999744a9d831159c3411bb0c79346d94a444df9a3a3742e9ed63645f264b"; + pname = "click_plugins"; + inherit version; + sha256 = "sha256-1685hKmdJDwTGqGoKDMedjD0qIqXQf0FySeyBLz5ImE="; }; - propagatedBuildInputs = [ click ]; + build-system = [ setuptools ]; + + dependencies = [ click ]; nativeCheckInputs = [ pytest ]; diff --git a/pkgs/development/python-modules/clickhouse-connect/default.nix b/pkgs/development/python-modules/clickhouse-connect/default.nix index 3600ddedd7fe..020ecd26d6df 100644 --- a/pkgs/development/python-modules/clickhouse-connect/default.nix +++ b/pkgs/development/python-modules/clickhouse-connect/default.nix @@ -24,7 +24,7 @@ }: buildPythonPackage rec { pname = "clickhouse-connect"; - version = "0.8.17"; + version = "0.8.18"; format = "setuptools"; @@ -34,7 +34,7 @@ buildPythonPackage rec { repo = "clickhouse-connect"; owner = "ClickHouse"; tag = "v${version}"; - hash = "sha256-UFsAKROnzaaAyUDHHARZIO8zZP3knUYoBdGSf9ZGjXo="; + hash = "sha256-lU35s8hldexyH8YC942r+sYm5gZCWqO2GXW0qtTTWWY="; }; nativeBuildInputs = [ cython ]; diff --git a/pkgs/development/python-modules/cma/default.nix b/pkgs/development/python-modules/cma/default.nix index 88d0a858d387..82b689d06ddd 100644 --- a/pkgs/development/python-modules/cma/default.nix +++ b/pkgs/development/python-modules/cma/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "cma"; - version = "4.0.0"; + version = "4.3.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "CMA-ES"; repo = "pycma"; tag = "r${version}"; - hash = "sha256-W4KDtX/Ho/XUrZr2cmS66Q0q90FEHRJN0VF4sMgonRw="; + hash = "sha256-2uCn5CZma9RLK8zaaPhiQCqnK+2dWgLNr5+Ck2cV6vI="; }; build-system = [ setuptools ]; @@ -36,7 +36,7 @@ buildPythonPackage rec { meta = with lib; { description = "Library for Covariance Matrix Adaptation Evolution Strategy for non-linear numerical optimization"; homepage = "https://github.com/CMA-ES/pycma"; - changelog = "https://github.com/CMA-ES/pycma/releases/tag/r${version}"; + changelog = "https://github.com/CMA-ES/pycma/releases/tag/r${src.tag}"; license = licenses.bsd3; maintainers = [ ]; }; diff --git a/pkgs/development/python-modules/cmd2/default.nix b/pkgs/development/python-modules/cmd2/default.nix index 2a49262b1662..4f3a9c1330f7 100644 --- a/pkgs/development/python-modules/cmd2/default.nix +++ b/pkgs/development/python-modules/cmd2/default.nix @@ -1,9 +1,7 @@ { lib, stdenv, - attrs, buildPythonPackage, - colorama, fetchPypi, glibcLocales, gnureadline, @@ -12,28 +10,28 @@ pytest-mock, pytestCheckHook, pythonOlder, + rich-argparse, setuptools-scm, wcwidth, }: buildPythonPackage rec { pname = "cmd2"; - version = "2.6.1"; + version = "2.7.0"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; - hash = "sha256-ZQpYkr8psjPT1ndbXjzIE2SM/w15E09weYH2a6rtn0I="; + hash = "sha256-gdgTW0YhDh0DpagQuvhZBppiIUeIzu7DWI9E7thvvus="; }; build-system = [ setuptools-scm ]; dependencies = [ - attrs - colorama pyperclip + rich-argparse wcwidth ] ++ lib.optional stdenv.hostPlatform.isDarwin gnureadline; diff --git a/pkgs/development/python-modules/codepy/default.nix b/pkgs/development/python-modules/codepy/default.nix index cf0410cc592c..44121e8a81da 100644 --- a/pkgs/development/python-modules/codepy/default.nix +++ b/pkgs/development/python-modules/codepy/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "codepy"; - version = "2019.1"; + version = "2025.1"; format = "setuptools"; src = fetchFromGitHub { owner = "inducer"; repo = "codepy"; - rev = "v${version}"; - hash = "sha256-viMfB/nDrvDA/IGRZEX+yXylxbbmqbh/fgdYXBzK0zM="; + tag = "v${version}"; + hash = "sha256-PHIC3q9jQlRRoUoemVtyrl5hcZXMX28gRkI5Xpk9yBY="; }; buildInputs = [ diff --git a/pkgs/development/python-modules/cohere/default.nix b/pkgs/development/python-modules/cohere/default.nix index afd0c794cf8c..484a4ab0a434 100644 --- a/pkgs/development/python-modules/cohere/default.nix +++ b/pkgs/development/python-modules/cohere/default.nix @@ -20,14 +20,14 @@ buildPythonPackage rec { pname = "cohere"; - version = "5.15.0"; + version = "5.16.2"; pyproject = true; src = fetchFromGitHub { owner = "cohere-ai"; repo = "cohere-python"; tag = version; - hash = "sha256-X/6eAST9du6GT3j0d1xZuYfzN5p7rYlgGIIqv7V6vik="; + hash = "sha256-/knKmNbvMC+efdY+0adM62W81e/pMhGCxLU0KwxUhOE="; }; build-system = [ poetry-core ]; @@ -44,6 +44,8 @@ buildPythonPackage rec { typing-extensions ]; + pythonRelaxDeps = [ "httpx-sse" ]; + # tests require CO_API_KEY doCheck = false; diff --git a/pkgs/development/python-modules/coincurve/default.nix b/pkgs/development/python-modules/coincurve/default.nix index 01d8b292cbef..d70b8a020255 100644 --- a/pkgs/development/python-modules/coincurve/default.nix +++ b/pkgs/development/python-modules/coincurve/default.nix @@ -23,7 +23,7 @@ buildPythonPackage rec { pname = "coincurve"; - version = "20.0.0"; + version = "21.0.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -32,7 +32,7 @@ buildPythonPackage rec { owner = "ofek"; repo = "coincurve"; tag = "v${version}"; - hash = "sha256-NKx/iLuzFEu1UBuwa14x55Ab3laVAKEtX6dtoWi0dOg="; + hash = "sha256-+8/CsV2BTKZ5O2LIh5/kOKMfFrkt2Jsjuj37oiOgO6Y="; }; build-system = [ diff --git a/pkgs/development/python-modules/colormath/default.nix b/pkgs/development/python-modules/colormath/default.nix index d13d9a37efe1..b423ea754c56 100644 --- a/pkgs/development/python-modules/colormath/default.nix +++ b/pkgs/development/python-modules/colormath/default.nix @@ -4,7 +4,7 @@ fetchFromGitHub, networkx, numpy, - pytestCheckHook, + pytest8_3CheckHook, pythonOlder, setuptools, }: @@ -33,7 +33,7 @@ buildPythonPackage rec { numpy ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ pytest8_3CheckHook ]; pythonImportsCheck = [ "colormath" ]; diff --git a/pkgs/development/python-modules/comicon/default.nix b/pkgs/development/python-modules/comicon/default.nix index 068452ae4ef5..7177c27f8854 100644 --- a/pkgs/development/python-modules/comicon/default.nix +++ b/pkgs/development/python-modules/comicon/default.nix @@ -38,6 +38,7 @@ buildPythonPackage rec { ]; pythonRelaxDeps = [ + "ebooklib" "lxml" "pillow" "pypdf" diff --git a/pkgs/development/python-modules/comm/default.nix b/pkgs/development/python-modules/comm/default.nix index 228381305e7a..9ef330e6be2a 100644 --- a/pkgs/development/python-modules/comm/default.nix +++ b/pkgs/development/python-modules/comm/default.nix @@ -9,7 +9,7 @@ let pname = "comm"; - version = "0.2.2"; + version = "0.2.3"; in buildPythonPackage { inherit pname version; @@ -19,7 +19,7 @@ buildPythonPackage { owner = "ipython"; repo = "comm"; tag = "v${version}"; - hash = "sha256-51HSSULhbKb1NdLJ//b3Vh6sOLWp0B4KW469htpduqM="; + hash = "sha256-gDggPu2h43lGyovTND9a3o9F2hWppV5uvAJa78JxJCo="; }; nativeBuildInputs = [ hatchling ]; diff --git a/pkgs/development/python-modules/compressed-tensors/default.nix b/pkgs/development/python-modules/compressed-tensors/default.nix index dd9b49ac57f7..4c5eea81b0b6 100644 --- a/pkgs/development/python-modules/compressed-tensors/default.nix +++ b/pkgs/development/python-modules/compressed-tensors/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "compressed-tensors"; - version = "0.9.2"; + version = "0.10.2"; pyproject = true; # Release on PyPI is missing the `utils` directory, which `setup.py` wants to import @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "neuralmagic"; repo = "compressed-tensors"; tag = version; - hash = "sha256-PxW8zseDUF0EOh7E/N8swwgFTfvkoTpp+d3ngAUpFNU="; + hash = "sha256-BJsMyCs+rupt5+i5JlO7oY08Udc8hI3ZnMiN+8ja0mc="; }; build-system = [ setuptools ]; @@ -61,7 +61,7 @@ buildPythonPackage rec { meta = { description = "Safetensors extension to efficiently store sparse quantized tensors on disk"; homepage = "https://github.com/neuralmagic/compressed-tensors"; - changelog = "https://github.com/neuralmagic/compressed-tensors/releases/tag/${version}"; + changelog = "https://github.com/neuralmagic/compressed-tensors/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = [ ]; }; diff --git a/pkgs/development/python-modules/concurrent-log-handler/default.nix b/pkgs/development/python-modules/concurrent-log-handler/default.nix index 777a232ce1dd..752a59b9222b 100644 --- a/pkgs/development/python-modules/concurrent-log-handler/default.nix +++ b/pkgs/development/python-modules/concurrent-log-handler/default.nix @@ -8,13 +8,13 @@ buildPythonPackage rec { pname = "concurrent-log-handler"; - version = "0.9.26"; + version = "0.9.28"; pyproject = true; src = fetchPypi { pname = "concurrent_log_handler"; inherit version; - hash = "sha256-jyK/eXJKAVK56X2cLc9OyzOWB8gL8xL2gGYHAkMAa0k="; + hash = "sha256-TMJ5abNCAjm9FTd5Jm9A2XE+zoFOMSt6p1POYsbqzbg="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/conda/default.nix b/pkgs/development/python-modules/conda/default.nix index 06e04c0b04ed..cc9512bd9bbc 100644 --- a/pkgs/development/python-modules/conda/default.nix +++ b/pkgs/development/python-modules/conda/default.nix @@ -28,7 +28,7 @@ buildPythonPackage rec { __structuredAttrs = true; pname = "conda"; - version = "25.5.1"; + version = "25.7.0"; pyproject = true; src = fetchFromGitHub { @@ -36,7 +36,7 @@ buildPythonPackage rec { owner = "conda"; repo = "conda"; tag = version; - hash = "sha256-BHy0t+5jz1WdSElCQBgFh5VJC3iIYelS01iQeQByr+0="; + hash = "sha256-lvqR1ksYE23enSf4pxFpb/Z8yPoU9bVb4Hi2ZrhI0XA="; }; build-system = [ diff --git a/pkgs/development/python-modules/configargparse/default.nix b/pkgs/development/python-modules/configargparse/default.nix index df563510d24f..aa6531fdb91e 100644 --- a/pkgs/development/python-modules/configargparse/default.nix +++ b/pkgs/development/python-modules/configargparse/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "configargparse"; - version = "1.7"; + version = "1.7.1"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -20,14 +20,9 @@ buildPythonPackage rec { owner = "bw2"; repo = "ConfigArgParse"; tag = version; - hash = "sha256-m77MY0IZ1AJkd4/Y7ltApvdF9y17Lgn92WZPYTCU9tA="; + hash = "sha256-wrWfQzr0smM83helOEJPbayrEpAtXJYYXIw4JnGLNho="; }; - patches = [ - # https://github.com/bw2/ConfigArgParse/pull/295 - ./python3.13-compat.patch - ]; - optional-dependencies = { yaml = [ pyyaml ]; }; @@ -48,7 +43,7 @@ buildPythonPackage rec { meta = with lib; { description = "Drop-in replacement for argparse"; homepage = "https://github.com/bw2/ConfigArgParse"; - changelog = "https://github.com/bw2/ConfigArgParse/releases/tag/${version}"; + changelog = "https://github.com/bw2/ConfigArgParse/releases/tag/${src.tag}"; license = licenses.mit; maintainers = [ ]; }; diff --git a/pkgs/development/python-modules/configargparse/python3.13-compat.patch b/pkgs/development/python-modules/configargparse/python3.13-compat.patch deleted file mode 100644 index a079f37a18e6..000000000000 --- a/pkgs/development/python-modules/configargparse/python3.13-compat.patch +++ /dev/null @@ -1,112 +0,0 @@ -From c6a974211f1a13d492bb807ff6d07cefcc948a87 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Fri, 12 Jul 2024 08:15:40 +0200 -Subject: [PATCH 1/2] update test expectations for Python 3.13 - -Python 3.13 no longer repeats the placeholder for options with multiple -aliases in the help message. For example, rather than: - - -c CONFIG_FILE, --config CONFIG_FILE - -it now outputs: - - -c, --config CONFIG_FILE - -Update the regular expressions to account for both possibilities. - -Fixes #294 ---- - tests/test_configargparse.py | 24 ++++++++++++------------ - 1 file changed, 12 insertions(+), 12 deletions(-) - -diff --git a/tests/test_configargparse.py b/tests/test_configargparse.py -index 288e082..e325afd 100644 ---- a/tests/test_configargparse.py -+++ b/tests/test_configargparse.py -@@ -271,9 +271,9 @@ def testBasicCase2(self, use_groups=False): - ' -h, --help \\s+ show this help message and exit\n' - ' --genome GENOME \\s+ Path to genome file\n' - ' -v\n' -- ' -g MY_CFG_FILE, --my-cfg-file MY_CFG_FILE\n' -- ' -d DBSNP, --dbsnp DBSNP\\s+\\[env var: DBSNP_PATH\\]\n' -- ' -f FRMT, --format FRMT\\s+\\[env var: OUTPUT_FORMAT\\]\n\n'%OPTIONAL_ARGS_STRING + -+ ' -g( MY_CFG_FILE)?, --my-cfg-file MY_CFG_FILE\n' -+ ' -d( DBSNP)?, --dbsnp DBSNP\\s+\\[env var: DBSNP_PATH\\]\n' -+ ' -f( FRMT)?, --format FRMT\\s+\\[env var: OUTPUT_FORMAT\\]\n\n'%OPTIONAL_ARGS_STRING + - 7*r'(.+\s*)') - else: - self.assertRegex(self.format_help(), -@@ -286,10 +286,10 @@ def testBasicCase2(self, use_groups=False): - 'g1:\n' - ' --genome GENOME \\s+ Path to genome file\n' - ' -v\n' -- ' -g MY_CFG_FILE, --my-cfg-file MY_CFG_FILE\n\n' -+ ' -g( MY_CFG_FILE)?, --my-cfg-file MY_CFG_FILE\n\n' - 'g2:\n' -- ' -d DBSNP, --dbsnp DBSNP\\s+\\[env var: DBSNP_PATH\\]\n' -- ' -f FRMT, --format FRMT\\s+\\[env var: OUTPUT_FORMAT\\]\n\n'%OPTIONAL_ARGS_STRING + -+ ' -d( DBSNP)?, --dbsnp DBSNP\\s+\\[env var: DBSNP_PATH\\]\n' -+ ' -f( FRMT)?, --format FRMT\\s+\\[env var: OUTPUT_FORMAT\\]\n\n'%OPTIONAL_ARGS_STRING + - 7*r'(.+\s*)') - - self.assertParseArgsRaises("invalid choice: 'ZZZ'", -@@ -387,9 +387,9 @@ def testMutuallyExclusiveArgs(self): - ' \\s*-f2 TYPE2_CFG_FILE\\)\\s+\\(-f FRMT \\| -b\\)\n\n' - '%s:\n' - ' -h, --help show this help message and exit\n' -- ' -f1 TYPE1_CFG_FILE, --type1-cfg-file TYPE1_CFG_FILE\n' -- ' -f2 TYPE2_CFG_FILE, --type2-cfg-file TYPE2_CFG_FILE\n' -- ' -f FRMT, --format FRMT\\s+\\[env var: OUTPUT_FORMAT\\]\n' -+ ' -f1( TYPE1_CFG_FILE)?, --type1-cfg-file TYPE1_CFG_FILE\n' -+ ' -f2( TYPE2_CFG_FILE)?, --type2-cfg-file TYPE2_CFG_FILE\n' -+ ' -f( FRMT)?, --format FRMT\\s+\\[env var: OUTPUT_FORMAT\\]\n' - ' -b, --bam\\s+\\[env var: BAM_FORMAT\\]\n\n' - 'group1:\n' - ' --genome GENOME Path to genome file\n' -@@ -875,7 +875,7 @@ def testConstructor_ConfigFileArgs(self): - 'usage: .* \\[-h\\] -c CONFIG_FILE --genome GENOME\n\n' - '%s:\n' - ' -h, --help\\s+ show this help message and exit\n' -- ' -c CONFIG_FILE, --config CONFIG_FILE\\s+ my config file\n' -+ ' -c( CONFIG_FILE)?, --config CONFIG_FILE\\s+ my config file\n' - ' --genome GENOME\\s+ Path to genome file\n\n'%OPTIONAL_ARGS_STRING + - 5*r'(.+\s*)') - -@@ -935,8 +935,8 @@ def test_FormatHelp(self): - r'\[-w CONFIG_OUTPUT_PATH\]\s* --arg1\s+ARG1\s*\[--flag\]\s*' - '%s:\\s*' - '-h, --help \\s* show this help message and exit ' -- r'-c CONFIG_FILE, --config CONFIG_FILE\s+my config file ' -- r'-w CONFIG_OUTPUT_PATH, --write-config CONFIG_OUTPUT_PATH takes ' -+ r'-c( CONFIG_FILE)?, --config CONFIG_FILE\s+my config file ' -+ r'-w( CONFIG_OUTPUT_PATH)?, --write-config CONFIG_OUTPUT_PATH takes ' - r'the current command line args and writes them ' - r'out to a config file at the given path, then exits ' - r'--arg1 ARG1 Arg1 help text ' - -From 5e9f442374bc6d9707a43df13aaff684dff6b535 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Fri, 12 Jul 2024 08:25:30 +0200 -Subject: [PATCH 2/2] skip exit_on_error* tests to fix 3.13 test failures - -Skip `exit_on_error*` tests from `test.test_argparse` to avoid test -failures on Python 3.13. The `exit_on_error=False` semantics -is not supported by ConfigArgParse at the moment. ---- - tests/test_configargparse.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/tests/test_configargparse.py b/tests/test_configargparse.py -index e325afd..9718d86 100644 ---- a/tests/test_configargparse.py -+++ b/tests/test_configargparse.py -@@ -1533,7 +1533,8 @@ def testYAMLConfigFileParser_w_ArgumentParser_parsed_values(self): - test_argparse_source_code = test_argparse_source_code.replace( - 'argparse.ArgumentParser', 'configargparse.ArgumentParser').replace( - 'TestHelpFormattingMetaclass', '_TestHelpFormattingMetaclass').replace( -- 'test_main', '_test_main') -+ 'test_main', '_test_main').replace( -+ 'test_exit_on_error', '_test_exit_on_error') - - # pytest tries to collect tests from TestHelpFormattingMetaclass, and - # test_main, and raises a warning when it finds it's not a test class diff --git a/pkgs/development/python-modules/confluent-kafka/default.nix b/pkgs/development/python-modules/confluent-kafka/default.nix index e4f6805921f5..7b19da5033d5 100644 --- a/pkgs/development/python-modules/confluent-kafka/default.nix +++ b/pkgs/development/python-modules/confluent-kafka/default.nix @@ -32,7 +32,7 @@ buildPythonPackage rec { pname = "confluent-kafka"; - version = "2.10.0"; + version = "2.11.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -41,7 +41,7 @@ buildPythonPackage rec { owner = "confluentinc"; repo = "confluent-kafka-python"; tag = "v${version}"; - hash = "sha256-JJSGYGM/ukEABgzlHbw8xJr1HKVm/EW6EXEIJQBSCt8="; + hash = "sha256-s4UeuFXieyUcFJsYHTaJBKfUssYZ7mt4YoHgXN7bZKI="; }; buildInputs = [ rdkafka ]; @@ -101,12 +101,15 @@ buildPythonPackage rec { "tests/integration/" "tests/test_Admin.py" "tests/test_misc.py" + # Failed: async def functions are not natively supported. + "tests/schema_registry/_async" # missing cel-python dependency - "tests/schema_registry/test_avro_serdes.py" - "tests/schema_registry/test_json_serdes.py" - "tests/schema_registry/test_proto_serdes.py" + "tests/schema_registry/_sync/test_avro_serdes.py" + "tests/schema_registry/_sync/test_json_serdes.py" + "tests/schema_registry/_sync/test_proto_serdes.py" # missing tink dependency - "tests/schema_registry/test_config.py" + "tests/schema_registry/_async/test_config.py" + "tests/schema_registry/_sync/test_config.py" # crashes the test runner on shutdown "tests/test_KafkaError.py" ]; diff --git a/pkgs/development/python-modules/cons/default.nix b/pkgs/development/python-modules/cons/default.nix index 2bf66255fd27..14c4c08d0b13 100644 --- a/pkgs/development/python-modules/cons/default.nix +++ b/pkgs/development/python-modules/cons/default.nix @@ -6,24 +6,28 @@ py, pytestCheckHook, pytest-html, - pythonOlder, + setuptools, + setuptools-scm, }: buildPythonPackage rec { pname = "cons"; - version = "0.4.6"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; + version = "0.4.7"; + pyproject = true; src = fetchFromGitHub { owner = "pythological"; repo = "python-cons"; tag = "v${version}"; - hash = "sha256-XssERKiv4A8x7dZhLeFSciN6RCEfGs0or3PAQiYSPII="; + hash = "sha256-BS7lThnv+dxtztvw2aRhQa8yx2cRfrZLiXjcwvZ8QR0="; }; - propagatedBuildInputs = [ logical-unification ]; + build-system = [ + setuptools + setuptools-scm + ]; + + dependencies = [ logical-unification ]; nativeCheckInputs = [ py @@ -41,7 +45,7 @@ buildPythonPackage rec { meta = with lib; { description = "Implementation of Lisp/Scheme-like cons in Python"; homepage = "https://github.com/pythological/python-cons"; - changelog = "https://github.com/pythological/python-cons/releases/tag/v${version}"; + changelog = "https://github.com/pythological/python-cons/releases/tag/${src.tag}"; license = licenses.gpl3Only; maintainers = with maintainers; [ Etjean ]; }; diff --git a/pkgs/development/python-modules/contourpy/default.nix b/pkgs/development/python-modules/contourpy/default.nix index 3215238120ff..d85e5f8dfbdf 100644 --- a/pkgs/development/python-modules/contourpy/default.nix +++ b/pkgs/development/python-modules/contourpy/default.nix @@ -31,7 +31,7 @@ let contourpy = buildPythonPackage rec { pname = "contourpy"; - version = "1.3.2"; + version = "1.3.3"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -40,7 +40,7 @@ let owner = "contourpy"; repo = "contourpy"; tag = "v${version}"; - hash = "sha256-mtD54KfCm1vNBjcGuAKqRpKF+FLy3WmTYo7FLoE01QY="; + hash = "sha256-/tE+F1wH7YkqfgenXwtcfkjxUR5FwfgoS4NYC6n+/2M="; }; # prevent unnecessary references to the build python when cross compiling @@ -92,7 +92,7 @@ let ''; meta = with lib; { - changelog = "https://github.com/contourpy/contourpy/releases/tag/v${version}"; + changelog = "https://github.com/contourpy/contourpy/releases/tag/${src.tag}"; description = "Python library for calculating contours in 2D quadrilateral grids"; homepage = "https://github.com/contourpy/contourpy"; license = licenses.bsd3; diff --git a/pkgs/development/python-modules/control/default.nix b/pkgs/development/python-modules/control/default.nix index e7f449273b62..16bb10a94ea0 100644 --- a/pkgs/development/python-modules/control/default.nix +++ b/pkgs/development/python-modules/control/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "control"; - version = "0.10.1"; + version = "0.10.2"; pyproject = true; src = fetchFromGitHub { owner = "python-control"; repo = "python-control"; tag = version; - hash = "sha256-wLDYPuLnsZ2+cXf7j3BxUbn4IjHPt09LE9cjQGXWrO0="; + hash = "sha256-E9RZDUK01hzjutq83XdLr3d97NwjmQzt65hqVg2TBGE="; }; build-system = [ diff --git a/pkgs/development/python-modules/copier/default.nix b/pkgs/development/python-modules/copier/default.nix index 0ec4b1471609..74fe3d969934 100644 --- a/pkgs/development/python-modules/copier/default.nix +++ b/pkgs/development/python-modules/copier/default.nix @@ -6,6 +6,8 @@ fetchFromGitHub, funcy, git, + hatchling, + hatch-vcs, iteration-utilities, jinja2, jinja2-ansible-filters, @@ -17,8 +19,6 @@ packaging, pathspec, plumbum, - poetry-core, - poetry-dynamic-versioning, pydantic, pygments, pyyaml, @@ -28,7 +28,7 @@ buildPythonPackage rec { pname = "copier"; - version = "9.6.0"; + version = "9.9.0"; pyproject = true; src = fetchFromGitHub { @@ -39,14 +39,14 @@ buildPythonPackage rec { postFetch = '' rm $out/tests/demo/doc/ma*ana.txt ''; - hash = "sha256-mezmXrOvfqbZGZadNZklQZt/OEKqRYnwugNkZc88t6o="; + hash = "sha256-J+8MSlVKJb6Dr48pgy2OCBZpctGsVm23BcV4B9nk7o4="; }; POETRY_DYNAMIC_VERSIONING_BYPASS = version; build-system = [ - poetry-core - poetry-dynamic-versioning + hatchling + hatch-vcs ]; dependencies = [ @@ -77,7 +77,7 @@ buildPythonPackage rec { meta = { description = "Library and command-line utility for rendering projects templates"; homepage = "https://copier.readthedocs.io"; - changelog = "https://github.com/copier-org/copier/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/copier-org/copier/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ greg ]; mainProgram = "copier"; diff --git a/pkgs/development/python-modules/coredis/default.nix b/pkgs/development/python-modules/coredis/default.nix index 1ed84d1ceb43..c3bd2b0f1859 100644 --- a/pkgs/development/python-modules/coredis/default.nix +++ b/pkgs/development/python-modules/coredis/default.nix @@ -1,6 +1,7 @@ { lib, async-timeout, + beartype, buildPythonPackage, setuptools, versioneer, @@ -18,14 +19,14 @@ buildPythonPackage rec { pname = "coredis"; - version = "4.24.0"; + version = "5.0.1"; pyproject = true; src = fetchFromGitHub { owner = "alisaifee"; repo = "coredis"; tag = version; - hash = "sha256-vqgxj366x+TphGxUBXUHJpEM0zAdr6Ia4pDPKGWUx14="; + hash = "sha256-LDK/tVGBsuhf0WzGjdCJznUVh9vrtRrjtU0wKpsr/Ag="; }; postPatch = '' @@ -44,6 +45,7 @@ buildPythonPackage rec { dependencies = [ async-timeout + beartype deprecated packaging pympler diff --git a/pkgs/development/python-modules/coverage/default.nix b/pkgs/development/python-modules/coverage/default.nix index f9b863a8cc0b..06eb295484f3 100644 --- a/pkgs/development/python-modules/coverage/default.nix +++ b/pkgs/development/python-modules/coverage/default.nix @@ -15,22 +15,16 @@ buildPythonPackage rec { pname = "coverage"; - version = "7.8.2"; + version = "7.10.2"; pyproject = true; src = fetchFromGitHub { owner = "nedbat"; repo = "coveragepy"; tag = version; - hash = "sha256-PCMGxyG5zIc8iigi9BsuhyuyQindZnewqTgxErT/jHw="; + hash = "sha256-OXi5FCLcfhseNDerwHdsVHF31Jy+ZSz2RU05vqPxQis="; }; - postPatch = '' - # don't write to Nix store - substituteInPlace tests/conftest.py \ - --replace-fail 'if WORKER == "none":' "if False:" - ''; - build-system = [ setuptools ]; optional-dependencies = { diff --git a/pkgs/development/python-modules/cppy/default.nix b/pkgs/development/python-modules/cppy/default.nix index b0f48f69927d..14fc793caaba 100644 --- a/pkgs/development/python-modules/cppy/default.nix +++ b/pkgs/development/python-modules/cppy/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "cppy"; - version = "1.3.0"; + version = "1.3.1"; pyproject = true; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "nucleic"; repo = "cppy"; tag = version; - hash = "sha256-RwwXwdjpq4ZjUyHkWoh3eaJDzIV3MargeoBJ+nTHsyg="; + hash = "sha256-/u9JQ2ivjSlBPodfAjeDmJ+HUu1rFZ58p3V5L2dy4Jk="; }; build-system = [ setuptools-scm ]; diff --git a/pkgs/development/python-modules/craft-parts/default.nix b/pkgs/development/python-modules/craft-parts/default.nix index cc5769fa57bd..c675d3d4834f 100644 --- a/pkgs/development/python-modules/craft-parts/default.nix +++ b/pkgs/development/python-modules/craft-parts/default.nix @@ -31,7 +31,7 @@ buildPythonPackage rec { pname = "craft-parts"; - version = "2.19.0"; + version = "2.20.0"; pyproject = true; @@ -39,7 +39,7 @@ buildPythonPackage rec { owner = "canonical"; repo = "craft-parts"; tag = version; - hash = "sha256-qzaQW+bKq+sDjRsDDY5oYQWMX50rEskgxyKwhLpFpt4="; + hash = "sha256-apuAV17IlxbkaQvCzyqEhQwTYvqHibwvWHUEPYUiCJQ="; }; patches = [ ./bash-path.patch ]; diff --git a/pkgs/development/python-modules/crccheck/default.nix b/pkgs/development/python-modules/crccheck/default.nix index 0964aa45f5c5..b822ef875f06 100644 --- a/pkgs/development/python-modules/crccheck/default.nix +++ b/pkgs/development/python-modules/crccheck/default.nix @@ -2,27 +2,31 @@ lib, buildPythonPackage, fetchFromGitHub, - isPy3k, unittestCheckHook, + setuptools, + setuptools-scm, }: let pname = "crccheck"; - version = "1.3.0"; + version = "1.3.1"; in buildPythonPackage { inherit pname version; - format = "setuptools"; - - disabled = !isPy3k; + pyproject = true; src = fetchFromGitHub { owner = "MartinScharrer"; repo = "crccheck"; tag = "v${version}"; - hash = "sha256-nujt3RWupvCtk7gORejtSwqqVjW9VwztOVGXBHW9T+k="; + hash = "sha256-hT+8+moni7turn5MK719b4Xy336htyWWmoMnhgxKkYo="; }; + build-system = [ + setuptools + setuptools-scm + ]; + nativeCheckInputs = [ unittestCheckHook ]; meta = with lib; { diff --git a/pkgs/development/python-modules/cupy/default.nix b/pkgs/development/python-modules/cupy/default.nix index a8f0cde1f0ca..719a23037325 100644 --- a/pkgs/development/python-modules/cupy/default.nix +++ b/pkgs/development/python-modules/cupy/default.nix @@ -58,7 +58,7 @@ let in buildPythonPackage rec { pname = "cupy"; - version = "13.3.0"; + version = "13.5.1"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -69,7 +69,7 @@ buildPythonPackage rec { owner = "cupy"; repo = "cupy"; tag = "v${version}"; - hash = "sha256-eQZwOGCaWZ4b0JCHZlrPHVQVXQwSkibHb02j0czAMt8="; + hash = "sha256-8RgyvsU3lnt6nO0J1tiLBOdYsX0jJkjPH/SpKQz4o7s="; fetchSubmodules = true; }; @@ -126,7 +126,7 @@ buildPythonPackage rec { meta = with lib; { description = "NumPy-compatible matrix library accelerated by CUDA"; homepage = "https://cupy.chainer.org/"; - changelog = "https://github.com/cupy/cupy/releases/tag/v${version}"; + changelog = "https://github.com/cupy/cupy/releases/tag/${src.tag}"; license = licenses.mit; platforms = [ "aarch64-linux" diff --git a/pkgs/development/python-modules/curio/default.nix b/pkgs/development/python-modules/curio/default.nix index 1806677f2483..8e30e56018dd 100644 --- a/pkgs/development/python-modules/curio/default.nix +++ b/pkgs/development/python-modules/curio/default.nix @@ -38,6 +38,7 @@ buildPythonPackage rec { "test_ssl_outgoing" # touches network "test_unix_echo" # socket bind error on hydra when built with other packages "test_unix_ssl_server" # socket bind error on hydra when built with other packages + "test_task_group_thread" # stuck ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # connects to python.org:1, expects an OsError, hangs in the darwin sandbox diff --git a/pkgs/development/python-modules/curl-cffi/default.nix b/pkgs/development/python-modules/curl-cffi/default.nix index 6294177d069e..79db35a65e95 100644 --- a/pkgs/development/python-modules/curl-cffi/default.nix +++ b/pkgs/development/python-modules/curl-cffi/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "curl-cffi"; - version = "0.11.1"; + version = "0.12.0"; pyproject = true; src = fetchFromGitHub { owner = "lexiforest"; repo = "curl_cffi"; tag = "v${version}"; - hash = "sha256-hpsAga5741oTBT87Rt7XTyxxu7SQ5Usw+2VVr54oA8k="; + hash = "sha256-VE/b1Cs/wpZlu7lOURT/QfP7DuNudD441zG603LT4LM="; }; patches = [ ./use-system-libs.patch ]; diff --git a/pkgs/development/python-modules/cvss/default.nix b/pkgs/development/python-modules/cvss/default.nix index 791bd43df9fe..c348337e0cca 100644 --- a/pkgs/development/python-modules/cvss/default.nix +++ b/pkgs/development/python-modules/cvss/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "cvss"; - version = "3.4"; + version = "3.6"; pyproject = true; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "RedHatProductSecurity"; repo = "cvss"; tag = "v${version}"; - hash = "sha256-g6+ccoIgqs7gZPrTuKm3em+PzLvpupb9JXOGMqf2Uv0="; + hash = "sha256-udUs76wfvC9LfjlKyWmuPV0RT2P/COTwYw3hgDt3tPs="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/cyclonedx-python-lib/default.nix b/pkgs/development/python-modules/cyclonedx-python-lib/default.nix index 140adeda4e8d..2b3b5c5c27b8 100644 --- a/pkgs/development/python-modules/cyclonedx-python-lib/default.nix +++ b/pkgs/development/python-modules/cyclonedx-python-lib/default.nix @@ -23,7 +23,7 @@ buildPythonPackage rec { pname = "cyclonedx-python-lib"; - version = "8.8.0"; + version = "11.0.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -32,7 +32,7 @@ buildPythonPackage rec { owner = "CycloneDX"; repo = "cyclonedx-python-lib"; tag = "v${version}"; - hash = "sha256-igT1QroP260cqSAiaJv4Zrji691WIjyDLZ1p5dtPF5Y="; + hash = "sha256-TS/3O/ojabMUUW8RVd1ymo67rjNoRCtrIqZcUygpW+Y="; }; pythonRelaxDeps = [ "py-serializable" ]; diff --git a/pkgs/development/python-modules/cynthion/default.nix b/pkgs/development/python-modules/cynthion/default.nix index 1d265c8da52d..f0d8d55b6c94 100644 --- a/pkgs/development/python-modules/cynthion/default.nix +++ b/pkgs/development/python-modules/cynthion/default.nix @@ -26,14 +26,14 @@ }: buildPythonPackage rec { pname = "cynthion"; - version = "0.2.2"; + version = "0.2.3"; pyproject = true; src = fetchFromGitHub { owner = "greatscottgadgets"; repo = "cynthion"; tag = version; - hash = "sha256-xL1/ckX+xKUQpugQkLB3SlZeNcBEaTMascTgoQ4C+hA="; + hash = "sha256-NAsELeOnWgMa6iWCJ0+hpbHIO3BsZBv0N/nK1XP+IpU="; }; sourceRoot = "${src.name}/cynthion/python"; diff --git a/pkgs/development/python-modules/cython/default.nix b/pkgs/development/python-modules/cython/default.nix index 45fc174577ae..f62acbab3b90 100644 --- a/pkgs/development/python-modules/cython/default.nix +++ b/pkgs/development/python-modules/cython/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "cython"; - version = "3.0.12"; + version = "3.1.2"; pyproject = true; src = fetchFromGitHub { owner = "cython"; repo = "cython"; tag = version; - hash = "sha256-clJXjQb6rVECirKRUGX0vD5a6LILzPwNo7+6KKYs2pI="; + hash = "sha256-lP8ILCzAZuoPzFhCqGXwIpifN8XoWz93SJ7c3XVe69Y="; }; build-system = [ diff --git a/pkgs/development/python-modules/dash/default.nix b/pkgs/development/python-modules/dash/default.nix index 3f185c962a25..953eb9064a74 100644 --- a/pkgs/development/python-modules/dash/default.nix +++ b/pkgs/development/python-modules/dash/default.nix @@ -36,14 +36,14 @@ buildPythonPackage rec { pname = "dash"; - version = "3.0.4"; + version = "3.2.0"; pyproject = true; src = fetchFromGitHub { owner = "plotly"; repo = "dash"; tag = "v${version}"; - hash = "sha256-KCGVdD1L+U2KbktU2GU19BQ6wRcmEeYtC/v8UrFTyto="; + hash = "sha256-7wSUPAcPvY5Q5Ws2mLjiY599oZlo5SA6Pa8QnS7pgvg="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/dask/default.nix b/pkgs/development/python-modules/dask/default.nix index 9322d3c03aba..fd60adb945d1 100644 --- a/pkgs/development/python-modules/dask/default.nix +++ b/pkgs/development/python-modules/dask/default.nix @@ -38,14 +38,14 @@ buildPythonPackage rec { pname = "dask"; - version = "2025.3.0"; + version = "2025.7.0"; pyproject = true; src = fetchFromGitHub { owner = "dask"; repo = "dask"; tag = version; - hash = "sha256-j25+DfWReonXKqxkX9OVHjKo+Indh13rlBE5PyGe69c="; + hash = "sha256-bwM4Q95YTEp9pDz6LmBLOeYjmi8nH8Cc/srZlXfEIlg="; }; postPatch = '' diff --git a/pkgs/development/python-modules/databricks-sql-connector/default.nix b/pkgs/development/python-modules/databricks-sql-connector/default.nix index 9d4689b5f147..f351e8d0b03b 100644 --- a/pkgs/development/python-modules/databricks-sql-connector/default.nix +++ b/pkgs/development/python-modules/databricks-sql-connector/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "databricks-sql-connector"; - version = "4.0.3"; + version = "4.0.5"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -29,10 +29,11 @@ buildPythonPackage rec { owner = "databricks"; repo = "databricks-sql-python"; tag = "v${version}"; - hash = "sha256-9+U5XOlvPQF6fLkT6/bgjSqSlGj0995mNVH0PCGQEYE="; + hash = "sha256-CzS6aVOFkBSJ9+0KJOaJLxK2ZiRY4OybNkCX5VdybqY="; }; pythonRelaxDeps = [ + "pandas" "pyarrow" "thrift" ]; diff --git a/pkgs/development/python-modules/datamodel-code-generator/default.nix b/pkgs/development/python-modules/datamodel-code-generator/default.nix index f4a8c4377666..114c02db162a 100644 --- a/pkgs/development/python-modules/datamodel-code-generator/default.nix +++ b/pkgs/development/python-modules/datamodel-code-generator/default.nix @@ -25,14 +25,14 @@ buildPythonPackage rec { pname = "datamodel-code-generator"; - version = "0.26.5"; + version = "0.32.0"; pyproject = true; src = fetchFromGitHub { owner = "koxudaxi"; repo = "datamodel-code-generator"; tag = version; - hash = "sha256-CYNEpQFIWR7i7I7YJ5q/34KNhtQ7cjya97Z0fyeO5g8="; + hash = "sha256-sFMNs8wHRTxK1TU4IWfbKf/qUCb11bh2Td1/FngFavo="; }; pythonRelaxDeps = [ diff --git a/pkgs/development/python-modules/datasalad/default.nix b/pkgs/development/python-modules/datasalad/default.nix index 0e0eaacbea2f..9ea994007bed 100644 --- a/pkgs/development/python-modules/datasalad/default.nix +++ b/pkgs/development/python-modules/datasalad/default.nix @@ -4,6 +4,7 @@ hatchling, hatch-vcs, lib, + gitMinimal, more-itertools, psutil, pytestCheckHook, @@ -12,14 +13,14 @@ buildPythonPackage rec { pname = "datasalad"; - version = "0.4.0"; + version = "0.5.0"; pyproject = true; src = fetchFromGitHub { owner = "datalad"; repo = "datasalad"; tag = "v${version}"; - hash = "sha256-UIrbvFz674+HarFbv1eF++flj1hOR0cZyqKQSl+G7xY="; + hash = "sha256-v0qq9uzO2nD2RZ9LlmBzs3OOAriylrq9mcmgpDga4gw="; }; build-system = [ @@ -28,6 +29,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ + gitMinimal pytestCheckHook more-itertools psutil diff --git a/pkgs/development/python-modules/datasets/default.nix b/pkgs/development/python-modules/datasets/default.nix index 49e474a53b49..7986fe8ff6bb 100644 --- a/pkgs/development/python-modules/datasets/default.nix +++ b/pkgs/development/python-modules/datasets/default.nix @@ -19,14 +19,14 @@ }: buildPythonPackage rec { pname = "datasets"; - version = "3.6.0"; + version = "4.0.0"; pyproject = true; src = fetchFromGitHub { owner = "huggingface"; repo = "datasets"; tag = version; - hash = "sha256-/xhu0cDKfCEwrp9IzKd0+AeQky1198f9sba/pdutvAk="; + hash = "sha256-Cr25PgLNGX/KcFZE5h1oiaDW9J50ccMqA5z3q4sITus="; }; build-system = [ diff --git a/pkgs/development/python-modules/dateparser/default.nix b/pkgs/development/python-modules/dateparser/default.nix index 5fd9a6d5f6d3..a874c2575860 100644 --- a/pkgs/development/python-modules/dateparser/default.nix +++ b/pkgs/development/python-modules/dateparser/default.nix @@ -8,7 +8,7 @@ pytz, regex, tzlocal, - hijri-converter, + hijridate, convertdate, fasttext, langdetect, @@ -46,7 +46,7 @@ buildPythonPackage rec { optional-dependencies = { calendars = [ - hijri-converter + hijridate convertdate ]; fasttext = [ fasttext ]; diff --git a/pkgs/development/python-modules/dazl/default.nix b/pkgs/development/python-modules/dazl/default.nix index ee74e5e21878..be4ac05588ff 100644 --- a/pkgs/development/python-modules/dazl/default.nix +++ b/pkgs/development/python-modules/dazl/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "dazl"; - version = "8.3.0"; + version = "8.4.2"; pyproject = true; src = fetchFromGitHub { owner = "digital-asset"; repo = "dazl-client"; tag = "v${version}"; - hash = "sha256-w0jWhOOjOVLKUcfY2zR8dgckp7r/Gko+p3cuO8IIrM4="; + hash = "sha256-NJHcjzdtKTUnFideUm4fHof4A16nEFeYIXehR9/Bn1s="; }; pythonRelaxDeps = [ diff --git a/pkgs/development/python-modules/db-dtypes/default.nix b/pkgs/development/python-modules/db-dtypes/default.nix index 5c17b49c2b03..23713484c397 100644 --- a/pkgs/development/python-modules/db-dtypes/default.nix +++ b/pkgs/development/python-modules/db-dtypes/default.nix @@ -6,14 +6,14 @@ packaging, pandas, pyarrow, - pytestCheckHook, + pytest8_3CheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "db-dtypes"; - version = "1.4.2"; + version = "1.4.3"; pyproject = true; disabled = pythonOlder "3.8"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "googleapis"; repo = "python-db-dtypes-pandas"; tag = "v${version}"; - hash = "sha256-CW8BgUZu6EGOXEwapwXadjySbzlo8j9I8ft7OuSMVqs="; + hash = "sha256-AyO/GwtExMWi4mB3OMtYPFvAVS/ylcBXGiGXgaScyCA="; }; build-system = [ setuptools ]; @@ -34,7 +34,14 @@ buildPythonPackage rec { pyarrow ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ pytest8_3CheckHook ]; + + disabledTests = [ + # ValueError: Unable to avoid copy while creating an array as requested. + "test_array_interface_copy" + # Failed: DID NOT RAISE + "test_reduce_series_numeric" + ]; pythonImportsCheck = [ "db_dtypes" ]; diff --git a/pkgs/development/python-modules/dbt-adapters/default.nix b/pkgs/development/python-modules/dbt-adapters/default.nix index a142a26f0026..ca491b9afbbe 100644 --- a/pkgs/development/python-modules/dbt-adapters/default.nix +++ b/pkgs/development/python-modules/dbt-adapters/default.nix @@ -3,6 +3,7 @@ agate, buildPythonPackage, dbt-common, + dbt-protos, fetchPypi, hatchling, mashumaro, @@ -14,14 +15,14 @@ buildPythonPackage rec { pname = "dbt-adapters"; - version = "1.14.8"; + version = "1.16.3"; pyproject = true; # missing tags on GitHub src = fetchPypi { pname = "dbt_adapters"; inherit version; - hash = "sha256-lowoP5Ny5kObKMuscecSUuqQXG7GxEDlbp8HQkLifBc="; + hash = "sha256-1J0+V776ujbt8Anm/gAdld0MkC5apmeN8IEtzZBSWf8="; }; build-system = [ hatchling ]; @@ -34,6 +35,7 @@ buildPythonPackage rec { dependencies = [ agate dbt-common + dbt-protos mashumaro protobuf pytz diff --git a/pkgs/development/python-modules/dbt-core/default.nix b/pkgs/development/python-modules/dbt-core/default.nix index 2f6937cda7f2..4fd76d96d919 100644 --- a/pkgs/development/python-modules/dbt-core/default.nix +++ b/pkgs/development/python-modules/dbt-core/default.nix @@ -13,6 +13,7 @@ dbt-adapters, dbt-common, dbt-extractor, + dbt-protos, dbt-semantic-interfaces, jinja2, logbook, @@ -36,23 +37,16 @@ buildPythonPackage rec { pname = "dbt-core"; - version = "1.10.0b2"; + version = "1.10.6"; pyproject = true; src = fetchFromGitHub { owner = "dbt-labs"; repo = "dbt-core"; tag = "v${version}"; - hash = "sha256-MTrdpbPqdakFDmLKRFJ23u9hLgGhZ5T+r4om9HPBjkw="; + hash = "sha256-tMrtn5NYkRpok6mv4/CBXGPQuHWpL/raejPXyagj7Bs="; }; - postPatch = '' - substituteInPlace dbt/utils/artifact_upload.py \ - --replace-fail \ - "from pydantic import BaseSettings" \ - "from pydantic_settings import BaseSettings" - ''; - sourceRoot = "${src.name}/core"; pythonRelaxDeps = [ @@ -80,6 +74,7 @@ buildPythonPackage rec { dbt-adapters dbt-common dbt-extractor + dbt-protos dbt-semantic-interfaces jinja2 logbook diff --git a/pkgs/development/python-modules/dbt-protos/default.nix b/pkgs/development/python-modules/dbt-protos/default.nix new file mode 100644 index 000000000000..c3601a48b7d6 --- /dev/null +++ b/pkgs/development/python-modules/dbt-protos/default.nix @@ -0,0 +1,39 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + protobuf, +}: + +buildPythonPackage rec { + pname = "dbt-protos"; + version = "1.0.351"; + pyproject = true; + + src = fetchFromGitHub { + owner = "dbt-labs"; + repo = "proto-python-public"; + tag = "v${version}"; + hash = "sha256-GZwSJAElE/aUS4cCqMlmUJVtm+OACjKakXUxkrpVUyE="; + }; + + build-system = [ + setuptools + ]; + + dependencies = [ + protobuf + ]; + + pythonImportsCheck = [ + "dbtlabs.proto.public.v1" + ]; + + meta = { + description = "dbt public protos"; + homepage = "https://github.com/dbt-labs/proto-python-public"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ ]; + }; +} diff --git a/pkgs/development/python-modules/dbus-fast/default.nix b/pkgs/development/python-modules/dbus-fast/default.nix index 6a1d1b2b10f0..2a2a171502c7 100644 --- a/pkgs/development/python-modules/dbus-fast/default.nix +++ b/pkgs/development/python-modules/dbus-fast/default.nix @@ -29,6 +29,11 @@ buildPythonPackage rec { hash = "sha256-ZpTQjAmrLoenDWzd/0NpD7fqTd6Dv1J0Ks0db4twwYk="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "Cython>=3,<3.1.0" Cython + ''; + # The project can build both an optimized cython version and an unoptimized # python version. This ensures we fail if we build the wrong one. env.REQUIRE_CYTHON = 1; diff --git a/pkgs/development/python-modules/dbutils/default.nix b/pkgs/development/python-modules/dbutils/default.nix index 2995db09d4a6..e287ecb5caad 100644 --- a/pkgs/development/python-modules/dbutils/default.nix +++ b/pkgs/development/python-modules/dbutils/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "dbutils"; - version = "3.1.0"; + version = "3.1.1"; pyproject = true; disabled = pythonOlder "3.6"; @@ -17,7 +17,7 @@ buildPythonPackage rec { src = fetchPypi { inherit version; pname = "DBUtils"; - hash = "sha256-6lKLoRBjJA7qgjRevG98yTJMBuQulCCwC80kWpW/zCQ="; + hash = "sha256-reefvFeG10ltQThyL7yiQ0DPfHO11m3wUpb2Vv8Ia78="; }; nativeBuildInputs = [ setuptools ]; diff --git a/pkgs/development/python-modules/deep-chainmap/default.nix b/pkgs/development/python-modules/deep-chainmap/default.nix index 9b3c6c9ac240..1b12d8bd9d56 100644 --- a/pkgs/development/python-modules/deep-chainmap/default.nix +++ b/pkgs/development/python-modules/deep-chainmap/default.nix @@ -7,13 +7,13 @@ buildPythonPackage rec { pname = "deep-chainmap"; - version = "0.1.2"; + version = "0.1.3"; pyproject = true; src = fetchPypi { pname = "deep_chainmap"; inherit version; - hash = "sha256-R7Pfh+1bYJ7LCU+0SyZi2XGOsgL1zWiMkp1z9HD1I1w="; + hash = "sha256-Cw6Eiey501mzeigfdwnMuZH28abG4rcoACUGlmkzECA="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/deepface/default.nix b/pkgs/development/python-modules/deepface/default.nix index f6984e4da51b..cc877c8d8ea9 100644 --- a/pkgs/development/python-modules/deepface/default.nix +++ b/pkgs/development/python-modules/deepface/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { pname = "deepface"; - version = "0.0.93"; + version = "0.0.94"; pyproject = true; disabled = pythonOlder "3.7"; @@ -31,7 +31,7 @@ buildPythonPackage rec { owner = "serengil"; repo = "deepface"; tag = "v${version}"; - hash = "sha256-G/e0tvf4GbXPjqJCTMgWDe59701fxfrtAf+bioEn8io="; + hash = "sha256-jtDj1j2STjoEW6MdQai6ZuRYVmLo0Ga+VPJ01105Byc="; }; postPatch = '' diff --git a/pkgs/development/python-modules/defcon/default.nix b/pkgs/development/python-modules/defcon/default.nix index 06efc8018d32..4c9beacba974 100644 --- a/pkgs/development/python-modules/defcon/default.nix +++ b/pkgs/development/python-modules/defcon/default.nix @@ -11,15 +11,14 @@ buildPythonPackage rec { pname = "defcon"; - version = "0.12.1"; + version = "0.12.2"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-rKhnSo9xcjr2oI8zLz7TFWug/gBZHrWv91csqtFHLQk="; - extension = "zip"; + hash = "sha256-Jd/n/QFSzPKSyxkNGSikfViImcILBGhUKT4DnhyT5eA="; }; nativeBuildInputs = [ setuptools-scm ]; diff --git a/pkgs/development/python-modules/dep-logic/default.nix b/pkgs/development/python-modules/dep-logic/default.nix index c85fc1b95e29..845203c5d99f 100644 --- a/pkgs/development/python-modules/dep-logic/default.nix +++ b/pkgs/development/python-modules/dep-logic/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "dep-logic"; - version = "0.5.1"; + version = "0.5.2"; pyproject = true; disabled = pythonOlder "3.8"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "pdm-project"; repo = "dep-logic"; tag = version; - hash = "sha256-W/y5iM9dHnle7y3VzqvW7DSGy8ALvjqt5CN/2z5oEi8="; + hash = "sha256-BjqPtfYsHSDQoaYs+hB0r/mRuONqBHOb6goi1dxkFWo="; }; nativeBuildInputs = [ pdm-backend ]; diff --git a/pkgs/development/python-modules/dependency-groups/default.nix b/pkgs/development/python-modules/dependency-groups/default.nix new file mode 100644 index 000000000000..6bfbe3e79977 --- /dev/null +++ b/pkgs/development/python-modules/dependency-groups/default.nix @@ -0,0 +1,53 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + flit-core, + packaging, + pytestCheckHook, + tomli, +}: + +buildPythonPackage rec { + pname = "dependency-groups"; + version = "1.3.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "pypa"; + repo = "dependency-groups"; + tag = version; + hash = "sha256-suuSx3zf0Y45FJdH8Cb6N7hcvPnzleREpHhtdiG2CLg="; + }; + + build-system = [ + flit-core + ]; + + dependencies = [ + packaging + tomli + ]; + + optional-dependencies = { + cli = [ + tomli + ]; + }; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dependency_groups" + ]; + + meta = { + description = "A standalone implementation of PEP 735 Dependency Groups"; + homepage = "https://github.com/pypa/dependency-groups"; + changelog = "https://github.com/pypa/dependency-groups/blob/${src.tag}/CHANGELOG.rst"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ hexa ]; + }; +} diff --git a/pkgs/development/python-modules/dependency-injector/default.nix b/pkgs/development/python-modules/dependency-injector/default.nix index cd48ac472e5e..54154d299104 100644 --- a/pkgs/development/python-modules/dependency-injector/default.nix +++ b/pkgs/development/python-modules/dependency-injector/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "dependency-injector"; - version = "4.42.0"; + version = "4.48.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -28,7 +28,7 @@ buildPythonPackage rec { owner = "ets-labs"; repo = "python-dependency-injector"; tag = version; - hash = "sha256-ryPNmiIKQzR4WSjt7hi4C+iTsYvfj5TYGy+9PJxX+10="; + hash = "sha256-jsV+PmUGtK8QiI2ga963H/gkd31UEq0SouEia+spSpg="; }; build-system = [ setuptools ]; @@ -64,7 +64,7 @@ buildPythonPackage rec { meta = with lib; { description = "Dependency injection microframework for Python"; homepage = "https://github.com/ets-labs/python-dependency-injector"; - changelog = "https://github.com/ets-labs/python-dependency-injector/blob/${version}/docs/main/changelog.rst"; + changelog = "https://github.com/ets-labs/python-dependency-injector/blob/${src.tag}/docs/main/changelog.rst"; license = licenses.bsd3; maintainers = with maintainers; [ gerschtli ]; # https://github.com/ets-labs/python-dependency-injector/issues/726 diff --git a/pkgs/development/python-modules/devolo-plc-api/default.nix b/pkgs/development/python-modules/devolo-plc-api/default.nix index d9dcbbb73a3f..89f1bbb6853b 100644 --- a/pkgs/development/python-modules/devolo-plc-api/default.nix +++ b/pkgs/development/python-modules/devolo-plc-api/default.nix @@ -4,7 +4,7 @@ fetchFromGitHub, httpx, protobuf, - pytest-asyncio, + pytest-asyncio_0, pytest-httpx, pytest-mock, pytestCheckHook, @@ -48,7 +48,7 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; nativeCheckInputs = [ - pytest-asyncio + pytest-asyncio_0 pytest-httpx pytest-mock pytestCheckHook diff --git a/pkgs/development/python-modules/devpi-common/default.nix b/pkgs/development/python-modules/devpi-common/default.nix index 7197be7d2336..99ddb9b692ef 100644 --- a/pkgs/development/python-modules/devpi-common/default.nix +++ b/pkgs/development/python-modules/devpi-common/default.nix @@ -15,15 +15,15 @@ buildPythonPackage rec { pname = "devpi-common"; - version = "4.0.4"; + version = "4.1.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { - pname = "devpi_common"; + pname = "devpi-common"; inherit version; - hash = "sha256-I1oKmkXJblTGC6a6L3fYVs+Q8aacG+6UmIfp7cA6Qcw="; + hash = "sha256-WNf3YeP+f9/kScSmqeI1DU3fvrZssPbSCAJRQpQwMNM="; }; build-system = [ diff --git a/pkgs/development/python-modules/dicomweb-client/default.nix b/pkgs/development/python-modules/dicomweb-client/default.nix index 0e886d8325b0..2d34fa5b8455 100644 --- a/pkgs/development/python-modules/dicomweb-client/default.nix +++ b/pkgs/development/python-modules/dicomweb-client/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "dicomweb-client"; - version = "0.59.3"; + version = "0.60.1"; pyproject = true; disabled = pythonOlder "3.6"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "ImagingDataCommons"; repo = "dicomweb-client"; tag = "v${version}"; - hash = "sha256-D3j5EujrEdGTfR8/V3o2VJ/VkGdZ8IifPYMhP4ppXhw="; + hash = "sha256-ZxeZiCw8I5+Bf266PQ6WQA8mBRC7K3/kZrmuW4l6kQU="; }; build-system = [ setuptools ]; @@ -47,7 +47,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python client for DICOMweb RESTful services"; homepage = "https://dicomweb-client.readthedocs.io"; - changelog = "https://github.com/ImagingDataCommons/dicomweb-client/releases/tag/v${version}"; + changelog = "https://github.com/ImagingDataCommons/dicomweb-client/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ bcdarwin ]; mainProgram = "dicomweb_client"; diff --git a/pkgs/development/python-modules/diofant/default.nix b/pkgs/development/python-modules/diofant/default.nix index 696e8e4e63ad..0deaf22888cb 100644 --- a/pkgs/development/python-modules/diofant/default.nix +++ b/pkgs/development/python-modules/diofant/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "diofant"; - version = "0.14.0"; + version = "0.15.0"; pyproject = true; disabled = pythonOlder "3.10"; @@ -29,7 +29,7 @@ buildPythonPackage rec { owner = "diofant"; repo = "diofant"; tag = "v${version}"; - hash = "sha256-+VM5JBj4NRhNwyAVhnsACg5cVyyxJ3IcOKNL1osr67E="; + hash = "sha256-uQvAYSURDhuAKcX0WVMk4y2ZXiiq0lPZct/7A5n5t34="; }; patches = [ @@ -81,7 +81,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "diofant" ]; meta = with lib; { - changelog = "https://diofant.readthedocs.io/en/latest/release/notes-${version}.html"; + changelog = "https://diofant.readthedocs.io/en/latest/release/notes-${src.tag}.html"; description = "Python CAS library"; homepage = "https://github.com/diofant/diofant"; license = licenses.bsd3; diff --git a/pkgs/development/python-modules/discid/default.nix b/pkgs/development/python-modules/discid/default.nix index 83cc31223521..75439108a15b 100644 --- a/pkgs/development/python-modules/discid/default.nix +++ b/pkgs/development/python-modules/discid/default.nix @@ -8,12 +8,12 @@ buildPythonPackage rec { pname = "discid"; - version = "1.2.0"; + version = "1.3.0"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "1fc6kvnqwaz9lrs2qgsp8wh0nabf49010r0r53wnsmpmafy315nd"; + sha256 = "sha256-cWChIRrD1qbYIT+4jdPXPjKr5eATNqWkyYWwgql9QzU="; }; patchPhase = diff --git a/pkgs/development/python-modules/dissect-fve/default.nix b/pkgs/development/python-modules/dissect-fve/default.nix index d8ffe7bbd871..a7608a4012af 100644 --- a/pkgs/development/python-modules/dissect-fve/default.nix +++ b/pkgs/development/python-modules/dissect-fve/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "dissect-fve"; - version = "4.1"; + version = "4.2"; pyproject = true; disabled = pythonOlder "3.9"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "fox-it"; repo = "dissect.fve"; tag = version; - hash = "sha256-xPjwyI134E0JWkM+S2ae9TuBGHMSrgyjooM9CGECqgg="; + hash = "sha256-OgagTnt4y6Fzd7jbsCgbkTzcsdnozImfdKI9ew9JaqI="; }; build-system = [ diff --git a/pkgs/development/python-modules/distlib/default.nix b/pkgs/development/python-modules/distlib/default.nix index 0a636477ea7b..02e084b0f686 100644 --- a/pkgs/development/python-modules/distlib/default.nix +++ b/pkgs/development/python-modules/distlib/default.nix @@ -8,12 +8,12 @@ buildPythonPackage rec { pname = "distlib"; - version = "0.3.9"; + version = "0.4.0"; format = "pyproject"; src = fetchPypi { inherit pname version; - hash = "sha256-pg8g3qZGuKM/Pndy903AstB3LSg37hNCoAZFyB7flAM="; + hash = "sha256-/uxAB1vgOgRQGpc9gfYzc1tLafmLBUUFkjEMD0AaTg0="; }; nativeBuildInputs = [ setuptools ]; diff --git a/pkgs/development/python-modules/distributed/default.nix b/pkgs/development/python-modules/distributed/default.nix index 6f2bb78a106f..db117b6a05af 100644 --- a/pkgs/development/python-modules/distributed/default.nix +++ b/pkgs/development/python-modules/distributed/default.nix @@ -28,14 +28,14 @@ buildPythonPackage rec { pname = "distributed"; - version = "2025.3.0"; + version = "2025.7.0"; pyproject = true; src = fetchFromGitHub { owner = "dask"; repo = "distributed"; tag = version; - hash = "sha256-+vegdEXhQi3ns5iMs6FavKnAlRNIWCUNyZENVBWZsuQ="; + hash = "sha256-np4hCamNTbnmLdfjFeHsxEEm9XI1O0kOczDe1YjSziw="; }; postPatch = '' diff --git a/pkgs/development/python-modules/dj-rest-auth/default.nix b/pkgs/development/python-modules/dj-rest-auth/default.nix index a00c31ab7aed..5191ff624b78 100644 --- a/pkgs/development/python-modules/dj-rest-auth/default.nix +++ b/pkgs/development/python-modules/dj-rest-auth/default.nix @@ -81,6 +81,9 @@ buildPythonPackage rec { disabledTests = [ # Test connects to graph.facebook.com "TestSocialLoginSerializer" + # claim[user_id] is "1" (str) vs 1 (int) + "test_custom_jwt_claims" + "test_custom_jwt_claims_cookie_w_authentication" ]; disabledTestPaths = [ diff --git a/pkgs/development/python-modules/django-allauth/default.nix b/pkgs/development/python-modules/django-allauth/default.nix index 3e1b6e31a42c..e710032e9006 100644 --- a/pkgs/development/python-modules/django-allauth/default.nix +++ b/pkgs/development/python-modules/django-allauth/default.nix @@ -2,11 +2,13 @@ lib, buildPythonPackage, fetchFromGitea, + fetchpatch, pythonOlder, python, # build-system setuptools, + setuptools-scm, # build-time dependencies gettext, @@ -41,7 +43,7 @@ buildPythonPackage rec { pname = "django-allauth"; - version = "65.9.0"; + version = "65.10.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -51,12 +53,23 @@ buildPythonPackage rec { owner = "allauth"; repo = "django-allauth"; tag = version; - hash = "sha256-gusA9TnsgSSnWBPwHsNYeESD9nX5DWh4HqMgcsoJRw0="; + hash = "sha256-pwWrdWk3bARM4dKbEnUWXuyjw/rTcOjk3YXowDa+Hm8="; }; + patches = [ + (fetchpatch { + name = "dj-rest-auth-compat.patch"; + url = "https://github.com/pennersr/django-allauth/commit/d50a9b09bada6753b52e52571d0830d837dc08ee.patch"; + hash = "sha256-cFj9HEAlAITbRcR23ptzUYamoLmdtFEUVkDtv4+BBY0="; + }) + ]; + nativeBuildInputs = [ gettext ]; - build-system = [ setuptools ]; + build-system = [ + setuptools + setuptools-scm + ]; dependencies = [ asgiref diff --git a/pkgs/development/python-modules/django-auditlog/default.nix b/pkgs/development/python-modules/django-auditlog/default.nix index 4b488a328ae8..80af50656ca1 100644 --- a/pkgs/development/python-modules/django-auditlog/default.nix +++ b/pkgs/development/python-modules/django-auditlog/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "django-auditlog"; - version = "3.1.2"; + version = "3.2.0"; pyproject = true; src = fetchFromGitHub { owner = "jazzband"; repo = "django-auditlog"; tag = "v${version}"; - hash = "sha256-xb6pTsXkB8HVpXvB9WzBUlRcjh5cn1CdmMYQQVCQ/GU="; + hash = "sha256-NOtpnYh6HUo7VRSyCUhbpNDv0V9KWST0OEzl7Pt6eR8="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/django-cachalot/default.nix b/pkgs/development/python-modules/django-cachalot/default.nix index 3b83eb8f6a16..4c6c85a46d67 100644 --- a/pkgs/development/python-modules/django-cachalot/default.nix +++ b/pkgs/development/python-modules/django-cachalot/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "django-cachalot"; - version = "2.7.0"; + version = "2.8.0"; format = "setuptools"; src = fetchFromGitHub { owner = "noripyt"; repo = "django-cachalot"; tag = "v${version}"; - hash = "sha256-Fi5UvqH2bVb4v/GWDkEYIcBMBVos+35g4kcEnZTOQvw="; + hash = "sha256-3W+9cULL3mMtAkxbqetoIj2FL/HRbzWHIDMe9O1e6BM="; }; patches = [ @@ -58,7 +58,7 @@ buildPythonPackage rec { meta = with lib; { description = "No effort, no worry, maximum performance"; homepage = "https://github.com/noripyt/django-cachalot"; - changelog = "https://github.com/noripyt/django-cachalot/blob/${src.rev}/CHANGELOG.rst"; + changelog = "https://github.com/noripyt/django-cachalot/blob/${src.tag}/CHANGELOG.rst"; license = licenses.bsd3; maintainers = with maintainers; [ onny ]; }; diff --git a/pkgs/development/python-modules/django-cms/default.nix b/pkgs/development/python-modules/django-cms/default.nix index a33caa7b8024..ca3034af5512 100644 --- a/pkgs/development/python-modules/django-cms/default.nix +++ b/pkgs/development/python-modules/django-cms/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "django-cms"; - version = "4.1.6"; + version = "5.0.2"; pyproject = true; disabled = pythonOlder "3.9"; @@ -30,24 +30,9 @@ buildPythonPackage rec { owner = "django-cms"; repo = "django-cms"; tag = version; - hash = "sha256-KowhiJz84hR5VqW+WNIBEhC+X9zPE1opDWygFfsFfPE="; + hash = "sha256-qv6eVs5jKJXQczEa6+H5n4+pw1JFTkb7XJD+0DBVFM0="; }; - patches = [ - # Removed django-app-manage dependency by updating ./manage.py - # https://github.com/django-cms/django-cms/pull/8061 - (fetchpatch { - url = "https://github.com/django-cms/django-cms/commit/3270edb72f6a736b5cb448864ce2eaf68f061740.patch"; - hash = "sha256-DkgAfE/QGAXwKMNvgcYxtO0yAc7oAaAAui2My8ml1Vk="; - name = "remove_django_app_manage_dependency.patch"; - }) - (fetchpatch { - url = "https://github.com/django-cms/django-cms/pull/8061/commits/04005ff693e775db645c62fefbb62367822e66f9.patch"; - hash = "sha256-4M/VKEv7pnqCk6fDyA6FurSCCu/k9tNnz16wT4Tr0Rw="; - name = "manage_py_update_dj_database_url.patch"; - }) - ]; - build-system = [ setuptools ]; dependencies = [ diff --git a/pkgs/development/python-modules/django-csp/default.nix b/pkgs/development/python-modules/django-csp/default.nix index 5c5920404fbc..70ec6444eee8 100644 --- a/pkgs/development/python-modules/django-csp/default.nix +++ b/pkgs/development/python-modules/django-csp/default.nix @@ -17,13 +17,13 @@ buildPythonPackage rec { pname = "django-csp"; - version = "3.8"; + version = "4.0"; pyproject = true; src = fetchPypi { inherit version; pname = "django_csp"; - hash = "sha256-7w8an32Nporm4WnALprGYcDs8E23Dg0dhWQFEqaEccA="; + hash = "sha256-snAQu3Ausgo9rTKReN8rYaK4LTOLcPvcE8OjvShxKDM="; }; postPatch = '' diff --git a/pkgs/development/python-modules/django-debug-toolbar/default.nix b/pkgs/development/python-modules/django-debug-toolbar/default.nix index e7820589c481..a497e80beb69 100644 --- a/pkgs/development/python-modules/django-debug-toolbar/default.nix +++ b/pkgs/development/python-modules/django-debug-toolbar/default.nix @@ -16,13 +16,11 @@ html5lib, jinja2, pygments, - pytest-django, - pytestCheckHook, }: buildPythonPackage rec { pname = "django-debug-toolbar"; - version = "5.0.1"; + version = "6.0.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -31,9 +29,14 @@ buildPythonPackage rec { owner = "jazzband"; repo = "django-debug-toolbar"; tag = version; - hash = "sha256-Q0joSIFXhoVmNQ+AfESdEWUGY1xmJzr4iR6Ak54YM7c="; + hash = "sha256-ZNevSqEpTdk0cZeMzOpbtatEiV9SAsVUlRb9YddcAGY="; }; + postPatch = '' + # not actually used and we don't have django-template-partials packaged + sed -i "/template_partials/d" tests/settings.py + ''; + build-system = [ hatchling ]; dependencies = [ diff --git a/pkgs/development/python-modules/django-graphiql-debug-toolbar/default.nix b/pkgs/development/python-modules/django-graphiql-debug-toolbar/default.nix index 8569e756d5ee..3355b6e4af84 100644 --- a/pkgs/development/python-modules/django-graphiql-debug-toolbar/default.nix +++ b/pkgs/development/python-modules/django-graphiql-debug-toolbar/default.nix @@ -61,6 +61,8 @@ buildPythonPackage rec { export DJANGO_SETTINGS_MODULE=tests.settings ''; + doCheck = false; # tests broke with django-debug-toolbar 6.0 + meta = with lib; { changelog = "https://github.com/flavors/django-graphiql-debug-toolbar/releases/tag/${src.rev}"; description = "Django Debug Toolbar for GraphiQL IDE"; diff --git a/pkgs/development/python-modules/django-guardian/default.nix b/pkgs/development/python-modules/django-guardian/default.nix index a6727b8f055b..2f03409bcd59 100644 --- a/pkgs/development/python-modules/django-guardian/default.nix +++ b/pkgs/development/python-modules/django-guardian/default.nix @@ -1,29 +1,32 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, django-environ, - mock, django, pytestCheckHook, pytest-django, + setuptools, }: buildPythonPackage rec { pname = "django-guardian"; - version = "2.4.0"; - format = "setuptools"; + version = "3.0.3"; + pyproject = true; - src = fetchPypi { - inherit pname version; - sha256 = "c58a68ae76922d33e6bdc0e69af1892097838de56e93e78a8361090bcd9f89a0"; + src = fetchFromGitHub { + owner = "django-guardian"; + repo = "django-guardian"; + tag = version; + hash = "sha256-0rOEue+OApWQmSBuwTLnu/yU5HUa5pgvVBUG5fT4iwY="; }; - propagatedBuildInputs = [ django ]; + build-system = [ setuptools ]; + + dependencies = [ django ]; nativeCheckInputs = [ django-environ - mock pytestCheckHook pytest-django ]; @@ -33,10 +36,7 @@ buildPythonPackage rec { meta = with lib; { description = "Per object permissions for Django"; homepage = "https://github.com/django-guardian/django-guardian"; - license = with licenses; [ - mit - bsd2 - ]; + license = with licenses; [ bsd2 ]; maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/django-health-check/default.nix b/pkgs/development/python-modules/django-health-check/default.nix index 17d187a6a6cb..229f31e1892e 100644 --- a/pkgs/development/python-modules/django-health-check/default.nix +++ b/pkgs/development/python-modules/django-health-check/default.nix @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "django-health-check"; - version = "3.18.3"; + version = "3.20.0"; pyproject = true; src = fetchFromGitHub { owner = "KristianOellegaard"; repo = "django-health-check"; tag = version; - hash = "sha256-+6+YxB/x4JdKUCwxxe+YIc+r1YAzngFUHiS6atupWM8="; + hash = "sha256-qgABCDWKGYZ67sKvCozUQfmYcKWMpEVNLxInTnIaojk="; }; build-system = [ setuptools-scm ]; @@ -58,7 +58,7 @@ buildPythonPackage rec { meta = with lib; { description = "Pluggable app that runs a full check on the deployment"; homepage = "https://github.com/KristianOellegaard/django-health-check"; - changelog = "https://github.com/revsys/django-health-check/releases/tag/${version}"; + changelog = "https://github.com/revsys/django-health-check/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ onny ]; }; diff --git a/pkgs/development/python-modules/django-hijack/default.nix b/pkgs/development/python-modules/django-hijack/default.nix index 55b6bf4244f9..872f77d95671 100644 --- a/pkgs/development/python-modules/django-hijack/default.nix +++ b/pkgs/development/python-modules/django-hijack/default.nix @@ -19,14 +19,14 @@ buildPythonPackage rec { pname = "django-hijack"; - version = "3.7.2"; + version = "3.7.3"; pyproject = true; src = fetchFromGitHub { owner = "django-hijack"; repo = "django-hijack"; tag = version; - hash = "sha256-JGcVXM/kWsahGNh1llV4NB+/FLAh3hqFRbs3PyYqRnA="; + hash = "sha256-0Ix8bTOt+5Bzvbx0OrgxvQU/t9IaZlq7gLtCeVPR2qc="; }; build-system = [ @@ -52,7 +52,7 @@ buildPythonPackage rec { meta = with lib; { description = "Allows superusers to hijack (=login as) and work on behalf of another user"; homepage = "https://github.com/django-hijack/django-hijack"; - changelog = "https://github.com/django-hijack/django-hijack/releases/tag/${version}"; + changelog = "https://github.com/django-hijack/django-hijack/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ ris ]; }; diff --git a/pkgs/development/python-modules/django-mfa3/default.nix b/pkgs/development/python-modules/django-mfa3/default.nix index 5651335e8c2f..2f7cfff01122 100644 --- a/pkgs/development/python-modules/django-mfa3/default.nix +++ b/pkgs/development/python-modules/django-mfa3/default.nix @@ -5,7 +5,7 @@ django, setuptools, pyotp, - fido2_2, + fido2, qrcode, python, }: @@ -27,7 +27,7 @@ buildPythonPackage rec { dependencies = [ django pyotp - fido2_2 + fido2 qrcode ]; diff --git a/pkgs/development/python-modules/django-modeltranslation/default.nix b/pkgs/development/python-modules/django-modeltranslation/default.nix index 65bcd446d902..91ee56a3382d 100644 --- a/pkgs/development/python-modules/django-modeltranslation/default.nix +++ b/pkgs/development/python-modules/django-modeltranslation/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "django-modeltranslation"; - version = "0.19.14"; + version = "0.19.16"; pyproject = true; disabled = pythonOlder "3.11"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "deschler"; repo = "django-modeltranslation"; tag = "v${version}"; - hash = "sha256-jvVzSltq4wkSmndyyOGxldXJVpydmCCrHMGTGiMUNA0="; + hash = "sha256-8A5fIZuUMlXe8bHQR0Ha5HoT9VIQsgqpJVMONB5KqCI="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/django-multiselectfield/default.nix b/pkgs/development/python-modules/django-multiselectfield/default.nix index ad365b7062f3..0945ab27d9e5 100644 --- a/pkgs/development/python-modules/django-multiselectfield/default.nix +++ b/pkgs/development/python-modules/django-multiselectfield/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "django-multiselectfield"; - version = "0.1.13"; + version = "1.0.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -17,7 +17,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "django_multiselectfield"; inherit version; - hash = "sha256-Q31yYy9MDKQWlRkXYyUpw9HUK2K7bDwD4zlvpQJlvpQ="; + hash = "sha256-P4tP/z4H1Kkci7S4Cbw1yusitBdptgb0ye3FO41ypmc="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/django-pattern-library/default.nix b/pkgs/development/python-modules/django-pattern-library/default.nix index 268187cf852c..da43dd05c8ac 100644 --- a/pkgs/development/python-modules/django-pattern-library/default.nix +++ b/pkgs/development/python-modules/django-pattern-library/default.nix @@ -19,14 +19,14 @@ buildPythonPackage rec { pname = "django-pattern-library"; - version = "1.3.0"; + version = "1.5.0"; pyproject = true; src = fetchFromGitHub { owner = "torchbox"; repo = "django-pattern-library"; tag = "v${version}"; - hash = "sha256-2a/Rg6ljBe1J0FOob7Z9aNVZZ3l+gTD34QCRjk4PiQg="; + hash = "sha256-urK34rlBU5GuEOlUtmJLGv6wlTP5H/RMAkwQu5S2Jbo="; }; nativeBuildInputs = [ poetry-core ]; @@ -50,7 +50,7 @@ buildPythonPackage rec { meta = with lib; { description = "UI pattern libraries for Django templates"; homepage = "https://github.com/torchbox/django-pattern-library/"; - changelog = "https://github.com/torchbox/django-pattern-library/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/torchbox/django-pattern-library/blob/${src.tag}/CHANGELOG.md"; license = licenses.bsd3; maintainers = with maintainers; [ sephi ]; }; diff --git a/pkgs/development/python-modules/django-polymorphic/default.nix b/pkgs/development/python-modules/django-polymorphic/default.nix index ff2682c6d3e7..bcc8f58aae38 100644 --- a/pkgs/development/python-modules/django-polymorphic/default.nix +++ b/pkgs/development/python-modules/django-polymorphic/default.nix @@ -11,21 +11,16 @@ buildPythonPackage rec { pname = "django-polymorphic"; - version = "4.0.0"; + version = "4.1.0"; pyproject = true; src = fetchFromGitHub { owner = "django-polymorphic"; repo = "django-polymorphic"; tag = "v${version}"; - hash = "sha256-cEV9gnc9gLpAVmYkzSaQwDbgXsklMTq71edndDJeP9E="; + hash = "sha256-QcJUKGhWPUHhVVsEZhhjN411Pz4Wn7OL2fhotPOGVm4="; }; - patches = [ - # https://github.com/jazzband/django-polymorphic/issues/616 - ./django-5.1-compat.patch - ]; - build-system = [ setuptools ]; dependencies = [ django ]; diff --git a/pkgs/development/python-modules/django-polymorphic/django-5.1-compat.patch b/pkgs/development/python-modules/django-polymorphic/django-5.1-compat.patch deleted file mode 100644 index 42976118728a..000000000000 --- a/pkgs/development/python-modules/django-polymorphic/django-5.1-compat.patch +++ /dev/null @@ -1,22 +0,0 @@ -From a2c48cedc45db52469b93b6fa7a5d50c6722586f Mon Sep 17 00:00:00 2001 -From: Ben Gosney -Date: Sun, 25 Aug 2024 14:49:33 +0100 -Subject: [PATCH] fix(query): handle None - ---- - polymorphic/query.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/polymorphic/query.py b/polymorphic/query.py -index 8e93281a..2d2df6c3 100644 ---- a/polymorphic/query.py -+++ b/polymorphic/query.py -@@ -278,7 +278,7 @@ def tree_node_test___lookup(my_model, node): - elif hasattr(a, "get_source_expressions"): - for source_expression in a.get_source_expressions(): - test___lookup(source_expression) -- else: -+ elif a is not None: - assert "___" not in a.name, ___lookup_assert_msg - - for a in args: diff --git a/pkgs/development/python-modules/django-q2/default.nix b/pkgs/development/python-modules/django-q2/default.nix index b520ea436776..53f3d46dfd90 100644 --- a/pkgs/development/python-modules/django-q2/default.nix +++ b/pkgs/development/python-modules/django-q2/default.nix @@ -10,10 +10,10 @@ django-redis, fetchFromGitHub, hiredis, - pkgs, poetry-core, pytest-django, pytestCheckHook, + redisTestHook, stdenv, }: @@ -49,31 +49,14 @@ buildPythonPackage rec { blessed croniter django-redis - # pyredis refuses to load with hiredis<3.0.0 - (hiredis.overrideAttrs ( - new: old: { - version = "3.1.0"; - src = old.src.override { - tag = "v${new.version}"; - hash = "sha256-ID5OJdARd2N2GYEpcYOpxenpZlhWnWr5fAClAgqEgGg="; - }; - } - )) + hiredis pytest-django pytestCheckHook + redisTestHook ]; pythonImportsCheck = [ "django_q" ]; - preCheck = '' - ${pkgs.valkey}/bin/redis-server & - REDIS_PID=$! - ''; - - postCheck = '' - kill $REDIS_PID - ''; - env = { MONGO_HOST = "127.0.0.1"; REDIS_HOST = "127.0.0.1"; diff --git a/pkgs/development/python-modules/django-rq/default.nix b/pkgs/development/python-modules/django-rq/default.nix index 9d5c228222c1..1cbd4d7c3011 100644 --- a/pkgs/development/python-modules/django-rq/default.nix +++ b/pkgs/development/python-modules/django-rq/default.nix @@ -1,34 +1,44 @@ { lib, buildPythonPackage, - isPy27, fetchFromGitHub, + hatchling, django, redis, rq, + prometheus-client, sentry-sdk, + psycopg, + pytest-django, + pytestCheckHook, + redisTestHook, }: buildPythonPackage rec { pname = "django-rq"; - version = "3.0.1"; - format = "setuptools"; - disabled = isPy27; + version = "3.1"; + pyproject = true; src = fetchFromGitHub { owner = "rq"; repo = "django-rq"; tag = "v${version}"; - hash = "sha256-f4ilMKMWNr/NVKRhylr0fFiKFEKHXU/zIlPnq7fCYNs="; + hash = "sha256-TnOKgw52ykKcR0gHXcdYfv77js7I63PE1F3POdwJgvc="; }; - propagatedBuildInputs = [ + build-system = [ hatchling ]; + + dependencies = [ django redis rq - sentry-sdk ]; + optional-dependencies = { + prometheus = [ prometheus-client ]; + sentry = [ sentry-sdk ]; + }; + pythonImportsCheck = [ "django_rq" ]; doCheck = false; # require redis-server diff --git a/pkgs/development/python-modules/django-scim2/default.nix b/pkgs/development/python-modules/django-scim2/default.nix index 7125394c00fe..fa91f8fe1e76 100644 --- a/pkgs/development/python-modules/django-scim2/default.nix +++ b/pkgs/development/python-modules/django-scim2/default.nix @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "django-scim2"; - version = "0.19.0"; + version = "0.20.0"; pyproject = true; src = fetchFromGitHub { owner = "15five"; repo = "django-scim2"; tag = version; - hash = "sha256-larDh4f9/xVr11/n/WfkJ2Tx45DMQqyK3ZzkWAvzeig="; + hash = "sha256-OsfC6Jc/oQl6nzy3Nr3vkY+XicRxUoV62hK8MHa3LJ8="; }; # remove this when upstream releases a new version > 0.19.0 @@ -51,7 +51,7 @@ buildPythonPackage rec { ]; meta = with lib; { - changelog = "https://github.com/15five/django-scim2/blob/${src.rev}/CHANGES.txt"; + changelog = "https://github.com/15five/django-scim2/blob/${src.tag}/CHANGES.txt"; description = "SCIM 2.0 Service Provider Implementation (for Django)"; homepage = "https://github.com/15five/django-scim2"; license = licenses.mit; diff --git a/pkgs/development/python-modules/django-simple-history/default.nix b/pkgs/development/python-modules/django-simple-history/default.nix index 248d70052120..730217b039da 100644 --- a/pkgs/development/python-modules/django-simple-history/default.nix +++ b/pkgs/development/python-modules/django-simple-history/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "django-simple-history"; - version = "3.9.0"; + version = "3.10.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "jazzband"; repo = "django-simple-history"; tag = version; - hash = "sha256-df6AWyliKSqKH0yacpHgGZXNvmjiJuFJWoJ7502IMB4="; + hash = "sha256-th0ZkHMKWcI6nNhgjpkvmyKaJ/TdWK12mBPUTFab8g4="; }; build-system = [ diff --git a/pkgs/development/python-modules/django-stubs-ext/default.nix b/pkgs/development/python-modules/django-stubs-ext/default.nix index 40464d29fcff..1931b9f6b6c5 100644 --- a/pkgs/development/python-modules/django-stubs-ext/default.nix +++ b/pkgs/development/python-modules/django-stubs-ext/default.nix @@ -2,29 +2,34 @@ lib, buildPythonPackage, django, - fetchPypi, + fetchFromGitHub, + hatchling, oracledb, + pytest-mypy-plugins, + pytest-xdist, pytestCheckHook, - pythonOlder, redis, - setuptools, typing-extensions, }: buildPythonPackage rec { pname = "django-stubs-ext"; - version = "5.2.0"; + version = "5.2.2"; pyproject = true; - disabled = pythonOlder "3.10"; - - src = fetchPypi { - pname = "django_stubs_ext"; - inherit version; - hash = "sha256-AMSuMHtTj1ZDr3YakUw/jk4/JfTnxtcJjxkGwNjyqsk="; + src = fetchFromGitHub { + owner = "typeddjango"; + repo = "django-stubs"; + tag = version; + hash = "sha256-kF5g0/rkMQxYTfSrTqzZ6BuqGlE42K/AVhc1/ARc+/c="; }; - build-system = [ setuptools ]; + postPatch = '' + cd ext + ln -s ../scripts + ''; + + build-system = [ hatchling ]; dependencies = [ django @@ -36,7 +41,16 @@ buildPythonPackage rec { oracle = [ oracledb ]; }; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytest-mypy-plugins + pytest-xdist + pytestCheckHook + ]; + + disabledTestPaths = [ + # error: Skipping analyzing "django.db": module is installed, but missing library stubs or py.typed marker [import-untyped] (diff) + "tests/typecheck" + ]; pythonImportsCheck = [ "django_stubs_ext" ]; diff --git a/pkgs/development/python-modules/django-stubs/default.nix b/pkgs/development/python-modules/django-stubs/default.nix index bc7897dd6ba9..e80d281e5200 100644 --- a/pkgs/development/python-modules/django-stubs/default.nix +++ b/pkgs/development/python-modules/django-stubs/default.nix @@ -3,11 +3,12 @@ buildPythonPackage, django, django-stubs-ext, - fetchPypi, + fetchFromGitHub, mypy, + pytest-mypy-plugins, pytestCheckHook, pythonOlder, - setuptools, + hatchling, tomli, types-pytz, types-pyyaml, @@ -16,23 +17,17 @@ buildPythonPackage rec { pname = "django-stubs"; - version = "5.2.0"; + version = "5.2.2"; pyproject = true; - disabled = pythonOlder "3.8"; - - src = fetchPypi { - pname = "django_stubs"; - inherit version; - hash = "sha256-B+JcLTy/9b5UAif/N3GcyJ8hXfqqpesDinWwG7+7JyI="; + src = fetchFromGitHub { + owner = "typeddjango"; + repo = "django-stubs"; + tag = version; + hash = "sha256-kF5g0/rkMQxYTfSrTqzZ6BuqGlE42K/AVhc1/ARc+/c="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail "setuptools<79.0.0" setuptools - ''; - - build-system = [ setuptools ]; + build-system = [ hatchling ]; dependencies = [ django @@ -48,9 +43,19 @@ buildPythonPackage rec { }; nativeCheckInputs = [ + pytest-mypy-plugins pytestCheckHook ] - ++ lib.flatten (builtins.attrValues optional-dependencies); + ++ lib.flatten (lib.attrValues optional-dependencies); + + disabledTests = [ + # AttributeError: module 'django.contrib.auth.forms' has no attribute 'SetUnusablePasswordMixin' + "test_find_classes_inheriting_from_generic" + ]; + + disabledTestPaths = [ + "tests/typecheck" + ]; pythonImportsCheck = [ "django-stubs" ]; diff --git a/pkgs/development/python-modules/django-tasks/default.nix b/pkgs/development/python-modules/django-tasks/default.nix index b7798dce2319..e8d556f773b4 100644 --- a/pkgs/development/python-modules/django-tasks/default.nix +++ b/pkgs/development/python-modules/django-tasks/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "django-tasks"; - version = "0.7.0"; + version = "0.8.1"; pyproject = true; src = fetchFromGitHub { owner = "RealOrangeOne"; repo = "django-tasks"; tag = version; - hash = "sha256-AWsqAvn11uklrFXtiV2a6fR3owZ02osEzrdHZgDKkOM="; + hash = "sha256-fXXqPmpyIq+66okWDmTIBaoaslY8BSILXjJWn8cXnMM="; }; build-system = [ @@ -65,6 +65,8 @@ buildPythonPackage rec { "test_dry_run" # AssertionError: '' != 'Deleted 1 task result(s)' "test_prunes_tasks" + # AssertionError: 'Run maximum tasks (2)' not found in '' + "test_max_tasks" ]; preCheck = '' @@ -74,7 +76,7 @@ buildPythonPackage rec { meta = { description = "Reference implementation and backport of background workers and tasks in Django"; homepage = "https://github.com/RealOrangeOne/django-tasks"; - changelog = "https://github.com/RealOrangeOne/django-tasks/releases/tag/${version}"; + changelog = "https://github.com/RealOrangeOne/django-tasks/releases/tag/${src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ GaetanLepage ]; }; diff --git a/pkgs/development/python-modules/django-webpack-loader/default.nix b/pkgs/development/python-modules/django-webpack-loader/default.nix index 30bd093ac061..1d9693514dca 100644 --- a/pkgs/development/python-modules/django-webpack-loader/default.nix +++ b/pkgs/development/python-modules/django-webpack-loader/default.nix @@ -2,29 +2,27 @@ lib, buildPythonPackage, django, - fetchPypi, - pythonOlder, + fetchFromGitHub, setuptools-scm, }: buildPythonPackage rec { pname = "django-webpack-loader"; - version = "3.1.1"; + version = "3.2.1"; pyproject = true; - disabled = pythonOlder "3.7"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-8Rt5cA0b/BKZExvfS6R5wewgD4OhQA4aL+tcK6e2+MQ="; + src = fetchFromGitHub { + owner = "django-webpack"; + repo = "django-webpack-loader"; + tag = version; + hash = "sha256-2CmIaVDSZlqfSJVPVBmOcT89znjxQhe7ZHhe7i6DCGY="; }; build-system = [ setuptools-scm ]; dependencies = [ django ]; - # django.core.exceptions.ImproperlyConfigured (path issue with DJANGO_SETTINGS_MODULE?) - doCheck = false; + doCheck = false; # tests require fetching node_modules pythonImportsCheck = [ "webpack_loader" ]; diff --git a/pkgs/development/python-modules/django/3.13.6-html-parser.patch b/pkgs/development/python-modules/django/3.13.6-html-parser.patch new file mode 100644 index 000000000000..6d986be38478 --- /dev/null +++ b/pkgs/development/python-modules/django/3.13.6-html-parser.patch @@ -0,0 +1,58 @@ +From e0a1e8d549e7be25960b8ad060c63def3dc35d1d Mon Sep 17 00:00:00 2001 +From: Natalia <124304+nessita@users.noreply.github.com> +Date: Mon, 21 Jul 2025 15:23:32 -0300 +Subject: [PATCH 1/2] Fixed test_utils.tests.HTMLEqualTests.test_parsing_errors + following Python's HTMLParser fixed parsing. + +Further details about Python changes can be found in: +https://github.com/python/cpython/commit/0243f97cbadec8d985e63b1daec5d1cbc850cae3. + +Thank you Clifford Gama for the thorough review! +--- + tests/test_utils/tests.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/test_utils/tests.py b/tests/test_utils/tests.py +index 37e87aa1022c..9c22b61b4ff2 100644 +--- a/tests/test_utils/tests.py ++++ b/tests/test_utils/tests.py +@@ -962,7 +962,7 @@ def test_parsing_errors(self): + "('Unexpected end tag `div` (Line 1, Column 6)', (1, 6))" + ) + with self.assertRaisesMessage(AssertionError, error_msg): +- self.assertHTMLEqual("< div>", "
") ++ self.assertHTMLEqual("< div>", "
") + with self.assertRaises(HTMLParseError): + parse_html("

") + + +From e8afcf0e644553bcba3e5f931266963bffc46748 Mon Sep 17 00:00:00 2001 +From: Natalia <124304+nessita@users.noreply.github.com> +Date: Mon, 14 Jul 2025 14:45:03 -0300 +Subject: [PATCH 2/2] Fixed #36499 -- Adjusted + utils_tests.test_html.TestUtilsHtml.test_strip_tags following Python's + HTMLParser new behavior. + +Python fixed a quadratic complexity processing for HTMLParser in: +https://github.com/python/cpython/commit/6eb6c5dbfb528bd07d77b60fd71fd05d81d45c41. +--- + tests/utils_tests/test_html.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/tests/utils_tests/test_html.py b/tests/utils_tests/test_html.py +index 284f33aedcfb..51573b81eb9d 100644 +--- a/tests/utils_tests/test_html.py ++++ b/tests/utils_tests/test_html.py +@@ -142,10 +142,10 @@ def test_strip_tags(self): + ("&gotcha&#;<>", "&gotcha&#;<>"), + ("ript>test</script>", "ript>test"), + ("&h", "alert()h"), +- (">"), + ("X<<<
br>br>br>X", "XX"), + ("<" * 50 + "a>" * 50, ""), +- (">" + "" + "" + ""), + ("=8.0.1 - # https://github.com/fonttools/fonttools/issues/3458 - "Tests/ttLib/woff2_test.py" - "Tests/ttx/ttx_test.py" - ]; - meta = with lib; { homepage = "https://github.com/fonttools/fonttools"; description = "Library to manipulate font files from Python"; diff --git a/pkgs/development/python-modules/fonttools/python-3.13.4.patch b/pkgs/development/python-modules/fonttools/python-3.13.4.patch deleted file mode 100644 index c05def255b17..000000000000 --- a/pkgs/development/python-modules/fonttools/python-3.13.4.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/Lib/fontTools/feaLib/ast.py b/Lib/fontTools/feaLib/ast.py -index efcce8c680..18e5a891d3 100644 ---- a/Lib/fontTools/feaLib/ast.py -+++ b/Lib/fontTools/feaLib/ast.py -@@ -719,7 +719,8 @@ def __init__(self, prefix, glyphs, suffix, lookups, location=None): - for i, lookup in enumerate(lookups): - if lookup: - try: -- (_ for _ in lookup) -+ for _ in lookup: -+ break - except TypeError: - self.lookups[i] = [lookup] - -@@ -777,7 +778,8 @@ def __init__(self, prefix, glyphs, suffix, lookups, location=None): - for i, lookup in enumerate(lookups): - if lookup: - try: -- (_ for _ in lookup) -+ for _ in lookup: -+ break - except TypeError: - self.lookups[i] = [lookup] - - diff --git a/pkgs/development/python-modules/foxdot/default.nix b/pkgs/development/python-modules/foxdot/default.nix index c9bdda75abb6..1fdce0278694 100644 --- a/pkgs/development/python-modules/foxdot/default.nix +++ b/pkgs/development/python-modules/foxdot/default.nix @@ -3,22 +3,24 @@ stdenv, buildPythonPackage, fetchPypi, + setuptools, tkinter, supercollider, }: buildPythonPackage rec { pname = "foxdot"; - version = "0.8.12"; - format = "setuptools"; + version = "0.9.0"; + pyproject = true; src = fetchPypi { - pname = "FoxDot"; - inherit version; - sha256 = "528999da55ad630e540a39c0eaeacd19c58c36f49d65d24ea9704d0781e18c90"; + inherit pname version; + hash = "sha256-9dIaqrGcYpZeWlRlymRvG9YnTRav0zktfmUpFBlN/7E="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ tkinter ] # we currently build SuperCollider only on Linux diff --git a/pkgs/development/python-modules/fpdf2/default.nix b/pkgs/development/python-modules/fpdf2/default.nix index 55a223cc859a..41e518d00490 100644 --- a/pkgs/development/python-modules/fpdf2/default.nix +++ b/pkgs/development/python-modules/fpdf2/default.nix @@ -19,14 +19,14 @@ buildPythonPackage rec { pname = "fpdf2"; - version = "2.8.2"; + version = "2.8.3"; pyproject = true; src = fetchFromGitHub { owner = "py-pdf"; repo = "fpdf2"; tag = version; - hash = "sha256-NfHMmyFT+ZpqfRc41DetbFXs/twr12XagOkk3nGhrYk="; + hash = "sha256-uLaVRseakLg7Q9QO4F6BM7vQIFeA44ry8cqDfas8oMA="; }; nativeBuildInputs = [ setuptools ]; @@ -63,7 +63,7 @@ buildPythonPackage rec { meta = { homepage = "https://github.com/py-pdf/fpdf2"; description = "Simple PDF generation for Python"; - changelog = "https://github.com/py-pdf/fpdf2/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/py-pdf/fpdf2/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.lgpl3Only; maintainers = with lib.maintainers; [ jfvillablanca ]; }; diff --git a/pkgs/development/python-modules/freezegun/default.nix b/pkgs/development/python-modules/freezegun/default.nix index 046b3f20046f..991a4d67c5b1 100644 --- a/pkgs/development/python-modules/freezegun/default.nix +++ b/pkgs/development/python-modules/freezegun/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "freezegun"; - version = "1.5.1"; + version = "1.5.4"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-sp3t/NptXo4IPOcbK1QnU61Iz+xEA3s/x5cC4pgKiek="; + hash = "sha256-eYuTcv3U2QfzPotqWLxk5oLZ/6jUlM5g94AZfugfrtE="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/freud/default.nix b/pkgs/development/python-modules/freud/default.nix index 360b15d8439c..b7f7646f18bd 100644 --- a/pkgs/development/python-modules/freud/default.nix +++ b/pkgs/development/python-modules/freud/default.nix @@ -22,14 +22,14 @@ buildPythonPackage rec { pname = "freud"; - version = "3.1.0"; + version = "3.3.1"; pyproject = true; src = fetchFromGitHub { owner = "glotzerlab"; repo = "freud"; tag = "v${version}"; - hash = "sha256-jlscEHQ1q4oqxE06NhVWCOlPRcjDcJVrvy4h6iYrkz0="; + hash = "sha256-3THoGPjfaDy2s96+Oaf1f2SDzxTaqRDQlNa3gZ/ytUU="; fetchSubmodules = true; }; @@ -93,7 +93,7 @@ buildPythonPackage rec { meta = { description = "Powerful, efficient particle trajectory analysis in scientific Python"; homepage = "https://github.com/glotzerlab/freud"; - changelog = "https://github.com/glotzerlab/freud/blob/${src.rev}/ChangeLog.md"; + changelog = "https://github.com/glotzerlab/freud/blob/${src.tag}/ChangeLog.md"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ doronbehar ]; }; diff --git a/pkgs/development/python-modules/frozenlist/default.nix b/pkgs/development/python-modules/frozenlist/default.nix index 967df73bac5d..3a18ffc017d6 100644 --- a/pkgs/development/python-modules/frozenlist/default.nix +++ b/pkgs/development/python-modules/frozenlist/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "frozenlist"; - version = "1.6.0"; + version = "1.7.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "aio-libs"; repo = "frozenlist"; tag = "v${version}"; - hash = "sha256-x2o4eiSDxA7nvrifzvV38kjIGmOY8gaQrPNDhCupovg="; + hash = "sha256-aBHX/U1L2mcah80edJFY/iXsM05DVas7lJT8yVTjER8="; }; postPatch = '' @@ -48,7 +48,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python module for list-like structure"; homepage = "https://github.com/aio-libs/frozenlist"; - changelog = "https://github.com/aio-libs/frozenlist/blob/v${version}/CHANGES.rst"; + changelog = "https://github.com/aio-libs/frozenlist/blob/${src.tag}/CHANGES.rst"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/functions-framework/default.nix b/pkgs/development/python-modules/functions-framework/default.nix index cd0e2177eba6..20cd253b2e0a 100644 --- a/pkgs/development/python-modules/functions-framework/default.nix +++ b/pkgs/development/python-modules/functions-framework/default.nix @@ -29,7 +29,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "GoogleCloudPlatform"; repo = "functions-framework-python"; - rev = "v${version}"; + tag = "v${version}"; hash = "sha256-TvC+URJtsquBX/5F5Z2Nw/4sD3hsvF2c/jlv87lGjfM="; }; @@ -67,7 +67,7 @@ buildPythonPackage rec { meta = { description = "FaaS (Function as a service) framework for writing portable Python functions"; homepage = "https://github.com/GoogleCloudPlatform/functions-framework-python"; - changelog = "https://github.com/GoogleCloudPlatform/functions-framework-python/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/GoogleCloudPlatform/functions-framework-python/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/functiontrace/default.nix b/pkgs/development/python-modules/functiontrace/default.nix index 7da09ce41208..e08ca4340ac1 100644 --- a/pkgs/development/python-modules/functiontrace/default.nix +++ b/pkgs/development/python-modules/functiontrace/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "functiontrace"; - version = "0.3.10"; + version = "0.5.1"; format = "pyproject"; src = fetchPypi { inherit pname version; - hash = "sha256-E2MNp3wKb9FEjEQK/vL/XBfScPuAwbWV5JeA9+ujckY="; + hash = "sha256-yRzcg8BDuwF74J2EYa/3GMkTaRGsx0WyDIQEWHwj12M="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/furo/default.nix b/pkgs/development/python-modules/furo/default.nix index 71bc32d7a516..2bb4606fada4 100644 --- a/pkgs/development/python-modules/furo/default.nix +++ b/pkgs/development/python-modules/furo/default.nix @@ -1,48 +1,75 @@ { lib, + buildNpmPackage, buildPythonPackage, - pythonOlder, - fetchPypi, - sphinx, + fetchFromGitHub, + flit-core, + accessible-pygments, beautifulsoup4, + pygments, + sphinx, sphinx-basic-ng, }: -buildPythonPackage rec { +let pname = "furo"; - version = "2024.8.6"; - format = "wheel"; + version = "2025.07.19"; - disabled = pythonOlder "3.8"; - - src = fetchPypi { - inherit pname version format; - dist = "py3"; - python = "py3"; - hash = "sha256-bNl8WLR4E9NhnmPpCBFpiA++Mx8MqIPIcf8fPxGBT1w="; + src = fetchFromGitHub { + owner = "pradyunsg"; + repo = "furo"; + tag = version; + hash = "sha256-pIF5zrh5YbkuSkrateEB/tDULSNbeVn2Qx+Fm3nOYGE="; }; + web = buildNpmPackage { + pname = "${pname}-web"; + inherit version src; + + npmDepsHash = "sha256-dcdHoyqF9zC/eKtEqMho7TK2E1KIvoXo0iwSPTzj+Kw="; + + installPhase = '' + pushd src/furo/theme/furo/static + mkdir $out + cp -rv scripts styles $out/ + popd + ''; + }; +in + +buildPythonPackage rec { + inherit pname version src; + pyproject = true; + + postPatch = '' + # build with boring backend that does not manage a node env + substituteInPlace pyproject.toml \ + --replace-fail "sphinx-theme-builder >= 0.2.0a10" "flit-core" \ + --replace-fail "sphinx_theme_builder" "flit_core.buildapi" + + pushd src/furo/theme/furo/static + cp -rv ${web}/{scripts,styles} . + popd + ''; + + build-system = [ flit-core ]; + pythonRelaxDeps = [ "sphinx" ]; - propagatedBuildInputs = [ - sphinx + dependencies = [ + accessible-pygments beautifulsoup4 + pygments + sphinx sphinx-basic-ng ]; - installCheckPhase = '' - # furo was built incorrectly if this directory is empty - # Ignore the hidden file .gitignore - cd "$out/lib/python"* - if [ "$(ls 'site-packages/furo/theme/furo/static/' | wc -l)" -le 0 ]; then - echo 'static directory must not be empty' - exit 1 - fi - cd - - ''; - pythonImportsCheck = [ "furo" ]; + passthru = { + inherit web; + }; + meta = with lib; { description = "Clean customizable documentation theme for Sphinx"; homepage = "https://github.com/pradyunsg/furo"; diff --git a/pkgs/development/python-modules/fyta-cli/default.nix b/pkgs/development/python-modules/fyta-cli/default.nix index c81ec0c160a6..4c92997a7fa8 100644 --- a/pkgs/development/python-modules/fyta-cli/default.nix +++ b/pkgs/development/python-modules/fyta-cli/default.nix @@ -33,6 +33,8 @@ buildPythonPackage rec { mashumaro ]; + doCheck = false; # Failed: async def functions are not natively supported. + nativeCheckInputs = [ aioresponses pytest-asyncio diff --git a/pkgs/development/python-modules/gdsfactory/default.nix b/pkgs/development/python-modules/gdsfactory/default.nix index cfd04c5ec56a..b591a368133f 100644 --- a/pkgs/development/python-modules/gdsfactory/default.nix +++ b/pkgs/development/python-modules/gdsfactory/default.nix @@ -46,14 +46,14 @@ }: buildPythonPackage rec { pname = "gdsfactory"; - version = "9.5.2"; + version = "9.12.0"; pyproject = true; src = fetchFromGitHub { owner = "gdsfactory"; repo = "gdsfactory"; tag = "v${version}"; - hash = "sha256-BcFEMcHt0qUQ0hTLSznuIH37rAk+10JGrPdrhE/sTfU="; + hash = "sha256-en976F8BjMK8Ku1QXz4MIxTs+mswVBascmGguPXeEbI="; }; build-system = [ flit-core ]; diff --git a/pkgs/development/python-modules/geoalchemy2/default.nix b/pkgs/development/python-modules/geoalchemy2/default.nix index ac3b0e6e2057..5609564aeb0c 100644 --- a/pkgs/development/python-modules/geoalchemy2/default.nix +++ b/pkgs/development/python-modules/geoalchemy2/default.nix @@ -8,13 +8,14 @@ shapely, sqlalchemy, alembic, + pytest-benchmark, pytestCheckHook, pythonOlder, }: buildPythonPackage rec { pname = "geoalchemy2"; - version = "0.17.1"; + version = "0.18.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -23,7 +24,7 @@ buildPythonPackage rec { owner = "geoalchemy"; repo = "geoalchemy2"; tag = version; - hash = "sha256-ze0AWwlmBsMUhbmaCNUeEwhFcLxRDeal0IDO421++ck="; + hash = "sha256-xQxry/JJTkhsailk12lhu1SkpLlx0By/D35VSw+S/4M="; }; build-system = [ @@ -38,10 +39,13 @@ buildPythonPackage rec { nativeCheckInputs = [ alembic + pytest-benchmark pytestCheckHook ] ++ optional-dependencies.shapely; + pytestFlags = [ "--benchmark-disable" ]; + disabledTestPaths = [ # tests require live databases "tests/gallery/test_decipher_raster.py" diff --git a/pkgs/development/python-modules/geocachingapi/default.nix b/pkgs/development/python-modules/geocachingapi/default.nix index 47364ccbea16..554df72a7009 100644 --- a/pkgs/development/python-modules/geocachingapi/default.nix +++ b/pkgs/development/python-modules/geocachingapi/default.nix @@ -33,6 +33,8 @@ buildPythonPackage rec { yarl ]; + pythonRelaxDeps = [ "reverse_geocode" ]; + # Tests require a token and network access doCheck = false; diff --git a/pkgs/development/python-modules/geoip2/default.nix b/pkgs/development/python-modules/geoip2/default.nix index 01c3a58f6fb4..0a397725ac9c 100644 --- a/pkgs/development/python-modules/geoip2/default.nix +++ b/pkgs/development/python-modules/geoip2/default.nix @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "geoip2"; - version = "5.0.1"; + version = "5.1.0"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-kK+LbTaH877yUfJwitAXsw1ifRFEwAQOq8TJAXqAfYY="; + hash = "sha256-7j+H8M6TJetkhP4Yy9l3GgPQorrR3RVvo1hPr6Vi05o="; }; build-system = [ diff --git a/pkgs/development/python-modules/geopandas/default.nix b/pkgs/development/python-modules/geopandas/default.nix index 9d7d1e1d9bf4..3c9c36b0311b 100644 --- a/pkgs/development/python-modules/geopandas/default.nix +++ b/pkgs/development/python-modules/geopandas/default.nix @@ -1,11 +1,8 @@ { lib, - stdenv, buildPythonPackage, fetchFromGitHub, - fetchpatch, pytestCheckHook, - pythonOlder, setuptools, packaging, @@ -29,27 +26,16 @@ buildPythonPackage rec { pname = "geopandas"; - version = "1.0.1"; + version = "1.1.1"; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchFromGitHub { owner = "geopandas"; repo = "geopandas"; tag = "v${version}"; - hash = "sha256-SZizjwkx8dsnaobDYpeQm9jeXZ4PlzYyjIScnQrH63Q="; + hash = "sha256-7ZsO4jresikA17M8cyHskdcVnTscGHxTCLJv5p1SvfI="; }; - patches = [ - (fetchpatch { - # Remove geom_almost_equals, because it broke with shapely 2.1.0 and is not being updated - url = "https://github.com/geopandas/geopandas/commit/0e1f871a02e9612206dcadd6817284131026f61c.patch"; - excludes = [ "CHANGELOG.md" ]; - hash = "sha256-n9AmmbjjNwV66lxDQV2hfkVVfxRgMfEGfHZT6bql684="; - }) - ]; - build-system = [ setuptools ]; dependencies = [ @@ -102,7 +88,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python geospatial data analysis framework"; homepage = "https://geopandas.org"; - changelog = "https://github.com/geopandas/geopandas/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/geopandas/geopandas/blob/${src.tag}/CHANGELOG.md"; license = licenses.bsd3; teams = [ teams.geospatial ]; }; diff --git a/pkgs/development/python-modules/geopy/default.nix b/pkgs/development/python-modules/geopy/default.nix index b9cf371ab744..6da0af5310e9 100644 --- a/pkgs/development/python-modules/geopy/default.nix +++ b/pkgs/development/python-modules/geopy/default.nix @@ -4,7 +4,7 @@ docutils, fetchFromGitHub, geographiclib, - pytestCheckHook, + pytest7CheckHook, pythonAtLeast, pythonOlder, pytz, @@ -27,7 +27,7 @@ buildPythonPackage rec { nativeCheckInputs = [ docutils - pytestCheckHook + pytest7CheckHook pytz ]; diff --git a/pkgs/development/python-modules/gevent/default.nix b/pkgs/development/python-modules/gevent/default.nix index bc996a338ab3..4158ef056ad5 100644 --- a/pkgs/development/python-modules/gevent/default.nix +++ b/pkgs/development/python-modules/gevent/default.nix @@ -11,10 +11,8 @@ greenlet, importlib-metadata, setuptools, - wheel, zope-event, zope-interface, - pythonOlder, c-ares, libuv, @@ -26,20 +24,17 @@ buildPythonPackage rec { pname = "gevent"; - version = "24.11.1"; - format = "pyproject"; - - disabled = pythonOlder "3.7"; + version = "25.5.1"; + pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-i9FBkRTp5KPtM6W612av/5o892XLRApYKhs6m8gMGso="; + hash = "sha256-WCyUj6miMYi4kNC8Ewc0pQbQOaLlrYfa4nakVsxoPmE="; }; - nativeBuildInputs = [ + build-system = [ cython setuptools - wheel ] ++ lib.optionals (!isPyPy) [ cffi ]; @@ -49,7 +44,7 @@ buildPythonPackage rec { c-ares ]; - propagatedBuildInputs = [ + dependencies = [ importlib-metadata zope-event zope-interface diff --git a/pkgs/development/python-modules/githubkit/default.nix b/pkgs/development/python-modules/githubkit/default.nix index 4b8b24fdf04b..b24fdbe1e639 100644 --- a/pkgs/development/python-modules/githubkit/default.nix +++ b/pkgs/development/python-modules/githubkit/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "githubkit"; - version = "0.12.13"; + version = "0.13.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "yanyongyu"; repo = "githubkit"; tag = "v${version}"; - hash = "sha256-TMn81YY44bXUyU6GHSGtLtQ7aC2/vA9nZf/PaGhBi0s="; + hash = "sha256-BhTGik8JZ9QxE8zmfgToU7rVkY8T5iykJx4Bg4evyzY="; }; pythonRelaxDeps = [ "hishel" ]; diff --git a/pkgs/development/python-modules/gitingest/default.nix b/pkgs/development/python-modules/gitingest/default.nix index cbd1942461cb..f78f92500c83 100644 --- a/pkgs/development/python-modules/gitingest/default.nix +++ b/pkgs/development/python-modules/gitingest/default.nix @@ -28,14 +28,14 @@ buildPythonPackage rec { pname = "gitingest"; - version = "0.1.5"; + version = "0.3.1"; pyproject = true; src = fetchFromGitHub { owner = "cyclotruc"; repo = "gitingest"; tag = "v${version}"; - hash = "sha256-f/srwLhTXboSlW28qnShqTuc2yLMuHH3MyzfKpDIitQ="; + hash = "sha256-drsncGneZyOCC2GJbrDM+bf4QGI2luacxMhrmdk03l4="; }; build-system = [ diff --git a/pkgs/development/python-modules/gitpython/default.nix b/pkgs/development/python-modules/gitpython/default.nix index e3e9d05ae8d8..5bfda634e136 100644 --- a/pkgs/development/python-modules/gitpython/default.nix +++ b/pkgs/development/python-modules/gitpython/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "gitpython"; - version = "3.1.44"; + version = "3.1.45"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "gitpython-developers"; repo = "GitPython"; tag = version; - hash = "sha256-KnKaBv/tKk4wiGWUWCEgd1vgrTouwUhqxJ1/nMjRaWk="; + hash = "sha256-VHnuHliZEc/jiSo/Zi9J/ipAykj7D6NttuzPZiE8svM="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/glean-parser/default.nix b/pkgs/development/python-modules/glean-parser/default.nix index cdb94a007b64..fb91ab4ebe95 100644 --- a/pkgs/development/python-modules/glean-parser/default.nix +++ b/pkgs/development/python-modules/glean-parser/default.nix @@ -4,34 +4,29 @@ click, diskcache, fetchPypi, + hatchling, + hatch-vcs, jinja2, jsonschema, platformdirs, pytestCheckHook, pyyaml, - setuptools, - setuptools-scm, }: buildPythonPackage rec { pname = "glean-parser"; - version = "17.1.0"; + version = "17.3.0"; pyproject = true; src = fetchPypi { pname = "glean_parser"; inherit version; - hash = "sha256-pZq2bdc0qL6n16LLYyJ2YC3YmUEe4cHLifQ5qDO6FZg="; + hash = "sha256-9w+0SWQ2Bo+B73hgKaGzafYa4vkyfusvpQM126We4hQ="; }; - postPatch = '' - substituteInPlace setup.py \ - --replace-fail "pytest-runner" "" - ''; - build-system = [ - setuptools - setuptools-scm + hatchling + hatch-vcs ]; dependencies = [ diff --git a/pkgs/development/python-modules/globus-sdk/default.nix b/pkgs/development/python-modules/globus-sdk/default.nix index d0fda3d3ef12..f63db1ad80ce 100644 --- a/pkgs/development/python-modules/globus-sdk/default.nix +++ b/pkgs/development/python-modules/globus-sdk/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "globus-sdk"; - version = "3.61.0"; + version = "3.62.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "globus"; repo = "globus-sdk-python"; tag = version; - hash = "sha256-DFLWFdwgKLhGde8ZH40YJ2434cl9nSrEfU6DfHANChE="; + hash = "sha256-uvvv96ztvzCmXx63brvnoKcfXUsDgZA9cNeCB7jdawQ="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/glocaltokens/default.nix b/pkgs/development/python-modules/glocaltokens/default.nix index 42f0d66968a1..118ef46fe4d7 100644 --- a/pkgs/development/python-modules/glocaltokens/default.nix +++ b/pkgs/development/python-modules/glocaltokens/default.nix @@ -22,14 +22,14 @@ buildPythonPackage rec { pname = "glocaltokens"; - version = "0.7.5"; + version = "0.7.6"; pyproject = true; src = fetchFromGitHub { owner = "leikoilja"; repo = "glocaltokens"; tag = "v${version}"; - hash = "sha256-anIiYNUVHHzv21yV7Y3S+lIst3iWEwgQZD9Ymx86tbk="; + hash = "sha256-+7HpyZUumu1r/UXM4awckjTkpVbCz7MsAJOp2JiJzho="; }; build-system = [ diff --git a/pkgs/development/python-modules/glueviz/default.nix b/pkgs/development/python-modules/glueviz/default.nix index 31d3a412118c..e33d009e8748 100644 --- a/pkgs/development/python-modules/glueviz/default.nix +++ b/pkgs/development/python-modules/glueviz/default.nix @@ -26,7 +26,7 @@ buildPythonPackage rec { pname = "glueviz"; - version = "1.22.2"; + version = "1.23.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -35,7 +35,7 @@ buildPythonPackage rec { owner = "glue-viz"; repo = "glue"; tag = "v${version}"; - hash = "sha256-5YwZxVer3icA/7YmUIXTuyIlZYKrlFn5+4OYMbfvIlU="; + hash = "sha256-Ql5eMyMm48zNLQ3tkPyqM4+r3QfxqVAGHx1/LcLUiyo="; }; buildInputs = [ pyqt-builder ]; diff --git a/pkgs/development/python-modules/glyphslib/default.nix b/pkgs/development/python-modules/glyphslib/default.nix index 3cd569339bf0..5827c8bdabef 100644 --- a/pkgs/development/python-modules/glyphslib/default.nix +++ b/pkgs/development/python-modules/glyphslib/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "glyphslib"; - version = "6.11.0"; + version = "6.11.4"; pyproject = true; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "googlefonts"; repo = "glyphsLib"; tag = "v${version}"; - hash = "sha256-hJLJ30ZT6uRSVTUi6XPGyn9fncy1A1hvhgRKTL9a2gs="; + hash = "sha256-gOzETXI2ZgW69qxbrXxsXfBEJaVhYrcqwjRjCsryqmk="; }; build-system = [ setuptools-scm ]; diff --git a/pkgs/development/python-modules/google-api-core/default.nix b/pkgs/development/python-modules/google-api-core/default.nix index 76b7f78528eb..9269c2d259cd 100644 --- a/pkgs/development/python-modules/google-api-core/default.nix +++ b/pkgs/development/python-modules/google-api-core/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "google-api-core"; - version = "2.24.2"; + version = "2.25.1"; pyproject = true; disabled = pythonOlder "3.7"; @@ -28,7 +28,7 @@ buildPythonPackage rec { owner = "googleapis"; repo = "python-api-core"; tag = "v${version}"; - hash = "sha256-7/9oU8KqwvL7DIDKDIUlGxfJZp7kGp1W6/tsEp6zcuc="; + hash = "sha256-lh4t03upQQxY2KGwucXfEeNvqVVXlZ6hjR/e47imetk="; }; build-system = [ setuptools ]; @@ -86,7 +86,7 @@ buildPythonPackage rec { helpers used by all Google API clients. ''; homepage = "https://github.com/googleapis/python-api-core"; - changelog = "https://github.com/googleapis/python-api-core/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/googleapis/python-api-core/blob/${src.tag}/CHANGELOG.md"; license = licenses.asl20; maintainers = [ ]; }; diff --git a/pkgs/development/python-modules/google-api-python-client/default.nix b/pkgs/development/python-modules/google-api-python-client/default.nix index 35a3b4b54d75..304595531a24 100644 --- a/pkgs/development/python-modules/google-api-python-client/default.nix +++ b/pkgs/development/python-modules/google-api-python-client/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "google-api-python-client"; - version = "2.169.0"; + version = "2.177.0"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "google-api-python-client"; tag = "v${version}"; - hash = "sha256-XJwZ/gWL2pO9P+HuN6BtVbacNjwbZV2jW6FVLgNsj/0="; + hash = "sha256-CEjbUIXtG5z1/28DsNCm/npMSd/+DyY5PMJHm9XDe2M="; }; build-system = [ setuptools ]; @@ -43,7 +43,7 @@ buildPythonPackage rec { any new features. ''; homepage = "https://github.com/google/google-api-python-client"; - changelog = "https://github.com/googleapis/google-api-python-client/releases/tag/v${version}"; + changelog = "https://github.com/googleapis/google-api-python-client/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.sarahec ]; }; diff --git a/pkgs/development/python-modules/google-auth/default.nix b/pkgs/development/python-modules/google-auth/default.nix index 1990720e3159..e0389c8f8f41 100644 --- a/pkgs/development/python-modules/google-auth/default.nix +++ b/pkgs/development/python-modules/google-auth/default.nix @@ -25,14 +25,14 @@ buildPythonPackage rec { pname = "google-auth"; - version = "2.40.2"; + version = "2.40.3"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "google-auth-library-python"; tag = "v${version}"; - hash = "sha256-jO6brNdTH8BitLKKP/nwrlUo5hfQnThT/bPbzefvRbM="; + hash = "sha256-X1HTh24oos2GUxB9DDLtNH7BsBRLD0S/ngjsDAQYvhI="; }; build-system = [ setuptools ]; @@ -64,6 +64,8 @@ buildPythonPackage rec { requests = [ requests ]; }; + pythonRelaxDeps = [ "cachetools" ]; + nativeCheckInputs = [ aioresponses flask @@ -101,7 +103,7 @@ buildPythonPackage rec { authentication mechanisms to access Google APIs. ''; homepage = "https://github.com/googleapis/google-auth-library-python"; - changelog = "https://github.com/googleapis/google-auth-library-python/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/googleapis/google-auth-library-python/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.sarahec ]; }; diff --git a/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix b/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix index b5016ef74760..965c6bab7362 100644 --- a/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix +++ b/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix @@ -7,6 +7,7 @@ lib, proto-plus, protobuf, + pytest-asyncio, pytestCheckHook, pythonOlder, setuptools, @@ -36,7 +37,10 @@ buildPythonPackage rec { ] ++ google-api-core.optional-dependencies.grpc; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytest-asyncio + pytestCheckHook + ]; pythonImportsCheck = [ "google.cloud.artifactregistry" diff --git a/pkgs/development/python-modules/google-cloud-asset/default.nix b/pkgs/development/python-modules/google-cloud-asset/default.nix index 6c8f06f8d6f3..6cc9e31a97f5 100644 --- a/pkgs/development/python-modules/google-cloud-asset/default.nix +++ b/pkgs/development/python-modules/google-cloud-asset/default.nix @@ -20,14 +20,14 @@ buildPythonPackage rec { pname = "google-cloud-asset"; - version = "3.30.1"; + version = "3.31.3"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "google-cloud-python"; - tag = "google-cloud-asset-v${version}"; - sha256 = "sha256-4Ifg9igzsVR8pWH/lcrGwCnByqYQjPKChNPJGmmQbKI="; + tag = "google-cloud-build-v${version}"; + sha256 = "sha256-qQ+8X6I8lt4OTgbvODsbdab2dYUk0wxWsbaVT2T651U="; }; sourceRoot = "${src.name}/packages/google-cloud-asset"; @@ -76,7 +76,7 @@ buildPythonPackage rec { meta = { description = "Python Client for Google Cloud Asset API"; homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-asset"; - changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-asset-v${version}/packages/google-cloud-asset/CHANGELOG.md"; + changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-asset-${src.tag}/packages/google-cloud-asset/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.sarahec ]; }; diff --git a/pkgs/development/python-modules/google-cloud-bigquery-storage/default.nix b/pkgs/development/python-modules/google-cloud-bigquery-storage/default.nix index 2d63743221f3..f146ff26ee1d 100644 --- a/pkgs/development/python-modules/google-cloud-bigquery-storage/default.nix +++ b/pkgs/development/python-modules/google-cloud-bigquery-storage/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "google-cloud-bigquery-storage"; - version = "2.30.0"; + version = "2.32.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -24,7 +24,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "google_cloud_bigquery_storage"; inherit version; - hash = "sha256-QayD+p7dvIIBAhd5hKuS+Le736fZDqZLOgr17LT8o/I="; + hash = "sha256-6UT19DhfC+J+BJ5z5NzPVIt3NIMBZjp3O10Dq9vUniA="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/google-cloud-bigquery/default.nix b/pkgs/development/python-modules/google-cloud-bigquery/default.nix index b98ab101924b..73cb6d083298 100644 --- a/pkgs/development/python-modules/google-cloud-bigquery/default.nix +++ b/pkgs/development/python-modules/google-cloud-bigquery/default.nix @@ -37,13 +37,13 @@ buildPythonPackage rec { pname = "google-cloud-bigquery"; - version = "3.31.0"; + version = "3.35.1"; pyproject = true; src = fetchPypi { pname = "google_cloud_bigquery"; inherit version; - hash = "sha256-uJ3HFtvkq9t6T4c/cFAQAoe8mFFOBhTF1UzWqOn7CZE="; + hash = "sha256-WZ8mys8ZCs/ogAD2zF9Lyea6rHiZ5PQGygVPGQb3GWA="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/google-cloud-container/default.nix b/pkgs/development/python-modules/google-cloud-container/default.nix index 46434bc8abab..ee481619546d 100644 --- a/pkgs/development/python-modules/google-cloud-container/default.nix +++ b/pkgs/development/python-modules/google-cloud-container/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "google-cloud-container"; - version = "2.58.0"; + version = "2.59.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -23,7 +23,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "google_cloud_container"; inherit version; - hash = "sha256-dA7lsWf3BmxIXXnPejksi21A7N9V0Ka27MeET8TNmts="; + hash = "sha256-ZsTKUV0zzGbzf9jltrqJBjsG66sz4UlbjEJMcgs/tgM="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/google-cloud-datacatalog/default.nix b/pkgs/development/python-modules/google-cloud-datacatalog/default.nix index de60cd24d2a3..86061cedbc54 100644 --- a/pkgs/development/python-modules/google-cloud-datacatalog/default.nix +++ b/pkgs/development/python-modules/google-cloud-datacatalog/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "google-cloud-datacatalog"; - version = "3.27.1"; + version = "3.31.3"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "google-cloud-python"; - tag = "google-cloud-datacatalog-v${version}"; - hash = "sha256-4Ifg9igzsVR8pWH/lcrGwCnByqYQjPKChNPJGmmQbKI="; + tag = "google-cloud-build-v${version}"; + hash = "sha256-qQ+8X6I8lt4OTgbvODsbdab2dYUk0wxWsbaVT2T651U="; }; sourceRoot = "${src.name}/packages/google-cloud-datacatalog"; @@ -57,7 +57,7 @@ buildPythonPackage rec { meta = { description = "Google Cloud Data Catalog API API client library"; homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-datacatalog"; - changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-datacatalog-v${version}/packages/google-cloud-datacatalog/CHANGELOG.md"; + changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-datacatalog-${src.tag}/packages/google-cloud-datacatalog/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.sarahec ]; }; diff --git a/pkgs/development/python-modules/google-cloud-iam/default.nix b/pkgs/development/python-modules/google-cloud-iam/default.nix index a9f77a1c8582..21e96f3e9aa9 100644 --- a/pkgs/development/python-modules/google-cloud-iam/default.nix +++ b/pkgs/development/python-modules/google-cloud-iam/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "google-cloud-iam"; - version = "2.19.0"; + version = "3.31.3"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "google-cloud-python"; - tag = "google-cloud-iam-v${version}"; - hash = "sha256-E1LISOLQcXqUMTTPLR+lwkR6gF1fuGGB44j38cIK/Z4="; + tag = "google-cloud-build-v${version}"; + hash = "sha256-qQ+8X6I8lt4OTgbvODsbdab2dYUk0wxWsbaVT2T651U="; }; sourceRoot = "${src.name}/packages/google-cloud-iam"; diff --git a/pkgs/development/python-modules/google-cloud-kms/default.nix b/pkgs/development/python-modules/google-cloud-kms/default.nix index b671e36c0c90..7dafc791f334 100644 --- a/pkgs/development/python-modules/google-cloud-kms/default.nix +++ b/pkgs/development/python-modules/google-cloud-kms/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "google-cloud-kms"; - version = "3.4.1"; + version = "3.31.3"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "google-cloud-python"; - tag = "google-cloud-kms-v${version}"; - hash = "sha256-5PzidE1CWN+pt7+gcAtbuXyL/pq6cnn0MCRkBfmeUSw="; + tag = "google-cloud-build-v${version}"; + hash = "sha256-qQ+8X6I8lt4OTgbvODsbdab2dYUk0wxWsbaVT2T651U="; }; sourceRoot = "${src.name}/packages/google-cloud-kms"; diff --git a/pkgs/development/python-modules/google-cloud-netapp/default.nix b/pkgs/development/python-modules/google-cloud-netapp/default.nix index 8cb21256a174..7b8efdc6c254 100644 --- a/pkgs/development/python-modules/google-cloud-netapp/default.nix +++ b/pkgs/development/python-modules/google-cloud-netapp/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "google-cloud-netapp"; - version = "0.3.23"; + version = "3.31.3"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "google-cloud-python"; - rev = "google-cloud-netapp-v${version}"; - hash = "sha256-ietiyPCghGUD1jlGdZMhVgVozAlyfdvYgkV6NNlzLQg="; + tag = "google-cloud-build-v${version}"; + hash = "sha256-qQ+8X6I8lt4OTgbvODsbdab2dYUk0wxWsbaVT2T651U="; }; sourceRoot = "${src.name}/packages/google-cloud-netapp"; @@ -55,7 +55,7 @@ buildPythonPackage rec { meta = { description = "Python Client for NetApp API"; homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-netapp"; - changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-netapp-v${version}/packages/google-cloud-netapp/CHANGELOG.md"; + changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-netapp-${src.tag}/packages/google-cloud-netapp/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.sarahec ]; }; diff --git a/pkgs/development/python-modules/google-cloud-storage/default.nix b/pkgs/development/python-modules/google-cloud-storage/default.nix index 431672efee5a..84fa74f9e9e0 100644 --- a/pkgs/development/python-modules/google-cloud-storage/default.nix +++ b/pkgs/development/python-modules/google-cloud-storage/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "google-cloud-storage"; - version = "3.1.0"; + version = "3.2.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -26,7 +26,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "google_cloud_storage"; inherit version; - hash = "sha256-lEJzF5iXx8igfuFfLmRmoC2gx8S57M6sKiYBfLKXIEk="; + hash = "sha256-3syoQwdgNvRWMxmMEl0YYf+/R+v1wOO5jcubLbFViWw="; }; pythonRelaxDeps = [ "google-auth" ]; diff --git a/pkgs/development/python-modules/google-genai/default.nix b/pkgs/development/python-modules/google-genai/default.nix index 76c5c3b78d66..35a27dd48fd0 100644 --- a/pkgs/development/python-modules/google-genai/default.nix +++ b/pkgs/development/python-modules/google-genai/default.nix @@ -12,6 +12,7 @@ pytestCheckHook, requests, setuptools, + tenacity, twine, typing-extensions, websockets, @@ -19,14 +20,14 @@ buildPythonPackage rec { pname = "google-genai"; - version = "1.20.0"; + version = "1.28.0"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "python-genai"; tag = "v${version}"; - hash = "sha256-7DwLIK3/VCVSt9lq0Q0IRbhfLXOWw1TbPpDgI4jr9cg="; + hash = "sha256-tQ6iWIUUl9mtWz6Pa0tBOsoGcFQNe62NqXhob53AVq4="; }; build-system = [ @@ -36,7 +37,9 @@ buildPythonPackage rec { twine ]; - pythonRelaxDeps = [ "websockets" ]; + pythonRelaxDeps = [ + "tenacity" + ]; dependencies = [ anyio @@ -44,6 +47,7 @@ buildPythonPackage rec { httpx pydantic requests + tenacity typing-extensions websockets ]; diff --git a/pkgs/development/python-modules/google-geo-type/default.nix b/pkgs/development/python-modules/google-geo-type/default.nix index 5bacb21694c7..4dff787e4bf7 100644 --- a/pkgs/development/python-modules/google-geo-type/default.nix +++ b/pkgs/development/python-modules/google-geo-type/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "google-geo-type"; - version = "0.3.13"; + version = "3.31.3"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "google-cloud-python"; - tag = "google-geo-type-v${version}"; - hash = "sha256-VYkgkVrUgBiUEFF2J8ZFrh2Sw7h653stYxNcpYfRAj4="; + tag = "google-cloud-build-v${version}"; + hash = "sha256-qQ+8X6I8lt4OTgbvODsbdab2dYUk0wxWsbaVT2T651U="; }; sourceRoot = "${src.name}/packages/google-geo-type"; diff --git a/pkgs/development/python-modules/google-maps-routing/default.nix b/pkgs/development/python-modules/google-maps-routing/default.nix index a6b7031eb30b..d2669fb55b7d 100644 --- a/pkgs/development/python-modules/google-maps-routing/default.nix +++ b/pkgs/development/python-modules/google-maps-routing/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "google-maps-routing"; - version = "0.6.16"; + version = "3.31.3"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "google-cloud-python"; - tag = "google-maps-routing-v${version}"; - hash = "sha256-VYkgkVrUgBiUEFF2J8ZFrh2Sw7h653stYxNcpYfRAj4="; + tag = "google-cloud-build-v${version}"; + hash = "sha256-qQ+8X6I8lt4OTgbvODsbdab2dYUk0wxWsbaVT2T651U="; }; sourceRoot = "${src.name}/packages/google-maps-routing"; diff --git a/pkgs/development/python-modules/google-re2/default.nix b/pkgs/development/python-modules/google-re2/default.nix index dea16732f29a..da3a9ab52a23 100644 --- a/pkgs/development/python-modules/google-re2/default.nix +++ b/pkgs/development/python-modules/google-re2/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "google-re2"; - version = "1.1.20240702"; + version = "1.1.20250722"; pyproject = true; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "google_re2"; inherit version; - hash = "sha256-h4jbafbJPLIp32LHSy2aqOZL91TpSVcA+FgSr6Mu/Ss="; + hash = "sha256-XipGTfddvO+f4Nrxinj3PD8KUbgc24ZUYKBXmyJvLvM="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/googleapis-common-protos/default.nix b/pkgs/development/python-modules/googleapis-common-protos/default.nix index 5195d3472c5f..0c065525c0ce 100644 --- a/pkgs/development/python-modules/googleapis-common-protos/default.nix +++ b/pkgs/development/python-modules/googleapis-common-protos/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "googleapis-common-protos"; - version = "1.70.0"; + version = "3.31.3"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "google-cloud-python"; - rev = "googleapis-common-protos-v${version}"; - hash = "sha256-E1LISOLQcXqUMTTPLR+lwkR6gF1fuGGB44j38cIK/Z4="; + tag = "google-cloud-build-v${version}"; + hash = "sha256-qQ+8X6I8lt4OTgbvODsbdab2dYUk0wxWsbaVT2T651U="; }; sourceRoot = "${src.name}/packages/googleapis-common-protos"; @@ -50,7 +50,7 @@ buildPythonPackage rec { meta = { description = "Common protobufs used in Google APIs"; homepage = "https://github.com/googleapis/python-api-common-protos"; - changelog = "https://github.com/googleapis/python-api-common-protos/releases/tag/v${version}"; + changelog = "https://github.com/googleapis/python-api-common-protos/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.sarahec ]; }; diff --git a/pkgs/development/python-modules/gotrue/default.nix b/pkgs/development/python-modules/gotrue/default.nix index 8ef7436ecc04..28cdc92a1307 100644 --- a/pkgs/development/python-modules/gotrue/default.nix +++ b/pkgs/development/python-modules/gotrue/default.nix @@ -12,12 +12,12 @@ buildPythonPackage rec { pname = "gotrue"; - version = "2.12.0"; + version = "2.12.3"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-ueoWTuUpZNg2TFUM3hbdDpV2JBpM/+qlLsozn2HR0Us="; + hash = "sha256-+HTPnQsvAzW/vQ1uKeP3r/eZmM0cFNKtgU24wGzuOFI="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/gpsoauth/default.nix b/pkgs/development/python-modules/gpsoauth/default.nix index d40d2f3c6174..bf604c9f7138 100644 --- a/pkgs/development/python-modules/gpsoauth/default.nix +++ b/pkgs/development/python-modules/gpsoauth/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "gpsoauth"; - version = "1.1.1"; + version = "2.0.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-WCAu0wM5fSkntGTcleJxS///haGw+Iv2jzrWOFnr5DU="; + hash = "sha256-njt2WmpOA2TewbxBV70+1+XsMGZYnihdC0aYaRCqa9I="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/gql/default.nix b/pkgs/development/python-modules/gql/default.nix index 42141609db83..93a380706c89 100644 --- a/pkgs/development/python-modules/gql/default.nix +++ b/pkgs/development/python-modules/gql/default.nix @@ -11,7 +11,7 @@ httpx, mock, parse, - pytest-asyncio, + pytest-asyncio_0, pytest-console-scripts, pytestCheckHook, pythonOlder, @@ -51,7 +51,7 @@ buildPythonPackage rec { aiofiles mock parse - pytest-asyncio + pytest-asyncio_0 pytest-console-scripts pytestCheckHook vcrpy diff --git a/pkgs/development/python-modules/gradient/default.nix b/pkgs/development/python-modules/gradient/default.nix index 36c3e2d82495..f8a9896b1f8b 100644 --- a/pkgs/development/python-modules/gradient/default.nix +++ b/pkgs/development/python-modules/gradient/default.nix @@ -24,12 +24,12 @@ buildPythonPackage rec { pname = "gradient"; - version = "2.0.6"; + version = "2.99.3"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-pqyyNzx2YPP3qmWQbzGd3q2HzCkrWlIVSJZeFrGm9dk="; + hash = "sha256-Ep3Qh9Q1xWt2JveCf/A/KInQ3cnGE7D1YNdavDS0ZE8="; }; postPatch = '' diff --git a/pkgs/development/python-modules/graphql-core/default.nix b/pkgs/development/python-modules/graphql-core/default.nix index fa1aa996d623..c1c49ee45448 100644 --- a/pkgs/development/python-modules/graphql-core/default.nix +++ b/pkgs/development/python-modules/graphql-core/default.nix @@ -6,27 +6,23 @@ pytest-benchmark, pytest-asyncio, pytestCheckHook, - pythonOlder, }: buildPythonPackage rec { pname = "graphql-core"; - version = "3.2.5"; + version = "3.2.6"; pyproject = true; - disabled = pythonOlder "3.6"; - src = fetchFromGitHub { owner = "graphql-python"; repo = "graphql-core"; tag = "v${version}"; - hash = "sha256-xZOiQOFWnImDXuvHP9V6BDjIZwlwHSxN/os+UYV4A0M="; + hash = "sha256-RkVyoTSVmtKhs42IK+oOrOL4uBs3As3N5KY0Sz1VaDQ="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace-fail "poetry_core>=1,<2" "poetry-core" \ - --replace-fail ', "setuptools>=59,<70"' "" + --replace-fail ', "setuptools>=59,<76"' "" ''; build-system = [ @@ -44,7 +40,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "graphql" ]; meta = with lib; { - changelog = "https://github.com/graphql-python/graphql-core/releases/tag/v${version}"; + changelog = "https://github.com/graphql-python/graphql-core/releases/tag/${src.tag}"; description = "Port of graphql-js to Python"; homepage = "https://github.com/graphql-python/graphql-core"; license = licenses.mit; diff --git a/pkgs/development/python-modules/graphrag/default.nix b/pkgs/development/python-modules/graphrag/default.nix index 606bf11bb936..f44129f282af 100644 --- a/pkgs/development/python-modules/graphrag/default.nix +++ b/pkgs/development/python-modules/graphrag/default.nix @@ -40,14 +40,14 @@ buildPythonPackage rec { pname = "graphrag"; - version = "1.2.0"; + version = "2.4.0"; pyproject = true; src = fetchFromGitHub { owner = "microsoft"; repo = "graphrag"; - tag = "v${version}"; - hash = "sha256-z3gO0wV8YBNi2Z53avujAt/Es9mSzugEFa/qRgq7ItM="; + tag = "v.${version}"; + hash = "sha256-a8t6Nl9W/Cr7eueAvJ3dbz5G0oIhddqFMIm7HeZ8N9A="; }; build-system = [ diff --git a/pkgs/development/python-modules/great-expectations/default.nix b/pkgs/development/python-modules/great-expectations/default.nix index ca563093c75e..8ba61a03efae 100644 --- a/pkgs/development/python-modules/great-expectations/default.nix +++ b/pkgs/development/python-modules/great-expectations/default.nix @@ -40,14 +40,14 @@ buildPythonPackage rec { pname = "great-expectations"; - version = "1.3.2"; + version = "1.5.7"; pyproject = true; src = fetchFromGitHub { owner = "great-expectations"; repo = "great_expectations"; tag = version; - hash = "sha256-MV6T8PyOyAQ2SfT8B38YdCtqj6oeZCW+z08koBR739A="; + hash = "sha256-pa44metr9KP2KF2ulq7kd84BVdBMvMhsWJeBsJ2AnG0="; }; postPatch = '' diff --git a/pkgs/development/python-modules/greenlet/default.nix b/pkgs/development/python-modules/greenlet/default.nix index aecb96244991..03638e41377b 100644 --- a/pkgs/development/python-modules/greenlet/default.nix +++ b/pkgs/development/python-modules/greenlet/default.nix @@ -1,4 +1,5 @@ { + stdenv, lib, buildPythonPackage, fetchPypi, @@ -16,12 +17,12 @@ let greenlet = buildPythonPackage rec { pname = "greenlet"; - version = "3.2.2"; + version = "3.2.3"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-rQU9NEIaLeu6Rao8w5rPRUrLzQJbP8Gp+KDe4jer1IU="; + hash = "sha256-iw3YrkwNb15U7lW6k17rPXNam1iooeW1y6tk4Bo582U="; }; build-system = [ setuptools ]; @@ -35,6 +36,9 @@ let unittestCheckHook ]; + # https://github.com/python-greenlet/greenlet/issues/395 + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isPower64 "-fomit-frame-pointer"; + preCheck = '' pushd ${placeholder "out"}/${python.sitePackages} ''; diff --git a/pkgs/development/python-modules/greynoise/default.nix b/pkgs/development/python-modules/greynoise/default.nix index 716e0fc1b498..935b0220e619 100644 --- a/pkgs/development/python-modules/greynoise/default.nix +++ b/pkgs/development/python-modules/greynoise/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "greynoise"; - version = "2.3.0"; + version = "3.0.1"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -29,7 +29,7 @@ buildPythonPackage rec { owner = "GreyNoise-Intelligence"; repo = "pygreynoise"; tag = "v${version}"; - hash = "sha256-17NieDQ57qVT2i4S26vLS9N6zALZ+eTtCCcBbhQ8fhQ="; + hash = "sha256-wJDO666HC3EohfR+LbG5F0Cp/eL7q4kXniWhJfc7C3s="; }; propagatedBuildInputs = [ @@ -57,7 +57,7 @@ buildPythonPackage rec { description = "Python3 library and command line for GreyNoise"; mainProgram = "greynoise"; homepage = "https://github.com/GreyNoise-Intelligence/pygreynoise"; - changelog = "https://github.com/GreyNoise-Intelligence/pygreynoise/blob/${src.rev}/CHANGELOG.rst"; + changelog = "https://github.com/GreyNoise-Intelligence/pygreynoise/blob/${src.tag}/CHANGELOG.rst"; license = licenses.mit; maintainers = with maintainers; [ mbalatsko ]; }; diff --git a/pkgs/development/python-modules/griffe/default.nix b/pkgs/development/python-modules/griffe/default.nix index 375ff0c717cd..33c4c9f5a4e1 100644 --- a/pkgs/development/python-modules/griffe/default.nix +++ b/pkgs/development/python-modules/griffe/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "griffe"; - version = "1.8.0"; + version = "1.9.0"; pyproject = true; src = fetchFromGitHub { owner = "mkdocstrings"; repo = "griffe"; tag = version; - hash = "sha256-p+igAui0LNMj8tMBmw59K8mNdixqfxU8P9lHDZkoFaY="; + hash = "sha256-kP3n9NJ9dW8S2zEMAHgtWbJUQiYt7NadgrR7DD67+Vs="; }; build-system = [ pdm-backend ]; diff --git a/pkgs/development/python-modules/grpc-google-iam-v1/default.nix b/pkgs/development/python-modules/grpc-google-iam-v1/default.nix index c0aaca146664..aba72a96b8aa 100644 --- a/pkgs/development/python-modules/grpc-google-iam-v1/default.nix +++ b/pkgs/development/python-modules/grpc-google-iam-v1/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "grpc-google-iam-v1"; - version = "0.14.2"; + version = "3.31.3"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "google-cloud-python"; - tag = "grpc-google-iam-v1-v${version}"; - hash = "sha256-5PzidE1CWN+pt7+gcAtbuXyL/pq6cnn0MCRkBfmeUSw="; + tag = "google-cloud-build-v${version}"; + hash = "sha256-qQ+8X6I8lt4OTgbvODsbdab2dYUk0wxWsbaVT2T651U="; }; sourceRoot = "${src.name}/packages/grpc-google-iam-v1"; diff --git a/pkgs/development/python-modules/grpclib/default.nix b/pkgs/development/python-modules/grpclib/default.nix index c9553e5c81b1..35494aa1d7ce 100644 --- a/pkgs/development/python-modules/grpclib/default.nix +++ b/pkgs/development/python-modules/grpclib/default.nix @@ -8,7 +8,7 @@ googleapis-common-protos, h2, multidict, - pytest-asyncio, + pytest-asyncio_0, pytestCheckHook, pythonOlder, setuptools, @@ -37,7 +37,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook - pytest-asyncio + pytest-asyncio_0 async-timeout faker googleapis-common-protos diff --git a/pkgs/development/python-modules/guidance/default.nix b/pkgs/development/python-modules/guidance/default.nix index 2f9c1bfe8ffd..ed279cf885ae 100644 --- a/pkgs/development/python-modules/guidance/default.nix +++ b/pkgs/development/python-modules/guidance/default.nix @@ -36,14 +36,14 @@ buildPythonPackage rec { pname = "guidance"; - version = "0.2.1"; + version = "0.2.5"; pyproject = true; src = fetchFromGitHub { owner = "guidance-ai"; repo = "guidance"; tag = version; - hash = "sha256-FBnND9kCIVmE/IEz3TNOww8x0EAH6TTBYfKTprqSbDg="; + hash = "sha256-dTMJOBGirEumbpTanCVZQJATfLxqxmpUCqE7pah97Zw="; }; build-system = [ @@ -119,7 +119,7 @@ buildPythonPackage rec { meta = { description = "Guidance language for controlling large language models"; homepage = "https://github.com/guidance-ai/guidance"; - changelog = "https://github.com/guidance-ai/guidance/releases/tag/v${version}"; + changelog = "https://github.com/guidance-ai/guidance/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ natsukium ]; }; diff --git a/pkgs/development/python-modules/gym-notices/default.nix b/pkgs/development/python-modules/gym-notices/default.nix index 0a4e2bd4089c..1132fa795d5b 100644 --- a/pkgs/development/python-modules/gym-notices/default.nix +++ b/pkgs/development/python-modules/gym-notices/default.nix @@ -2,18 +2,22 @@ lib, buildPythonPackage, fetchPypi, + setuptools, }: buildPythonPackage rec { pname = "gym-notices"; - version = "0.0.8"; - format = "setuptools"; + version = "0.1.0"; + pyproject = true; src = fetchPypi { - inherit pname version; - hash = "sha256-rSXiAEh8r6NpcoYl/gZOiK2hNGYYUmECZZtGQPK0uRE="; + pname = "gym_notices"; + inherit version; + hash = "sha256-n5R372iowV5CYl1PpTYxI34+aulH8yW1wUnAgUma3Bs="; }; + build-system = [ setuptools ]; + pythonImportsCheck = [ "gym_notices" ]; meta = with lib; { diff --git a/pkgs/development/python-modules/h3/default.nix b/pkgs/development/python-modules/h3/default.nix index f1379544ba21..5d9b87746bfc 100644 --- a/pkgs/development/python-modules/h3/default.nix +++ b/pkgs/development/python-modules/h3/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "h3"; - version = "4.2.2"; + version = "4.3.0"; pyproject = true; # pypi version does not include tests @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "uber"; repo = "h3-py"; tag = "v${version}"; - hash = "sha256-HvJT5SuE7UHhGMlaQG3YSHfGkgsdDAVVGsGRsAeNHGQ="; + hash = "sha256-D2imgxGzJpOEQ3xddM42SKWPZEIwuXQ31mm8ZIQhqkE="; }; dontConfigure = true; diff --git a/pkgs/development/python-modules/h5py/default.nix b/pkgs/development/python-modules/h5py/default.nix index cd43c0e05798..1deb3ab9f2cf 100644 --- a/pkgs/development/python-modules/h5py/default.nix +++ b/pkgs/development/python-modules/h5py/default.nix @@ -22,7 +22,7 @@ let mpiSupport = hdf5.mpiSupport; in buildPythonPackage rec { - version = "3.13.0"; + version = "3.14.0"; pname = "h5py"; pyproject = true; @@ -30,7 +30,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-GHDkZRhyACPahdCJWhlg/yzjmMVnHqw7GkHsaWtxBcM="; + hash = "sha256-I3IRay4NXT5ecFt/Zj98jZb6eaQFLSUEhO+R0k1qCPQ="; }; pythonRelaxDeps = [ "mpi4py" ]; diff --git a/pkgs/development/python-modules/ha-silabs-firmware-client/default.nix b/pkgs/development/python-modules/ha-silabs-firmware-client/default.nix index 2264a9a20d2f..dd983d98cdd4 100644 --- a/pkgs/development/python-modules/ha-silabs-firmware-client/default.nix +++ b/pkgs/development/python-modules/ha-silabs-firmware-client/default.nix @@ -4,6 +4,7 @@ buildPythonPackage, fetchFromGitHub, lib, + pytest-asyncio, pytestCheckHook, pythonOlder, setuptools, @@ -41,6 +42,7 @@ buildPythonPackage rec { nativeCheckInputs = [ aioresponses + pytest-asyncio pytestCheckHook ]; diff --git a/pkgs/development/python-modules/habluetooth/default.nix b/pkgs/development/python-modules/habluetooth/default.nix index ab77d4cdfeb1..b491a740e1d4 100644 --- a/pkgs/development/python-modules/habluetooth/default.nix +++ b/pkgs/development/python-modules/habluetooth/default.nix @@ -33,6 +33,11 @@ buildPythonPackage rec { hash = "sha256-82eV76oY/exkHbhZt3OaifOoKxN2D6npstvfBDVgszw="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail 'Cython>=3,<3.1' 'Cython' + ''; + build-system = [ cython poetry-core diff --git a/pkgs/development/python-modules/hass-nabucasa/default.nix b/pkgs/development/python-modules/hass-nabucasa/default.nix index 15bbb7d091ab..4dfcb4a63f91 100644 --- a/pkgs/development/python-modules/hass-nabucasa/default.nix +++ b/pkgs/development/python-modules/hass-nabucasa/default.nix @@ -43,6 +43,7 @@ buildPythonPackage rec { pythonRelaxDeps = [ "acme" "josepy" + "snitun" ]; dependencies = [ diff --git a/pkgs/development/python-modules/hassil/default.nix b/pkgs/development/python-modules/hassil/default.nix index 9c68f8c18c3c..ec274094ab26 100644 --- a/pkgs/development/python-modules/hassil/default.nix +++ b/pkgs/development/python-modules/hassil/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, - pythonOlder, # build-system setuptools, @@ -17,9 +16,9 @@ let pname = "hassil"; - version = "2.2.3"; + version = "3.1.0"; in -buildPythonPackage { +buildPythonPackage rec { inherit pname version; pyproject = true; @@ -27,7 +26,7 @@ buildPythonPackage { owner = "home-assistant"; repo = "hassil"; tag = "v${version}"; - hash = "sha256-rP7F0BovD0Klf06lywo+1uFhPf+dS0qbNBZluun8+cE="; + hash = "sha256-GwlnlOeG4uMMbT09Nm+UIr5FcOJf00+7r/2Kls4Rb4g="; }; build-system = [ setuptools ]; @@ -39,8 +38,13 @@ buildPythonPackage { nativeCheckInputs = [ pytestCheckHook ]; + disabledTestPaths = [ + # infinite recursion with home-assistant.intents + "tests/test_fuzzy.py" + ]; + meta = with lib; { - changelog = "https://github.com/home-assistant/hassil/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/home-assistant/hassil/blob/${src.tag}/CHANGELOG.md"; description = "Intent parsing for Home Assistant"; mainProgram = "hassil"; homepage = "https://github.com/home-assistant/hassil"; diff --git a/pkgs/development/python-modules/hatch-fancy-pypi-readme/default.nix b/pkgs/development/python-modules/hatch-fancy-pypi-readme/default.nix index c8efd2065cc4..61b5824ba7b7 100644 --- a/pkgs/development/python-modules/hatch-fancy-pypi-readme/default.nix +++ b/pkgs/development/python-modules/hatch-fancy-pypi-readme/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "hatch-fancy-pypi-readme"; - version = "24.1.0"; + version = "25.1.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "hatch_fancy_pypi_readme"; inherit version; - hash = "sha256-RN0jnxp3m53PjryUAaYR/X9+PhRXjc8iwmXfr3wVFLg="; + hash = "sha256-nFjtPf+Q1R9DQUzjcAmtHVsPCP/J/CFpmKBjgPAcAEU="; }; nativeBuildInputs = [ hatchling ]; diff --git a/pkgs/development/python-modules/hatch-nodejs-version/default.nix b/pkgs/development/python-modules/hatch-nodejs-version/default.nix index 376f3f1390a2..e46a1d40b92f 100644 --- a/pkgs/development/python-modules/hatch-nodejs-version/default.nix +++ b/pkgs/development/python-modules/hatch-nodejs-version/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "hatch-nodejs-version"; - version = "0.3.2"; + version = "0.4.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "agoose77"; repo = "hatch-nodejs-version"; tag = "v${version}"; - hash = "sha256-hknlb11DCe+b55CfF3Pr62ccWPxVrjQ197ZagSiH/zU="; + hash = "sha256-Oe07HFzhhnAGTWM51xSgRmpJgIZg0oMIxkmMxKRPMwI="; }; propagatedBuildInputs = [ hatchling ]; diff --git a/pkgs/development/python-modules/hatch-vcs/default.nix b/pkgs/development/python-modules/hatch-vcs/default.nix index e3be83a0f2d4..2bdb4e7622a5 100644 --- a/pkgs/development/python-modules/hatch-vcs/default.nix +++ b/pkgs/development/python-modules/hatch-vcs/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "hatch-vcs"; - version = "0.4.0"; + version = "0.5.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "hatch_vcs"; inherit version; - hash = "sha256-CTgQdI/gHbDUUfq88sGsJojK79Iy1O3pZwkLHBsH2fc="; + hash = "sha256-A5X6EmlANAIVCQw0Siv04qd7y+faqxb0Gze5jJWAn/k="; }; build-system = [ hatchling ]; @@ -35,15 +35,8 @@ buildPythonPackage rec { ]; disabledTests = [ - # incompatible with setuptools-scm>=7 - # https://github.com/ofek/hatch-vcs/issues/8 - "test_write" - ] - ++ lib.optionals (pythonOlder "3.11") [ - # https://github.com/pypa/setuptools_scm/issues/1038, fixed in setuptools_scm@8.1.0 - "test_basic" - "test_root" - "test_metadata" + # reacts to our setup-hook pretending a version + "test_custom_tag_pattern_get_version" ]; pythonImportsCheck = [ "hatch_vcs" ]; diff --git a/pkgs/development/python-modules/haystack-ai/default.nix b/pkgs/development/python-modules/haystack-ai/default.nix index dec9d6684d27..ba792ffa3e7f 100644 --- a/pkgs/development/python-modules/haystack-ai/default.nix +++ b/pkgs/development/python-modules/haystack-ai/default.nix @@ -91,14 +91,14 @@ buildPythonPackage rec { pname = "haystack-ai"; - version = "2.9.0"; + version = "2.16.1"; pyproject = true; src = fetchFromGitHub { owner = "deepset-ai"; repo = "haystack"; tag = "v${version}"; - hash = "sha256-h/4KskpzO3+e6aLQlBb8yitmfdbdc+J6Hz6TMs8bnr8="; + hash = "sha256-Z5T5X92Hig7nW1fUc8b+LuegJlIZbMfyjJ0PnVudPew="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/hg-evolve/default.nix b/pkgs/development/python-modules/hg-evolve/default.nix index d332237010f2..a6f28d87a60d 100644 --- a/pkgs/development/python-modules/hg-evolve/default.nix +++ b/pkgs/development/python-modules/hg-evolve/default.nix @@ -8,13 +8,13 @@ buildPythonPackage rec { pname = "hg-evolve"; - version = "11.1.8"; + version = "11.1.9"; pyproject = true; src = fetchPypi { pname = "hg_evolve"; inherit version; - hash = "sha256-JIberZCiRmxPkn0P+Dsps42jHWhkA1hLKGXPlbb+APU="; + hash = "sha256-sypSfUqXQkmDSITJq/XHH82EGNIMvjgocc+3mLK+n0A="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/hid-parser/default.nix b/pkgs/development/python-modules/hid-parser/default.nix index 1106accebf07..91cb21d24cfa 100644 --- a/pkgs/development/python-modules/hid-parser/default.nix +++ b/pkgs/development/python-modules/hid-parser/default.nix @@ -1,26 +1,28 @@ { lib, buildPythonPackage, - fetchPypi, - setuptools, - pytest7CheckHook, + fetchFromGitHub, + flit-core, + pytestCheckHook, hypothesis, }: buildPythonPackage rec { pname = "hid-parser"; - version = "0.0.3"; - format = "pyproject"; + version = "0.1.0"; + pyproject = true; - src = fetchPypi { - inherit pname version; - hash = "sha256-zbm+h+ieDmd1K0uH+9B8EWtYScxqYJXVpY9bXdBivA4="; + src = fetchFromGitHub { + owner = "usb-tools"; + repo = "python-hid-parser"; + tag = version; + hash = "sha256-8aGyLTsBK5etwbqFkNinbLHCt20fsQEmuBvu3RrwCDA="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ flit-core ]; nativeCheckInputs = [ - pytest7CheckHook + pytestCheckHook hypothesis ]; diff --git a/pkgs/development/python-modules/hijri-converter/default.nix b/pkgs/development/python-modules/hijri-converter/default.nix deleted file mode 100644 index f99bddec4593..000000000000 --- a/pkgs/development/python-modules/hijri-converter/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchPypi, - pytestCheckHook, - pythonOlder, -}: - -buildPythonPackage rec { - pname = "hijri-converter"; - version = "2.3.1"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-BptniSkeCDD0hgp53NNPs87qO5VRbtQBAgK5ZWuhq2E="; - }; - - nativeCheckInputs = [ pytestCheckHook ]; - - pythonImportsCheck = [ "hijri_converter" ]; - - meta = with lib; { - description = "Accurate Hijri-Gregorian date converter based on the Umm al-Qura calendar"; - homepage = "https://github.com/dralshehri/hijri-converter"; - changelog = "https://github.com/dralshehri/hijridate/blob/v${version}/CHANGELOG.md"; - license = licenses.mit; - maintainers = with maintainers; [ hexa ]; - }; -} diff --git a/pkgs/development/python-modules/hijridate/default.nix b/pkgs/development/python-modules/hijridate/default.nix new file mode 100644 index 000000000000..904159b7144a --- /dev/null +++ b/pkgs/development/python-modules/hijridate/default.nix @@ -0,0 +1,38 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + hatchling, + hatch-fancy-pypi-readme, + pytestCheckHook, +}: + +buildPythonPackage rec { + pname = "hijridate"; + version = "2.5.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "dralshehri"; + repo = "hijridate"; + tag = "v${version}"; + hash = "sha256-IT5OnFDuNQ9tMfuZ5pFqnAPd7nspIfAmeN6Pqtn0OwA="; + }; + + build-system = [ + hatchling + hatch-fancy-pypi-readme + ]; + + nativeCheckInputs = [ pytestCheckHook ]; + + pythonImportsCheck = [ "hijridate" ]; + + meta = with lib; { + description = "Accurate Hijri-Gregorian date converter based on the Umm al-Qura calendar"; + homepage = "https://github.com/dralshehri/hijridate"; + changelog = "https://github.com/dralshehri/hijridate/blob/v${version}/CHANGELOG.md"; + license = licenses.mit; + maintainers = with maintainers; [ hexa ]; + }; +} diff --git a/pkgs/development/python-modules/hikari-crescent/default.nix b/pkgs/development/python-modules/hikari-crescent/default.nix index 28e809136ed3..b13050474204 100644 --- a/pkgs/development/python-modules/hikari-crescent/default.nix +++ b/pkgs/development/python-modules/hikari-crescent/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "hikari-crescent"; - version = "1.2.0"; + version = "1.3.0"; pyproject = true; src = fetchFromGitHub { owner = "hikari-crescent"; repo = "hikari-crescent"; tag = "v${version}"; - hash = "sha256-aQjT5sAaqConUtRGcqddzwcbBJkbwYOCxvnNJpKu3yI="; + hash = "sha256-wFWltwhayvv/zkIWMGogjTqy/qZfO1hUU6CzF3T9E1Y="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/hikari-lightbulb/default.nix b/pkgs/development/python-modules/hikari-lightbulb/default.nix index f9af95b70147..92d2ea4d1f0f 100644 --- a/pkgs/development/python-modules/hikari-lightbulb/default.nix +++ b/pkgs/development/python-modules/hikari-lightbulb/default.nix @@ -2,30 +2,30 @@ lib, buildPythonPackage, fetchFromGitHub, - setuptools, - wheel, + flit-core, hikari, croniter, + typing-extensions, }: buildPythonPackage rec { pname = "hikari-lightbulb"; - version = "2.3.5.post1"; + version = "3.1.1"; pyproject = true; src = fetchFromGitHub { owner = "tandemdude"; repo = "hikari-lightbulb"; tag = version; - hash = "sha256-sxBrOgMgUcPjqtNuuq5+NfyxR5V812dfHnGoO9DhdXU="; + hash = "sha256-hsd7K7VFXndQ3tE8UkIcFXADgG/Kjd2oNWdFvwAwUtw="; }; - nativeBuildInputs = [ - setuptools - wheel - ]; + build-system = [ flit-core ]; - propagatedBuildInputs = [ hikari ]; + dependencies = [ + hikari + typing-extensions + ]; optional-dependencies = { crontrigger = [ croniter ]; @@ -34,6 +34,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "lightbulb" ]; meta = with lib; { + broken = true; # missing linkd and confspec dependencies description = "Command handler for Hikari, the Python Discord API wrapper library"; longDescription = '' Lightbulb is designed to be an easy to use command handler library that integrates with the Discord API wrapper library for Python, Hikari. diff --git a/pkgs/development/python-modules/hikari/default.nix b/pkgs/development/python-modules/hikari/default.nix index 7be50c2b2d2b..ee7fce10d6fc 100644 --- a/pkgs/development/python-modules/hikari/default.nix +++ b/pkgs/development/python-modules/hikari/default.nix @@ -4,6 +4,7 @@ fetchFromGitHub, pytestCheckHook, pythonOlder, + hatchling, aiohttp, attrs, multidict, @@ -16,14 +17,14 @@ }: buildPythonPackage rec { pname = "hikari"; - version = "2.1.0"; - format = "setuptools"; + version = "2.3.5"; + pyproject = true; src = fetchFromGitHub { owner = "hikari-py"; repo = "hikari"; tag = version; - hash = "sha256-/A3D3nG1lSCQU92dM+6YroxWlGKrv47ntkZaJZTAJUA="; + hash = "sha256-jcPgO4tJKHzrA1fFeksSL9PVMsxnHuzh4CLVwTq06sM="; # The git commit is part of the `hikari.__git_sha1__` original output; # leave that output the same in nixpkgs. Use the `.git` directory # to retrieve the commit SHA, and remove the directory afterwards, @@ -36,6 +37,8 @@ buildPythonPackage rec { ''; }; + build-system = [ hatchling ]; + propagatedBuildInputs = [ aiohttp attrs @@ -72,7 +75,7 @@ buildPythonPackage rec { meta = { description = "Discord API wrapper for Python written with asyncio"; homepage = "https://www.hikari-py.dev/"; - changelog = "https://github.com/hikari-py/hikari/releases/tag/${version}"; + changelog = "https://github.com/hikari-py/hikari/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ tomodachi94 diff --git a/pkgs/development/python-modules/holidays/default.nix b/pkgs/development/python-modules/holidays/default.nix index 5ec47d5f6efc..95e439e827d0 100644 --- a/pkgs/development/python-modules/holidays/default.nix +++ b/pkgs/development/python-modules/holidays/default.nix @@ -60,7 +60,7 @@ buildPythonPackage rec { meta = with lib; { description = "Generate and work with holidays in Python"; homepage = "https://github.com/vacanza/python-holidays"; - changelog = "https://github.com/vacanza/python-holidays/releases/tag/v${version}"; + changelog = "https://github.com/vacanza/python-holidays/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ fab diff --git a/pkgs/development/python-modules/home-assistant-bluetooth/default.nix b/pkgs/development/python-modules/home-assistant-bluetooth/default.nix index dfa41a0bfedf..d1ea3bd04662 100644 --- a/pkgs/development/python-modules/home-assistant-bluetooth/default.nix +++ b/pkgs/development/python-modules/home-assistant-bluetooth/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, - fetchpatch, pythonOlder, # build-system @@ -20,7 +19,7 @@ buildPythonPackage rec { pname = "home-assistant-bluetooth"; - version = "1.13.1"; + version = "2.0.0"; pyproject = true; disabled = pythonOlder "3.11"; @@ -29,18 +28,9 @@ buildPythonPackage rec { owner = "home-assistant-libs"; repo = "home-assistant-bluetooth"; tag = "v${version}"; - hash = "sha256-piX812Uzd2F8A8+IF/17N+xy6ENpfRVJ1BxsAxL5aj0="; + hash = "sha256-A29Jezj9kQ/v4irvpcpCiZlrNQBQwByrSJOx4HaXTdc="; }; - patches = [ - (fetchpatch { - name = "fix-tests-with-habluetooth-3.42.0.patch"; - url = "https://github.com/home-assistant-libs/home-assistant-bluetooth/commit/515516bf9b2577c5d4af25cd2f052023ccb8b108.patch"; - includes = [ "tests/test_models.py" ]; - hash = "sha256-9t8VRKQSDxSYiy7bFII62B4O5w5Hx9AbRgvzcT6z1BQ="; - }) - ]; - build-system = [ poetry-core setuptools diff --git a/pkgs/development/python-modules/html2image/default.nix b/pkgs/development/python-modules/html2image/default.nix index 4e5d1d50dbd6..bca718a33311 100644 --- a/pkgs/development/python-modules/html2image/default.nix +++ b/pkgs/development/python-modules/html2image/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "html2image"; - version = "2.0.5"; + version = "2.0.7"; pyproject = true; src = fetchFromGitHub { owner = "vgalin"; repo = "html2image"; tag = version; - hash = "sha256-k5y89nUF+fhUj9uzTAPkkAdOb2TsTL2jm/ZXwHlxu/A="; + hash = "sha256-qGp6i4fNmduTZfdxNvYJTAQV/Ovm3XFNOJ8uSj6Ipic="; }; postPatch = '' @@ -37,7 +37,7 @@ buildPythonPackage rec { meta = with lib; { description = "Package acting as a wrapper around the headless mode of existing web browsers to generate images from URLs and from HTML+CSS strings or files"; homepage = "https://github.com/vgalin/html2image"; - changelog = "https://github.com/vgalin/html2image/releases/tag/${version}"; + changelog = "https://github.com/vgalin/html2image/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ happysalada ]; }; diff --git a/pkgs/development/python-modules/html2text/default.nix b/pkgs/development/python-modules/html2text/default.nix index 656370931ca4..bf13a97b9561 100644 --- a/pkgs/development/python-modules/html2text/default.nix +++ b/pkgs/development/python-modules/html2text/default.nix @@ -5,11 +5,12 @@ pythonOlder, pytestCheckHook, setuptools, + setuptools-scm, }: buildPythonPackage rec { pname = "html2text"; - version = "2024.2.26"; + version = "2025.4.15"; pyproject = true; disabled = pythonOlder "3.8"; @@ -18,10 +19,13 @@ buildPythonPackage rec { owner = "Alir3z4"; repo = "html2text"; tag = version; - hash = "sha256-1CLkTFR+/XQ428WjMF7wliyAG6CB+n8JSsLDdLHPO7I="; + hash = "sha256-SMdILvCVXMe3Tlf3kK54VfEKsQ/KvpBZK3xZ4zVwcfo="; }; - build-system = [ setuptools ]; + build-system = [ + setuptools + setuptools-scm + ]; nativeCheckInputs = [ pytestCheckHook ]; @@ -30,7 +34,7 @@ buildPythonPackage rec { meta = with lib; { description = "Turn HTML into equivalent Markdown-structured text"; homepage = "https://github.com/Alir3z4/html2text/"; - changelog = "https://github.com/Alir3z4/html2text/blob/${src.rev}/ChangeLog.rst"; + changelog = "https://github.com/Alir3z4/html2text/blob/${src.tag}/ChangeLog.rst"; license = licenses.gpl3Only; maintainers = [ ]; mainProgram = "html2text"; diff --git a/pkgs/development/python-modules/htmldate/default.nix b/pkgs/development/python-modules/htmldate/default.nix index 9fa529db9c2d..c97199f97a3d 100644 --- a/pkgs/development/python-modules/htmldate/default.nix +++ b/pkgs/development/python-modules/htmldate/default.nix @@ -38,6 +38,8 @@ buildPythonPackage rec { urllib3 ]; + pythonRelaxDeps = [ "lxml" ]; + optional-dependencies = { speed = [ faust-cchardet diff --git a/pkgs/development/python-modules/http-message-signatures/default.nix b/pkgs/development/python-modules/http-message-signatures/default.nix index d3fcc3296dad..c5877acb8119 100644 --- a/pkgs/development/python-modules/http-message-signatures/default.nix +++ b/pkgs/development/python-modules/http-message-signatures/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "http-message-signatures"; - version = "0.5.0"; + version = "1.0.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -20,8 +20,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "pyauth"; repo = "http-message-signatures"; - rev = "v${version}"; - hash = "sha256-Jsivw4lNA/2oqsOGGx8D4gUPftzuys877A9RXyapnSQ="; + tag = "v${version}"; + hash = "sha256-vPZeAS3hR7Bmj2FtME+V9WU3TViBndrBb9GLkdMVh2Q="; }; nativeBuildInputs = [ setuptools-scm ]; diff --git a/pkgs/development/python-modules/httpx-sse/default.nix b/pkgs/development/python-modules/httpx-sse/default.nix index 622e8ae033d4..a719fe96f369 100644 --- a/pkgs/development/python-modules/httpx-sse/default.nix +++ b/pkgs/development/python-modules/httpx-sse/default.nix @@ -2,10 +2,8 @@ lib, buildPythonPackage, fetchFromGitHub, - fetchpatch2, setuptools, setuptools-scm, - wheel, httpx, pytest-asyncio, pytestCheckHook, @@ -14,23 +12,16 @@ buildPythonPackage rec { pname = "httpx-sse"; - version = "0.4.0"; + version = "0.4.1"; pyproject = true; src = fetchFromGitHub { owner = "florimondmanca"; repo = "httpx-sse"; tag = version; - hash = "sha256-nU8vkmV/WynzQrSrq9+FQXtfAJPVLpMsRSuntU0HWrE="; + hash = "sha256-bSozSZmbRU5sc3jvVUOAXQWVBA8GhzM2R26uPdabS+w="; }; - patches = [ - (fetchpatch2 { - url = "https://github.com/florimondmanca/httpx-sse/commit/643938c805e671fa20adcf314b447f862b77bcda.patch?full_index=1"; - hash = "sha256-V2PyTlleyoLa0DuvdlU8zGNsI9C8bTjMUcLjx81/e5k="; - }) - ]; - # pytest-cov configuration is not necessary for packaging postPatch = '' rm setup.cfg @@ -39,7 +30,6 @@ buildPythonPackage rec { build-system = [ setuptools setuptools-scm - wheel ]; dependencies = [ httpx ]; @@ -55,7 +45,7 @@ buildPythonPackage rec { meta = with lib; { description = "Consume Server-Sent Event (SSE) messages with HTTPX"; homepage = "https://github.com/florimondmanca/httpx-sse"; - changelog = "https://github.com/florimondmanca/httpx-sse/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/florimondmanca/httpx-sse/blob/${src.tag}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ natsukium ]; }; diff --git a/pkgs/development/python-modules/hydra-core/default.nix b/pkgs/development/python-modules/hydra-core/default.nix index 132c8faba6a7..92ff70c9020b 100644 --- a/pkgs/development/python-modules/hydra-core/default.nix +++ b/pkgs/development/python-modules/hydra-core/default.nix @@ -20,7 +20,7 @@ packaging, # tests - pytestCheckHook, + pytest8_3CheckHook, pythonAtLeast, }: @@ -70,7 +70,7 @@ buildPythonPackage rec { packaging ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ pytest8_3CheckHook ]; pytestFlags = [ "-Wignore::UserWarning" diff --git a/pkgs/development/python-modules/hyperion-py/default.nix b/pkgs/development/python-modules/hyperion-py/default.nix index 5cb6a69ec2ac..a6803e8bc26e 100644 --- a/pkgs/development/python-modules/hyperion-py/default.nix +++ b/pkgs/development/python-modules/hyperion-py/default.nix @@ -5,7 +5,7 @@ fetchFromGitHub, poetry-core, pytest-aiohttp, - pytest-asyncio, + pytest-asyncio_0, pytest-cov-stub, pytest-timeout, pytestCheckHook, @@ -28,8 +28,8 @@ buildPythonPackage rec { dependencies = [ aiohttp ]; nativeCheckInputs = [ - pytest-asyncio - pytest-aiohttp + pytest-asyncio_0 + (pytest-aiohttp.override { pytest-asyncio = pytest-asyncio_0; }) pytest-cov-stub pytest-timeout pytestCheckHook diff --git a/pkgs/development/python-modules/hyperscan/default.nix b/pkgs/development/python-modules/hyperscan/default.nix index 8850d1a53283..e63a155781d3 100644 --- a/pkgs/development/python-modules/hyperscan/default.nix +++ b/pkgs/development/python-modules/hyperscan/default.nix @@ -23,14 +23,14 @@ let in buildPythonPackage rec { pname = "hyperscan"; - version = "0.7.16"; + version = "0.7.22"; pyproject = true; src = fetchFromGitHub { owner = "darvid"; repo = "python-hyperscan"; tag = "v${version}"; - hash = "sha256-iinBu/6zSbRiuxytHnS3G+8OffcdLdCTqKzj44NQqcU="; + hash = "sha256-99PkxxGCwyGa5xhfHLa7+1JnTgcRfDEKcTRopGzqkh8="; }; env.CMAKE_ARGS = "-DHS_SRC_ROOT=${pkgs.hyperscan.src} -DHS_BUILD_LIB_ROOT=${lib-deps}/lib"; diff --git a/pkgs/development/python-modules/hypothesis/default.nix b/pkgs/development/python-modules/hypothesis/default.nix index a46583e063b5..ea6abf7e8384 100644 --- a/pkgs/development/python-modules/hypothesis/default.nix +++ b/pkgs/development/python-modules/hypothesis/default.nix @@ -24,7 +24,7 @@ buildPythonPackage rec { pname = "hypothesis"; - version = "6.131.17"; + version = "6.136.9"; pyproject = true; disabled = pythonOlder "3.9"; @@ -32,8 +32,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "HypothesisWorks"; repo = "hypothesis"; - rev = "hypothesis-python-${version}"; - hash = "sha256-bNaDC2n0VaI7L4/FdD8eQ4cqn5ewquy89wV/pQn9uo0="; + tag = "hypothesis-python-${version}"; + hash = "sha256-Q1wxIJwAYKZ0x6c85CJSGgcdKw9a3xFw8YpJROElSNU="; }; # I tried to package sphinx-selective-exclude, but it throws diff --git a/pkgs/development/python-modules/ibis-framework/default.nix b/pkgs/development/python-modules/ibis-framework/default.nix index e800262be966..2939b7c2ab9c 100644 --- a/pkgs/development/python-modules/ibis-framework/default.nix +++ b/pkgs/development/python-modules/ibis-framework/default.nix @@ -98,14 +98,14 @@ in buildPythonPackage rec { pname = "ibis-framework"; - version = "10.5.0"; + version = "10.8.0"; pyproject = true; src = fetchFromGitHub { owner = "ibis-project"; repo = "ibis"; tag = version; - hash = "sha256-KJPl5bkD/tQlHY2k0b9zok5YCPekaXw7Y9z8P4AD3FQ="; + hash = "sha256-Uuqm9Exu/oK3BGBL4ViUOGArMWhVutUn1gFRj1I4vt4="; }; build-system = [ @@ -142,6 +142,7 @@ buildPythonPackage rec { pytestFlags = [ "--benchmark-disable" + "-Wignore::FutureWarning" ]; enabledTestMarks = testBackends ++ [ "core" ]; @@ -353,7 +354,7 @@ buildPythonPackage rec { meta = { description = "Productivity-centric Python Big Data Framework"; homepage = "https://github.com/ibis-project/ibis"; - changelog = "https://github.com/ibis-project/ibis/blob/${version}/docs/release_notes.md"; + changelog = "https://github.com/ibis-project/ibis/blob/${src.tag}/docs/release_notes.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ cpcloud diff --git a/pkgs/development/python-modules/icalendar/default.nix b/pkgs/development/python-modules/icalendar/default.nix index a7ed92051f65..c483932f3d4f 100644 --- a/pkgs/development/python-modules/icalendar/default.nix +++ b/pkgs/development/python-modules/icalendar/default.nix @@ -48,6 +48,8 @@ buildPythonPackage rec { # AssertionError: assert {'Atlantic/Jan_Mayen'} == {'Arctic/Longyearbyen'} "test_dateutil_timezone_is_matched_with_tzname" "test_docstring_of_python_file" + # AssertionError: assert $TZ not in set() + "test_add_missing_timezones_to_example" ]; enabledTestPaths = [ "src/icalendar" ]; diff --git a/pkgs/development/python-modules/icecream/default.nix b/pkgs/development/python-modules/icecream/default.nix index 6ae3f20ad9ad..f3ed505cfae5 100644 --- a/pkgs/development/python-modules/icecream/default.nix +++ b/pkgs/development/python-modules/icecream/default.nix @@ -18,12 +18,12 @@ buildPythonPackage rec { pname = "icecream"; - version = "2.1.4"; + version = "2.1.5"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-WHVeWDl9U1CnbyWXbe57YH9f67PG4c3f5rGVGJbpFXM="; + hash = "sha256-FNIeM4MyammowaO88R+DKDRZ8NJp7OWvg/ziwNZj7+w="; }; postPatch = '' diff --git a/pkgs/development/python-modules/imagecodecs/default.nix b/pkgs/development/python-modules/imagecodecs/default.nix index 30dfe4dc7de7..6d0411ce16d9 100644 --- a/pkgs/development/python-modules/imagecodecs/default.nix +++ b/pkgs/development/python-modules/imagecodecs/default.nix @@ -21,9 +21,9 @@ }: let - version = "2025.3.30"; + version = "2025.8.2"; in -buildPythonPackage { +buildPythonPackage rec { pname = "imagecodecs"; inherit version; pyproject = true; @@ -32,7 +32,7 @@ buildPythonPackage { owner = "cgohlke"; repo = "imagecodecs"; tag = "v${version}"; - hash = "sha256-KtrQNABQOr3mNiWOfaZBcFceSCixPGV8Hte2uPKn1+k="; + hash = "sha256-HDyA5SQNZe9G83ARfvD4AAIIos8Oatp+RhnEQTdnRp4="; }; build-system = [ @@ -83,7 +83,7 @@ buildPythonPackage { meta = { description = "Image transformation, compression, and decompression codecs"; homepage = "https://github.com/cgohlke/imagecodecs"; - changelog = "https://github.com/cgohlke/imagecodecs/blob/v${version}/CHANGES.rst"; + changelog = "https://github.com/cgohlke/imagecodecs/blob/${src.tag}/CHANGES.rst"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ yzx9 ]; }; diff --git a/pkgs/development/python-modules/imagededup/default.nix b/pkgs/development/python-modules/imagededup/default.nix index 4ecc2f693c78..d5993e358643 100644 --- a/pkgs/development/python-modules/imagededup/default.nix +++ b/pkgs/development/python-modules/imagededup/default.nix @@ -33,7 +33,7 @@ let in buildPythonPackage rec { pname = "imagededup"; - version = "0.3.2"; + version = "03.3"; pyproject = true; disabled = pythonOlder "3.8"; @@ -42,7 +42,7 @@ buildPythonPackage rec { owner = "idealo"; repo = "imagededup"; tag = "v${version}"; - hash = "sha256-B2IuNMTZnzBi6IxrHBoMDsmIcqGQpznd/2f1XKo1Oa4="; + hash = "sha256-tm6WGf74xu3CcwpyeA7+rvO5wemO0daXpj/jvYrH19E="; }; nativeBuildInputs = [ @@ -88,7 +88,7 @@ buildPythonPackage rec { meta = with lib; { homepage = "https://idealo.github.io/imagededup/"; - changelog = "https://github.com/idealo/imagededup/releases/tag/v${version}"; + changelog = "https://github.com/idealo/imagededup/releases/tag/${src.tag}"; description = "Finding duplicate images made easy"; license = licenses.asl20; maintainers = with maintainers; [ stunkymonkey ]; diff --git a/pkgs/development/python-modules/imap-tools/default.nix b/pkgs/development/python-modules/imap-tools/default.nix index e71956c5835e..ec192f63fbc0 100644 --- a/pkgs/development/python-modules/imap-tools/default.nix +++ b/pkgs/development/python-modules/imap-tools/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "imap-tools"; - version = "1.10.0"; + version = "1.11.0"; pyproject = true; src = fetchFromGitHub { owner = "ikvk"; repo = "imap_tools"; tag = "v${version}"; - hash = "sha256-lan12cHkoxCKadgyFey4ShcnwFg3Gl/VqKWlYAkvF3Y="; + hash = "sha256-8oPiCFoJ0mV7ZnteM9lufIbxwA/7hV91959weEx/e30="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/inkbird-ble/default.nix b/pkgs/development/python-modules/inkbird-ble/default.nix index b2a31ed4c13c..4d507af22ac1 100644 --- a/pkgs/development/python-modules/inkbird-ble/default.nix +++ b/pkgs/development/python-modules/inkbird-ble/default.nix @@ -6,6 +6,7 @@ fetchFromGitHub, home-assistant-bluetooth, poetry-core, + pytest-asyncio, pytest-cov-stub, pytestCheckHook, pythonOlder, @@ -36,6 +37,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ + pytest-asyncio pytest-cov-stub pytestCheckHook ]; diff --git a/pkgs/development/python-modules/inkex/default.nix b/pkgs/development/python-modules/inkex/default.nix index 3195032e03e9..534aa8ae551d 100644 --- a/pkgs/development/python-modules/inkex/default.nix +++ b/pkgs/development/python-modules/inkex/default.nix @@ -27,7 +27,10 @@ buildPythonPackage { build-system = [ poetry-core ]; - pythonRelaxDeps = [ "numpy" ]; + pythonRelaxDeps = [ + "lxml" + "numpy" + ]; dependencies = [ cssselect diff --git a/pkgs/development/python-modules/inline-snapshot/default.nix b/pkgs/development/python-modules/inline-snapshot/default.nix index 635bdf36c530..bff769ab1ec5 100644 --- a/pkgs/development/python-modules/inline-snapshot/default.nix +++ b/pkgs/development/python-modules/inline-snapshot/default.nix @@ -24,7 +24,7 @@ buildPythonPackage rec { pname = "inline-snapshot"; - version = "0.23.0"; + version = "0.24.0"; pyproject = true; src = fetchFromGitHub { diff --git a/pkgs/development/python-modules/instructor/default.nix b/pkgs/development/python-modules/instructor/default.nix index 97c1d863d189..959449e53e76 100644 --- a/pkgs/development/python-modules/instructor/default.nix +++ b/pkgs/development/python-modules/instructor/default.nix @@ -23,6 +23,7 @@ anthropic, diskcache, fastapi, + google-genai, google-generativeai, pytest-asyncio, pytestCheckHook, @@ -32,16 +33,14 @@ buildPythonPackage rec { pname = "instructor"; - version = "1.7.9"; + version = "1.10.0"; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchFromGitHub { owner = "jxnl"; repo = "instructor"; tag = version; - hash = "sha256-3IwvbepDrylOIlL+IteyFChqYc/ZIu6IieIkbAPL+mw="; + hash = "sha256-vknPfRHyLoLo2838p/fbjrqyaBORZzLp9+fN98yVDz0="; }; build-system = [ hatchling ]; @@ -65,6 +64,7 @@ buildPythonPackage rec { anthropic diskcache fastapi + google-genai google-generativeai pytest-asyncio pytestCheckHook @@ -90,12 +90,20 @@ buildPythonPackage rec { # Performance benchmarks that sometimes fail when running many parallel builds "test_combine_system_messages_benchmark" "test_extract_system_messages_benchmark" + + # pydantic validation mismatch + "test_control_characters_not_allowed_in_anthropic_json_strict_mode" + "test_control_characters_allowed_in_anthropic_json_non_strict_mode" ]; disabledTestPaths = [ # Tests require OpenAI API key - "tests/test_distil.py" "tests/llm/" + # Network and requires API keys + "tests/test_auto_client.py" + # annoying dependencies + "tests/docs" + "examples" ]; meta = { diff --git a/pkgs/development/python-modules/intensity-normalization/default.nix b/pkgs/development/python-modules/intensity-normalization/default.nix index e0beea29d83f..a6f9db795795 100644 --- a/pkgs/development/python-modules/intensity-normalization/default.nix +++ b/pkgs/development/python-modules/intensity-normalization/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "intensity-normalization"; - version = "2.2.4"; + version = "3.0.1"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -27,7 +27,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "intensity_normalization"; inherit version; - hash = "sha256-s/trDIRoqLFj3NO+iv3E+AEB4grBAHDlEL6+TCdsgmg="; + hash = "sha256-d5f+Ug/ta9RQjk3JwHmVJQr8g93glzf7IcmLxLeA1tQ="; }; postPatch = '' diff --git a/pkgs/development/python-modules/ionoscloud/default.nix b/pkgs/development/python-modules/ionoscloud/default.nix index 8c4d079a5b9e..d0ee3b283306 100644 --- a/pkgs/development/python-modules/ionoscloud/default.nix +++ b/pkgs/development/python-modules/ionoscloud/default.nix @@ -12,12 +12,12 @@ buildPythonPackage rec { pname = "ionoscloud"; - version = "6.1.11"; + version = "6.1.12"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-OQNdif263rY7c3tytKPMjXESmYsCBVtk0M25M3XDSJM="; + hash = "sha256-sc1qJjfLiI+KjLe3b+JE66giV1pIakYT7FsSjQjWA30="; }; nativeBuildInputs = [ setuptools ]; diff --git a/pkgs/development/python-modules/iplotx/default.nix b/pkgs/development/python-modules/iplotx/default.nix index bb7623222c28..f01b9b0f0ef3 100644 --- a/pkgs/development/python-modules/iplotx/default.nix +++ b/pkgs/development/python-modules/iplotx/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "iplotx"; - version = "0.4.0"; + version = "0.6.1"; pyproject = true; src = fetchFromGitHub { owner = "fabilab"; repo = "iplotx"; tag = version; - hash = "sha256-5piMXKr61F3euiCOlamZD7Iv6FQtrlbxwYYbZmD92Cg="; + hash = "sha256-RleGCDsH9VLX5hgU1l5pN6a1x9p52VA35CM5B9rJiy0="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/ipykernel/default.nix b/pkgs/development/python-modules/ipykernel/default.nix index 2ccb4cd94ee3..8751238168fe 100644 --- a/pkgs/development/python-modules/ipykernel/default.nix +++ b/pkgs/development/python-modules/ipykernel/default.nix @@ -25,14 +25,14 @@ buildPythonPackage rec { pname = "ipykernel"; - version = "6.29.5"; + version = "6.30.1"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-8JOiLEpA+IKPjjMKnCl8uT3KsTvZZ43tbejlz4HFYhU="; + hash = "sha256-arsnAWGJZALna5E5T83OXRvl1F9FZnHlCAVy+FBb45s="; }; # debugpy is optional, see https://github.com/ipython/ipykernel/pull/767 diff --git a/pkgs/development/python-modules/ipyniivue/default.nix b/pkgs/development/python-modules/ipyniivue/default.nix index cdc0a1d2308d..6668878703a0 100644 --- a/pkgs/development/python-modules/ipyniivue/default.nix +++ b/pkgs/development/python-modules/ipyniivue/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "ipyniivue"; - version = "2.1.0"; + version = "2.4.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -22,8 +22,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "niivue"; repo = "ipyniivue"; - rev = "v${version}"; - hash = "sha256-rgScBBJ0Jqr5REZ+YFJcKwWcV33RzJ/sn6RqTL/limo="; + tag = "v${version}"; + hash = "sha256-APxxYflEYcjQGloLvdOGMlOnOL/0ttGVvTCLEMqp1W0="; }; npmDeps = fetchNpmDeps { @@ -58,7 +58,7 @@ buildPythonPackage rec { meta = with lib; { description = "Show a nifti image in a webgl 2.0 canvas within a jupyter notebook cell"; homepage = "https://github.com/niivue/ipyniivue"; - changelog = "https://github.com/niivue/ipyniivue/releases/tag/${version}"; + changelog = "https://github.com/niivue/ipyniivue/releases/tag/${src.tag}"; license = licenses.bsd3; maintainers = with maintainers; [ bcdarwin ]; }; diff --git a/pkgs/development/python-modules/ipython/default.nix b/pkgs/development/python-modules/ipython/default.nix index 66680b336217..a2f8bac3b77a 100644 --- a/pkgs/development/python-modules/ipython/default.nix +++ b/pkgs/development/python-modules/ipython/default.nix @@ -36,12 +36,12 @@ buildPythonPackage rec { pname = "ipython"; - version = "9.3.0"; + version = "9.4.0"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-eeuJb58j9QrRbDvCBfaG9uAwrSRswwnGJ5okKxSv6dg="; + hash = "sha256-wDPG1OeRTD2XaKq+drvoe6HcZqkqBdtr+hEl2B8u4nA="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/israel-rail-api/default.nix b/pkgs/development/python-modules/israel-rail-api/default.nix index 885d284a4256..2a5c46e00199 100644 --- a/pkgs/development/python-modules/israel-rail-api/default.nix +++ b/pkgs/development/python-modules/israel-rail-api/default.nix @@ -32,7 +32,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; meta = { - changelog = "https://github.com/sh0oki/israel-rail-api/releases/tag/v${version}"; + changelog = "https://github.com/sh0oki/israel-rail-api/releases/tag/${src.tag}"; description = "Python wrapping of the Israeli Rail API"; homepage = "https://github.com/sh0oki/israel-rail-api"; license = lib.licenses.mit; diff --git a/pkgs/development/python-modules/itemadapter/default.nix b/pkgs/development/python-modules/itemadapter/default.nix index 459c6b9a76fc..72c2d930334d 100644 --- a/pkgs/development/python-modules/itemadapter/default.nix +++ b/pkgs/development/python-modules/itemadapter/default.nix @@ -3,25 +3,23 @@ attrs, buildPythonPackage, fetchPypi, + hatchling, pydantic, pythonOlder, scrapy, - setuptools, }: buildPythonPackage rec { pname = "itemadapter"; - version = "0.11.0"; + version = "0.12.0"; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchPypi { inherit pname version; - hash = "sha256-Ow8n9MXi6K5BXYPj1g0zrbe6CbmMMGOLxgb7Hf8uzdI="; + hash = "sha256-pQiCQ+iO/jCY8XIIVecHF25zVa2H0dIOKwMpf10V0b4="; }; - build-system = [ setuptools ]; + build-system = [ hatchling ]; optional-dependencies = { attrs = [ attrs ]; diff --git a/pkgs/development/python-modules/itemdb/default.nix b/pkgs/development/python-modules/itemdb/default.nix index 20148a8b6d0c..5b92b75044b0 100644 --- a/pkgs/development/python-modules/itemdb/default.nix +++ b/pkgs/development/python-modules/itemdb/default.nix @@ -6,7 +6,7 @@ buildPythonPackage rec { pname = "itemdb"; - version = "1.2.0"; + version = "1.3.0"; format = "setuptools"; # PyPI tarball doesn't include tests directory @@ -14,7 +14,7 @@ buildPythonPackage rec { owner = "almarklein"; repo = "itemdb"; tag = "v${version}"; - sha256 = "sha256-egxQ1tGC6R5p1stYm4r05+b2HkuT+nBySTZPGqeAbSE="; + sha256 = "sha256-HXdOERq2td6CME8zWN0DRVkSlmdqTg2po7aJrOuITHE="; }; meta = with lib; { diff --git a/pkgs/development/python-modules/iterm2/default.nix b/pkgs/development/python-modules/iterm2/default.nix index 22ddacfb0cba..6e92003720ef 100644 --- a/pkgs/development/python-modules/iterm2/default.nix +++ b/pkgs/development/python-modules/iterm2/default.nix @@ -8,12 +8,12 @@ buildPythonPackage rec { pname = "iterm2"; - version = "2.9"; + version = "2.10"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-FoR17UloBtFg3pRurquHCzGaySehUPhVtmQmNkhWTz4="; + hash = "sha256-jAz5X/yp8b90CYg2GN7uZqzXPGOSkiLiNDV4DcxRaGk="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/jaraco-abode/default.nix b/pkgs/development/python-modules/jaraco-abode/default.nix index e5c4147dd0ac..fe1f78a4c250 100644 --- a/pkgs/development/python-modules/jaraco-abode/default.nix +++ b/pkgs/development/python-modules/jaraco-abode/default.nix @@ -25,16 +25,20 @@ buildPythonPackage rec { pname = "jaraco-abode"; - version = "6.3.0"; + version = "6.4.0"; pyproject = true; src = fetchFromGitHub { owner = "jaraco"; repo = "jaraco.abode"; tag = "v${version}"; - hash = "sha256-AqnyQdLkg2vobVJ84X15AB0Yyj3gZf4rP3pEdk3MqZ4="; + hash = "sha256-nnnVtNXQ7Sa4wXl0ay3OyjvOq2j90pTwhK24WR8mrBo="; }; + postPatch = '' + sed -i "/coherent\.licensed/d" pyproject.toml + ''; + build-system = [ setuptools setuptools-scm diff --git a/pkgs/development/python-modules/jaraco-collections/default.nix b/pkgs/development/python-modules/jaraco-collections/default.nix index 128592ba047d..8f913f2d11a3 100644 --- a/pkgs/development/python-modules/jaraco-collections/default.nix +++ b/pkgs/development/python-modules/jaraco-collections/default.nix @@ -10,18 +10,17 @@ buildPythonPackage rec { pname = "jaraco-collections"; - version = "5.1.0"; + version = "5.2.1"; pyproject = true; src = fetchPypi { pname = "jaraco_collections"; inherit version; - hash = "sha256-DkgpQJ05rRikCqZ1T+4nZ/TZcwxLpm3J34nx0nVplMI="; + hash = "sha256-2rgZcLrW8KtTsgdF8bAdo3km5MD81CUEaqReDY76GO0="; }; postPatch = '' - # break dependency cycle - sed -i "/'jaraco.text',/d" setup.cfg + sed -i "/coherent\.licensed/d" pyproject.toml ''; build-system = [ diff --git a/pkgs/development/python-modules/jaraco-functools/default.nix b/pkgs/development/python-modules/jaraco-functools/default.nix index 20f50cb6a789..90b983a1c504 100644 --- a/pkgs/development/python-modules/jaraco-functools/default.nix +++ b/pkgs/development/python-modules/jaraco-functools/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "jaraco-functools"; - version = "4.1.0"; + version = "4.2.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -21,9 +21,13 @@ buildPythonPackage rec { src = fetchPypi { pname = "jaraco_functools"; inherit version; - hash = "sha256-cPfg4q4HZJjiElYjJegFIE/Akte0wX4OhslZ4klwGp0="; + hash = "sha256-vmNKv8yrzlb6MFP4x+vje2gmg6Tud5NnDO0XurAIc1M="; }; + postPatch = '' + sed -i "/coherent\.licensed/d" pyproject.toml + ''; + build-system = [ setuptools setuptools-scm diff --git a/pkgs/development/python-modules/jaraco-itertools/default.nix b/pkgs/development/python-modules/jaraco-itertools/default.nix index 07c1cd338518..971dbd9aba1c 100644 --- a/pkgs/development/python-modules/jaraco-itertools/default.nix +++ b/pkgs/development/python-modules/jaraco-itertools/default.nix @@ -1,41 +1,40 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, setuptools-scm, inflect, more-itertools, - six, - pytest, + pytestCheckHook, }: buildPythonPackage rec { pname = "jaraco-itertools"; - version = "6.4.1"; - format = "pyproject"; + version = "6.4.3"; + pyproject = true; - src = fetchPypi { - pname = "jaraco.itertools"; - inherit version; - hash = "sha256-MU/OVi67RepIIqmLvXsi5f6sfVEY28Gk8ess0Ea/+kc="; + src = fetchFromGitHub { + owner = "jaraco"; + repo = "jaraco.itertools"; + tag = "v${version}"; + hash = "sha256-LjWkyY9I8BBYpFm8TT3kq4vk63pNQrnZ15haJCQ5xlk="; }; pythonNamespaces = [ "jaraco" ]; - nativeBuildInputs = [ setuptools-scm ]; + build-system = [ setuptools-scm ]; - propagatedBuildInputs = [ + postPatch = '' + # downloads license texts at build time + sed -i "/coherent\.licensed/d" pyproject.toml + ''; + + dependencies = [ inflect more-itertools - six ]; - nativeCheckInputs = [ pytest ]; - # tests no longer available through pypi - doCheck = false; - checkPhase = '' - pytest - ''; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "jaraco.itertools" ]; diff --git a/pkgs/development/python-modules/jaraco-logging/default.nix b/pkgs/development/python-modules/jaraco-logging/default.nix index 3368ac4ae19e..44e8ad050bcf 100644 --- a/pkgs/development/python-modules/jaraco-logging/default.nix +++ b/pkgs/development/python-modules/jaraco-logging/default.nix @@ -10,17 +10,21 @@ buildPythonPackage rec { pname = "jaraco-logging"; - version = "3.3.0"; + version = "3.4.0"; format = "pyproject"; disabled = pythonOlder "3.8"; src = fetchPypi { - pname = "jaraco.logging"; + pname = "jaraco_logging"; inherit version; - hash = "sha256-9KfPusuGqDTCiGwBo7UrxM3icowdlxfEnU3OHWJI8Hs="; + hash = "sha256-59bcg2hHfOaesdbthR2AWJahypQs4/0Xc1gDEbC3dfs="; }; + postPatch = '' + sed -i "/coherent\.licensed/d" pyproject.toml + ''; + pythonNamespaces = [ "jaraco" ]; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/jiwer/default.nix b/pkgs/development/python-modules/jiwer/default.nix index 5f0ab0b1b73d..86891d10edcb 100644 --- a/pkgs/development/python-modules/jiwer/default.nix +++ b/pkgs/development/python-modules/jiwer/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "jiwer"; - version = "3.04"; + version = "4.0.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "jitsi"; repo = "jiwer"; tag = "v${version}"; - hash = "sha256-2LzAOgABK00Pz3v5WWYUAcZOYcTbRKfgw7U5DOohB/Q="; + hash = "sha256-iyFcxZGYMeQXSZBHJg7kBWyOciZyEV7gSzSy4SvBGzw="; }; build-system = [ @@ -39,7 +39,7 @@ buildPythonPackage rec { description = "Simple and fast python package to evaluate an automatic speech recognition system"; mainProgram = "jiwer"; homepage = "https://github.com/jitsi/jiwer"; - changelog = "https://github.com/jitsi/jiwer/releases/tag/v${version}"; + changelog = "https://github.com/jitsi/jiwer/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ GaetanLepage ]; }; diff --git a/pkgs/development/python-modules/joblib/default.nix b/pkgs/development/python-modules/joblib/default.nix index ac35a717420d..4959b53e2283 100644 --- a/pkgs/development/python-modules/joblib/default.nix +++ b/pkgs/development/python-modules/joblib/default.nix @@ -21,14 +21,14 @@ buildPythonPackage rec { pname = "joblib"; - version = "1.5.0"; + version = "1.5.1"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-2HV/lVOJo916IxUuQ7wpfC4MLTBgBW2tD+78iKBpObU="; + hash = "sha256-9PhuNR85/j0NMqnyw9ivHuTOwoWq/LJwA92lIFV2tEQ="; }; nativeBuildInputs = [ setuptools ]; diff --git a/pkgs/development/python-modules/josepy/default.nix b/pkgs/development/python-modules/josepy/default.nix index 7358a9375e00..15f1282b8bf0 100644 --- a/pkgs/development/python-modules/josepy/default.nix +++ b/pkgs/development/python-modules/josepy/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "josepy"; - version = "2.0.0"; + version = "2.1.0"; pyproject = true; src = fetchFromGitHub { owner = "certbot"; repo = "josepy"; tag = "v${version}"; - hash = "sha256-9hY3A+XSoVrRLds4tNV+5HWkmMwcS9UtehrKoj0OIEw="; + hash = "sha256-gXXsipvlxLs/dc0rjnaKlR4lySDfDfpo0tcSVrOz9P4="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/joserfc/default.nix b/pkgs/development/python-modules/joserfc/default.nix index 9823612e5371..5cbe913821b5 100644 --- a/pkgs/development/python-modules/joserfc/default.nix +++ b/pkgs/development/python-modules/joserfc/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "joserfc"; - version = "1.1.0"; + version = "1.2.2"; pyproject = true; src = fetchFromGitHub { owner = "authlib"; repo = "joserfc"; tag = version; - hash = "sha256-95xtUzzIxxvDtpHX/5uCHnTQTB8Fc08DZGUOR/SdKLs="; + hash = "sha256-GS1UvhOdeuyGaF/jS0zgdYkRxz6M8w4lFXcbtIPqQcY="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/jsonfield/default.nix b/pkgs/development/python-modules/jsonfield/default.nix index bf7e67eb6207..b6139135a560 100644 --- a/pkgs/development/python-modules/jsonfield/default.nix +++ b/pkgs/development/python-modules/jsonfield/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "jsonfield"; - version = "3.1.0"; + version = "3.2.0"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "0yl828cd0m8jsyr4di6hcjdqmi31ijh5vk57mbpfl7p2gmcq8kky"; + sha256 = "sha256-ylOHG8MwiuT0zdw7T5ntXG/Gq7GDL7+0mbxtpWbHDko="; }; nativeCheckInputs = [ diff --git a/pkgs/development/python-modules/jsonpickle/default.nix b/pkgs/development/python-modules/jsonpickle/default.nix index d8da4abe884d..c67eb0b78f00 100644 --- a/pkgs/development/python-modules/jsonpickle/default.nix +++ b/pkgs/development/python-modules/jsonpickle/default.nix @@ -15,12 +15,12 @@ buildPythonPackage rec { pname = "jsonpickle"; - version = "4.0.5"; + version = "4.1.1"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-8pmBizk2fDYbPya9uoJ9QkmrXTg82TFE0PlLVBeqyzU="; + hash = "sha256-+G4Y8T4rlsHB7t4Le5AJW7th2Z/twUgTxE3C82HbuuE="; }; build-system = [ diff --git a/pkgs/development/python-modules/jsonrpc-websocket/default.nix b/pkgs/development/python-modules/jsonrpc-websocket/default.nix index 8047a7a7ebec..8fd8391120a6 100644 --- a/pkgs/development/python-modules/jsonrpc-websocket/default.nix +++ b/pkgs/development/python-modules/jsonrpc-websocket/default.nix @@ -5,7 +5,7 @@ buildPythonPackage, fetchFromGitHub, jsonrpc-base, - pytest-asyncio, + pytest-asyncio_0, pytestCheckHook, pythonOlder, setuptools, @@ -34,7 +34,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - pytest-asyncio + pytest-asyncio_0 pytestCheckHook ]; diff --git a/pkgs/development/python-modules/jsonschema/default.nix b/pkgs/development/python-modules/jsonschema/default.nix index 0407a46ba198..9eb7cdf30e5c 100644 --- a/pkgs/development/python-modules/jsonschema/default.nix +++ b/pkgs/development/python-modules/jsonschema/default.nix @@ -6,12 +6,10 @@ hatch-fancy-pypi-readme, hatch-vcs, hatchling, - importlib-resources, + jsonpath-ng, jsonschema-specifications, - pkgutil-resolve-name, pip, pytestCheckHook, - pythonOlder, referencing, rpds-py, @@ -23,20 +21,19 @@ rfc3339-validator, rfc3986-validator, rfc3987, + rfc3987-syntax, uri-template, webcolors, }: buildPythonPackage rec { pname = "jsonschema"; - version = "4.23.0"; + version = "4.25.0"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchPypi { inherit pname version; - hash = "sha256-1xSX/vJjUaMyZTN/p3/+uCQj8+ohKDzZRnuwOZkma8Q="; + hash = "sha256-5jrPXBF2LA5mcv+2FIK99X8IdmhNjSScD+LXMNSLxV8="; }; postPatch = '' @@ -51,13 +48,10 @@ buildPythonPackage rec { dependencies = [ attrs + jsonpath-ng jsonschema-specifications referencing rpds-py - ] - ++ lib.optionals (pythonOlder "3.9") [ - importlib-resources - pkgutil-resolve-name ]; optional-dependencies = { @@ -78,6 +72,7 @@ buildPythonPackage rec { jsonpointer rfc3339-validator rfc3986-validator + rfc3987-syntax uri-template webcolors ]; diff --git a/pkgs/development/python-modules/jug/default.nix b/pkgs/development/python-modules/jug/default.nix index ed62d6306221..311ace4bcdc8 100644 --- a/pkgs/development/python-modules/jug/default.nix +++ b/pkgs/development/python-modules/jug/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "jug"; - version = "2.3.1"; + version = "2.4.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "Jug"; inherit version; - hash = "sha256-Y2TWqJi7GjmWUFpe1b150NgwRw9VKhCk5EoN5NDcPXU="; + hash = "sha256-B6We+9bW0dfT5DUsxU212e7ueyRc8GgBVPVnIek8ckU="; }; propagatedBuildInputs = [ bottle ]; diff --git a/pkgs/development/python-modules/jupyter-lsp/default.nix b/pkgs/development/python-modules/jupyter-lsp/default.nix index 54ce115af8df..d2c97fb65985 100644 --- a/pkgs/development/python-modules/jupyter-lsp/default.nix +++ b/pkgs/development/python-modules/jupyter-lsp/default.nix @@ -8,12 +8,13 @@ buildPythonPackage rec { pname = "jupyter-lsp"; - version = "2.2.5"; + version = "2.2.6"; pyproject = true; src = fetchPypi { - inherit pname version; - hash = "sha256-eTFHoFrURvgJ/VPvHNGan1JW/Qota3zpQ6mCy09UUAE="; + pname = "jupyter_lsp"; + inherit version; + hash = "sha256-BWa9m7BP2eZ3SpN+0BUitVW6eL43vr73h8irIt5MA2E="; }; nativeBuildInputs = [ setuptools ]; diff --git a/pkgs/development/python-modules/jupyter-repo2docker/default.nix b/pkgs/development/python-modules/jupyter-repo2docker/default.nix index e88befd0acd1..bcf31bfb43af 100644 --- a/pkgs/development/python-modules/jupyter-repo2docker/default.nix +++ b/pkgs/development/python-modules/jupyter-repo2docker/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "jupyter-repo2docker"; - version = "2024.07.0"; + version = "2025.08.0"; pyproject = true; disabled = pythonOlder "3.6"; @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "jupyterhub"; repo = "repo2docker"; tag = version; - hash = "sha256-ZzZBuJBPDG4to1fSYn2xysupXbPS9Q6wqWr3Iq/Vds8="; + hash = "sha256-vqLZbqshEl3xC5hcE4OkWfZpPSlSfv70oygEYPFqyFE="; }; nativeBuildInputs = [ setuptools ]; @@ -64,7 +64,7 @@ buildPythonPackage rec { meta = with lib; { description = "Turn code repositories into Jupyter enabled Docker Images"; homepage = "https://repo2docker.readthedocs.io/"; - changelog = "https://github.com/jupyterhub/repo2docker/blob/${src.rev}/docs/source/changelog.md"; + changelog = "https://github.com/jupyterhub/repo2docker/blob/${src.tag}/docs/source/changelog.md"; license = licenses.bsd3; maintainers = [ ]; }; diff --git a/pkgs/development/python-modules/jupyterlab/default.nix b/pkgs/development/python-modules/jupyterlab/default.nix index 1be0da1b95ea..5a95b9481025 100644 --- a/pkgs/development/python-modules/jupyterlab/default.nix +++ b/pkgs/development/python-modules/jupyterlab/default.nix @@ -26,14 +26,14 @@ buildPythonPackage rec { pname = "jupyterlab"; - version = "4.4.3"; + version = "4.4.5"; pyproject = true; src = fetchFromGitHub { owner = "jupyterlab"; repo = "jupyterlab"; tag = "v${version}"; - hash = "sha256-ZenPoUnUlNLiOVI6tkF/Lq6l3tMA8WXKg9ENwOgS720="; + hash = "sha256-Joc8gtUJS8J2SLJqBV3f4bzmOje1grdgIMUkcwl9K44="; }; nativeBuildInputs = [ @@ -48,7 +48,7 @@ buildPythonPackage rec { offlineCache = yarn-berry_3.fetchYarnBerryDeps { inherit src; sourceRoot = "${src.name}/jupyterlab/staging"; - hash = "sha256-qW0SiISQhwVPk0wwnEtxB4fJMyVS3wzp/4pS8bPleM4="; + hash = "sha256-EwR1gVrEy7QV8DnJBPx1AlbWY10FFngpLXdAIKn1HI0="; }; preBuild = '' diff --git a/pkgs/development/python-modules/kajiki/default.nix b/pkgs/development/python-modules/kajiki/default.nix index 1632d83f1af9..e801f49aca4a 100644 --- a/pkgs/development/python-modules/kajiki/default.nix +++ b/pkgs/development/python-modules/kajiki/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "kajiki"; - version = "0.9.2"; + version = "1.0.1"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "jackrosenthal"; repo = "kajiki"; tag = "v${version}"; - hash = "sha256-EbXe4Jh2IKAYw9GE0kFgKVv9c9uAOiFFYaMF8CGaOfg="; + hash = "sha256-5qsRxKeWCndi2r1HaIX/bm92oOWU4J4eM9aud6ai8ZQ="; }; propagatedBuildInputs = [ linetable ]; @@ -35,7 +35,7 @@ buildPythonPackage rec { description = "Module provides fast well-formed XML templates"; mainProgram = "kajiki"; homepage = "https://github.com/nandoflorestan/kajiki"; - changelog = "https://github.com/jackrosenthal/kajiki/releases/tag/v${version}"; + changelog = "https://github.com/jackrosenthal/kajiki/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ onny ]; }; diff --git a/pkgs/development/python-modules/karton-core/default.nix b/pkgs/development/python-modules/karton-core/default.nix index 57b51af427f6..dd9293b0f273 100644 --- a/pkgs/development/python-modules/karton-core/default.nix +++ b/pkgs/development/python-modules/karton-core/default.nix @@ -26,7 +26,10 @@ buildPythonPackage rec { build-system = [ setuptools ]; - pythonRelaxDeps = [ "boto3" ]; + pythonRelaxDeps = [ + "aioboto3" + "boto3" + ]; dependencies = [ aioboto3 diff --git a/pkgs/development/python-modules/kernels/default.nix b/pkgs/development/python-modules/kernels/default.nix index 4f97afd113e0..47e087b90b3f 100644 --- a/pkgs/development/python-modules/kernels/default.nix +++ b/pkgs/development/python-modules/kernels/default.nix @@ -7,14 +7,14 @@ }: buildPythonPackage rec { pname = "kernels"; - version = "0.7.0"; + version = "0.9.0"; pyproject = true; src = fetchFromGitHub { owner = "huggingface"; repo = "kernels"; tag = "v${version}"; - hash = "sha256-IbOadtnuRgN54Sg+mFULkkqi6LVlW+ohBgtemz/Pxxc="; + hash = "sha256-lREccuvahjNV44reYNF8fkJ2o4fMZRB9Ddr9r4HmT2k="; }; build-system = [ diff --git a/pkgs/development/python-modules/kestra/default.nix b/pkgs/development/python-modules/kestra/default.nix index 31653a931a3c..c6039c8a121c 100644 --- a/pkgs/development/python-modules/kestra/default.nix +++ b/pkgs/development/python-modules/kestra/default.nix @@ -9,14 +9,14 @@ }: buildPythonPackage rec { pname = "kestra"; - version = "0.21.0"; + version = "0.23.0"; pyproject = true; src = fetchFromGitHub { owner = "kestra-io"; repo = "libs"; tag = "v${version}"; - hash = "sha256-WaAw/PKoHPjbNrpCV6CuqUIb2Ysv4rHYFJbgGyU6li0="; + hash = "sha256-WtwvOSgAcN+ly0CnkL0Y7lrO4UhSSiXmoAyGXP/hFtE="; }; sourceRoot = "${src.name}/python"; diff --git a/pkgs/development/python-modules/kfactory/default.nix b/pkgs/development/python-modules/kfactory/default.nix index 2f661515e329..a164a03d5ccb 100644 --- a/pkgs/development/python-modules/kfactory/default.nix +++ b/pkgs/development/python-modules/kfactory/default.nix @@ -31,14 +31,14 @@ buildPythonPackage rec { pname = "kfactory"; - version = "1.4.4"; + version = "1.12.1"; pyproject = true; src = fetchFromGitHub { owner = "gdsfactory"; repo = "kfactory"; tag = "v${version}"; - hash = "sha256-/dhlAcrqQP/YeKGhnBAVMEy80X3yShn65ywoZMRU/ZM="; + hash = "sha256-C7ner1jkMCHI8/sRiw82l+THhAIWhwJuZ/ctJ9V76Us="; }; build-system = [ @@ -77,7 +77,7 @@ buildPythonPackage rec { meta = { description = "KLayout API implementation of gdsfactory"; homepage = "https://github.com/gdsfactory/kfactory"; - changelog = "https://github.com/gdsfactory/kfactory/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/gdsfactory/kfactory/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fbeffa ]; }; diff --git a/pkgs/development/python-modules/kiss-headers/default.nix b/pkgs/development/python-modules/kiss-headers/default.nix index 3bc40680fb7e..79011b9660bf 100644 --- a/pkgs/development/python-modules/kiss-headers/default.nix +++ b/pkgs/development/python-modules/kiss-headers/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "kiss-headers"; - version = "2.4.3"; + version = "2.5.0"; pyproject = true; src = fetchFromGitHub { owner = "Ousret"; repo = "kiss-headers"; tag = version; - hash = "sha256-WeAzlC1yT+0nPSuB278z8T0XvPjbre051f/Rva5ujAk="; + hash = "sha256-h0e7kFbn6qxIeSG85qetBg6IeSi/2YAaZLGS0+JH2g8="; }; nativeBuildInputs = [ hatchling ]; diff --git a/pkgs/development/python-modules/kornia/default.nix b/pkgs/development/python-modules/kornia/default.nix index 943bcf4931ac..0ea0b2eaf1b7 100644 --- a/pkgs/development/python-modules/kornia/default.nix +++ b/pkgs/development/python-modules/kornia/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "kornia"; - version = "0.8.0"; + version = "0.8.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "kornia"; repo = "kornia"; tag = "v${version}"; - hash = "sha256-pMCGL33DTnMLlxRbhBhRuR/ZA575+kbUJ59N3nuqpdI="; + hash = "sha256-LT+F/tskySvSmaBufIaQhI4+wK5DZBNanQbnYj4ywGo="; }; build-system = [ setuptools ]; @@ -52,7 +52,7 @@ buildPythonPackage rec { meta = { homepage = "https://kornia.readthedocs.io"; - changelog = "https://github.com/kornia/kornia/releases/tag/v${version}"; + changelog = "https://github.com/kornia/kornia/releases/tag/${src.tag}"; description = "Differentiable computer vision library"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ bcdarwin ]; diff --git a/pkgs/development/python-modules/kubernetes/default.nix b/pkgs/development/python-modules/kubernetes/default.nix index de99487b2503..7861d5e2ff1b 100644 --- a/pkgs/development/python-modules/kubernetes/default.nix +++ b/pkgs/development/python-modules/kubernetes/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { pname = "kubernetes"; - version = "32.0.1"; + version = "33.1.0"; pyproject = true; disabled = pythonOlder "3.6"; @@ -31,7 +31,7 @@ buildPythonPackage rec { owner = "kubernetes-client"; repo = "python"; tag = "v${version}"; - hash = "sha256-pQuo2oLWMmq4dHTqJYL+Z1xg3ZoYp9ZzLDT7jWIsglo="; + hash = "sha256-+jL0XS7Y8qOqzZ5DcG/hZFUpj7krJAaA4fgPNSEgIAE="; }; build-system = [ diff --git a/pkgs/development/python-modules/labelbox/default.nix b/pkgs/development/python-modules/labelbox/default.nix index 50ba167f6f47..2c9d723afd2c 100644 --- a/pkgs/development/python-modules/labelbox/default.nix +++ b/pkgs/development/python-modules/labelbox/default.nix @@ -29,14 +29,14 @@ }: let - version = "6.10.0"; + version = "7.1.1"; pyproject = true; src = fetchFromGitHub { owner = "Labelbox"; repo = "labelbox-python"; - tag = "v.${version}"; - hash = "sha256-EstHsY9yFeUhQAx3pgvKk/o3EMkr3JeHDDg/p6meDIE="; + tag = "v${version}"; + hash = "sha256-zlcyvouvemHhbD1UcYbbbkmCkTVwarSTF9mCi0I/ZzY="; }; lbox-clients = buildPythonPackage { diff --git a/pkgs/development/python-modules/labgrid/default.nix b/pkgs/development/python-modules/labgrid/default.nix index f0e6b5b61a9e..a73a98615485 100644 --- a/pkgs/development/python-modules/labgrid/default.nix +++ b/pkgs/development/python-modules/labgrid/default.nix @@ -29,14 +29,14 @@ buildPythonPackage rec { pname = "labgrid"; - version = "25.0"; + version = "25.0.1"; pyproject = true; src = fetchFromGitHub { owner = "labgrid-project"; repo = "labgrid"; tag = "v${version}"; - hash = "sha256-Czq8Wx8ThKLcR8GjdlRND+Y1nY1PTl6wDkz9ml83DBk="; + hash = "sha256-cLofkkp2T6Y9nQ5LIS7w9URZlt8DQNN8dm3NnrvcKWY="; }; # Remove after package bump diff --git a/pkgs/development/python-modules/lacuscore/default.nix b/pkgs/development/python-modules/lacuscore/default.nix index 573090fad011..3d29e1bdfe01 100644 --- a/pkgs/development/python-modules/lacuscore/default.nix +++ b/pkgs/development/python-modules/lacuscore/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "lacuscore"; - version = "1.14.0"; + version = "1.16.6"; pyproject = true; disabled = pythonOlder "3.9"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "ail-project"; repo = "LacusCore"; tag = "v${version}"; - hash = "sha256-szcvg4jfJ84kHYWjPBwecfvfsc258SS0OIuYle1lC1g="; + hash = "sha256-LcqGJU+wMKTF1E4asysQPcfURqmgc4WQompPpHEgjb8="; }; pythonRelaxDeps = [ @@ -60,7 +60,7 @@ buildPythonPackage rec { meta = with lib; { description = "Modulable part of Lacus"; homepage = "https://github.com/ail-project/LacusCore"; - changelog = "https://github.com/ail-project/LacusCore/releases/tag/v${version}"; + changelog = "https://github.com/ail-project/LacusCore/releases/tag/${src.tag}"; license = licenses.bsd3; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/langchain-anthropic/default.nix b/pkgs/development/python-modules/langchain-anthropic/default.nix index 56bffb3d8dcb..5de2eacc5a5f 100644 --- a/pkgs/development/python-modules/langchain-anthropic/default.nix +++ b/pkgs/development/python-modules/langchain-anthropic/default.nix @@ -22,14 +22,14 @@ buildPythonPackage rec { pname = "langchain-anthropic"; - version = "0.3.17"; + version = "0.3.72"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - tag = "langchain-anthropic==${version}"; - hash = "sha256-oUT4Mu/vG+bVF6zLQX2RbVUglJ6VMyBt8XtCBSlBlpU="; + tag = "langchain-core==${version}"; + hash = "sha256-Q2uGMiODUtwkPdOyuSqp8vqjlLjiXk75QjXp7rr20tc="; }; sourceRoot = "${src.name}/libs/partners/anthropic"; diff --git a/pkgs/development/python-modules/langchain-azure-dynamic-sessions/default.nix b/pkgs/development/python-modules/langchain-azure-dynamic-sessions/default.nix index a278a133bba1..f404c0562d97 100644 --- a/pkgs/development/python-modules/langchain-azure-dynamic-sessions/default.nix +++ b/pkgs/development/python-modules/langchain-azure-dynamic-sessions/default.nix @@ -30,14 +30,14 @@ buildPythonPackage rec { pname = "langchain-azure-dynamic-sessions"; - version = "0.2.0"; + version = "0.3.72"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - tag = "langchain-azure-dynamic-sessions==${version}"; - hash = "sha256-ACR+JzKcnYXROGOQe6DlZeqcYd40KlesgXSUOybOT20="; + tag = "langchain-core==${version}"; + hash = "sha256-Q2uGMiODUtwkPdOyuSqp8vqjlLjiXk75QjXp7rr20tc="; }; sourceRoot = "${src.name}/libs/partners/azure-dynamic-sessions"; diff --git a/pkgs/development/python-modules/langchain-chroma/default.nix b/pkgs/development/python-modules/langchain-chroma/default.nix index 7b0c8ed4ca24..9c670e44b09e 100644 --- a/pkgs/development/python-modules/langchain-chroma/default.nix +++ b/pkgs/development/python-modules/langchain-chroma/default.nix @@ -22,14 +22,14 @@ buildPythonPackage rec { pname = "langchain-chroma"; - version = "0.2.4"; + version = "0.3.72"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - tag = "langchain-chroma==${version}"; - hash = "sha256-w4xvPPLYkPiQA34bimVHLe+vghMI9Pq36CHoE/EMnr8="; + tag = "langchain-core==${version}"; + hash = "sha256-Q2uGMiODUtwkPdOyuSqp8vqjlLjiXk75QjXp7rr20tc="; }; sourceRoot = "${src.name}/libs/partners/chroma"; diff --git a/pkgs/development/python-modules/langchain-deepseek/default.nix b/pkgs/development/python-modules/langchain-deepseek/default.nix index 9830a391d323..f26769315352 100644 --- a/pkgs/development/python-modules/langchain-deepseek/default.nix +++ b/pkgs/development/python-modules/langchain-deepseek/default.nix @@ -22,14 +22,14 @@ buildPythonPackage rec { pname = "langchain-deepseek"; - version = "0.1.4"; + version = "0.3.72"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - tag = "langchain-deepseek==${version}"; - hash = "sha256-lIlThVpyZF5osiCyYMO8kQUNtG5eUjXGZLdgRraj4Yc="; + tag = "langchain-core==${version}"; + hash = "sha256-Q2uGMiODUtwkPdOyuSqp8vqjlLjiXk75QjXp7rr20tc="; }; sourceRoot = "${src.name}/libs/partners/deepseek"; diff --git a/pkgs/development/python-modules/langchain-fireworks/default.nix b/pkgs/development/python-modules/langchain-fireworks/default.nix index 460c842ebebd..48a221a7766c 100644 --- a/pkgs/development/python-modules/langchain-fireworks/default.nix +++ b/pkgs/development/python-modules/langchain-fireworks/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "langchain-fireworks"; - version = "0.3.0"; + version = "0.3.72"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - tag = "langchain-fireworks==${version}"; - hash = "sha256-OZou323FAk2I4YuQV7sllbzDwFQWy/90FK3gIHnEBd0="; + tag = "langchain-core==${version}"; + hash = "sha256-Q2uGMiODUtwkPdOyuSqp8vqjlLjiXk75QjXp7rr20tc="; }; sourceRoot = "${src.name}/libs/partners/fireworks"; diff --git a/pkgs/development/python-modules/langchain-google-genai/default.nix b/pkgs/development/python-modules/langchain-google-genai/default.nix index c1b2989e55e5..9ebf4abbc76d 100644 --- a/pkgs/development/python-modules/langchain-google-genai/default.nix +++ b/pkgs/development/python-modules/langchain-google-genai/default.nix @@ -29,14 +29,14 @@ buildPythonPackage rec { pname = "langchain-google-genai"; - version = "2.1.8"; + version = "2.1.9"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain-google"; tag = "libs/genai/v${version}"; - hash = "sha256-ObeQuxBEiJhR2AgkFeIZ1oe2GxhhQywRA8eCALOwkT8="; + hash = "sha256-9jXiX4WDx5YY39MytuzAWGuDzLkGmtq95ShAIW3zH0U="; }; sourceRoot = "${src.name}/libs/genai"; diff --git a/pkgs/development/python-modules/langchain-groq/default.nix b/pkgs/development/python-modules/langchain-groq/default.nix index 58d01224f502..0acb97a7dc43 100644 --- a/pkgs/development/python-modules/langchain-groq/default.nix +++ b/pkgs/development/python-modules/langchain-groq/default.nix @@ -20,14 +20,14 @@ buildPythonPackage rec { pname = "langchain-groq"; - version = "0.3.6"; + version = "0.3.72"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - tag = "langchain-groq==${version}"; - hash = "sha256-f0s8fBT1+uZbatWSPehKfrGYGotBFeNixCiGaAc753o="; + tag = "langchain-core==${version}"; + hash = "sha256-Q2uGMiODUtwkPdOyuSqp8vqjlLjiXk75QjXp7rr20tc="; }; sourceRoot = "${src.name}/libs/partners/groq"; diff --git a/pkgs/development/python-modules/langchain-huggingface/default.nix b/pkgs/development/python-modules/langchain-huggingface/default.nix index 0d267785c342..e95295bff6c2 100644 --- a/pkgs/development/python-modules/langchain-huggingface/default.nix +++ b/pkgs/development/python-modules/langchain-huggingface/default.nix @@ -33,14 +33,14 @@ buildPythonPackage rec { pname = "langchain-huggingface"; - version = "0.3.0"; + version = "0.3.72"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - tag = "langchain-huggingface==${version}"; - hash = "sha256-+7fxCw4YYyfXwXw30lf1Xb01aj01C6X0B5yUrNPQzNY="; + tag = "langchain-core==${version}"; + hash = "sha256-Q2uGMiODUtwkPdOyuSqp8vqjlLjiXk75QjXp7rr20tc="; }; sourceRoot = "${src.name}/libs/partners/huggingface"; diff --git a/pkgs/development/python-modules/langchain-mistralai/default.nix b/pkgs/development/python-modules/langchain-mistralai/default.nix index 69ca22771391..e7e45057e77c 100644 --- a/pkgs/development/python-modules/langchain-mistralai/default.nix +++ b/pkgs/development/python-modules/langchain-mistralai/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "langchain-mistralai"; - version = "0.2.11"; + version = "0.3.72"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - tag = "langchain-mistralai==${version}"; - hash = "sha256-14mYvW7j2hxAFZanRhuuo1seX6E4+tAuEPExDbdwHKg="; + tag = "langchain-core==${version}"; + hash = "sha256-Q2uGMiODUtwkPdOyuSqp8vqjlLjiXk75QjXp7rr20tc="; }; sourceRoot = "${src.name}/libs/partners/mistralai"; diff --git a/pkgs/development/python-modules/langchain-mongodb/default.nix b/pkgs/development/python-modules/langchain-mongodb/default.nix index 978bfffbc6ed..212efde0e232 100644 --- a/pkgs/development/python-modules/langchain-mongodb/default.nix +++ b/pkgs/development/python-modules/langchain-mongodb/default.nix @@ -25,14 +25,14 @@ buildPythonPackage rec { pname = "langchain-mongodb"; - version = "0.2.0"; + version = "0.3.72"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - tag = "langchain-mongodb==${version}"; - hash = "sha256-Jd9toXkS9dGtSIrJQ/5W+swV1z2BJOJKBtkyGzj3oSc="; + tag = "langchain-core==${version}"; + hash = "sha256-Q2uGMiODUtwkPdOyuSqp8vqjlLjiXk75QjXp7rr20tc="; }; sourceRoot = "${src.name}/libs/partners/mongodb"; diff --git a/pkgs/development/python-modules/langchain-ollama/default.nix b/pkgs/development/python-modules/langchain-ollama/default.nix index 75a6c8f8e55d..d76f1cef40c4 100644 --- a/pkgs/development/python-modules/langchain-ollama/default.nix +++ b/pkgs/development/python-modules/langchain-ollama/default.nix @@ -22,14 +22,14 @@ buildPythonPackage rec { pname = "langchain-ollama"; - version = "0.3.6"; + version = "0.3.72"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - tag = "langchain-ollama==${version}"; - hash = "sha256-GQkyJaYvwRbjDR0Rfen7/X5hFhY2+WU74B6/9Ufhpo4="; + tag = "langchain-core==${version}"; + hash = "sha256-Q2uGMiODUtwkPdOyuSqp8vqjlLjiXk75QjXp7rr20tc="; }; sourceRoot = "${src.name}/libs/partners/ollama"; diff --git a/pkgs/development/python-modules/langchain-openai/default.nix b/pkgs/development/python-modules/langchain-openai/default.nix index fa62fad8522c..142098443e91 100644 --- a/pkgs/development/python-modules/langchain-openai/default.nix +++ b/pkgs/development/python-modules/langchain-openai/default.nix @@ -32,14 +32,14 @@ buildPythonPackage rec { pname = "langchain-openai"; - version = "0.3.28"; + version = "0.3.72"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - tag = "langchain-openai==${version}"; - hash = "sha256-HpAdCHxmfGJcqXArvtlYagNuEBGBjrbICIwh9nI0qMQ="; + tag = "langchain-core==${version}"; + hash = "sha256-Q2uGMiODUtwkPdOyuSqp8vqjlLjiXk75QjXp7rr20tc="; }; sourceRoot = "${src.name}/libs/partners/openai"; diff --git a/pkgs/development/python-modules/langchain-perplexity/default.nix b/pkgs/development/python-modules/langchain-perplexity/default.nix index 0afbb0d521a4..79f6078643a5 100644 --- a/pkgs/development/python-modules/langchain-perplexity/default.nix +++ b/pkgs/development/python-modules/langchain-perplexity/default.nix @@ -23,14 +23,14 @@ buildPythonPackage rec { pname = "langchain-perplexity"; - version = "0.1.2"; + version = "0.3.72"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - tag = "langchain-perplexity==${version}"; - hash = "sha256-4KYLyhGbG8Y8cDGffE4/8OM61eAKRFTgxKDKMTQExic="; + tag = "langchain-core==${version}"; + hash = "sha256-Q2uGMiODUtwkPdOyuSqp8vqjlLjiXk75QjXp7rr20tc="; }; sourceRoot = "${src.name}/libs/partners/perplexity"; diff --git a/pkgs/development/python-modules/langchain-tests/default.nix b/pkgs/development/python-modules/langchain-tests/default.nix index 495d77229666..42afbb15a0cc 100644 --- a/pkgs/development/python-modules/langchain-tests/default.nix +++ b/pkgs/development/python-modules/langchain-tests/default.nix @@ -20,7 +20,7 @@ # tests numpy, - pytest-asyncio, + pytest-asyncio_0, pytest-socket, pytestCheckHook, @@ -30,14 +30,14 @@ buildPythonPackage rec { pname = "langchain-tests"; - version = "0.3.20"; + version = "0.3.72"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - tag = "langchain-tests==${version}"; - hash = "sha256-RMuxWA/n8d71FReFKO3Y/5P0MYk4aZ5WU2/TRxf9UuE="; + tag = "langchain-core==${version}"; + hash = "sha256-Q2uGMiODUtwkPdOyuSqp8vqjlLjiXk75QjXp7rr20tc="; }; sourceRoot = "${src.name}/libs/standard-tests"; @@ -54,7 +54,7 @@ buildPythonPackage rec { dependencies = [ httpx langchain-core - pytest-asyncio + pytest-asyncio_0 pytest-benchmark pytest-codspeed pytest-recording diff --git a/pkgs/development/python-modules/langchain-text-splitters/default.nix b/pkgs/development/python-modules/langchain-text-splitters/default.nix index 73398f9cf85b..53ddcc2ae78c 100644 --- a/pkgs/development/python-modules/langchain-text-splitters/default.nix +++ b/pkgs/development/python-modules/langchain-text-splitters/default.nix @@ -20,14 +20,14 @@ buildPythonPackage rec { pname = "langchain-text-splitters"; - version = "0.3.9"; + version = "0.3.72"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - tag = "langchain-text-splitters==${version}"; - hash = "sha256-dMGvGZyux38Svl0OYgiAoYLdAf0lv27lzXgHFTBp3cs="; + tag = "langchain-core==${version}"; + hash = "sha256-Q2uGMiODUtwkPdOyuSqp8vqjlLjiXk75QjXp7rr20tc="; }; sourceRoot = "${src.name}/libs/text-splitters"; diff --git a/pkgs/development/python-modules/langchain-xai/default.nix b/pkgs/development/python-modules/langchain-xai/default.nix index 655813d52e14..9d61f9437079 100644 --- a/pkgs/development/python-modules/langchain-xai/default.nix +++ b/pkgs/development/python-modules/langchain-xai/default.nix @@ -25,14 +25,14 @@ buildPythonPackage rec { pname = "langchain-xai"; - version = "0.2.5"; + version = "0.3.72"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - tag = "langchain-xai==${version}"; - hash = "sha256-nae7KwCKjkvenOO8vErxFQStHolc+N8EUuK6U8r48Kc="; + tag = "langchain-core==${version}"; + hash = "sha256-Q2uGMiODUtwkPdOyuSqp8vqjlLjiXk75QjXp7rr20tc="; }; sourceRoot = "${src.name}/libs/partners/xai"; diff --git a/pkgs/development/python-modules/langchain/default.nix b/pkgs/development/python-modules/langchain/default.nix index 39b81c33af58..96754ea94d52 100644 --- a/pkgs/development/python-modules/langchain/default.nix +++ b/pkgs/development/python-modules/langchain/default.nix @@ -44,14 +44,14 @@ buildPythonPackage rec { pname = "langchain"; - version = "0.3.27"; + version = "0.3.72"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - tag = "langchain==${version}"; - hash = "sha256-bqzJ0017Td65rhDCr2wfx+SCaJzPZTFzQpzy3RlaRj4="; + tag = "langchain-core==${version}"; + hash = "sha256-Q2uGMiODUtwkPdOyuSqp8vqjlLjiXk75QjXp7rr20tc="; }; sourceRoot = "${src.name}/libs/langchain"; diff --git a/pkgs/development/python-modules/langfuse/default.nix b/pkgs/development/python-modules/langfuse/default.nix index 11447656a919..d0331f9b16f6 100644 --- a/pkgs/development/python-modules/langfuse/default.nix +++ b/pkgs/development/python-modules/langfuse/default.nix @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "langfuse"; - version = "2.60.7"; + version = "3.2.1"; pyproject = true; src = fetchFromGitHub { owner = "langfuse"; repo = "langfuse-python"; tag = "v${version}"; - hash = "sha256-8IlqHO46Kzz+ifmIu2y5SxshNv/lpZO74b1KTE2Opk4="; + hash = "sha256-O2mu152aQnYZkPgJTf9TGrC4Ohcp89qQxxrup63yxu8="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/langgraph-checkpoint-postgres/default.nix b/pkgs/development/python-modules/langgraph-checkpoint-postgres/default.nix index 590d0ecefcdb..c1ea48e77f52 100644 --- a/pkgs/development/python-modules/langgraph-checkpoint-postgres/default.nix +++ b/pkgs/development/python-modules/langgraph-checkpoint-postgres/default.nix @@ -26,14 +26,14 @@ buildPythonPackage rec { pname = "langgraph-checkpoint-postgres"; - version = "2.0.23"; + version = "2.1.1"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langgraph"; - tag = "checkpointpostgres==${version}"; - hash = "sha256-QAzT8T3bf3R3gwI/iWDYYDz0SxgLZsP61oMk72dYz4s="; + tag = "checkpoint==${version}"; + hash = "sha256-UY3AChShKfOrtOQzOm5vi3Yy3rlBc+TAje9L2L6My/U="; }; postgresqlTestSetupPost = '' diff --git a/pkgs/development/python-modules/langgraph-cli/default.nix b/pkgs/development/python-modules/langgraph-cli/default.nix index f395d6b61d2c..312d92cf4549 100644 --- a/pkgs/development/python-modules/langgraph-cli/default.nix +++ b/pkgs/development/python-modules/langgraph-cli/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "langgraph-cli"; - version = "0.3.6"; + version = "2.1.1"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langgraph"; - tag = "cli==${version}"; - hash = "sha256-tBMdFOHSRjw0PtE19XytLU4MmjR3NBLJxUqWoG4L2F8="; + tag = "checkpoint==${version}"; + hash = "sha256-UY3AChShKfOrtOQzOm5vi3Yy3rlBc+TAje9L2L6My/U="; }; sourceRoot = "${src.name}/libs/cli"; @@ -87,7 +87,7 @@ buildPythonPackage rec { meta = { description = "Official CLI for LangGraph API"; homepage = "https://github.com/langchain-ai/langgraph/tree/main/libs/cli"; - changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${version}"; + changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${src.tag}"; mainProgram = "langgraph"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sarahec ]; diff --git a/pkgs/development/python-modules/langgraph-sdk/default.nix b/pkgs/development/python-modules/langgraph-sdk/default.nix index 0b1ce1827528..4b5515c2a5ea 100644 --- a/pkgs/development/python-modules/langgraph-sdk/default.nix +++ b/pkgs/development/python-modules/langgraph-sdk/default.nix @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "langgraph-sdk"; - version = "0.2.0"; + version = "2.1.1"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langgraph"; - tag = "sdk==${version}"; - hash = "sha256-uhVdtB/fLy0hfZKfzNV2eoO83bvKppGVl4Lm8IEscL0="; + tag = "checkpoint==${version}"; + hash = "sha256-UY3AChShKfOrtOQzOm5vi3Yy3rlBc+TAje9L2L6My/U="; }; sourceRoot = "${src.name}/libs/sdk-py"; diff --git a/pkgs/development/python-modules/langgraph/default.nix b/pkgs/development/python-modules/langgraph/default.nix index fa5efe2b2ba3..75594ca5d28c 100644 --- a/pkgs/development/python-modules/langgraph/default.nix +++ b/pkgs/development/python-modules/langgraph/default.nix @@ -38,14 +38,14 @@ }: buildPythonPackage rec { pname = "langgraph"; - version = "0.6.1"; + version = "2.1.1"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langgraph"; - tag = version; - hash = "sha256-8mubZSV1CDgYzykKaaWqn04yJldAgdGmgZDm54towWc="; + tag = "checkpoint==${version}"; + hash = "sha256-UY3AChShKfOrtOQzOm5vi3Yy3rlBc+TAje9L2L6My/U="; }; postgresqlTestSetupPost = '' diff --git a/pkgs/development/python-modules/langsmith/default.nix b/pkgs/development/python-modules/langsmith/default.nix index dfa95995f5be..333f714777ca 100644 --- a/pkgs/development/python-modules/langsmith/default.nix +++ b/pkgs/development/python-modules/langsmith/default.nix @@ -5,7 +5,7 @@ fetchFromGitHub, # build-system - poetry-core, + hatchling, # dependencies httpx, @@ -31,21 +31,21 @@ buildPythonPackage rec { pname = "langsmith"; - version = "0.4.9"; + version = "0.4.11"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langsmith-sdk"; tag = "v${version}"; - hash = "sha256-7XV85/IN1hG9hYBSg73pymIwIWYAay/18NAsV6Jz4Ik="; + hash = "sha256-bLHCkTMgnHM/m9EfzrfIY5148IpAnaCPft718b9/2jM="; }; sourceRoot = "${src.name}/python"; pythonRelaxDeps = [ "orjson" ]; - build-system = [ poetry-core ]; + build-system = [ hatchling ]; dependencies = [ httpx diff --git a/pkgs/development/python-modules/lazy-object-proxy/default.nix b/pkgs/development/python-modules/lazy-object-proxy/default.nix index 33467e6f3b1e..a3d7834f7f50 100644 --- a/pkgs/development/python-modules/lazy-object-proxy/default.nix +++ b/pkgs/development/python-modules/lazy-object-proxy/default.nix @@ -1,27 +1,24 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, pytestCheckHook, setuptools-scm, }: buildPythonPackage rec { pname = "lazy-object-proxy"; - version = "1.10.0"; - format = "setuptools"; + version = "1.11.0"; + pyproject = true; - src = fetchPypi { - inherit pname version; - hash = "sha256-eCR7bUX0OlLvNcJbVYFFnoURciVAikEoo9r4v5ZIrGk="; + src = fetchFromGitHub { + owner = "ionelmc"; + repo = "python-lazy-object-proxy"; + tag = "v${version}"; + hash = "sha256-iOftyGx5wLxIUwlmo1lY06MXqgxfZek6RR1S5UydOEs="; }; - nativeBuildInputs = [ setuptools-scm ]; - - postPatch = '' - substituteInPlace pyproject.toml --replace ",<6.0" "" - substituteInPlace setup.cfg --replace ",<6.0" "" - ''; + build-system = [ setuptools-scm ]; nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/development/python-modules/ledgerblue/default.nix b/pkgs/development/python-modules/ledgerblue/default.nix index a53dfbce8b96..95c9c6cb6474 100644 --- a/pkgs/development/python-modules/ledgerblue/default.nix +++ b/pkgs/development/python-modules/ledgerblue/default.nix @@ -23,14 +23,14 @@ buildPythonPackage rec { pname = "ledgerblue"; - version = "0.1.54"; + version = "0.1.55"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-Hn99ST6RnER6XI6+rqA3O9/aC+whYoTOzeoHGF/fFz4="; + hash = "sha256-6s2V8cXik6jEg8z3UK49qVwodPbwXMIkWk7iJ7OY0rM="; }; build-system = [ diff --git a/pkgs/development/python-modules/levenshtein/default.nix b/pkgs/development/python-modules/levenshtein/default.nix index a218eec80568..9b1b1ca28f85 100644 --- a/pkgs/development/python-modules/levenshtein/default.nix +++ b/pkgs/development/python-modules/levenshtein/default.nix @@ -23,6 +23,11 @@ buildPythonPackage rec { hash = "sha256-EFEyP7eqB4sUQ2ksD67kCr0BEShTiKWbk1PxXOUOGc4="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "Cython>=3.0.12,<3.1.0" Cython + ''; + build-system = [ cmake cython diff --git a/pkgs/development/python-modules/lib4sbom/default.nix b/pkgs/development/python-modules/lib4sbom/default.nix index 5b8b4297cdf3..9515619827df 100644 --- a/pkgs/development/python-modules/lib4sbom/default.nix +++ b/pkgs/development/python-modules/lib4sbom/default.nix @@ -3,16 +3,18 @@ buildPythonPackage, defusedxml, fetchFromGitHub, + jsonschema, pytestCheckHook, pythonOlder, pyyaml, semantic-version, setuptools, + xmlschema, }: buildPythonPackage rec { pname = "lib4sbom"; - version = "0.8.4"; + version = "0.8.7"; pyproject = true; disabled = pythonOlder "3.7"; @@ -21,15 +23,17 @@ buildPythonPackage rec { owner = "anthonyharrison"; repo = "lib4sbom"; tag = "v${version}"; - hash = "sha256-QTYtaEo5LdDPfv8KgQ3IUJgKphQl2xyQXrcSn19IeKo="; + hash = "sha256-qHKedDh7G6yvk6LOs5drJJbkLo20/dP49GG7Q/pOmBw="; }; build-system = [ setuptools ]; dependencies = [ defusedxml + jsonschema pyyaml semantic-version + xmlschema ]; nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/development/python-modules/libarchive-c/default.nix b/pkgs/development/python-modules/libarchive-c/default.nix index 4eb83031c885..286148a639a7 100644 --- a/pkgs/development/python-modules/libarchive-c/default.nix +++ b/pkgs/development/python-modules/libarchive-c/default.nix @@ -3,7 +3,6 @@ stdenv, buildPythonPackage, fetchFromGitHub, - fetchpatch, libarchive, glibcLocales, mock, @@ -12,28 +11,20 @@ buildPythonPackage rec { pname = "libarchive-c"; - version = "5.1"; + version = "5.3"; format = "setuptools"; src = fetchFromGitHub { owner = "Changaco"; repo = "python-${pname}"; tag = version; - sha256 = "sha256-CO9llPIbVTuE74AeohrMAu5ICkuT/MorRlYEEFne6Uk="; + sha256 = "sha256-JqXTV1aD3k88OlW+8rT3xsDuW34+1xErG7hkupvL7Uo="; }; - patches = [ - (fetchpatch { - name = "fix-tests-with-recent-libarchive.patch"; - url = "https://github.com/Changaco/python-libarchive-c/commit/a56e9402c76c2fb9631651de7bae07b5fbb0b624.patch"; - hash = "sha256-OLwJQurEFAmwZJbQfhkibrR7Rcnc9vpWwBuhKxgmT7g="; - }) - ]; - LC_ALL = "en_US.UTF-8"; postPatch = '' - substituteInPlace libarchive/ffi.py --replace \ + substituteInPlace libarchive/ffi.py --replace-fail \ "find_library('archive')" "'${libarchive.lib}/lib/libarchive${stdenv.hostPlatform.extensions.sharedLibrary}'" ''; diff --git a/pkgs/development/python-modules/libbs/default.nix b/pkgs/development/python-modules/libbs/default.nix index d52182af3482..b69b2c3ddde6 100644 --- a/pkgs/development/python-modules/libbs/default.nix +++ b/pkgs/development/python-modules/libbs/default.nix @@ -20,14 +20,14 @@ buildPythonPackage rec { pname = "libbs"; - version = "2.13.0"; + version = "2.15.4"; pyproject = true; src = fetchFromGitHub { owner = "binsync"; repo = "libbs"; tag = "v${version}"; - hash = "sha256-QNiI8qNqh3DlYoGcfExu5PXK1FHXRmcyefMsAfpOMy0="; + hash = "sha256-i5y0aPCBcCzR2pYYtdxy9OEFFF47chINMRfhj9zAf7g="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/libevdev/default.nix b/pkgs/development/python-modules/libevdev/default.nix index 1d511b3afae5..814dee247324 100644 --- a/pkgs/development/python-modules/libevdev/default.nix +++ b/pkgs/development/python-modules/libevdev/default.nix @@ -10,13 +10,13 @@ buildPythonPackage rec { pname = "libevdev"; - version = "0.11"; + version = "0.12"; format = "setuptools"; disabled = isPy27; src = fetchPypi { inherit pname version; - hash = "sha256-6coAak3ySIpgvZp0ABHulI2BkEviNk8BflYBaVCPVg8="; + hash = "sha256-AulSYy7GwknLucZvb6AAEupEiwZgbHfNE5EzvC/kawg="; }; patches = [ diff --git a/pkgs/development/python-modules/libpass/default.nix b/pkgs/development/python-modules/libpass/default.nix index cfa17149b350..80480c9e22c8 100644 --- a/pkgs/development/python-modules/libpass/default.nix +++ b/pkgs/development/python-modules/libpass/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "libpass"; - version = "1.9.1"; + version = "1.9.1.post0"; pyproject = true; src = fetchFromGitHub { owner = "ThirVondukr"; repo = "passlib"; tag = version; - hash = "sha256-G6Fu1RjVb+OPdxt2hWpgAzTefRA41S0zV4hSvvCEWEA="; + hash = "sha256-4J18UktqllRA8DVdHL4AJUuAkjZRdUjiql9a71XXhCA="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/limnoria/default.nix b/pkgs/development/python-modules/limnoria/default.nix index bef6495dd28f..951b441068f6 100644 --- a/pkgs/development/python-modules/limnoria/default.nix +++ b/pkgs/development/python-modules/limnoria/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "limnoria"; - version = "2025.5.3"; + version = "2025.7.18"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-EZ42Ufnw3sUM1fM3+hTreKr58QOgeRANilXP9uxU/Cs="; + hash = "sha256-iXu+ObOFd0iQae8/mY2ztt7s4kuKutX3huHN7jP3cHE="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/line-profiler/default.nix b/pkgs/development/python-modules/line-profiler/default.nix index 7d1642440914..5bc0a75e4209 100644 --- a/pkgs/development/python-modules/line-profiler/default.nix +++ b/pkgs/development/python-modules/line-profiler/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "line-profiler"; - version = "4.2.0"; + version = "5.0.0"; format = "setuptools"; disabled = pythonOlder "3.8" || isPyPy; @@ -22,7 +22,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "line_profiler"; inherit version; - hash = "sha256-CeEPJfh2UUOAs/rubek/sMIoq7qFgguhpZHds+tFGpY="; + hash = "sha256-qA8K+wW6DSddnd3F/5fqtjdHEWf/Pmbcx9E1dVBZOYw="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/litestar/default.nix b/pkgs/development/python-modules/litestar/default.nix index abf46e6fce89..ed087bbc005d 100644 --- a/pkgs/development/python-modules/litestar/default.nix +++ b/pkgs/development/python-modules/litestar/default.nix @@ -43,14 +43,14 @@ buildPythonPackage rec { pname = "litestar"; - version = "2.13.0"; + version = "2.16.0"; pyproject = true; src = fetchFromGitHub { owner = "litestar-org"; repo = "litestar"; tag = "v${version}"; - hash = "sha256-PR2DVNRtILHs7XwVi9/ZCVRJQFqfGLn1x2gpYtYjHDo="; + hash = "sha256-67O/NxPBBLa1QfH1o9laOAQEin8jRA8SkcV7QEzCjI0="; }; build-system = [ @@ -105,7 +105,7 @@ buildPythonPackage rec { homepage = "https://litestar.dev/"; platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ bot-wxt1221 ]; - changelog = "https://github.com/litestar-org/litestar/releases/tag/v${version}"; + changelog = "https://github.com/litestar-org/litestar/releases/tag/${src.tag}"; description = "Production-ready, Light, Flexible and Extensible ASGI API framework"; license = lib.licenses.mit; mainProgram = "litestar"; diff --git a/pkgs/development/python-modules/livekit-api/default.nix b/pkgs/development/python-modules/livekit-api/default.nix index d1b13ef1e49f..6dc8377f023a 100644 --- a/pkgs/development/python-modules/livekit-api/default.nix +++ b/pkgs/development/python-modules/livekit-api/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "livekit-api"; - version = "1.0.5"; + version = "1.0.12"; pyproject = true; src = fetchFromGitHub { owner = "livekit"; repo = "python-sdks"; - tag = "api-v${version}"; - hash = "sha256-GoVPOLA4aCC26+x9//mlmOO6tb3dczN+s1C+VtGRiRE="; + tag = "rtc-v${version}"; + hash = "sha256-NfFlj44aRMA7oUXyIKljNdtb/2MLvjIJGcAvIGNbNxM="; }; pypaBuildFlags = [ "livekit-api" ]; diff --git a/pkgs/development/python-modules/livekit-protocol/default.nix b/pkgs/development/python-modules/livekit-protocol/default.nix index af1cf54caf20..c2dfe95f1243 100644 --- a/pkgs/development/python-modules/livekit-protocol/default.nix +++ b/pkgs/development/python-modules/livekit-protocol/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "livekit-protocol"; - version = "1.0.4"; + version = "1.0.12"; pyproject = true; src = fetchFromGitHub { owner = "livekit"; repo = "python-sdks"; - tag = "protocol-v${version}"; - hash = "sha256-W9WmruzN5Nm9vrjG1Kcf3Orst0b2Mxm80hKLjwXowl8="; + tag = "rtc-v${version}"; + hash = "sha256-NfFlj44aRMA7oUXyIKljNdtb/2MLvjIJGcAvIGNbNxM="; }; pypaBuildFlags = [ "livekit-protocol" ]; diff --git a/pkgs/development/python-modules/livisi/default.nix b/pkgs/development/python-modules/livisi/default.nix index 5bb7bfc5208d..ac9f5f3d24ad 100644 --- a/pkgs/development/python-modules/livisi/default.nix +++ b/pkgs/development/python-modules/livisi/default.nix @@ -4,20 +4,21 @@ colorlog, fetchFromGitHub, lib, + python-dateutil, setuptools, websockets, }: buildPythonPackage rec { pname = "livisi"; - version = "0.0.25"; + version = "1.0.1"; pyproject = true; src = fetchFromGitHub { owner = "planbnet"; repo = "livisi"; tag = "v${version}"; - hash = "sha256-kEkbuZmYzxhrbTdo7eZJYu2N2uJtfspgqepplXvSXFg="; + hash = "sha256-5TRJfI4irg2/ZxpfgzShXE08HWU2aWLR8zGbrZKpwbc="; }; pythonRelaxDeps = [ "colorlog" ]; @@ -27,6 +28,7 @@ buildPythonPackage rec { dependencies = [ aiohttp colorlog + python-dateutil websockets ]; diff --git a/pkgs/development/python-modules/llama-cloud/default.nix b/pkgs/development/python-modules/llama-cloud/default.nix index 532633f8a955..b74c23ce0d30 100644 --- a/pkgs/development/python-modules/llama-cloud/default.nix +++ b/pkgs/development/python-modules/llama-cloud/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "llama-cloud"; - version = "0.1.34"; + version = "0.1.37"; pyproject = true; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_cloud"; inherit version; - hash = "sha256-aGbkurR9LBhAvfFpwTwGF2kxwdMGl6wfpxureUKgQek="; + hash = "sha256-ttYuc4bRqoWQW34/fBmkBpS+VMFZZmi86qRWzYTt5mY="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/llama-index-cli/default.nix b/pkgs/development/python-modules/llama-index-cli/default.nix index 64e8f8d4d8ec..62517983f525 100644 --- a/pkgs/development/python-modules/llama-index-cli/default.nix +++ b/pkgs/development/python-modules/llama-index-cli/default.nix @@ -11,13 +11,13 @@ buildPythonPackage rec { pname = "llama-index-cli"; - version = "0.4.4"; + version = "0.5.0"; pyproject = true; src = fetchPypi { pname = "llama_index_cli"; inherit version; - hash = "sha256-w68M8eKn5e9E0Lrlqo6IcrVMXda3Ma+66fE//rSZe+A="; + hash = "sha256-LrlCYjLo2J/98PpnhP+NoJRJ2SDXHQ/MgdB76Tz5Np8="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/llama-index-core/default.nix b/pkgs/development/python-modules/llama-index-core/default.nix index 3109f18373b7..688c6238544a 100644 --- a/pkgs/development/python-modules/llama-index-core/default.nix +++ b/pkgs/development/python-modules/llama-index-core/default.nix @@ -39,7 +39,7 @@ buildPythonPackage rec { pname = "llama-index-core"; - version = "0.12.46"; + version = "0.13.0.post1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -48,7 +48,7 @@ buildPythonPackage rec { owner = "run-llama"; repo = "llama_index"; tag = "v${version}"; - hash = "sha256-B1i5zabacapc/ipPTQtQzLVZql5ifqxfFoDhaBR+eYc="; + hash = "sha256-X4PDvxynQkHOdhDC5Aqwnr3jSF/83VgbFiDD1M9LOoM="; }; sourceRoot = "${src.name}/${pname}"; diff --git a/pkgs/development/python-modules/llama-index-embeddings-gemini/default.nix b/pkgs/development/python-modules/llama-index-embeddings-gemini/default.nix index 8022f766c45c..2bf7acb72d83 100644 --- a/pkgs/development/python-modules/llama-index-embeddings-gemini/default.nix +++ b/pkgs/development/python-modules/llama-index-embeddings-gemini/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "llama-index-embeddings-gemini"; - version = "0.3.2"; + version = "0.4.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_embeddings_gemini"; inherit version; - hash = "sha256-Ske1mqNVBXYirf3BGFAkZqeFywXntMLHNuR/+pjDupU="; + hash = "sha256-Cyy89LP4B+J4fbMQmyZyH3VrRSnX7A0U6zGIvS0xPqw="; }; pythonRelaxDeps = [ "google-generativeai" ]; diff --git a/pkgs/development/python-modules/llama-index-embeddings-google/default.nix b/pkgs/development/python-modules/llama-index-embeddings-google/default.nix index b5cfb79df1ff..e984a934cc0b 100644 --- a/pkgs/development/python-modules/llama-index-embeddings-google/default.nix +++ b/pkgs/development/python-modules/llama-index-embeddings-google/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "llama-index-embeddings-google"; - version = "0.3.1"; + version = "0.4.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_embeddings_google"; inherit version; - hash = "sha256-gMFfA/USIYkOIaNPZfpLoRzkDGnN2e+gNlylAOrTxKs="; + hash = "sha256-wVtJ+BAX49/Ijga9cUXB6xcOrK+IkOzjj+Wgd0cRRb0="; }; pythonRelaxDeps = [ "google-generativeai" ]; diff --git a/pkgs/development/python-modules/llama-index-embeddings-huggingface/default.nix b/pkgs/development/python-modules/llama-index-embeddings-huggingface/default.nix index 39c334ced50f..5add4ba28966 100644 --- a/pkgs/development/python-modules/llama-index-embeddings-huggingface/default.nix +++ b/pkgs/development/python-modules/llama-index-embeddings-huggingface/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "llama-index-embeddings-huggingface"; - version = "0.5.5"; + version = "0.6.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_embeddings_huggingface"; inherit version; - hash = "sha256-f26aAx2RRvI131l8DM1igM3pa5tDf5kFLOebty5frF4="; + hash = "sha256-Ps59jFtoPSBV/t7KRFfeoT91yBptf7lNd+h4zXPZDZc="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/llama-index-embeddings-ollama/default.nix b/pkgs/development/python-modules/llama-index-embeddings-ollama/default.nix index 4ad411a7a43b..b6e00c2d616c 100644 --- a/pkgs/development/python-modules/llama-index-embeddings-ollama/default.nix +++ b/pkgs/development/python-modules/llama-index-embeddings-ollama/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "llama-index-embeddings-ollama"; - version = "0.6.0"; + version = "0.7.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_embeddings_ollama"; inherit version; - hash = "sha256-7GL6vymKzrNNIFpQmKLcK9eSTT2bVmwkyh69ZLw9/pA="; + hash = "sha256-StV3rCFInL4oi/YEytu9s1a9rx9qdC7MG6uN855pOvQ="; }; pythonRelaxDeps = [ "ollama" ]; diff --git a/pkgs/development/python-modules/llama-index-embeddings-openai/default.nix b/pkgs/development/python-modules/llama-index-embeddings-openai/default.nix index 4040659ac664..1f4da3f6b17c 100644 --- a/pkgs/development/python-modules/llama-index-embeddings-openai/default.nix +++ b/pkgs/development/python-modules/llama-index-embeddings-openai/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "llama-index-embeddings-openai"; - version = "0.3.1"; + version = "0.5.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -17,7 +17,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_embeddings_openai"; inherit version; - hash = "sha256-E2iq084ky67SPVrSUTQ87x63tKBtZWPWYG1ZyzR/7yA="; + hash = "sha256-rFh4OaERCJ6opiVfkhQBbXqBOzg7u7+SB3mb4RAHWOs="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/llama-index-graph-stores-nebula/default.nix b/pkgs/development/python-modules/llama-index-graph-stores-nebula/default.nix index b89b802b0d77..f08c410a191e 100644 --- a/pkgs/development/python-modules/llama-index-graph-stores-nebula/default.nix +++ b/pkgs/development/python-modules/llama-index-graph-stores-nebula/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "llama-index-graph-stores-nebula"; - version = "0.4.2"; + version = "0.5.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_graph_stores_nebula"; inherit version; - hash = "sha256-0CooGtmDz9OAJ+B543eFbrFTzii5iXwmo0dV4c/E/es="; + hash = "sha256-BzArWYZIY1SRl1q48wAdAy+mWoId+lNbcsw9LQmmw7Q="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/llama-index-graph-stores-neo4j/default.nix b/pkgs/development/python-modules/llama-index-graph-stores-neo4j/default.nix index 0c253982aa61..ee1a9fa73c3f 100644 --- a/pkgs/development/python-modules/llama-index-graph-stores-neo4j/default.nix +++ b/pkgs/development/python-modules/llama-index-graph-stores-neo4j/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "llama-index-graph-stores-neo4j"; - version = "0.4.6"; + version = "0.5.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_graph_stores_neo4j"; inherit version; - hash = "sha256-wTmLGWu/Wnrs1sXqs4LFigJVR+/iAGWxUv6oTFGfLBQ="; + hash = "sha256-Iumsnln5iGMAoB3aY4haecm87jYXlEW4/2+uppW8m9c="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/llama-index-graph-stores-neptune/default.nix b/pkgs/development/python-modules/llama-index-graph-stores-neptune/default.nix index 98bf1e735e19..79c0866688bb 100644 --- a/pkgs/development/python-modules/llama-index-graph-stores-neptune/default.nix +++ b/pkgs/development/python-modules/llama-index-graph-stores-neptune/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "llama-index-graph-stores-neptune"; - version = "0.3.3"; + version = "0.4.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_graph_stores_neptune"; inherit version; - hash = "sha256-IqY4dEWcbM9371vuZ7C9NlDux9O/j6wF7Hcc4aiBiIE="; + hash = "sha256-kSAfIh683fwahMjSgp0dYHmNR+NGBr71Q/OFxGtkUTc="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/llama-index-indices-managed-llama-cloud/default.nix b/pkgs/development/python-modules/llama-index-indices-managed-llama-cloud/default.nix index 0372283f8d2a..4d4ebf6add42 100644 --- a/pkgs/development/python-modules/llama-index-indices-managed-llama-cloud/default.nix +++ b/pkgs/development/python-modules/llama-index-indices-managed-llama-cloud/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "llama-index-indices-managed-llama-cloud"; - version = "0.7.10"; + version = "0.9.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_indices_managed_llama_cloud"; inherit version; - hash = "sha256-UyZ5B+I9j7y7l8epYXekFEbeGFUMpgMCdgkuc7RcqIA="; + hash = "sha256-+6rbauPucS2vQ5qpvjZ+3h+LGQAYtVAQ18NTddKc5Lc="; }; pythonRelaxDeps = [ "llama-cloud" ]; diff --git a/pkgs/development/python-modules/llama-index-llms-ollama/default.nix b/pkgs/development/python-modules/llama-index-llms-ollama/default.nix index 85be869d1e2d..675e10bbd9fb 100644 --- a/pkgs/development/python-modules/llama-index-llms-ollama/default.nix +++ b/pkgs/development/python-modules/llama-index-llms-ollama/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "llama-index-llms-ollama"; - version = "0.6.2"; + version = "0.7.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_llms_ollama"; inherit version; - hash = "sha256-G+QIHwupyd07XScMLoAJwlaztqExLLOKDHJNuousEwQ="; + hash = "sha256-ThKtTl6mEAZsTgeTVpnFnZMkffIhh27X9+Gn9wwzs8c="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/llama-index-llms-openai-like/default.nix b/pkgs/development/python-modules/llama-index-llms-openai-like/default.nix index 7fb71c87f8e5..1668fd637929 100644 --- a/pkgs/development/python-modules/llama-index-llms-openai-like/default.nix +++ b/pkgs/development/python-modules/llama-index-llms-openai-like/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "llama-index-llms-openai-like"; - version = "0.4.0"; + version = "0.5.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_llms_openai_like"; inherit version; - hash = "sha256-Fa4cFrAboL+oItU5APA+NcGf/ke1KJWCNL8ZQqkfWHw="; + hash = "sha256-lFe+3rY7aVThUPxntC5EbjdTpxSqkDoAdiUvt8IN/+4="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/llama-index-llms-openai/default.nix b/pkgs/development/python-modules/llama-index-llms-openai/default.nix index 6c8184258300..b81017db54ed 100644 --- a/pkgs/development/python-modules/llama-index-llms-openai/default.nix +++ b/pkgs/development/python-modules/llama-index-llms-openai/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "llama-index-llms-openai"; - version = "0.4.7"; + version = "0.5.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_llms_openai"; inherit version; - hash = "sha256-Vkr4qzn7Pzrf6uc6WcDcpGwJmrhEoo5yXu4MVR1Iafg="; + hash = "sha256-CJlnMoLFjRmlu/ImFqAQkCROMIcm05KiTkZJOZMkdg8="; }; pythonRemoveDeps = [ diff --git a/pkgs/development/python-modules/llama-index-multi-modal-llms-openai/default.nix b/pkgs/development/python-modules/llama-index-multi-modal-llms-openai/default.nix index 63bac0367ff0..2b1954b76fa3 100644 --- a/pkgs/development/python-modules/llama-index-multi-modal-llms-openai/default.nix +++ b/pkgs/development/python-modules/llama-index-multi-modal-llms-openai/default.nix @@ -9,13 +9,13 @@ buildPythonPackage rec { pname = "llama-index-multi-modal-llms-openai"; - version = "0.5.1"; + version = "0.6.0"; pyproject = true; src = fetchPypi { pname = "llama_index_multi_modal_llms_openai"; inherit version; - hash = "sha256-3zr/AMNgI8X4xJ+XKjJfcYI+0PTdnNR5lV12r8FGV18="; + hash = "sha256-4YWvPQH5GevRVsmegIXU5AApt+nsMEj0DSDebWsPYR4="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/llama-index-readers-database/default.nix b/pkgs/development/python-modules/llama-index-readers-database/default.nix index aecb2c627899..c52b6f97c072 100644 --- a/pkgs/development/python-modules/llama-index-readers-database/default.nix +++ b/pkgs/development/python-modules/llama-index-readers-database/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "llama-index-readers-database"; - version = "0.4.0"; + version = "0.5.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -17,7 +17,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_readers_database"; inherit version; - hash = "sha256-BdZzn2T3EkR0N3C0uEF3kj1QV5Qnzut7yapAVxdc7C8="; + hash = "sha256-5eaNufjXiM4sgc101d19Z3W3CQLE3m8uLa1GOPh05ek="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/llama-index-readers-file/default.nix b/pkgs/development/python-modules/llama-index-readers-file/default.nix index ed3ba1adece5..c3af3b457026 100644 --- a/pkgs/development/python-modules/llama-index-readers-file/default.nix +++ b/pkgs/development/python-modules/llama-index-readers-file/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "llama-index-readers-file"; - version = "0.4.11"; + version = "0.5.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -22,7 +22,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_readers_file"; inherit version; - hash = "sha256-GyHLZteN1fYOhxZgfZpHzNgbs5EG1FlmW+HKd5npWXs="; + hash = "sha256-8yRhe/xNmzITbSX/U1G5K8C1aaKWFz7iqFkcH4hu/ww="; }; pythonRelaxDeps = [ diff --git a/pkgs/development/python-modules/llama-index-readers-json/default.nix b/pkgs/development/python-modules/llama-index-readers-json/default.nix index f16f736469c2..434430ee7969 100644 --- a/pkgs/development/python-modules/llama-index-readers-json/default.nix +++ b/pkgs/development/python-modules/llama-index-readers-json/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "llama-index-readers-json"; - version = "0.3.0"; + version = "0.4.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -17,7 +17,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_readers_json"; inherit version; - hash = "sha256-mS8nEK8LV1wVh0wV7W8EujLH7QcPagHI4P5cT0bHAJ4="; + hash = "sha256-ThQWERdEzPIAUaYWQDkSJdIIvixrKv0eN4LGRaNaS3U="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/llama-index-readers-llama-parse/default.nix b/pkgs/development/python-modules/llama-index-readers-llama-parse/default.nix index d06fd69723ec..9b415779ee92 100644 --- a/pkgs/development/python-modules/llama-index-readers-llama-parse/default.nix +++ b/pkgs/development/python-modules/llama-index-readers-llama-parse/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "llama-index-readers-llama-parse"; - version = "0.4.0"; + version = "0.5.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_readers_llama_parse"; inherit version; - hash = "sha256-6Z7Fb0+FRtf9oafBriYWL7mst+vKw0O1q9tCNLRkTg8="; + hash = "sha256-iRsh+2P+H+ci4jz6Jjp02ac1Tl2NegHy1AQKUvjY/u8="; }; pythonRelaxDeps = [ "llama-parse" ]; diff --git a/pkgs/development/python-modules/llama-index-readers-s3/default.nix b/pkgs/development/python-modules/llama-index-readers-s3/default.nix index f7cf53876802..9f40cadfdf5c 100644 --- a/pkgs/development/python-modules/llama-index-readers-s3/default.nix +++ b/pkgs/development/python-modules/llama-index-readers-s3/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "llama-index-readers-s3"; - version = "0.4.0"; + version = "0.5.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_readers_s3"; inherit version; - hash = "sha256-oCXpLZyIrZKNNDg8hkEh5xxXEqz7B1hLjE5OUwEIozg="; + hash = "sha256-3wzxfKkwhC4YfUYPBa/XKqIZQ6zLgB9SSHR+vPhwzOA="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/llama-index-readers-twitter/default.nix b/pkgs/development/python-modules/llama-index-readers-twitter/default.nix index 6cc9844dcbc3..97e07d49f89d 100644 --- a/pkgs/development/python-modules/llama-index-readers-twitter/default.nix +++ b/pkgs/development/python-modules/llama-index-readers-twitter/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "llama-index-readers-twitter"; - version = "0.3.0"; + version = "0.4.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_readers_twitter"; inherit version; - hash = "sha256-I7xZQj/Kpwl6D0ltNuKI7TYoQVD9lBiM6I63C23hCwY="; + hash = "sha256-AfruOaKbPJasPS0eQjr6501yt32nQ7PvFwD2QVdgBYA="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/llama-index-readers-txtai/default.nix b/pkgs/development/python-modules/llama-index-readers-txtai/default.nix index 4024b1c33f95..a6cfc2c6568b 100644 --- a/pkgs/development/python-modules/llama-index-readers-txtai/default.nix +++ b/pkgs/development/python-modules/llama-index-readers-txtai/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "llama-index-readers-txtai"; - version = "0.3.0"; + version = "0.4.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -17,7 +17,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_readers_txtai"; inherit version; - hash = "sha256-N5FiwVZ+KWEQlcfVqHVcHJHzRb6Ct+iR2Dc+Wee7y+M="; + hash = "sha256-0eOJ9r27lG6WwOz27+N5qldROoaU5UAewtY4N4m8Kcs="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/llama-index-readers-weather/default.nix b/pkgs/development/python-modules/llama-index-readers-weather/default.nix index 225cfb6c75b7..6b24f3b8f9f5 100644 --- a/pkgs/development/python-modules/llama-index-readers-weather/default.nix +++ b/pkgs/development/python-modules/llama-index-readers-weather/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "llama-index-readers-weather"; - version = "0.3.0"; + version = "0.4.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_readers_weather"; inherit version; - hash = "sha256-oGk2M/YaVm8pY4JDFOWGkKbDhEfd/OYBgWLSzV3peAQ="; + hash = "sha256-qgrHlJXOKWY5UnB2lZAJun3xA9sxn5+ZNNI6+aDnE98="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/llama-index-vector-stores-chroma/default.nix b/pkgs/development/python-modules/llama-index-vector-stores-chroma/default.nix index 1fb8eaf7c126..53d96d53493f 100644 --- a/pkgs/development/python-modules/llama-index-vector-stores-chroma/default.nix +++ b/pkgs/development/python-modules/llama-index-vector-stores-chroma/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "llama-index-vector-stores-chroma"; - version = "0.4.2"; + version = "0.5.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_vector_stores_chroma"; inherit version; - hash = "sha256-F0YzgV4KiDiutiiBbiz10djG+PaEf0J+ADLTUHHq0ME="; + hash = "sha256-5gkwYvmBXeRxGBL1CoM5H/obYDTceap1TP00uv8SDs4="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/llama-index-vector-stores-google/default.nix b/pkgs/development/python-modules/llama-index-vector-stores-google/default.nix index ca7b63b1c078..7449e0113e1a 100644 --- a/pkgs/development/python-modules/llama-index-vector-stores-google/default.nix +++ b/pkgs/development/python-modules/llama-index-vector-stores-google/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "llama-index-vector-stores-google"; - version = "0.3.0"; + version = "0.4.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_vector_stores_google"; inherit version; - hash = "sha256-6l4MFO7h5xJexN3Sf78F+OgzaKHNWxOffQvkqRhXEJw="; + hash = "sha256-EjokpP+46z/OwgmtQO4OnL+w4mUFR0M+2MmycojAc7E="; }; pythonRelaxDeps = [ "google-generativeai" ]; diff --git a/pkgs/development/python-modules/llama-index-vector-stores-postgres/default.nix b/pkgs/development/python-modules/llama-index-vector-stores-postgres/default.nix index ae044cb1e4a4..ab54499442bf 100644 --- a/pkgs/development/python-modules/llama-index-vector-stores-postgres/default.nix +++ b/pkgs/development/python-modules/llama-index-vector-stores-postgres/default.nix @@ -11,13 +11,13 @@ buildPythonPackage rec { pname = "llama-index-vector-stores-postgres"; - version = "0.5.5"; + version = "0.6.1"; pyproject = true; src = fetchPypi { pname = "llama_index_vector_stores_postgres"; inherit version; - hash = "sha256-R0dJXw6msPwO7kjsLLXyxSsmmAC64yviJZzb8YUbrlQ="; + hash = "sha256-E+PFvOTRO3FGGSwFwEUe0fEpmuE/fmRtiCGHwO53qm4="; }; pythonRemoveDeps = [ "psycopg2-binary" ]; diff --git a/pkgs/development/python-modules/llama-index-vector-stores-qdrant/default.nix b/pkgs/development/python-modules/llama-index-vector-stores-qdrant/default.nix index d5cc82737303..b77fe1aeee91 100644 --- a/pkgs/development/python-modules/llama-index-vector-stores-qdrant/default.nix +++ b/pkgs/development/python-modules/llama-index-vector-stores-qdrant/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "llama-index-vector-stores-qdrant"; - version = "0.6.1"; + version = "0.7.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_vector_stores_qdrant"; inherit version; - hash = "sha256-14hQ/MCrwf1tucVprPbo2mLRuBWaHI0S515sbNB3Q1I="; + hash = "sha256-1RpWHcWq0nDEu+1yNwzqkALkty0AOOxbRl9rzbZ7EhM="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/llm-echo/default.nix b/pkgs/development/python-modules/llm-echo/default.nix index 588b6f64909d..d0ed2f5ab533 100644 --- a/pkgs/development/python-modules/llm-echo/default.nix +++ b/pkgs/development/python-modules/llm-echo/default.nix @@ -5,6 +5,7 @@ setuptools, llm, llm-echo, + pytest-asyncio, pytestCheckHook, writableTmpDirAsHomeHook, }: @@ -26,6 +27,7 @@ buildPythonPackage rec { dependencies = [ llm ]; nativeCheckInputs = [ + pytest-asyncio pytestCheckHook writableTmpDirAsHomeHook ]; diff --git a/pkgs/development/python-modules/lm-eval/default.nix b/pkgs/development/python-modules/lm-eval/default.nix index 63087a8505a0..ea57224a4d6c 100644 --- a/pkgs/development/python-modules/lm-eval/default.nix +++ b/pkgs/development/python-modules/lm-eval/default.nix @@ -46,14 +46,14 @@ buildPythonPackage rec { pname = "lm-eval"; - version = "0.4.8"; + version = "0.4.9.1"; pyproject = true; src = fetchFromGitHub { owner = "EleutherAI"; repo = "lm-evaluation-harness"; tag = "v${version}"; - hash = "sha256-F8oy6XTovqiU7FQyuubRsiblSdvfZg9RPIyzRw2GH18="; + hash = "sha256-N5NRRabjWxPchwOIkjqYTCKInCmVSY6T5cAmdxNbCkU="; }; build-system = [ diff --git a/pkgs/development/python-modules/lm-format-enforcer/default.nix b/pkgs/development/python-modules/lm-format-enforcer/default.nix index c44943046550..2086dcc17e90 100644 --- a/pkgs/development/python-modules/lm-format-enforcer/default.nix +++ b/pkgs/development/python-modules/lm-format-enforcer/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "lm-format-enforcer"; - version = "0.10.11"; + version = "0.10.12"; pyproject = true; src = fetchFromGitHub { owner = "noamgat"; repo = "lm-format-enforcer"; tag = "v${version}"; - hash = "sha256-8BsfA1R/X+wA0H0MqQKn+CljUIT8VdoInoczSGvu74o="; + hash = "sha256-7QNJtuRIuHHSXmiyO+6TDxswsbLET2ucXjhz0j7xTvQ="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/lmdb/default.nix b/pkgs/development/python-modules/lmdb/default.nix index f78b3fe2cf11..a97f71dad212 100644 --- a/pkgs/development/python-modules/lmdb/default.nix +++ b/pkgs/development/python-modules/lmdb/default.nix @@ -3,6 +3,7 @@ buildPythonPackage, fetchPypi, setuptools, + patch-ng, pytestCheckHook, cffi, lmdb, @@ -11,20 +12,24 @@ buildPythonPackage rec { pname = "lmdb"; - version = "1.6.2"; + version = "1.7.3"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-0o4/pZk1/2iIWHYOxS8gLsuMEImj9o0fFi6jB40VHnM="; + hash = "sha256-1KJ7evT+OPNAnZ+/v0e2F7PZTe6YoAvIwqgzbM0/mxU="; }; build-system = [ setuptools ]; buildInputs = [ lmdb ]; + env.LMDB_FORCE_SYSTEM = 1; + + dependencies = [ patch-ng ]; + pythonImportsCheck = [ "lmdb" ]; nativeCheckInputs = [ @@ -32,8 +37,6 @@ buildPythonPackage rec { pytestCheckHook ]; - LMDB_FORCE_SYSTEM = 1; - meta = { description = "Universal Python binding for the LMDB 'Lightning' Database"; homepage = "https://github.com/dw/py-lmdb"; diff --git a/pkgs/development/python-modules/localstack-ext/default.nix b/pkgs/development/python-modules/localstack-ext/default.nix index f1fa5ba5278f..0973bccb4157 100644 --- a/pkgs/development/python-modules/localstack-ext/default.nix +++ b/pkgs/development/python-modules/localstack-ext/default.nix @@ -21,13 +21,13 @@ buildPythonPackage rec { pname = "localstack-ext"; - version = "4.3.0"; + version = "4.7.0"; pyproject = true; src = fetchPypi { pname = "localstack_ext"; inherit version; - hash = "sha256-YlKGdIteeIjqqO9L4BAfEEurOa7vrYaAmreH8gIRcPU="; + hash = "sha256-OLeCbAybP6SgHb2DNf8rXUrxt89mOiQfp2wxdh2A3F4="; }; build-system = [ diff --git a/pkgs/development/python-modules/locust/default.nix b/pkgs/development/python-modules/locust/default.nix index 1d7056d38a80..2ed342d62a4f 100644 --- a/pkgs/development/python-modules/locust/default.nix +++ b/pkgs/development/python-modules/locust/default.nix @@ -26,14 +26,14 @@ buildPythonPackage rec { pname = "locust"; - version = "2.33.1"; + version = "2.37.14"; pyproject = true; src = fetchFromGitHub { owner = "locustio"; repo = "locust"; tag = version; - hash = "sha256-cOYdf3F1OF1P4xFEG3isuiePIl1tHnjL7UVoFIpb40A="; + hash = "sha256-16pMl72OIZlAi6jNx0qv0TO9RTm6O9CgiE84sndsEhc="; }; postPatch = '' diff --git a/pkgs/development/python-modules/loopy/default.nix b/pkgs/development/python-modules/loopy/default.nix index 0be0d9802eb9..4af0824f633a 100644 --- a/pkgs/development/python-modules/loopy/default.nix +++ b/pkgs/development/python-modules/loopy/default.nix @@ -30,7 +30,7 @@ buildPythonPackage rec { pname = "loopy"; - version = "2025.1"; + version = "2025.2"; pyproject = true; disabled = pythonOlder "3.10"; @@ -39,7 +39,7 @@ buildPythonPackage rec { owner = "inducer"; repo = "loopy"; tag = "v${version}"; - hash = "sha256-3Ebnje+EBw2Jdp2xLqffWx592OoUrSdRDXQkw6FpEzc="; + hash = "sha256-VgsUOMCIg61mYNDMcGpMs5I1CkobhUFVjoQFdD8Vchs="; fetchSubmodules = true; # submodule at `loopy/target/c/compyte` }; diff --git a/pkgs/development/python-modules/lsprotocol/default.nix b/pkgs/development/python-modules/lsprotocol/default.nix index 06e85fae1e73..fdb10e5dd3c5 100644 --- a/pkgs/development/python-modules/lsprotocol/default.nix +++ b/pkgs/development/python-modules/lsprotocol/default.nix @@ -7,15 +7,14 @@ flit-core, importlib-resources, jsonschema, - nox, pyhamcrest, - pytest, + pytestCheckHook, pythonOlder, }: buildPythonPackage rec { pname = "lsprotocol"; - version = "2023.0.1"; + version = "2025.0.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -24,20 +23,23 @@ buildPythonPackage rec { owner = "microsoft"; repo = "lsprotocol"; tag = version; - hash = "sha256-PHjLKazMaT6W4Lve1xNxm6hEwqE3Lr2m5L7Q03fqb68="; + hash = "sha256-DrWXHMgDZSQQ6vsmorThMrUTX3UQU+DajSEOdxoXrFQ="; }; - nativeBuildInputs = [ + postPatch = '' + pushd packages/python + ''; + + build-system = [ flit-core - nox ]; - propagatedBuildInputs = [ + dependencies = [ attrs cattrs ]; - nativeCheckInputs = [ pytest ]; + nativeCheckInputs = [ pytestCheckHook ]; checkInputs = [ importlib-resources @@ -45,21 +47,12 @@ buildPythonPackage rec { pyhamcrest ]; - preBuild = '' - cd packages/python - ''; + disabledTests = [ + "test_notebook_sync_options" + ]; preCheck = '' - cd ../../ - ''; - - checkPhase = '' - runHook preCheck - - sed -i "/^ _install_requirements/d" noxfile.py - nox --session tests - - runHook postCheck + popd ''; pythonImportsCheck = [ "lsprotocol" ]; @@ -67,7 +60,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python implementation of the Language Server Protocol"; homepage = "https://github.com/microsoft/lsprotocol"; - changelog = "https://github.com/microsoft/lsprotocol/releases/tag/${version}"; + changelog = "https://github.com/microsoft/lsprotocol/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ doronbehar diff --git a/pkgs/development/python-modules/luna-usb/default.nix b/pkgs/development/python-modules/luna-usb/default.nix index 313f626cd491..1ea097280ed0 100644 --- a/pkgs/development/python-modules/luna-usb/default.nix +++ b/pkgs/development/python-modules/luna-usb/default.nix @@ -20,14 +20,14 @@ }: buildPythonPackage rec { pname = "luna-usb"; - version = "0.2.1"; + version = "0.2.2"; pyproject = true; src = fetchFromGitHub { owner = "greatscottgadgets"; repo = "luna"; tag = version; - hash = "sha256-8onTF0iJF7HpNCjNxUg89YRjfYb94CrFgGtmprp7g2E="; + hash = "sha256-gySaNbebWUS8wS8adPQo1mT+jmdb+2ddlMckTa36JCY="; }; postPatch = '' diff --git a/pkgs/development/python-modules/lupa/default.nix b/pkgs/development/python-modules/lupa/default.nix index a34a52b5988b..3acc709a3023 100644 --- a/pkgs/development/python-modules/lupa/default.nix +++ b/pkgs/development/python-modules/lupa/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "lupa"; - version = "2.4"; + version = "2.5"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-UwDSH4GqG9TUX1XjHd26O4eYlWlgaKP4TPy1/ZFIqs0="; + hash = "sha256-acaonyt7CKMEDX7Soe7MujejHdyS+hmTOcU6KuPEjDQ="; }; build-system = [ diff --git a/pkgs/development/python-modules/lxml/default.nix b/pkgs/development/python-modules/lxml/default.nix index ec8c3e0c7a90..de73a2010d1c 100644 --- a/pkgs/development/python-modules/lxml/default.nix +++ b/pkgs/development/python-modules/lxml/default.nix @@ -3,7 +3,6 @@ lib, buildPythonPackage, fetchFromGitHub, - fetchpatch, # build-system cython, @@ -18,14 +17,14 @@ buildPythonPackage rec { pname = "lxml"; - version = "5.4.0"; + version = "6.0.0"; pyproject = true; src = fetchFromGitHub { owner = "lxml"; repo = "lxml"; tag = "lxml-${version}"; - hash = "sha256-yp0Sb/0Em3HX1XpDNFpmkvW/aXwffB4D1sDYEakwKeY="; + hash = "sha256-e1Lhtn8cjuDWkBV29icIqe0CJ59Ab05hBGMa+eRBzAw="; }; build-system = [ diff --git a/pkgs/development/python-modules/m2crypto/default.nix b/pkgs/development/python-modules/m2crypto/default.nix index ca976b887cf6..da94945fa869 100644 --- a/pkgs/development/python-modules/m2crypto/default.nix +++ b/pkgs/development/python-modules/m2crypto/default.nix @@ -13,21 +13,15 @@ buildPythonPackage rec { pname = "m2crypto"; - version = "0.45.0"; + version = "0.45.1"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-/8ENTQmQFRT0CNx09gpNffIcROvJv3dslHv9xzWUIc8="; + hash = "sha256-0PyBqIKO2/QwhDKzBAvwa7JrrZWruefUaQthGFUeduw="; }; - patches = [ - (fetchurl { - url = "https://sources.debian.org/data/main/m/m2crypto/0.42.0-2.1/debian/patches/0004-swig-Workaround-for-reading-sys-select.h-ending-with.patch"; - hash = "sha256-/Bkuqu/Od+S56AUWo0ZzpZF7FGMxP766K2GJnfKXrOI="; - }) - ]; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/mail-parser/default.nix b/pkgs/development/python-modules/mail-parser/default.nix index 25466ec4ff7f..5f31ca8d35c5 100644 --- a/pkgs/development/python-modules/mail-parser/default.nix +++ b/pkgs/development/python-modules/mail-parser/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "mail-parser"; - version = "4.1.3"; + version = "4.1.4"; pyproject = true; src = fetchFromGitHub { owner = "SpamScope"; repo = "mail-parser"; tag = version; - hash = "sha256-aNPBWxAysxHTuzaupi/CSSBUsGTsFanuPldz6BRr2V0="; + hash = "sha256-wwLUD/k26utugK/Yx9eXYEdSOvrk0Cy6RkXGDnzZ+fE="; }; LC_ALL = "en_US.utf-8"; diff --git a/pkgs/development/python-modules/makefun/default.nix b/pkgs/development/python-modules/makefun/default.nix index 2a234b829c68..2929f361f5c2 100644 --- a/pkgs/development/python-modules/makefun/default.nix +++ b/pkgs/development/python-modules/makefun/default.nix @@ -8,7 +8,7 @@ setuptools-scm, # tests - pytestCheckHook, + pytest7CheckHook, }: buildPythonPackage rec { @@ -31,7 +31,7 @@ buildPythonPackage rec { setuptools-scm ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ pytest7CheckHook ]; pythonImportsCheck = [ "makefun" ]; diff --git a/pkgs/development/python-modules/manifestoo-core/default.nix b/pkgs/development/python-modules/manifestoo-core/default.nix index c9164c3bce05..8c5d9bebc78e 100644 --- a/pkgs/development/python-modules/manifestoo-core/default.nix +++ b/pkgs/development/python-modules/manifestoo-core/default.nix @@ -11,13 +11,13 @@ buildPythonPackage rec { pname = "manifestoo-core"; - version = "1.9"; + version = "1.10"; format = "pyproject"; src = fetchPypi { inherit version; pname = "manifestoo_core"; - hash = "sha256-4cBgxbjXfOVMRQ+iQnjb/LdRUkoeb2hWI6VhSnqSMVM="; + hash = "sha256-LLxr96/cuAAncddMeBBVlFq2Hl5+pNXqgMbvbnfzcE8="; }; nativeBuildInputs = [ hatch-vcs ]; diff --git a/pkgs/development/python-modules/manimpango/default.nix b/pkgs/development/python-modules/manimpango/default.nix index 3137d1e594bb..58cfef91d255 100644 --- a/pkgs/development/python-modules/manimpango/default.nix +++ b/pkgs/development/python-modules/manimpango/default.nix @@ -25,6 +25,11 @@ buildPythonPackage rec { hash = "sha256-nN+XOnki8fG7URMy2Fhs2X+yNi8Y7wDo53d61xaRa3w="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "Cython>=3.0.2,<3.1" Cython + ''; + nativeBuildInputs = [ pkg-config ]; buildInputs = [ pango ]; diff --git a/pkgs/development/python-modules/mapclassify/default.nix b/pkgs/development/python-modules/mapclassify/default.nix index 7bf817fab321..ef30592b9b66 100644 --- a/pkgs/development/python-modules/mapclassify/default.nix +++ b/pkgs/development/python-modules/mapclassify/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "mapclassify"; - version = "2.8.1"; + version = "2.10.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "pysal"; repo = "mapclassify"; tag = "v${version}"; - hash = "sha256-VClkMOR8P9sX3slVjJ2xYYLVnvZuOgVYZiCGrBxoZEc="; + hash = "sha256-OQpDrxa0zRPDAdyS6KP5enb/JZwbYoXTV8kUijV3tNM="; }; build-system = [ setuptools-scm ]; @@ -59,7 +59,7 @@ buildPythonPackage rec { meta = { description = "Classification Schemes for Choropleth Maps"; homepage = "https://pysal.org/mapclassify/"; - changelog = "https://github.com/pysal/mapclassify/releases/tag/v${version}"; + changelog = "https://github.com/pysal/mapclassify/releases/tag/${src.tag}"; license = lib.licenses.bsd3; teams = [ lib.teams.geospatial ]; }; diff --git a/pkgs/development/python-modules/mariadb/default.nix b/pkgs/development/python-modules/mariadb/default.nix index b4b20905dfd4..fde0be2c4c16 100644 --- a/pkgs/development/python-modules/mariadb/default.nix +++ b/pkgs/development/python-modules/mariadb/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "mariadb"; - version = "1.1.11"; + version = "1.1.13"; pyproject = true; disabled = pythonOlder "3.8"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "mariadb-corporation"; repo = "mariadb-connector-python"; tag = "v${version}"; - hash = "sha256-f3WeVtsjxm/HVPv0cbpPkmklcNFWJaFqI2LxDElcCFw="; + hash = "sha256-BYE+W/P2/kPtbi6tzE1FQkI/KFCO5C1KQnB67XfJqkA="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/marimo/default.nix b/pkgs/development/python-modules/marimo/default.nix index 69ba558d227d..267cfc589754 100644 --- a/pkgs/development/python-modules/marimo/default.nix +++ b/pkgs/development/python-modules/marimo/default.nix @@ -33,13 +33,13 @@ buildPythonPackage rec { pname = "marimo"; - version = "0.13.6"; + version = "0.14.16"; pyproject = true; # The github archive does not include the static assets src = fetchPypi { inherit pname version; - hash = "sha256-Qsz0SJvWOJ/MH9eIMyBODCBCGC7vp2lzPsq+32tRKU8="; + hash = "sha256-8PKRrH+m+HyAcvQBnG6fY1rX77N+AhTyJUPI3ZgwQtE="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/markdown/default.nix b/pkgs/development/python-modules/markdown/default.nix index 87020cb9e10f..39f3dda5f21e 100644 --- a/pkgs/development/python-modules/markdown/default.nix +++ b/pkgs/development/python-modules/markdown/default.nix @@ -3,6 +3,7 @@ buildPythonPackage, pythonOlder, fetchFromGitHub, + fetchpatch, importlib-metadata, pyyaml, setuptools, @@ -11,7 +12,7 @@ buildPythonPackage rec { pname = "markdown"; - version = "3.8"; + version = "3.8.2"; pyproject = true; disabled = pythonOlder "3.8"; @@ -20,9 +21,16 @@ buildPythonPackage rec { owner = "Python-Markdown"; repo = "markdown"; tag = version; - hash = "sha256-H1xvDM2ShiPbfcpW+XGrxCxtaRFVaquuMuGg1RhjeNA="; + hash = "sha256-L5OTjllMUrpsKZbK+EHcqlua/6I4onJvRC3povbHgfY="; }; + patches = [ + (fetchpatch { + url = "https://github.com/Python-Markdown/markdown/commit/23c301de28e12426408656efdfa153b11d4ff558.patch"; + hash = "sha256-85HP97iL1umG60jwUgfnHvKHYmws5FSL0xfgZF95aiQ="; + }) + ]; + build-system = [ setuptools ]; dependencies = lib.optionals (pythonOlder "3.10") [ importlib-metadata ]; diff --git a/pkgs/development/python-modules/markdown2/default.nix b/pkgs/development/python-modules/markdown2/default.nix index 832a20c670fd..01fa47856207 100644 --- a/pkgs/development/python-modules/markdown2/default.nix +++ b/pkgs/development/python-modules/markdown2/default.nix @@ -4,7 +4,7 @@ fetchFromGitHub, latex2mathml, pygments, - pytestCheckHook, + pytest7CheckHook, pythonOlder, setuptools, wavedrom, @@ -28,7 +28,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "markdown2" ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ pytest7CheckHook ]; optional-dependencies = { code_syntax_highlighting = [ pygments ]; diff --git a/pkgs/development/python-modules/mashumaro/default.nix b/pkgs/development/python-modules/mashumaro/default.nix index e9e06355a552..d0acb1d790d8 100644 --- a/pkgs/development/python-modules/mashumaro/default.nix +++ b/pkgs/development/python-modules/mashumaro/default.nix @@ -54,7 +54,7 @@ buildPythonPackage rec { meta = with lib; { description = "Serialization library on top of dataclasses"; homepage = "https://github.com/Fatal1ty/mashumaro"; - changelog = "https://github.com/Fatal1ty/mashumaro/releases/tag/v${version}"; + changelog = "https://github.com/Fatal1ty/mashumaro/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ tjni ]; }; diff --git a/pkgs/development/python-modules/matplotlib/default.nix b/pkgs/development/python-modules/matplotlib/default.nix index 7f151fe2d364..4c23466b9880 100644 --- a/pkgs/development/python-modules/matplotlib/default.nix +++ b/pkgs/development/python-modules/matplotlib/default.nix @@ -80,7 +80,7 @@ let in buildPythonPackage rec { - version = "3.10.3"; + version = "3.10.5"; pname = "matplotlib"; pyproject = true; @@ -88,7 +88,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-L4LSxbt66TqqpM1CrKZdds5jdvgzBPo6YwtWmsonTfA="; + hash = "sha256-NS7WzPt5mKAIgWkvOLTKCDxpHT4nW0FFQjcEw0yQkHY="; }; env.XDG_RUNTIME_DIR = "/tmp"; diff --git a/pkgs/development/python-modules/matrix-nio/default.nix b/pkgs/development/python-modules/matrix-nio/default.nix index 8c8e0b3828b5..fba252975c70 100644 --- a/pkgs/development/python-modules/matrix-nio/default.nix +++ b/pkgs/development/python-modules/matrix-nio/default.nix @@ -29,6 +29,7 @@ hyperframe, hypothesis, pytest-aiohttp, + pytest-asyncio_0, pytest-benchmark, pytestCheckHook, @@ -93,7 +94,7 @@ buildPythonPackage rec { hpack hyperframe hypothesis - pytest-aiohttp + (pytest-aiohttp.override { pytest-asyncio = pytest-asyncio_0; }) pytest-benchmark pytestCheckHook ]; diff --git a/pkgs/development/python-modules/maxminddb/default.nix b/pkgs/development/python-modules/maxminddb/default.nix index 25de18f228a2..df4ea5f300a9 100644 --- a/pkgs/development/python-modules/maxminddb/default.nix +++ b/pkgs/development/python-modules/maxminddb/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "maxminddb"; - version = "2.6.3"; + version = "2.8.2"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-0sOAa6p6oEeqG6x0GefjU9tDX4jwnVEQaoTbrPZF0lQ="; + hash = "sha256-JqjlNiKNjMKMW49XSlcaJwS+/OOzaM7KWTp21WtlkPk="; }; buildInputs = [ libmaxminddb ]; diff --git a/pkgs/development/python-modules/mdtraj/default.nix b/pkgs/development/python-modules/mdtraj/default.nix index 6d8afed4ab34..fcbc8f4c931c 100644 --- a/pkgs/development/python-modules/mdtraj/default.nix +++ b/pkgs/development/python-modules/mdtraj/default.nix @@ -27,14 +27,14 @@ buildPythonPackage rec { pname = "mdtraj"; - version = "1.10.3"; + version = "1.11.0"; pyproject = true; src = fetchFromGitHub { owner = "mdtraj"; repo = "mdtraj"; tag = version; - hash = "sha256-xmxVPF6GhZpyuTxdmxB7mkfrDb1FIh9Z3obgUOdQmrw="; + hash = "sha256-Re8noXZGT+WEW8HzdoHSsr52R06TzLPzfPzHdvweRdQ="; }; patches = [ diff --git a/pkgs/development/python-modules/mesa/default.nix b/pkgs/development/python-modules/mesa/default.nix index e34ce49d24ec..c26bf68c8582 100644 --- a/pkgs/development/python-modules/mesa/default.nix +++ b/pkgs/development/python-modules/mesa/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "mesa"; - version = "3.1.5"; + version = "3.2.0"; format = "setuptools"; # According to their docs, this library is for Python 3+. @@ -22,7 +22,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "mesa"; inherit version; - hash = "sha256-ZXWQrCwA8PCRNBGpVNxXrpxfx5wMtKPH2djmxqRwwdA="; + hash = "sha256-k4UjkUGL4qDgOhucQU7svRNZtM3ZqtO6NUxpl4NhQl0="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/mezzanine/default.nix b/pkgs/development/python-modules/mezzanine/default.nix index d7f21ee8e2a6..c28ab57e67f8 100644 --- a/pkgs/development/python-modules/mezzanine/default.nix +++ b/pkgs/development/python-modules/mezzanine/default.nix @@ -23,7 +23,7 @@ buildPythonPackage rec { pname = "mezzanine"; - version = "6.0.0"; + version = "6.1.1"; format = "setuptools"; disabled = pythonOlder "3.7" || isPyPy; @@ -31,7 +31,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "Mezzanine"; inherit version; - hash = "sha256-R/PB4PFQpVp6jnCasyPszgC294SKjLzq2oMkR2qV86s="; + hash = "sha256-RZ/9ltvZUz1eXxeaVqS9ZE69+a9XWt6fxMcss+yTVP4="; }; buildInputs = [ diff --git a/pkgs/development/python-modules/microsoft-kiota-authentication-azure/default.nix b/pkgs/development/python-modules/microsoft-kiota-authentication-azure/default.nix index 49a6c420de00..6a32370d1fdf 100644 --- a/pkgs/development/python-modules/microsoft-kiota-authentication-azure/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-authentication-azure/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "microsoft-kiota-authentication-azure"; - version = "1.9.3"; + version = "1.9.5"; pyproject = true; disabled = pythonOlder "3.9"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "microsoft"; repo = "kiota-python"; tag = "microsoft-kiota-serialization-text-v${version}"; - hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8="; + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; }; sourceRoot = "${src.name}/packages/authentication/azure/"; diff --git a/pkgs/development/python-modules/microsoft-kiota-http/default.nix b/pkgs/development/python-modules/microsoft-kiota-http/default.nix index b0633edf960e..2184b1b5378e 100644 --- a/pkgs/development/python-modules/microsoft-kiota-http/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-http/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "microsoft-kiota-http"; - version = "1.9.4"; + version = "1.9.5"; pyproject = true; disabled = pythonOlder "3.9"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "microsoft"; repo = "kiota-python"; tag = "microsoft-kiota-serialization-text-v${version}"; - hash = "sha256-59vuJc7Wb/6PsPA4taAFA2UK8bdz+raZ+NB4S8LahtM="; + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; }; sourceRoot = "${src.name}/packages/http/httpx/"; diff --git a/pkgs/development/python-modules/microsoft-kiota-serialization-form/default.nix b/pkgs/development/python-modules/microsoft-kiota-serialization-form/default.nix index 3436f98d41e6..925e3a068bad 100644 --- a/pkgs/development/python-modules/microsoft-kiota-serialization-form/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-serialization-form/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "microsoft-kiota-serialization-form"; - version = "1.9.3"; + version = "1.9.5"; pyproject = true; disabled = pythonOlder "3.9"; @@ -21,8 +21,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "microsoft"; repo = "kiota-python"; - tag = "microsoft-kiota-serialization-form-v${version}"; - hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8="; + tag = "microsoft-kiota-serialization-text-v${version}"; + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; }; sourceRoot = "${src.name}/packages/serialization/form/"; diff --git a/pkgs/development/python-modules/microsoft-kiota-serialization-json/default.nix b/pkgs/development/python-modules/microsoft-kiota-serialization-json/default.nix index d7aef7c3100e..3efa60b16cf8 100644 --- a/pkgs/development/python-modules/microsoft-kiota-serialization-json/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-serialization-json/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "microsoft-kiota-serialization-json"; - version = "1.9.3"; + version = "1.9.5"; pyproject = true; disabled = pythonOlder "3.9"; @@ -21,8 +21,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "microsoft"; repo = "kiota-python"; - tag = "microsoft-kiota-serialization-json-v${version}"; - hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8="; + tag = "microsoft-kiota-serialization-text-v${version}"; + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; }; sourceRoot = "${src.name}/packages/serialization/json/"; diff --git a/pkgs/development/python-modules/microsoft-kiota-serialization-multipart/default.nix b/pkgs/development/python-modules/microsoft-kiota-serialization-multipart/default.nix index eee939de8263..02a73cf76780 100644 --- a/pkgs/development/python-modules/microsoft-kiota-serialization-multipart/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-serialization-multipart/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "microsoft-kiota-serialization-multipart"; - version = "1.9.3"; + version = "1.9.5"; pyproject = true; disabled = pythonOlder "3.8"; @@ -21,8 +21,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "microsoft"; repo = "kiota-python"; - tag = "microsoft-kiota-serialization-multipart-v${version}"; - hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8="; + tag = "microsoft-kiota-serialization-text-v${version}"; + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; }; sourceRoot = "${src.name}/packages/serialization/multipart/"; diff --git a/pkgs/development/python-modules/microsoft-kiota-serialization-text/default.nix b/pkgs/development/python-modules/microsoft-kiota-serialization-text/default.nix index 4fc7fb84b474..4f627b3ee53d 100644 --- a/pkgs/development/python-modules/microsoft-kiota-serialization-text/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-serialization-text/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "microsoft-kiota-serialization-text"; - version = "1.9.3"; + version = "1.9.5"; pyproject = true; disabled = pythonOlder "3.9"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "microsoft"; repo = "kiota-python"; tag = "microsoft-kiota-serialization-text-v${version}"; - hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8="; + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; }; sourceRoot = "${src.name}/packages/serialization/text/"; diff --git a/pkgs/development/python-modules/mindsdb-evaluator/default.nix b/pkgs/development/python-modules/mindsdb-evaluator/default.nix index 3abef9cf4cda..2f7b18a34653 100644 --- a/pkgs/development/python-modules/mindsdb-evaluator/default.nix +++ b/pkgs/development/python-modules/mindsdb-evaluator/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "mindsdb-evaluator"; - version = "0.0.16"; + version = "0.0.18"; pyproject = true; disabled = pythonOlder "3.8"; @@ -22,7 +22,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "mindsdb_evaluator"; inherit version; - hash = "sha256-92XGu6ob1AfOoqcB/hqDf+lSDAUjZ5SPju5FkpcbOHA="; + hash = "sha256-UGg7P/OKmRi70z2roRBsA95FAXm7CG+TdPzTRy7+p4w="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/minikanren/default.nix b/pkgs/development/python-modules/minikanren/default.nix index 9e28d4c6bb8d..911b6edbbd65 100644 --- a/pkgs/development/python-modules/minikanren/default.nix +++ b/pkgs/development/python-modules/minikanren/default.nix @@ -10,21 +10,28 @@ py, pytestCheckHook, pytest-html, + setuptools, + setuptools-scm, }: -buildPythonPackage { +buildPythonPackage rec { pname = "minikanren"; - version = "1.0.3"; - format = "setuptools"; + version = "1.0.5"; + pyproject = true; src = fetchFromGitHub { owner = "pythological"; repo = "kanren"; - rev = "5aa9b1734cbb3fe072a7c72b46e1b72a174d28ac"; - hash = "sha256-daAtREgm91634Q0mc0/WZivDiyZHC7TIRoGRo8hMnGE="; + tag = "v${version}"; + hash = "sha256-lCQ0mKT99zK5A74uoo/9bP+eFdm3MC43Fh8+P2krXrs="; }; - propagatedBuildInputs = [ + build-system = [ + setuptools + setuptools-scm + ]; + + dependencies = [ toolz cons multipledispatch @@ -48,7 +55,7 @@ buildPythonPackage { meta = with lib; { description = "Relational programming in Python"; homepage = "https://github.com/pythological/kanren"; - changelog = "https://github.com/pythological/kanren/releases"; + changelog = "https://github.com/pythological/kanren/releases/tag/${src.tag}"; license = licenses.bsd3; maintainers = with maintainers; [ Etjean ]; }; diff --git a/pkgs/development/python-modules/mistral-common/default.nix b/pkgs/development/python-modules/mistral-common/default.nix index 2c6b42a76333..e245f5b7e524 100644 --- a/pkgs/development/python-modules/mistral-common/default.nix +++ b/pkgs/development/python-modules/mistral-common/default.nix @@ -16,13 +16,13 @@ buildPythonPackage rec { pname = "mistral-common"; - version = "1.5.6"; + version = "1.8.3"; pyproject = true; src = fetchPypi { pname = "mistral_common"; inherit version; - hash = "sha256-TauSQwaEMhFKFfLEb/SRagViCnIrDfjetJ3POD+34r8="; + hash = "sha256-DRl52CIntiX21xs8goF28FnajQ9aMwfN9TtIQJo5cKQ="; }; pythonRelaxDeps = [ diff --git a/pkgs/development/python-modules/mkdocs-material/default.nix b/pkgs/development/python-modules/mkdocs-material/default.nix index f7ad8267ef8c..3717e7e03b89 100644 --- a/pkgs/development/python-modules/mkdocs-material/default.nix +++ b/pkgs/development/python-modules/mkdocs-material/default.nix @@ -28,14 +28,14 @@ buildPythonPackage rec { pname = "mkdocs-material"; - version = "9.6.15"; + version = "9.6.16"; pyproject = true; src = fetchFromGitHub { owner = "squidfunk"; repo = "mkdocs-material"; tag = version; - hash = "sha256-EksLvPl/VfGSufdqgWlQTd6kz07/pTIAOz7hMBdy8Ro="; + hash = "sha256-wGzrlDf6bJFIfJXlCMlOQvRlpOcDXeMVY2/GRjOG1H4="; }; nativeBuildInputs = [ @@ -60,6 +60,8 @@ buildPythonPackage rec { requests ]; + pythonRelaxDeps = [ "backrefs" ]; + optional-dependencies = { recommended = [ mkdocs-minify-plugin diff --git a/pkgs/development/python-modules/mkdocs-swagger-ui-tag/default.nix b/pkgs/development/python-modules/mkdocs-swagger-ui-tag/default.nix index 095300fa5846..e3174f10b0ad 100644 --- a/pkgs/development/python-modules/mkdocs-swagger-ui-tag/default.nix +++ b/pkgs/development/python-modules/mkdocs-swagger-ui-tag/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "mkdocs-swagger-ui-tag"; - version = "0.6.11"; + version = "0.7.1"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "Blueswen"; repo = "mkdocs-swagger-ui-tag"; tag = "v${version}"; - hash = "sha256-hxf7onjH26QsdB19r71NSC/67u+pEYdJo3e4OvWGgtI="; + hash = "sha256-zn+ASunOiAg/kxsvaHUYKuWc5UZ406RO/LSQ+qkAEn0="; }; propagatedBuildInputs = [ @@ -45,7 +45,7 @@ buildPythonPackage rec { meta = with lib; { description = "MkDocs plugin supports for add Swagger UI in page"; homepage = "https://github.com/Blueswen/mkdocs-swagger-ui-tag"; - changelog = "https://github.com/blueswen/mkdocs-swagger-ui-tag/blob/v${version}/CHANGELOG"; + changelog = "https://github.com/blueswen/mkdocs-swagger-ui-tag/blob/${src.tag}/CHANGELOG"; license = licenses.mit; maintainers = with maintainers; [ snpschaaf ]; }; diff --git a/pkgs/development/python-modules/mkl-service/default.nix b/pkgs/development/python-modules/mkl-service/default.nix index a437f066f4b0..07e7a870b38d 100644 --- a/pkgs/development/python-modules/mkl-service/default.nix +++ b/pkgs/development/python-modules/mkl-service/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "mkl-service"; - version = "2.4.2"; + version = "2.5.2"; pyproject = true; src = fetchFromGitHub { owner = "IntelPython"; repo = "mkl-service"; tag = "v${version}"; - hash = "sha256-o5mjZhqQc7tu44EjrScuGzv6pZNlnZnndMIAhl8pY5o="; + hash = "sha256-uP4TzBLhlpT83FIYCjolP3QN5/90YjBOnauy780gUJc="; }; build-system = [ diff --git a/pkgs/development/python-modules/mlcroissant/default.nix b/pkgs/development/python-modules/mlcroissant/default.nix index 96bf7b6dc9f6..510c7d617ace 100644 --- a/pkgs/development/python-modules/mlcroissant/default.nix +++ b/pkgs/development/python-modules/mlcroissant/default.nix @@ -30,14 +30,14 @@ buildPythonPackage rec { pname = "mlcroissant"; - version = "1.0.17"; + version = "1.0.21"; pyproject = true; src = fetchFromGitHub { owner = "mlcommons"; repo = "croissant"; tag = "v${version}"; - hash = "sha256-jiyr8x+YRSsRwOVxDPaWemPqglTKVb5jg4rRzUXd3BE="; + hash = "sha256-yUAF/NQHz8WUIaIIsqOwTMppl5+EZhURFpHnde9OOpE="; }; sourceRoot = "${src.name}/python/mlcroissant"; @@ -89,7 +89,7 @@ buildPythonPackage rec { meta = { description = "High-level format for machine learning datasets that brings together four rich layers"; homepage = "https://github.com/mlcommons/croissant"; - changelog = "https://github.com/mlcommons/croissant/releases/tag/v${version}"; + changelog = "https://github.com/mlcommons/croissant/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; platforms = lib.platforms.all; diff --git a/pkgs/development/python-modules/mlflow/default.nix b/pkgs/development/python-modules/mlflow/default.nix index bc36ab6d3465..3abe96a35935 100644 --- a/pkgs/development/python-modules/mlflow/default.nix +++ b/pkgs/development/python-modules/mlflow/default.nix @@ -71,14 +71,14 @@ buildPythonPackage rec { pname = "mlflow"; - version = "2.20.3"; + version = "3.1.4"; pyproject = true; src = fetchFromGitHub { owner = "mlflow"; repo = "mlflow"; tag = "v${version}"; - hash = "sha256-kgohENAx5PpLQ9pBfl/zSq65l/DqJfufBf0gWR1WJHY="; + hash = "sha256-GU1CVwc31bLai8QoXch/UTx//+OG2V/6jG9Ocz4MDuA="; }; pythonRelaxDeps = [ diff --git a/pkgs/development/python-modules/mlx-lm/default.nix b/pkgs/development/python-modules/mlx-lm/default.nix index e724bb22ff16..214232169490 100644 --- a/pkgs/development/python-modules/mlx-lm/default.nix +++ b/pkgs/development/python-modules/mlx-lm/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "mlx-lm"; - version = "0.26.0"; + version = "0.26.2"; pyproject = true; src = fetchFromGitHub { owner = "ml-explore"; repo = "mlx-lm"; tag = "v${version}"; - hash = "sha256-J69XIqsjQ4sQqhx+EkjKcVXVlQ4A4PGJvICSiCfoSOA="; + hash = "sha256-D5csHfkmIM01PkCMT+DDJ2+6as6eVdKNvvHzXcVqdEY="; }; build-system = [ diff --git a/pkgs/development/python-modules/mocket/default.nix b/pkgs/development/python-modules/mocket/default.nix index 7dac034861b0..7c0ae8c4335b 100644 --- a/pkgs/development/python-modules/mocket/default.nix +++ b/pkgs/development/python-modules/mocket/default.nix @@ -36,12 +36,12 @@ buildPythonPackage rec { pname = "mocket"; - version = "3.13.4"; + version = "3.13.10"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-KoZ2V0M4ezW58c65wc9vJHrYMZ2ywKUjCOietKYS94Q="; + hash = "sha256-MnFH77ryrLyu//IH6FYb3ZVFlsdkimJKzKGbDH1sgmw="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/modelcif/default.nix b/pkgs/development/python-modules/modelcif/default.nix index e8b03321620f..242986272bc5 100644 --- a/pkgs/development/python-modules/modelcif/default.nix +++ b/pkgs/development/python-modules/modelcif/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "modelcif"; - version = "1.3"; + version = "1.4"; pyproject = true; src = fetchFromGitHub { owner = "ihmwg"; repo = "python-modelcif"; tag = version; - hash = "sha256-3wuKD6oQp3QdsWRpYsnC5IPpVRcQVDERSClEKJko3dg="; + hash = "sha256-Uj6E25uqFdCo2lGf0Cmhc7rs3Rwj7vkpe2G0uhv53gc="; }; build-system = [ @@ -39,7 +39,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python package for handling ModelCIF mmCIF and BinaryCIF files"; homepage = "https://github.com/ihmwg/python-modelcif"; - changelog = "https://github.com/ihmwg/python-modelcif/blob/${src.rev}/ChangeLog.rst"; + changelog = "https://github.com/ihmwg/python-modelcif/blob/${src.tag}/ChangeLog.rst"; license = licenses.mit; maintainers = with maintainers; [ natsukium ]; }; diff --git a/pkgs/development/python-modules/monai-deploy/default.nix b/pkgs/development/python-modules/monai-deploy/default.nix index fc5982711dfa..3ae67044ff93 100644 --- a/pkgs/development/python-modules/monai-deploy/default.nix +++ b/pkgs/development/python-modules/monai-deploy/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "monai-deploy"; - version = "0.5.1"; + version = "3.0.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "Project-MONAI"; repo = "monai-deploy-app-sdk"; tag = version; - hash = "sha256-a5WtU+1XjsYsXB/uZS8ufE0fOOWDf+Wy7mOX2xPEQEg="; + hash = "sha256-W2GXVd4gWgfGLjXR+8m/Ztm52Agj4FGWtEFrh4mjYk0="; }; postPatch = '' @@ -68,7 +68,7 @@ buildPythonPackage rec { description = "Framework and tools to design, develop and verify AI applications in healthcare imaging"; mainProgram = "monai-deploy"; homepage = "https://monai.io/deploy.html"; - changelog = "https://github.com/Project-MONAI/monai-deploy-app-sdk/blob/main/docs/source/release_notes/v${version}.md"; + changelog = "https://github.com/Project-MONAI/monai-deploy-app-sdk/blob/main/docs/source/release_notes/${src.tag}.md"; license = licenses.asl20; maintainers = with maintainers; [ bcdarwin ]; }; diff --git a/pkgs/development/python-modules/moto/default.nix b/pkgs/development/python-modules/moto/default.nix index 3fe8eaea2371..bf54158febbf 100644 --- a/pkgs/development/python-modules/moto/default.nix +++ b/pkgs/development/python-modules/moto/default.nix @@ -10,7 +10,6 @@ cryptography, docker, fetchFromGitHub, - fetchpatch, flask-cors, flask, freezegun, @@ -38,7 +37,7 @@ buildPythonPackage rec { pname = "moto"; - version = "5.1.4"; + version = "5.1.9"; pyproject = true; disabled = pythonOlder "3.8"; @@ -47,18 +46,9 @@ buildPythonPackage rec { owner = "getmoto"; repo = "moto"; tag = version; - hash = "sha256-bDRd1FTBpv6t2j8cBzcYiK4B0F4sLcoW9K0Wnd0oo+4="; + hash = "sha256-UbCSGpvS8Jvpe8iV1rVplSoGykHSup9pVTd3odbPq6Y="; }; - # Fix tests with botocore 1.38.32 - # FIXME: remove in next update - patches = [ - (fetchpatch { - url = "https://github.com/getmoto/moto/commit/8dcaaca0eefdf9ac957650c1562317b6d07fadf9.diff"; - hash = "sha256-5zaerJR1rsMZQLn8cXjS8RYiKlSQ6azp7dk7JzLp+7I="; - }) - ]; - build-system = [ setuptools ]; @@ -364,9 +354,6 @@ buildPythonPackage rec { # Parameter validation fails "test_conditional_write" - # Requires newer botocore version - "test_dynamodb_with_account_id_routing" - # Assumes too much about threading.Timer() behavior (that it honors the # timeout precisely and that the thread handler will complete in just 0.1s # from the requested timeout) @@ -395,6 +382,9 @@ buildPythonPackage rec { # botocore.exceptions.ParamValidationError: Parameter validation failed: Unknown parameter in input: "EnableWorkDocs", must be one of: [...] "tests/test_workspaces/test_workspaces.py" + + # Requires sagemaker client + "other_langs/tests_sagemaker_client/test_model_training.py" ]; meta = { diff --git a/pkgs/development/python-modules/motor/default.nix b/pkgs/development/python-modules/motor/default.nix index f0d13adab90e..d62180f93e19 100644 --- a/pkgs/development/python-modules/motor/default.nix +++ b/pkgs/development/python-modules/motor/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "motor"; - version = "3.7.0"; + version = "3.7.1"; pyproject = true; src = fetchFromGitHub { owner = "mongodb"; repo = "motor"; tag = version; - hash = "sha256-O3MHVzL/ECO0vnzJItXTDmmMN8aicbvh0Sve/HlAlZw="; + hash = "sha256-ul2GKzSiAewwGEuCpQQ61h3cqrJikaJeKs5KlX+aAjo="; }; build-system = [ diff --git a/pkgs/development/python-modules/mozjpeg_lossless_optimization/default.nix b/pkgs/development/python-modules/mozjpeg_lossless_optimization/default.nix index 684d15400c4a..51353639a647 100644 --- a/pkgs/development/python-modules/mozjpeg_lossless_optimization/default.nix +++ b/pkgs/development/python-modules/mozjpeg_lossless_optimization/default.nix @@ -12,15 +12,15 @@ }: buildPythonPackage rec { pname = "mozjpeg_lossless_optimization"; - version = "1.3.0"; + version = "1.3.1"; pyproject = true; src = fetchFromGitHub { owner = "wanadev"; repo = "mozjpeg-lossless-optimization"; # https://github.com/NixOS/nixpkgs/issues/26302 - rev = "refs/tags/v${version}"; - hash = "sha256-g2+QpV3F7wtu37qRJlA4a5r1J9yuJZcC99fDDy03JqU="; + tag = "v${version}"; + hash = "sha256-HAOmD87oazwlGx1O+tAV5qzSn4EHbzeYQ5e8kmegwbo="; fetchSubmodules = true; }; @@ -46,7 +46,7 @@ buildPythonPackage rec { meta = { description = "Python library to optimize JPEGs losslessly using MozJPEG"; homepage = "https://github.com/wanadev/mozjpeg-lossless-optimization"; - changelog = "https://github.com/wanadev/mozjpeg-lossless-optimization/releases/tag/v${version}"; + changelog = "https://github.com/wanadev/mozjpeg-lossless-optimization/releases/tag/${src.tag}"; license = lib.licenses.bsd3; maintainers = [ lib.maintainers.adfaure ]; }; diff --git a/pkgs/development/python-modules/mpi4py/default.nix b/pkgs/development/python-modules/mpi4py/default.nix index bf894a84e568..202ba506dfe1 100644 --- a/pkgs/development/python-modules/mpi4py/default.nix +++ b/pkgs/development/python-modules/mpi4py/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "mpi4py"; - version = "4.0.3"; + version = "4.1.0"; pyproject = true; src = fetchFromGitHub { repo = "mpi4py"; owner = "mpi4py"; tag = version; - hash = "sha256-eN/tjlnNla6RHYOXcprVVqtec1nwCEGn+MBcV/5mHJg="; + hash = "sha256-Hm+x79utOrjAbprud2MECgakyOzgShSwNuoyZUcTluQ="; }; build-system = [ diff --git a/pkgs/development/python-modules/mpl-typst/default.nix b/pkgs/development/python-modules/mpl-typst/default.nix index 040807fde8cd..c2d0d1ffc697 100644 --- a/pkgs/development/python-modules/mpl-typst/default.nix +++ b/pkgs/development/python-modules/mpl-typst/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "mpl-typst"; - version = "0.1.0"; + version = "0.2.1"; pyproject = true; src = fetchFromGitHub { owner = "daskol"; repo = "mpl-typst"; tag = "v${version}"; - hash = "sha256-Pm5z4tkpgwjYtpBh9+AJWlsHl7HNGxyftfaNSwQDpdk="; + hash = "sha256-lkO4BTo3duNAsppTjteeBuzgSJL/UnKVW2QXgrfVrqM="; }; build-system = [ @@ -46,7 +46,7 @@ buildPythonPackage rec { meta = { description = "Typst backend for matplotlib"; homepage = "https://github.com/daskol/mpl-typst"; - changelog = "https://github.com/daskol/mpl-typst/releases/tag/v${version}"; + changelog = "https://github.com/daskol/mpl-typst/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ genga898 ]; }; diff --git a/pkgs/development/python-modules/mplhep/default.nix b/pkgs/development/python-modules/mplhep/default.nix index c34460357977..36729e8c5285 100644 --- a/pkgs/development/python-modules/mplhep/default.nix +++ b/pkgs/development/python-modules/mplhep/default.nix @@ -25,14 +25,14 @@ buildPythonPackage rec { pname = "mplhep"; - version = "0.3.59"; + version = "0.4.0"; pyproject = true; src = fetchFromGitHub { owner = "scikit-hep"; repo = "mplhep"; tag = "v${version}"; - hash = "sha256-Xanj2AkFRq/zu2ntTHVt1QkikN0bYfRcBj6CBho15os="; + hash = "sha256-VpdhgFUX1qUiUT5HlA2j3QQv7s3bF671e1I53MsML8w="; }; build-system = [ diff --git a/pkgs/development/python-modules/mrsqm/default.nix b/pkgs/development/python-modules/mrsqm/default.nix index e6828479a5dd..e8a2a0ffea8b 100644 --- a/pkgs/development/python-modules/mrsqm/default.nix +++ b/pkgs/development/python-modules/mrsqm/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "mrsqm"; - version = "0.0.7"; + version = "4"; pyproject = true; build-system = [ @@ -28,8 +28,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "mlgig"; repo = "mrsqm"; - tag = "v.${version}"; - hash = "sha256-5K6vCU0HExnmYNThZNDCbEtII9bUGauxDtKkJXe/85Q="; + tag = "r${version}"; + hash = "sha256-59f18zItV3K6tXcg1v1q2Z8HYrQB8T0ntaaqjxeAEbM="; }; buildInputs = [ fftw ]; diff --git a/pkgs/development/python-modules/msal/default.nix b/pkgs/development/python-modules/msal/default.nix index 955c4f97a85b..2d570ab0d594 100644 --- a/pkgs/development/python-modules/msal/default.nix +++ b/pkgs/development/python-modules/msal/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "msal"; - version = "1.32.3"; + version = "1.33.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-XuoDhonHilpwyo7L4SRUWLVahXvQlu+2mJxpuhWYXTU="; + hash = "sha256-g2rYD6o+JafXEBXJkM5h9wSocyix5zvLsGI6GMvxdRA="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/msgpack/default.nix b/pkgs/development/python-modules/msgpack/default.nix index ea30f58d8109..36f886ad7609 100644 --- a/pkgs/development/python-modules/msgpack/default.nix +++ b/pkgs/development/python-modules/msgpack/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "msgpack"; - version = "1.1.0"; + version = "1.1.1"; pyproject = true; src = fetchFromGitHub { owner = "msgpack"; repo = "msgpack-python"; tag = "v${version}"; - hash = "sha256-yKQcQi0oSJ33gzsx1Q6ME3GbuSaHR091n7maU6F5QlU="; + hash = "sha256-j1MpdnfG6tCgAFlza64erMhJm/MkSK2QnixNv7MrQes="; }; build-system = [ setuptools ]; @@ -41,7 +41,7 @@ buildPythonPackage rec { meta = with lib; { description = "MessagePack serializer implementation"; homepage = "https://github.com/msgpack/msgpack-python"; - changelog = "https://github.com/msgpack/msgpack-python/blob/v${version}/ChangeLog.rst"; + changelog = "https://github.com/msgpack/msgpack-python/blob/${src.tag}/ChangeLog.rst"; license = licenses.asl20; maintainers = with maintainers; [ nickcao ]; }; diff --git a/pkgs/development/python-modules/msgraph-core/default.nix b/pkgs/development/python-modules/msgraph-core/default.nix index a684239a6d01..235a8be3a46a 100644 --- a/pkgs/development/python-modules/msgraph-core/default.nix +++ b/pkgs/development/python-modules/msgraph-core/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "msgraph-core"; - version = "1.3.4"; + version = "1.3.5"; pyproject = true; disabled = pythonOlder "3.9"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "microsoftgraph"; repo = "msgraph-sdk-python-core"; tag = "v${version}"; - hash = "sha256-F3vZUglO0AvWZPwV8329Wrd5S4PHShBv8Gg3Jvsz6Kk="; + hash = "sha256-0ey8sV0JDuOjdrOeO/hRxZ847DMcWai0B/YUWZ1VJ48="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/multidict/default.nix b/pkgs/development/python-modules/multidict/default.nix index 7f731d7bb8c7..75f50f00d240 100644 --- a/pkgs/development/python-modules/multidict/default.nix +++ b/pkgs/development/python-modules/multidict/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "multidict"; - version = "6.4.4"; + version = "6.6.3"; pyproject = true; src = fetchFromGitHub { owner = "aio-libs"; repo = "multidict"; tag = "v${version}"; - hash = "sha256-crnWaThjymY0nbY4yvD+wX20vQcBkPrFAI+UkexNAbo="; + hash = "sha256-AB35kVgKizzPi3r4tDVQ7vI50Xsb2BeBp3rFh+UOXQc="; }; postPatch = '' diff --git a/pkgs/development/python-modules/multipart/default.nix b/pkgs/development/python-modules/multipart/default.nix index 587c2e3aa109..4eb143a42c57 100644 --- a/pkgs/development/python-modules/multipart/default.nix +++ b/pkgs/development/python-modules/multipart/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "multipart"; - version = "1.2.1"; + version = "1.3.0"; pyproject = true; src = fetchFromGitHub { owner = "defnull"; repo = "multipart"; tag = "v${version}"; - hash = "sha256-mQMv5atWrWpwyY9YYjaRYNDm5AfW54drPSKL7qiae+I="; + hash = "sha256-6vlyoi4nayZOKyfO4jbKNzUy7G6K7mySYzkqfp+45O4="; }; build-system = [ flit-core ]; @@ -25,7 +25,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "multipart" ]; meta = { - changelog = "https://github.com/defnull/multipart/blob/${src.rev}/CHANGELOG.rst"; + changelog = "https://github.com/defnull/multipart/blob/${src.tag}/CHANGELOG.rst"; description = "Parser for multipart/form-data"; homepage = "https://github.com/defnull/multipart"; license = lib.licenses.mit; diff --git a/pkgs/development/python-modules/mwparserfromhell/default.nix b/pkgs/development/python-modules/mwparserfromhell/default.nix index 55d9c63c640d..b4f5e86efcbe 100644 --- a/pkgs/development/python-modules/mwparserfromhell/default.nix +++ b/pkgs/development/python-modules/mwparserfromhell/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "mwparserfromhell"; - version = "0.6.6"; + version = "0.7.2"; format = "setuptools"; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-ca/sHpeEulduldbzSEVYLTxzOjpSuncN2KnDpA5bZJ8="; + hash = "sha256-9Bkwcunqk7noj3cvYKAhJcBgLTKJDQu9yyde1YyLN2M="; }; postPatch = '' diff --git a/pkgs/development/python-modules/myst-nb/default.nix b/pkgs/development/python-modules/myst-nb/default.nix index f12ee7e8c1b7..cba8ec711379 100644 --- a/pkgs/development/python-modules/myst-nb/default.nix +++ b/pkgs/development/python-modules/myst-nb/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "myst-nb"; - version = "1.2.0"; + version = "1.3.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -27,7 +27,7 @@ buildPythonPackage rec { src = fetchPypi { inherit version; pname = "myst_nb"; - hash = "sha256-r0Wex1OzQZUhgrRbCoC0d2zr+Aye5qrKKj9AJ7RAyd4="; + hash = "sha256-3zzUaA9Rpa9nP9RrOLVivjVZrvFHXpBu0PLmbkWHzks="; }; nativeBuildInputs = [ flit-core ]; diff --git a/pkgs/development/python-modules/nanoeigenpy/default.nix b/pkgs/development/python-modules/nanoeigenpy/default.nix index 9e1f0378dc3f..29bb740b4aaa 100644 --- a/pkgs/development/python-modules/nanoeigenpy/default.nix +++ b/pkgs/development/python-modules/nanoeigenpy/default.nix @@ -25,14 +25,14 @@ buildPythonPackage rec { pname = "nanoeigenpy"; - version = "0.3.0"; + version = "0.4.0"; pyproject = false; # Built with cmake src = fetchFromGitHub { owner = "Simple-Robotics"; repo = "nanoeigenpy"; tag = "v${version}"; - hash = "sha256-asDe1mrTsAxVl0gAo7zlWqQRfWYBiSLqQk1d8bEBsn4="; + hash = "sha256-2Lp3fYw3rQYxjkCQCeHI+N32Y4vTJ8l+PoKqLCmAXIU="; }; # Fix: diff --git a/pkgs/development/python-modules/napari-npe2/default.nix b/pkgs/development/python-modules/napari-npe2/default.nix index e9a9beeed4cd..02a0a99047e3 100644 --- a/pkgs/development/python-modules/napari-npe2/default.nix +++ b/pkgs/development/python-modules/napari-npe2/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "napari-npe2"; - version = "0.7.8"; + version = "0.7.9"; pyproject = true; disabled = pythonOlder "3.8"; @@ -28,7 +28,7 @@ buildPythonPackage rec { owner = "napari"; repo = "npe2"; tag = "v${version}"; - hash = "sha256-J15CmJ1L173M54fCo4oTV9XP7946c0aHzLqKjTvzG0g="; + hash = "sha256-q+vgzUuSSHFR64OajT/j/tLsNgSm3azQPCvDlrIvceM="; }; build-system = [ diff --git a/pkgs/development/python-modules/napari/default.nix b/pkgs/development/python-modules/napari/default.nix index 3d49194633e6..48f842bc15a6 100644 --- a/pkgs/development/python-modules/napari/default.nix +++ b/pkgs/development/python-modules/napari/default.nix @@ -45,14 +45,14 @@ mkDerivationWith buildPythonPackage rec { pname = "napari"; - version = "0.6.2"; + version = "0.6.3"; pyproject = true; src = fetchFromGitHub { owner = "napari"; repo = "napari"; tag = "v${version}"; - hash = "sha256-p6deNHnlvgZXV3Ym3OADC44j5bOkMDjlmM2N3yE5GxE="; + hash = "sha256-OPbjq9jXA5onLBCVvCx4g935y7GNvf4GA5s5sfNjIKY="; }; postPatch = '' diff --git a/pkgs/development/python-modules/narwhals/default.nix b/pkgs/development/python-modules/narwhals/default.nix index 35d4ac513145..71e531679c3e 100644 --- a/pkgs/development/python-modules/narwhals/default.nix +++ b/pkgs/development/python-modules/narwhals/default.nix @@ -21,14 +21,14 @@ buildPythonPackage rec { pname = "narwhals"; - version = "1.40.0"; + version = "2.0.1"; pyproject = true; src = fetchFromGitHub { owner = "narwhals-dev"; repo = "narwhals"; tag = "v${version}"; - hash = "sha256-cCgWKH4DzENTI1vwxOU+GRp/poUe55XqSPY8UHYy9PI="; + hash = "sha256-NptQHnv0PoAbD0RIghBrtDPsYidq1k4LN/mUfz4n6G0="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/nbdev/default.nix b/pkgs/development/python-modules/nbdev/default.nix index d14141e18966..6a582a67d6c8 100644 --- a/pkgs/development/python-modules/nbdev/default.nix +++ b/pkgs/development/python-modules/nbdev/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "nbdev"; - version = "2.4.2"; + version = "2.4.5"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-OtCpN2Jw4ghv19jY4N2Yn46CxxZuPQSybFw62MIIf0g="; + hash = "sha256-Evp67exwUVu7Dv3z85AAeTVB4CCcBHzRFXYcq+KEpj0="; }; pythonRelaxDeps = [ "ipywidgets" ]; diff --git a/pkgs/development/python-modules/nbformat/default.nix b/pkgs/development/python-modules/nbformat/default.nix index 7c31e3e4acc7..2274c41496dd 100644 --- a/pkgs/development/python-modules/nbformat/default.nix +++ b/pkgs/development/python-modules/nbformat/default.nix @@ -46,13 +46,7 @@ buildPythonPackage rec { testpath ]; - disabledTestPaths = lib.optionals (pythonAtLeast "3.13") [ - # ResourceWarning: unclosed database in - "tests/test_validator.py" - "tests/v4/test_convert.py" - "tests/v4/test_json.py" - "tests/v4/test_validate.py" - ]; + pytestFlags = [ "-Wignore::pytest.PytestUnraisableExceptionWarning" ]; # Some of the tests use localhost networking. __darwinAllowLocalNetworking = true; diff --git a/pkgs/development/python-modules/ndindex/default.nix b/pkgs/development/python-modules/ndindex/default.nix index 54edcb1b2e4c..c4eef602132b 100644 --- a/pkgs/development/python-modules/ndindex/default.nix +++ b/pkgs/development/python-modules/ndindex/default.nix @@ -20,14 +20,14 @@ buildPythonPackage rec { pname = "ndindex"; - version = "1.9.2"; + version = "1.10.0"; pyproject = true; src = fetchFromGitHub { owner = "Quansight-Labs"; repo = "ndindex"; tag = version; - hash = "sha256-5S4HN5MFLgURImwFsyyTOxDhrZJ5Oe+Ln/TA/bsCsek="; + hash = "sha256-gPhRln7cUoRmypuTDTwoz4LyCBX3EwuKes/SEoz9NYM="; }; build-system = [ @@ -76,7 +76,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python library for manipulating indices of ndarrays"; homepage = "https://github.com/Quansight-Labs/ndindex"; - changelog = "https://github.com/Quansight-Labs/ndindex/releases/tag/${version}"; + changelog = "https://github.com/Quansight-Labs/ndindex/releases/tag/${src.tag}"; license = licenses.mit; maintainers = [ ]; }; diff --git a/pkgs/development/python-modules/neo4j/default.nix b/pkgs/development/python-modules/neo4j/default.nix index 7a9110fdd9c5..36d64c317dd0 100644 --- a/pkgs/development/python-modules/neo4j/default.nix +++ b/pkgs/development/python-modules/neo4j/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "neo4j"; - version = "5.28.1"; + version = "5.28.2"; pyproject = true; disabled = pythonOlder "3.7"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "neo4j"; repo = "neo4j-python-driver"; tag = version; - hash = "sha256-6Qa6llM8ke9dOkZ7q057ruM0h7pByxAQ+I6Mus2ExVA="; + hash = "sha256-dQvQO+Re+ki9w+itzE6/WdiiLdMlU4yePt01vAPe4+M="; }; postPatch = '' @@ -58,7 +58,7 @@ buildPythonPackage rec { meta = with lib; { description = "Neo4j Bolt Driver for Python"; homepage = "https://github.com/neo4j/neo4j-python-driver"; - changelog = "https://github.com/neo4j/neo4j-python-driver/releases/tag/${version}"; + changelog = "https://github.com/neo4j/neo4j-python-driver/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/neoteroi-mkdocs/default.nix b/pkgs/development/python-modules/neoteroi-mkdocs/default.nix index cc7fd7dc4542..bec4a6bad974 100644 --- a/pkgs/development/python-modules/neoteroi-mkdocs/default.nix +++ b/pkgs/development/python-modules/neoteroi-mkdocs/default.nix @@ -16,14 +16,14 @@ }: buildPythonPackage rec { pname = "neoteroi-mkdocs"; - version = "1.1.2"; + version = "1.1.3"; pyproject = true; src = fetchFromGitHub { owner = "Neoteroi"; repo = "mkdocs-plugins"; tag = "v${version}"; - hash = "sha256-+bH4pkY+BE31t3b750ZAbbesKLFjgx6KF9b2tXFTmhI="; + hash = "sha256-4Rd4VhgaMzoSZ87FMQsUxadGG1ucQgGY0Y4uZoZl380="; }; buildInputs = [ hatchling ]; diff --git a/pkgs/development/python-modules/nethsm/default.nix b/pkgs/development/python-modules/nethsm/default.nix index 32db3764b628..426e93f4bba6 100644 --- a/pkgs/development/python-modules/nethsm/default.nix +++ b/pkgs/development/python-modules/nethsm/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "nethsm"; - version = "1.4.0"; + version = "1.4.1"; pyproject = true; src = fetchFromGitHub { owner = "Nitrokey"; repo = "nethsm-sdk-py"; tag = "v${version}"; - hash = "sha256-cbBYElR2J35ZHW5zvL9jlMg9KSerqjFBLsg5QdmqAoA="; + hash = "sha256-guW3KKIrRKSw8TsvPMTPJUyzISBNUoBqsGBWuv7Nf7M="; }; pythonRelaxDeps = true; diff --git a/pkgs/development/python-modules/netmiko/default.nix b/pkgs/development/python-modules/netmiko/default.nix index cf9a77afe338..659151015602 100644 --- a/pkgs/development/python-modules/netmiko/default.nix +++ b/pkgs/development/python-modules/netmiko/default.nix @@ -6,7 +6,6 @@ paramiko, poetry-core, pyserial, - pythonOlder, pyyaml, rich, ruamel-yaml, @@ -16,22 +15,14 @@ buildPythonPackage rec { pname = "netmiko"; - version = "4.5.0"; + version = "4.6.0"; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchPypi { inherit pname version; - hash = "sha256-29/CC2yq+OXXpXC7G0Kia5pvjYI06R9cZfTb/gwOT1A="; + hash = "sha256-lwG7LBoV6y6AdMsuKMoAfGm5+lKWG4O5jHV+rWuA3u8="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail "poetry>=1.6.1" "poetry-core" \ - --replace-fail "poetry.masonry.api" "poetry.core.masonry.api" - ''; - build-system = [ poetry-core ]; dependencies = [ diff --git a/pkgs/development/python-modules/nettigo-air-monitor/default.nix b/pkgs/development/python-modules/nettigo-air-monitor/default.nix index ce41c43032bc..3a68b5330ef3 100644 --- a/pkgs/development/python-modules/nettigo-air-monitor/default.nix +++ b/pkgs/development/python-modules/nettigo-air-monitor/default.nix @@ -29,6 +29,11 @@ buildPythonPackage rec { hash = "sha256-Lgtq+Jho2IkXnVLVlPRxL2hvhB8gW/9Et2yqXOkM8MI="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail 'version = "0.0.0"' 'version = "${version}"' + ''; + build-system = [ setuptools ]; dependencies = [ diff --git a/pkgs/development/python-modules/netutils/default.nix b/pkgs/development/python-modules/netutils/default.nix index eabb25dd11b5..3f4d14d6294c 100644 --- a/pkgs/development/python-modules/netutils/default.nix +++ b/pkgs/development/python-modules/netutils/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "netutils"; - version = "1.13.0"; + version = "1.14.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "networktocode"; repo = "netutils"; tag = "v${version}"; - hash = "sha256-lUtxTzL3nkdICvTKozdnyx1wtwE4xwY7mcUqv3Wgw3Y="; + hash = "sha256-w+31rv/0EgAT8gv/Oqlbq/djbHIgK3YF792sxBDXHEQ="; }; build-system = [ poetry-core ]; @@ -62,7 +62,7 @@ buildPythonPackage rec { meta = with lib; { description = "Library that is a collection of objects for common network automation tasks"; homepage = "https://github.com/networktocode/netutils"; - changelog = "https://github.com/networktocode/netutils/releases/tag/v${version}"; + changelog = "https://github.com/networktocode/netutils/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/networkx/default.nix b/pkgs/development/python-modules/networkx/default.nix index 91ff6b59b531..089c28778475 100644 --- a/pkgs/development/python-modules/networkx/default.nix +++ b/pkgs/development/python-modules/networkx/default.nix @@ -29,14 +29,14 @@ buildPythonPackage rec { pname = "networkx"; # upgrade may break sage, please test the sage build or ping @timokau on upgrade - version = "3.4.2"; + version = "3.5"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-MHw2aUKMU2KqsnyKEmCqj0fE6R04kfSL4BQXONjQU+E="; + hash = "sha256-1Mb5z4H1LWkjCGZ5a4KvvM3sPbeuT70bZep1D+7VADc="; }; # backport patch to fix tests with Python 3.13.4 diff --git a/pkgs/development/python-modules/neurokit2/default.nix b/pkgs/development/python-modules/neurokit2/default.nix index 923eaa7b7e42..9e2f9acbee32 100644 --- a/pkgs/development/python-modules/neurokit2/default.nix +++ b/pkgs/development/python-modules/neurokit2/default.nix @@ -26,14 +26,14 @@ buildPythonPackage rec { pname = "neurokit2"; - version = "0.2.10"; + version = "0.2.12"; pyproject = true; src = fetchFromGitHub { owner = "neuropsychology"; repo = "NeuroKit"; tag = "v${version}"; - hash = "sha256-e/B1JvO6uYZ6iVskFvxZLSSXi0cPep9bBZ0JXZTVS28="; + hash = "sha256-gn02l0vYl+/7hXp4gFVlgblxC4dewXckW3JL3wPC89Y="; }; postPatch = '' @@ -104,7 +104,7 @@ buildPythonPackage rec { meta = { description = "Python Toolbox for Neurophysiological Signal Processing"; homepage = "https://github.com/neuropsychology/NeuroKit"; - changelog = "https://github.com/neuropsychology/NeuroKit/releases/tag/v${version}"; + changelog = "https://github.com/neuropsychology/NeuroKit/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ genga898 ]; }; diff --git a/pkgs/development/python-modules/niaarm/default.nix b/pkgs/development/python-modules/niaarm/default.nix index c0979f4c7a4f..a324761df895 100644 --- a/pkgs/development/python-modules/niaarm/default.nix +++ b/pkgs/development/python-modules/niaarm/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "niaarm"; # nixpkgs-update: no auto update - version = "0.4.2"; + version = "0.13.4"; pyproject = true; src = fetchFromGitHub { owner = "firefly-cpp"; repo = "NiaARM"; tag = version; - hash = "sha256-WvVXL1a1DvgLF3upbGUi1+nH5aDBUNx5Bitlkb8lQkc="; + hash = "sha256-524rJ5b9e0U1rqu1iCGMA3Tgnn9bO4biCC1FMoGNqms="; }; pythonRelaxDeps = [ diff --git a/pkgs/development/python-modules/nidaqmx/default.nix b/pkgs/development/python-modules/nidaqmx/default.nix index 76b93355d968..8beeb417972f 100644 --- a/pkgs/development/python-modules/nidaqmx/default.nix +++ b/pkgs/development/python-modules/nidaqmx/default.nix @@ -22,14 +22,14 @@ buildPythonPackage rec { pname = "nidaqmx"; - version = "1.1.0"; + version = "1.2.0"; pyproject = true; src = fetchFromGitHub { owner = "ni"; repo = "nidaqmx-python"; tag = version; - hash = "sha256-WNr+zVrA4X2AjizsmMEau54Vv1Svey3LNsCo8Bm/W+A="; + hash = "sha256-uxf+1nmJ+YFS3zGu+0YP4zOdBlSCHPYC8euqZIGwb00="; }; disabled = pythonOlder "3.8"; diff --git a/pkgs/development/python-modules/nikola/default.nix b/pkgs/development/python-modules/nikola/default.nix index e4a490760249..570f03feec97 100644 --- a/pkgs/development/python-modules/nikola/default.nix +++ b/pkgs/development/python-modules/nikola/default.nix @@ -44,7 +44,7 @@ buildPythonPackage rec { pname = "nikola"; - version = "8.3.1"; + version = "8.3.3"; pyproject = true; disabled = pythonOlder "3.8"; @@ -52,7 +52,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "Nikola"; inherit version; - hash = "sha256-IfJB2Rl3c1MyEiuyNpT3udfpM480VvFD8zosJFDHr7k="; + hash = "sha256-Y219b/wqsk9MJknoaV+LtWBOMJFT6ktgt4b6yuA6scc="; }; nativeBuildInputs = [ setuptools ]; diff --git a/pkgs/development/python-modules/nilearn/default.nix b/pkgs/development/python-modules/nilearn/default.nix index d9da5fcf52d6..95709d26c281 100644 --- a/pkgs/development/python-modules/nilearn/default.nix +++ b/pkgs/development/python-modules/nilearn/default.nix @@ -23,14 +23,14 @@ buildPythonPackage rec { pname = "nilearn"; - version = "0.11.1"; + version = "0.12.0"; pyproject = true; src = fetchFromGitHub { owner = "nilearn"; repo = "nilearn"; tag = version; - hash = "sha256-ZvodSRJkKwPwpYHOLmxAYIIv7f9AlrjmZS9KLPjz5rM="; + hash = "sha256-olA3Yqf+upMJZiwpQp6HDSMxe9OssGLGMdHbZARg0+Y="; }; postPatch = '' @@ -71,7 +71,7 @@ buildPythonPackage rec { meta = { description = "Module for statistical learning on neuroimaging data"; homepage = "https://nilearn.github.io"; - changelog = "https://github.com/nilearn/nilearn/releases/tag/${version}"; + changelog = "https://github.com/nilearn/nilearn/releases/tag/${src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ GaetanLepage ]; }; diff --git a/pkgs/development/python-modules/nitrokey/default.nix b/pkgs/development/python-modules/nitrokey/default.nix index 8258a73e57bd..158925460e5c 100644 --- a/pkgs/development/python-modules/nitrokey/default.nix +++ b/pkgs/development/python-modules/nitrokey/default.nix @@ -17,12 +17,12 @@ buildPythonPackage rec { pname = "nitrokey"; - version = "0.3.2"; + version = "0.4.0"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-JAgorA2V+WHgqtwk8fEPjdwoog7Q3xk93aKSJ0mxHkQ="; + hash = "sha256-uZ3KF+8PUwVjwf73buFpq/6Fu+fqkfIecP3A33FmtKk="; }; disabled = pythonOlder "3.9"; diff --git a/pkgs/development/python-modules/niworkflows/default.nix b/pkgs/development/python-modules/niworkflows/default.nix index a91d07cf99a3..784be8a25b90 100644 --- a/pkgs/development/python-modules/niworkflows/default.nix +++ b/pkgs/development/python-modules/niworkflows/default.nix @@ -40,14 +40,14 @@ buildPythonPackage rec { pname = "niworkflows"; - version = "1.12.2"; + version = "1.13.5"; pyproject = true; src = fetchFromGitHub { owner = "nipreps"; repo = "niworkflows"; tag = version; - hash = "sha256-rgnfp12SHlL3LFFMSrHlTd0tWNnA4ekxZ9kKYRvZWlw="; + hash = "sha256-Q43IXlzmCO7m9y/tRlJJ2Dz4wNeK+kXtLLLrthO+n58="; }; pythonRelaxDeps = [ "traits" ]; diff --git a/pkgs/development/python-modules/nixpkgs-updaters-library/default.nix b/pkgs/development/python-modules/nixpkgs-updaters-library/default.nix index 30ef74dbe66e..661dd2d8721a 100644 --- a/pkgs/development/python-modules/nixpkgs-updaters-library/default.nix +++ b/pkgs/development/python-modules/nixpkgs-updaters-library/default.nix @@ -74,7 +74,7 @@ buildPythonPackage rec { meta = { description = "Boilerplate-less updater library for Nixpkgs ecosystems"; homepage = "https://github.com/PerchunPak/nixpkgs-updaters-library"; - changelog = "https://github.com/PerchunPak/nixpkgs-updaters-library/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/PerchunPak/nixpkgs-updaters-library/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ perchun ]; }; diff --git a/pkgs/development/python-modules/nocasedict/default.nix b/pkgs/development/python-modules/nocasedict/default.nix index f50c1df9902f..4397658c0bf4 100644 --- a/pkgs/development/python-modules/nocasedict/default.nix +++ b/pkgs/development/python-modules/nocasedict/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "nocasedict"; - version = "2.0.4"; + version = "2.1.0"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchPypi { inherit pname version; - hash = "sha256-TKk09l31exDQ/KtfDDnp3MuTV3/58ivvmCZd2/EvivE="; + hash = "sha256-tWPVhRy7DgsQ+7YYm6h+BhLSLlpvOgBKRXOrWziqqn0="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/nocaselist/default.nix b/pkgs/development/python-modules/nocaselist/default.nix index ddb10ecf6fdc..c76216939c54 100644 --- a/pkgs/development/python-modules/nocaselist/default.nix +++ b/pkgs/development/python-modules/nocaselist/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "nocaselist"; - version = "2.0.3"; + version = "2.1.0"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchPypi { inherit pname version; - hash = "sha256-VXFNqEM/tIQ855dASXfkOF1ePfnkqgD33emD/YdBD+8="; + hash = "sha256-+3MG9aPgRVNOc3q37L7uA5ul6br7xbXyMfYW1+khG2U="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/nominal-api-protos/default.nix b/pkgs/development/python-modules/nominal-api-protos/default.nix index 2e080e4ff2c3..0c39ac7fd383 100644 --- a/pkgs/development/python-modules/nominal-api-protos/default.nix +++ b/pkgs/development/python-modules/nominal-api-protos/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "nominal-api-protos"; - version = "0.708.0"; + version = "0.806.0"; pyproject = true; # nixpkgs-update: no auto update src = fetchPypi { inherit version; pname = "nominal_api_protos"; - hash = "sha256-EYyBRmmCq4OA6xgf4JpajUtlJClkxxPn48Wmmy2mqN4="; + hash = "sha256-wbMGgW3YYX+MVc525rH6pOk72H7NlmiyEJiFtz+Osoo="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/nominal-api/default.nix b/pkgs/development/python-modules/nominal-api/default.nix index 0554264d1f3f..fb5a51f4cfa1 100644 --- a/pkgs/development/python-modules/nominal-api/default.nix +++ b/pkgs/development/python-modules/nominal-api/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "nominal-api"; - version = "0.708.0"; + version = "0.806.0"; pyproject = true; # nixpkgs-update: no auto update src = fetchPypi { inherit version; pname = "nominal_api"; - hash = "sha256-gaMQ4bLhdBkDTUoHP5Cb0vS5emNcYga5eTvV2TEWQiU="; + hash = "sha256-V9zncQFNBi3MtgBHmwY4SoSgI9cjQuBt90PeRHjaXsw="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/nominal/default.nix b/pkgs/development/python-modules/nominal/default.nix index 75233a1421d5..c4183dfa4107 100644 --- a/pkgs/development/python-modules/nominal/default.nix +++ b/pkgs/development/python-modules/nominal/default.nix @@ -20,14 +20,14 @@ buildPythonPackage rec { pname = "nominal"; - version = "1.66.0"; + version = "1.71.0"; pyproject = true; src = fetchFromGitHub { owner = "nominal-io"; repo = "nominal-client"; tag = "v${version}"; - hash = "sha256-xRt8xRMjjQQ+2IujW//F6Z3xaPz4+YuV0AP4Km8mc04="; + hash = "sha256-C0afrzWlq2Z3a21MIJ/3XgvjkEZONwBgCZ+06XIYFGE="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/notebook/default.nix b/pkgs/development/python-modules/notebook/default.nix index b25773185de5..2235147911ae 100644 --- a/pkgs/development/python-modules/notebook/default.nix +++ b/pkgs/development/python-modules/notebook/default.nix @@ -27,14 +27,14 @@ buildPythonPackage rec { pname = "notebook"; - version = "7.4.3"; + version = "7.4.4"; pyproject = true; src = fetchFromGitHub { owner = "jupyter"; repo = "notebook"; tag = "v${version}"; - hash = "sha256-DpGWBV5MeCvoGSBadObVEaYwA5kRmHj8NdVWpJ+pHjA="; + hash = "sha256-bj4iQvm0TGBiCu9drJ8QFXsedzm/cEjevNQS6UsasNs="; }; postPatch = '' @@ -54,7 +54,7 @@ buildPythonPackage rec { offlineCache = yarn-berry_3.fetchYarnBerryDeps { inherit src missingHashes; - hash = "sha256-S0lnRJ+9F1RhymlAOxo3sEJJrHYo5IWeWn80obcgVlM="; + hash = "sha256-nRaWzr5Q904KojfK0mPgLX9be82axb8Aab0SJULE7RU="; }; build-system = [ @@ -88,7 +88,7 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; meta = { - changelog = "https://github.com/jupyter/notebook/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/jupyter/notebook/blob/${src.tag}/CHANGELOG.md"; description = "Web-based notebook environment for interactive computing"; homepage = "https://github.com/jupyter/notebook"; license = lib.licenses.bsd3; diff --git a/pkgs/development/python-modules/nox/default.nix b/pkgs/development/python-modules/nox/default.nix index 91e23202c525..f419359780c6 100644 --- a/pkgs/development/python-modules/nox/default.nix +++ b/pkgs/development/python-modules/nox/default.nix @@ -1,8 +1,10 @@ { lib, argcomplete, + attrs, buildPythonPackage, colorlog, + dependency-groups, fetchFromGitHub, hatchling, jinja2, @@ -17,7 +19,7 @@ buildPythonPackage rec { pname = "nox"; - version = "2024.10.09"; + version = "2025.05.01"; pyproject = true; disabled = pythonOlder "3.8"; @@ -26,19 +28,16 @@ buildPythonPackage rec { owner = "wntrblm"; repo = "nox"; tag = version; - hash = "sha256-GdNz34A8IKwPG/270sY5t3SoggGCZMWfDq/Wyhk0ez8="; + hash = "sha256-qH8oh7tmiJkXOobyDZMRZ62w2sRHJF8sh4PX+6s7M70="; }; - patches = [ - # Backport of https://github.com/wntrblm/nox/pull/903, which can be removed on next release - ./fix-broken-mock-on-cpython-3.12.8.patch - ]; - build-system = [ hatchling ]; dependencies = [ argcomplete + attrs colorlog + dependency-groups packaging virtualenv ] @@ -67,6 +66,9 @@ buildPythonPackage rec { "test__create_venv_options" # Assertion errors "test_uv" + # calls to naked python + "test_noxfile_script_mode" + "test_noxfile_script_mode_url_req" ]; disabledTestPaths = [ @@ -77,7 +79,7 @@ buildPythonPackage rec { meta = with lib; { description = "Flexible test automation for Python"; homepage = "https://nox.thea.codes/"; - changelog = "https://github.com/wntrblm/nox/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/wntrblm/nox/blob/${src.tag}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ doronbehar diff --git a/pkgs/development/python-modules/nox/fix-broken-mock-on-cpython-3.12.8.patch b/pkgs/development/python-modules/nox/fix-broken-mock-on-cpython-3.12.8.patch deleted file mode 100644 index f634c3534b93..000000000000 --- a/pkgs/development/python-modules/nox/fix-broken-mock-on-cpython-3.12.8.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff --git a/nox/command.py b/nox/command.py -index 671875c..4984168 100644 ---- a/nox/command.py -+++ b/nox/command.py -@@ -30,6 +30,8 @@ TYPE_CHECKING = False - if TYPE_CHECKING: - from typing import IO - -+_PLATFORM = sys.platform -+ - ExternalType = Literal["error", True, False] - - -@@ -63,7 +65,7 @@ def _clean_env(env: Mapping[str, str | None] | None = None) -> dict[str, str] | - clean_env = {k: v for k, v in env.items() if v is not None} - - # Ensure systemroot is passed down, otherwise Windows will explode. -- if sys.platform == "win32": -+ if _PLATFORM.startswith("win"): - clean_env.setdefault("SYSTEMROOT", os.environ.get("SYSTEMROOT", "")) - - return clean_env -diff --git a/tests/test_command.py b/tests/test_command.py -index ae398e9..904cf34 100644 ---- a/tests/test_command.py -+++ b/tests/test_command.py -@@ -157,7 +157,7 @@ def test_run_env_remove(monkeypatch): - ) - - --@mock.patch("sys.platform", "win32") -+@mock.patch("nox.command._PLATFORM", "win32") - def test_run_env_systemroot(): - systemroot = os.environ.setdefault("SYSTEMROOT", "sigil") - diff --git a/pkgs/development/python-modules/nskeyedunarchiver/default.nix b/pkgs/development/python-modules/nskeyedunarchiver/default.nix index 1141248f8457..c63b8793fb3f 100644 --- a/pkgs/development/python-modules/nskeyedunarchiver/default.nix +++ b/pkgs/development/python-modules/nskeyedunarchiver/default.nix @@ -7,13 +7,12 @@ buildPythonPackage rec { pname = "nskeyedunarchiver"; - version = "1.5"; + version = "1.5.2"; pyproject = true; src = fetchPypi { - inherit version; - pname = "NSKeyedUnArchiver"; - hash = "sha256-7toEgAIYFzNuD/6sqAN3wajwjsxfwGvkg7SMRLrUFPQ="; + inherit pname version; + hash = "sha256-2aLV1I6p4seNMb+/xKl8AnlBkvO0VINC1yfVS90gvro="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/numcodecs/default.nix b/pkgs/development/python-modules/numcodecs/default.nix index 4cb141e8fb34..ae55cda810bf 100644 --- a/pkgs/development/python-modules/numcodecs/default.nix +++ b/pkgs/development/python-modules/numcodecs/default.nix @@ -26,14 +26,14 @@ buildPythonPackage rec { pname = "numcodecs"; - version = "0.15.1"; + version = "0.16.1"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-7u135NZjZkGizGBfvGB4x6jyzEDz36Kz9h5S5gkbBP8="; + hash = "sha256-xH8g1lZFRWjGtGl84CCB5ru1EvGYc4xqVvr+gCnJf7E="; }; build-system = [ diff --git a/pkgs/development/python-modules/nvdlib/default.nix b/pkgs/development/python-modules/nvdlib/default.nix index f9c669ca73d8..b775e05126e6 100644 --- a/pkgs/development/python-modules/nvdlib/default.nix +++ b/pkgs/development/python-modules/nvdlib/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "nvdlib"; - version = "0.8.0"; + version = "0.8.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "Vehemont"; repo = "nvdlib"; tag = "v${version}"; - hash = "sha256-fj7tgTv3r++oo+45QFQy/rmXYdKyKhR74maHOdp+0yA="; + hash = "sha256-8Tg9JN63+zGRUppIXBQ46mKeDq+nLNQvAjtCwcTuC1g="; }; nativeBuildInputs = [ setuptools ]; diff --git a/pkgs/development/python-modules/oauthlib/default.nix b/pkgs/development/python-modules/oauthlib/default.nix index 9fd14254fd49..c34c9ccfc667 100644 --- a/pkgs/development/python-modules/oauthlib/default.nix +++ b/pkgs/development/python-modules/oauthlib/default.nix @@ -7,8 +7,6 @@ mock, pyjwt, pytestCheckHook, - pythonAtLeast, - pythonOlder, setuptools, # for passthru.tests @@ -20,16 +18,14 @@ buildPythonPackage rec { pname = "oauthlib"; - version = "3.2.2"; + version = "3.3.1"; pyproject = true; - disabled = pythonOlder "3.7"; - src = fetchFromGitHub { owner = "oauthlib"; repo = "oauthlib"; - rev = "v${version}"; - hash = "sha256-KADS1pEaLYi86LEt2VVuz8FVTBANzxC8EeQLgGMxuBU="; + tag = "v${version}"; + hash = "sha256-ZTmR+pTNQaRQMnUA+8hXM5VACRd8Hn62KTNooy5FQyk="; }; nativeBuildInputs = [ setuptools ]; @@ -50,11 +46,8 @@ buildPythonPackage rec { ++ lib.flatten (lib.attrValues optional-dependencies); disabledTests = [ - # https://github.com/oauthlib/oauthlib/issues/877 - "test_rsa_bad_keys" - ] - ++ lib.optionals (pythonAtLeast "3.13") [ - "test_filter_params" + # too narrow time comparison issues + "test_fetch_access_token" ]; pythonImportsCheck = [ "oauthlib" ]; @@ -69,7 +62,7 @@ buildPythonPackage rec { }; meta = with lib; { - changelog = "https://github.com/oauthlib/oauthlib/blob/${src.rev}/CHANGELOG.rst"; + changelog = "https://github.com/oauthlib/oauthlib/blob/${src.tag}/CHANGELOG.rst"; description = "Generic, spec-compliant, thorough implementation of the OAuth request-signing logic"; homepage = "https://github.com/oauthlib/oauthlib"; license = licenses.bsd3; diff --git a/pkgs/development/python-modules/odc-stac/default.nix b/pkgs/development/python-modules/odc-stac/default.nix index d077e9c37db5..00ec04b1f674 100644 --- a/pkgs/development/python-modules/odc-stac/default.nix +++ b/pkgs/development/python-modules/odc-stac/default.nix @@ -30,14 +30,14 @@ buildPythonPackage rec { pname = "odc-stac"; - version = "0.4.0rc2"; + version = "0.4.0"; pyproject = true; src = fetchFromGitHub { owner = "opendatacube"; repo = "odc-stac"; tag = "v${version}"; - hash = "sha256-I25qAJEryYaYO7KIVIoTlgzLS6PWkNG6b4NFyhghyKQ="; + hash = "sha256-Ekyavcin13B4DAxv0/XG5QTBuLE7PRospAXe40fHeX0="; }; build-system = [ @@ -88,7 +88,7 @@ buildPythonPackage rec { meta = { description = "Load STAC items into xarray Datasets"; homepage = "https://github.com/opendatacube/odc-stac/"; - changelog = "https://github.com/opendatacube/odc-stac/tag/v${version}"; + changelog = "https://github.com/opendatacube/odc-stac/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ daspk04 ]; }; diff --git a/pkgs/development/python-modules/oelint-data/default.nix b/pkgs/development/python-modules/oelint-data/default.nix index 9ef22aaebe2b..12aed15167c0 100644 --- a/pkgs/development/python-modules/oelint-data/default.nix +++ b/pkgs/development/python-modules/oelint-data/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "oelint-data"; - version = "1.0.24"; + version = "1.0.25"; pyproject = true; src = fetchFromGitHub { owner = "priv-kweihmann"; repo = "oelint-data"; tag = version; - hash = "sha256-vKXRlqpFxdmq+UOGCm59LVwjLW8h1N/fQr4kx1eW8ys="; + hash = "sha256-obX8grYYSa9H/UoSBQon44Of4Eh4BtqJrfwZbaqh6IU="; }; build-system = [ diff --git a/pkgs/development/python-modules/okonomiyaki/default.nix b/pkgs/development/python-modules/okonomiyaki/default.nix index 5f57b9968304..812379dda907 100644 --- a/pkgs/development/python-modules/okonomiyaki/default.nix +++ b/pkgs/development/python-modules/okonomiyaki/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "okonomiyaki"; - version = "2.0.0"; + version = "3.0.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "enthought"; repo = "okonomiyaki"; tag = version; - hash = "sha256-JQZhw0H4iSdxoyS6ODICJz1vAZsOISQitX7wTgSS1xc="; + hash = "sha256-xAF9Tdr+IM3lU+mcNcAWATJLZOVvbx0llqznqHLVqDc="; }; postPatch = '' @@ -79,7 +79,7 @@ buildPythonPackage rec { meta = with lib; { description = "Experimental library aimed at consolidating a lot of low-level code used for Enthought's eggs"; homepage = "https://github.com/enthought/okonomiyaki"; - changelog = "https://github.com/enthought/okonomiyaki/releases/tag/${version}"; + changelog = "https://github.com/enthought/okonomiyaki/releases/tag/${src.tag}"; maintainers = with maintainers; [ genericnerdyusername ]; license = licenses.bsd3; }; diff --git a/pkgs/development/python-modules/omegaconf/default.nix b/pkgs/development/python-modules/omegaconf/default.nix index c21ee73c3e05..c55f1b4ccd1e 100644 --- a/pkgs/development/python-modules/omegaconf/default.nix +++ b/pkgs/development/python-modules/omegaconf/default.nix @@ -9,7 +9,7 @@ jre_minimal, pydevd, pytest-mock, - pytestCheckHook, + pytest7CheckHook, pythonAtLeast, pythonOlder, pyyaml, @@ -60,13 +60,14 @@ buildPythonPackage rec { attrs pydevd pytest-mock - pytestCheckHook + pytest7CheckHook ]; pythonImportsCheck = [ "omegaconf" ]; pytestFlags = [ "-Wignore::DeprecationWarning" + "-Wignore::UserWarning" ]; disabledTests = [ diff --git a/pkgs/development/python-modules/onnxconverter-common/default.nix b/pkgs/development/python-modules/onnxconverter-common/default.nix index 075f2bb29ef4..f1abe38004fd 100644 --- a/pkgs/development/python-modules/onnxconverter-common/default.nix +++ b/pkgs/development/python-modules/onnxconverter-common/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "onnxconverter-common"; - version = "1.14.0"; + version = "1.15.0"; pyproject = true; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "microsoft"; repo = "onnxconverter-common"; tag = "v${version}"; - hash = "sha256-NbHyjLcr/Gq1zRiJW3ZBpEVQGVQGhp7SmfVd5hBIi2o="; + hash = "sha256-e4rk1qTTSEFu+g/cP+RmMUqxkBQfodIpr2CVK24DPv4="; }; build-system = [ @@ -56,7 +56,7 @@ buildPythonPackage rec { meta = { description = "ONNX Converter and Optimization Tools"; homepage = "https://github.com/microsoft/onnxconverter-common"; - changelog = "https://github.com/microsoft/onnxconverter-common/releases/tag/v${version}"; + changelog = "https://github.com/microsoft/onnxconverter-common/releases/tag/${src.tag}"; license = with lib.licenses; [ mit ]; }; } diff --git a/pkgs/development/python-modules/onnxmltools/default.nix b/pkgs/development/python-modules/onnxmltools/default.nix index 350cea07a6d0..809ab48115ba 100644 --- a/pkgs/development/python-modules/onnxmltools/default.nix +++ b/pkgs/development/python-modules/onnxmltools/default.nix @@ -23,14 +23,14 @@ buildPythonPackage rec { pname = "onnxmltools"; - version = "1.13"; + version = "1.14.0"; pyproject = true; src = fetchFromGitHub { owner = "onnx"; repo = "onnxmltools"; - tag = "v${version}"; - hash = "sha256-uNd7N7/FgX8zaJp8ouvftwGqGqas8lZRXFmjpS+t2B4="; + tag = version; + hash = "sha256-CcZlGLX8/ANHnhoOv5s/ybBN74gRH/8eLYJ6q/BJo/4="; }; postPatch = '' @@ -71,7 +71,7 @@ buildPythonPackage rec { meta = { description = "ONNXMLTools enables conversion of models to ONNX"; homepage = "https://github.com/onnx/onnxmltools"; - changelog = "https://github.com/onnx/onnxmltools/blob/v${version}/CHANGELOGS.md"; + changelog = "https://github.com/onnx/onnxmltools/blob/${src.tag}/CHANGELOGS.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ happysalada ]; }; diff --git a/pkgs/development/python-modules/onnxslim/default.nix b/pkgs/development/python-modules/onnxslim/default.nix index 6710f1064990..a2e35dc06d0e 100644 --- a/pkgs/development/python-modules/onnxslim/default.nix +++ b/pkgs/development/python-modules/onnxslim/default.nix @@ -11,12 +11,12 @@ buildPythonPackage rec { pname = "onnxslim"; - version = "0.1.57"; + version = "0.1.62"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-VI1OaNMHuL2AhYxZ/n5zrwlqnfcCbjY39QXHX8gcdw8="; + hash = "sha256-f9SYFsqIM1h+W62ut3gezrNvv02mMVM/Q9UONJsE2Wg="; }; build-system = [ diff --git a/pkgs/development/python-modules/open-clip-torch/default.nix b/pkgs/development/python-modules/open-clip-torch/default.nix index e35c30030bda..e3a61f9300f9 100644 --- a/pkgs/development/python-modules/open-clip-torch/default.nix +++ b/pkgs/development/python-modules/open-clip-torch/default.nix @@ -29,14 +29,14 @@ }: buildPythonPackage rec { pname = "open-clip-torch"; - version = "2.32.0"; + version = "3.0.0"; pyproject = true; src = fetchFromGitHub { owner = "mlfoundations"; repo = "open_clip"; tag = "v${version}"; - hash = "sha256-HXzorEAVPieCHfW3xzXqNTTIzJSbIuaZhcfcp0htdCk="; + hash = "sha256-MMvDg5opsu9ILGHc1rJjWQfTb3T0PZ0i+8GSrQvIu8Y="; }; build-system = [ pdm-backend ]; diff --git a/pkgs/development/python-modules/openai/default.nix b/pkgs/development/python-modules/openai/default.nix index 6bffb9b214e2..71c1af3f0f4e 100644 --- a/pkgs/development/python-modules/openai/default.nix +++ b/pkgs/development/python-modules/openai/default.nix @@ -136,7 +136,7 @@ buildPythonPackage rec { meta = { description = "Python client library for the OpenAI API"; homepage = "https://github.com/openai/openai-python"; - changelog = "https://github.com/openai/openai-python/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/openai/openai-python/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ lib.maintainers.malo ]; mainProgram = "openai"; diff --git a/pkgs/development/python-modules/openapi-spec-validator/default.nix b/pkgs/development/python-modules/openapi-spec-validator/default.nix index 7bb12970bd87..9e87a51128d1 100644 --- a/pkgs/development/python-modules/openapi-spec-validator/default.nix +++ b/pkgs/development/python-modules/openapi-spec-validator/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "openapi-spec-validator"; - version = "0.7.1"; + version = "0.7.2"; pyproject = true; disabled = pythonOlder "3.8"; @@ -31,7 +31,7 @@ buildPythonPackage rec { owner = "python-openapi"; repo = "openapi-spec-validator"; tag = version; - hash = "sha256-X0ePdHQeBSWjsCFQgCoNloQZRhKbvPBE43aavBppvmg="; + hash = "sha256-APEx7+vc824DLmdzLvhfFVrcjPxVwwUwxkh19gjXEvc="; }; nativeBuildInputs = [ poetry-core ]; @@ -62,7 +62,7 @@ buildPythonPackage rec { ]; meta = with lib; { - changelog = "https://github.com/p1c2u/openapi-spec-validator/releases/tag/${version}"; + changelog = "https://github.com/p1c2u/openapi-spec-validator/releases/tag/${src.tag}"; description = "Validates OpenAPI Specs against the OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0.0 specification"; mainProgram = "openapi-spec-validator"; homepage = "https://github.com/p1c2u/openapi-spec-validator"; diff --git a/pkgs/development/python-modules/opencensus-ext-azure/default.nix b/pkgs/development/python-modules/opencensus-ext-azure/default.nix index 34db90917e06..07dab62b2ec9 100644 --- a/pkgs/development/python-modules/opencensus-ext-azure/default.nix +++ b/pkgs/development/python-modules/opencensus-ext-azure/default.nix @@ -12,12 +12,12 @@ buildPythonPackage rec { pname = "opencensus-ext-azure"; - version = "1.1.14"; + version = "1.1.15"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-ycbrrVQq62GBMyLmJ9WImlY+e4xOAkv1hGnQbbc6sUg="; + hash = "sha256-jRCK8Vh16jxSI4ZG+6kkw7qfv6rx/Q01BwfcW3iArec="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/openpyxl/default.nix b/pkgs/development/python-modules/openpyxl/default.nix index e7c62ed57f02..f973232edbfd 100644 --- a/pkgs/development/python-modules/openpyxl/default.nix +++ b/pkgs/development/python-modules/openpyxl/default.nix @@ -6,8 +6,7 @@ lxml, pandas, pillow, - pytest7CheckHook, - pythonAtLeast, + pytestCheckHook, pythonOlder, setuptools, }: @@ -35,7 +34,7 @@ buildPythonPackage rec { lxml pandas pillow - pytest7CheckHook + pytestCheckHook ]; pytestFlags = [ @@ -43,26 +42,8 @@ buildPythonPackage rec { ]; disabledTests = [ - # Tests broken since lxml 2.12; https://foss.heptapod.net/openpyxl/openpyxl/-/issues/2116 - "test_read" - "test_read_comments" - "test_ignore_external_blip" - "test_from_xml" - "test_filenames" - "test_exts" - "test_from_complex" - "test_merge_named_styles" - "test_unprotected_cell" - "test_none_values" - "test_rgb_colors" - "test_named_styles" - "test_read_ole_link" - ] - ++ lib.optionals (pythonAtLeast "3.11") [ - "test_broken_sheet_ref" - "test_name_invalid_index" - "test_defined_names_print_area" - "test_no_styles" + # lxml 6.0 + "test_iterparse" ]; pythonImportsCheck = [ "openpyxl" ]; diff --git a/pkgs/development/python-modules/openstep-plist/default.nix b/pkgs/development/python-modules/openstep-plist/default.nix index eca377b4b738..7bde570f3d48 100644 --- a/pkgs/development/python-modules/openstep-plist/default.nix +++ b/pkgs/development/python-modules/openstep-plist/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchPypi, + fetchpatch, cython, setuptools, setuptools-scm, @@ -25,6 +26,14 @@ buildPythonPackage rec { setuptools-scm ]; + patches = [ + (fetchpatch { + name = "openstep-plist-cpython-3.1-compat.patch"; + url = "https://github.com/fonttools/openstep-plist/commit/5467a2c3bed3004b79c70b5b288f33293c96742b.patch"; + hash = "sha256-dKZgthvPgdnCKA0o70TBtvipwnBr4wcayvK8SFqwrbY="; + }) + ]; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "openstep_plist" ]; diff --git a/pkgs/development/python-modules/opentypespec/default.nix b/pkgs/development/python-modules/opentypespec/default.nix index 81fc60e5dc55..8359a2687d5d 100644 --- a/pkgs/development/python-modules/opentypespec/default.nix +++ b/pkgs/development/python-modules/opentypespec/default.nix @@ -3,16 +3,23 @@ buildPythonPackage, fetchPypi, unittestCheckHook, + setuptools-scm, + setuptools, }: buildPythonPackage rec { pname = "opentypespec"; - version = "1.9.1"; - format = "setuptools"; + version = "1.9.2"; + pyproject = true; + + build-system = [ + setuptools + setuptools-scm + ]; src = fetchPypi { inherit pname version; - hash = "sha256-fOEHmtlCkFhn1jyIA+CsHIfud7x3PPb7UWQsnrVyDqY="; + hash = "sha256-5j89rMDKxGLLoN88/T7+e0xE8/eOmKN3eDpWxekJGiQ="; }; nativeCheckInputs = [ unittestCheckHook ]; diff --git a/pkgs/development/python-modules/openusd/default.nix b/pkgs/development/python-modules/openusd/default.nix index 32937c89d3ed..5864feb8fef2 100644 --- a/pkgs/development/python-modules/openusd/default.nix +++ b/pkgs/development/python-modules/openusd/default.nix @@ -51,14 +51,14 @@ in buildPythonPackage rec { pname = "openusd"; - version = "25.05.01"; + version = "25.08"; pyproject = false; src = fetchFromGitHub { owner = "PixarAnimationStudios"; repo = "OpenUSD"; tag = "v${version}"; - hash = "sha256-gxikEC4MqTkhgYaRsCVYtS/VmXClSaCMdzpQ0LmiR7Q="; + hash = "sha256-k+rmC/e8fJexZ++AAinuDJFOK/oqC90B4NriJvaX71w="; }; stdenv = python.stdenv; diff --git a/pkgs/development/python-modules/opower/default.nix b/pkgs/development/python-modules/opower/default.nix index c980deaaba50..270f3fcc91e0 100644 --- a/pkgs/development/python-modules/opower/default.nix +++ b/pkgs/development/python-modules/opower/default.nix @@ -41,6 +41,11 @@ buildPythonPackage rec { python-dotenv ]; + disabledTestPaths = [ + # network access + "tests/test_opower.py" + ]; + pythonImportsCheck = [ "opower" ]; disabledTests = [ diff --git a/pkgs/development/python-modules/optimum/default.nix b/pkgs/development/python-modules/optimum/default.nix index 79959c3a651e..d63eeb4af122 100644 --- a/pkgs/development/python-modules/optimum/default.nix +++ b/pkgs/development/python-modules/optimum/default.nix @@ -28,7 +28,7 @@ buildPythonPackage rec { pname = "optimum"; - version = "1.26.1"; + version = "1.27.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -37,7 +37,7 @@ buildPythonPackage rec { owner = "huggingface"; repo = "optimum"; tag = "v${version}"; - hash = "sha256-GfUlvz7b0DlqBPibndRzUkszGnbYXg6E8u144ZFAZxA="; + hash = "sha256-ZH7D3dc6f33Jl1JN7BIGUhTXDxOLv0FR9T3c5LMmhiY="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/optree/default.nix b/pkgs/development/python-modules/optree/default.nix index f6ef3fd6b63f..5b7be8f92b5e 100644 --- a/pkgs/development/python-modules/optree/default.nix +++ b/pkgs/development/python-modules/optree/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "optree"; - version = "0.14.1"; + version = "0.17.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "metaopt"; repo = "optree"; tag = "v${version}"; - hash = "sha256-5PIe/mXPNohwM0oNT/zSPmNUycjXuujtIFCki5t7V1I="; + hash = "sha256-4ZkUdGF+Fauy6KWbyrGQ684Ay5XlFT2S2I9lv/1KeWs="; }; dontUseCmakeConfigure = true; @@ -41,6 +41,10 @@ buildPythonPackage rec { disabledTests = [ # Fails because the 'test_treespec' module can't be found "test_treespec_pickle_missing_registration" + # optree import during tests raises CalledProcessError + "test_warn_deprecated_import" + "test_import_no_warnings" + "test_treespec_construct" ]; pythonImportsCheck = [ "optree" ]; diff --git a/pkgs/development/python-modules/optuna/default.nix b/pkgs/development/python-modules/optuna/default.nix index 007b43ef6bfc..7bc6f58ee068 100644 --- a/pkgs/development/python-modules/optuna/default.nix +++ b/pkgs/development/python-modules/optuna/default.nix @@ -43,14 +43,14 @@ buildPythonPackage rec { pname = "optuna"; - version = "4.2.1"; + version = "4.4.0"; pyproject = true; src = fetchFromGitHub { owner = "optuna"; repo = "optuna"; tag = "v${version}"; - hash = "sha256-WLrdHrdfCtCZMW2J375N8vmod7FcKCMwQPGKicRA878="; + hash = "sha256-S9F9xni1cnmIbWu5n7BFvUCvQmBP3iBYS1ntg6vQ8ZQ="; }; build-system = [ @@ -143,7 +143,7 @@ buildPythonPackage rec { meta = { description = "Hyperparameter optimization framework"; homepage = "https://optuna.org/"; - changelog = "https://github.com/optuna/optuna/releases/tag/${version}"; + changelog = "https://github.com/optuna/optuna/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ natsukium ]; mainProgram = "optuna"; diff --git a/pkgs/development/python-modules/optype/default.nix b/pkgs/development/python-modules/optype/default.nix index 0b29c8a5fddf..e810b2744f41 100644 --- a/pkgs/development/python-modules/optype/default.nix +++ b/pkgs/development/python-modules/optype/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "optype"; - version = "0.12.0"; + version = "0.13.1"; pyproject = true; src = fetchFromGitHub { owner = "jorenham"; repo = "optype"; tag = "v${version}"; - hash = "sha256-sDMB9gSYf108Elsqj6Obk+6B4QKiJcStkJndVrIAWQI="; + hash = "sha256-GhG2TR5FJgEXBXLyGTNQKFYtR2iZ0tLgZ9B0YL8SXu8="; }; disabled = pythonOlder "3.11"; diff --git a/pkgs/development/python-modules/oracledb/default.nix b/pkgs/development/python-modules/oracledb/default.nix index 682170154934..e0ea963e9d4e 100644 --- a/pkgs/development/python-modules/oracledb/default.nix +++ b/pkgs/development/python-modules/oracledb/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "oracledb"; - version = "3.2.0"; + version = "3.3.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-m/nxyT5TFCsz0cXr9aur7r0gYqAdXq1ou7ZAQ57PIiM="; + hash = "sha256-6DDTVEoVeClryqVMboyK4QpYx9tGfFKMSyetv5yLTLA="; }; build-system = [ diff --git a/pkgs/development/python-modules/orange-canvas-core/default.nix b/pkgs/development/python-modules/orange-canvas-core/default.nix index 354e8e5d4f48..91ad4e2334c1 100644 --- a/pkgs/development/python-modules/orange-canvas-core/default.nix +++ b/pkgs/development/python-modules/orange-canvas-core/default.nix @@ -32,14 +32,14 @@ buildPythonPackage rec { pname = "orange-canvas-core"; - version = "0.2.5"; + version = "0.2.6"; pyproject = true; src = fetchFromGitHub { owner = "biolab"; repo = "orange-canvas-core"; tag = version; - hash = "sha256-uh9wNqgLYRcnCSOdpeLx6ZTRC0cpq6lG/sqmrYLR+3g="; + hash = "sha256-cEy9ADU/jZoKmGXVlqwG+qWKZ22STjALgCb1IxAwpO0="; }; build-system = [ setuptools ]; @@ -95,7 +95,7 @@ buildPythonPackage rec { meta = { description = "Orange framework for building graphical user interfaces for editing workflows"; homepage = "https://github.com/biolab/orange-canvas-core"; - changelog = "https://github.com/biolab/orange-canvas-core/releases/tag/${version}"; + changelog = "https://github.com/biolab/orange-canvas-core/releases/tag/${src.tag}"; license = [ lib.licenses.gpl3 ]; maintainers = [ lib.maintainers.lucasew ]; # Segmentation fault during tests diff --git a/pkgs/development/python-modules/orange3/default.nix b/pkgs/development/python-modules/orange3/default.nix index c98128db9d73..30a49b4edc40 100644 --- a/pkgs/development/python-modules/orange3/default.nix +++ b/pkgs/development/python-modules/orange3/default.nix @@ -58,14 +58,14 @@ let self = buildPythonPackage rec { pname = "orange3"; - version = "3.38.1"; + version = "3.39.0"; pyproject = true; src = fetchFromGitHub { owner = "biolab"; repo = "orange3"; tag = version; - hash = "sha256-bzF2rK8/cKAoe9Wzj+rQJatgBQTP3KVtT6xU+IzKYIY="; + hash = "sha256-P2e3Wq33UXnTmGSxkoW8kYYCBfYBB9Z50v4g7n//Fbw="; }; build-system = [ diff --git a/pkgs/development/python-modules/orderly-set/default.nix b/pkgs/development/python-modules/orderly-set/default.nix index be269ed8c173..3d7c05c53fb3 100644 --- a/pkgs/development/python-modules/orderly-set/default.nix +++ b/pkgs/development/python-modules/orderly-set/default.nix @@ -4,7 +4,7 @@ fetchFromGitHub, # build-system - setuptools, + flit-core, # tests pytestCheckHook, @@ -12,18 +12,18 @@ buildPythonPackage rec { pname = "orderly-set"; - version = "5.4.1"; + version = "5.5.0"; pyproject = true; src = fetchFromGitHub { owner = "seperman"; repo = "orderly-set"; tag = version; - hash = "sha256-0B8qnXU6oET1J933uTVDf2XIHwNzecxQ3FiP7EMnxQc="; + hash = "sha256-xrxH/LB+cyZlVf+sVwOtAf9+DojYPDnudHpqlVuARLg="; }; build-system = [ - setuptools + flit-core ]; pythonImportsCheck = [ diff --git a/pkgs/development/python-modules/orgparse/default.nix b/pkgs/development/python-modules/orgparse/default.nix index 65b99928cd61..025f607958f8 100644 --- a/pkgs/development/python-modules/orgparse/default.nix +++ b/pkgs/development/python-modules/orgparse/default.nix @@ -7,11 +7,11 @@ buildPythonPackage rec { pname = "orgparse"; - version = "0.4.20231004"; + version = "0.4.20250520"; src = fetchPypi { inherit pname version; - hash = "sha256-pOOK6tq/mYiw9npmrNCCedGCILy8QioSkGDCiQu6kaA="; + hash = "sha256-ZHL9Ft3Ku1I5GFBchlJjq/oFrIC1k+ZooInNopGxot4="; }; nativeBuildInputs = [ setuptools-scm ]; diff --git a/pkgs/development/python-modules/osxphotos/default.nix b/pkgs/development/python-modules/osxphotos/default.nix index eece6a6c86b3..d4cef60586d9 100644 --- a/pkgs/development/python-modules/osxphotos/default.nix +++ b/pkgs/development/python-modules/osxphotos/default.nix @@ -35,14 +35,14 @@ buildPythonPackage rec { pname = "osxphotos"; - version = "0.69.2"; + version = "0.72.1"; pyproject = true; src = fetchFromGitHub { owner = "RhetTbull"; repo = "osxphotos"; tag = "v${version}"; - hash = "sha256-uVcoGIfxz+jKirnE3giST/v20eA5pq+LHgrsRb5b+Lc="; + hash = "sha256-6BUdF2l/C0Zim7ei/t4DKs4RUIDMWikhZmhattYrXmg="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/outlines/default.nix b/pkgs/development/python-modules/outlines/default.nix index f29fdac01667..6cef333055bd 100644 --- a/pkgs/development/python-modules/outlines/default.nix +++ b/pkgs/development/python-modules/outlines/default.nix @@ -25,14 +25,14 @@ buildPythonPackage rec { pname = "outlines"; - version = "0.1.13"; + version = "1.2.1"; pyproject = true; src = fetchFromGitHub { owner = "outlines-dev"; repo = "outlines"; tag = version; - hash = "sha256-HuJqLbBHyoyY5ChQQi+9ftvPjLuh63Guk2w6KSZxq6s="; + hash = "sha256-WmkA+plIouEzleo3yoSxfCjK0E3EfMGQIPl20aIKxl8="; }; build-system = [ diff --git a/pkgs/development/python-modules/packageurl-python/default.nix b/pkgs/development/python-modules/packageurl-python/default.nix index c3d4e4e792ba..8d8eb1394455 100644 --- a/pkgs/development/python-modules/packageurl-python/default.nix +++ b/pkgs/development/python-modules/packageurl-python/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "packageurl-python"; - version = "0.16.0"; + version = "0.17.3"; pyproject = true; disabled = pythonOlder "3.8"; @@ -17,7 +17,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "packageurl_python"; inherit version; - hash = "sha256-aeO/ijky/pwkAPVqrrn4aRHs7i+TmNvhtY7DQ0C+Nl0="; + hash = "sha256-cZmV8Mf3BokCd7pX7JWvyqlpbINqdnV3ChJ5sBpB974="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pandas/default.nix b/pkgs/development/python-modules/pandas/default.nix index 82351f93e3b1..970a880d0fe6 100644 --- a/pkgs/development/python-modules/pandas/default.nix +++ b/pkgs/development/python-modules/pandas/default.nix @@ -3,7 +3,6 @@ stdenv, buildPythonPackage, fetchFromGitHub, - fetchpatch, pythonOlder, # build-system @@ -64,7 +63,7 @@ let pandas = buildPythonPackage rec { pname = "pandas"; - version = "2.2.3"; + version = "2.3.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -73,17 +72,9 @@ let owner = "pandas-dev"; repo = "pandas"; tag = "v${version}"; - hash = "sha256-6YUROcqOV2P1AbJF9IMBIqTt7/PSTeXDwGgE4uI9GME="; + hash = "sha256-xvdiWjJ5uHfrzXB7c4cYjFjZ6ue5i7qzb4tAEPJMAV0="; }; - patches = [ - (fetchpatch { - name = "musl.patch"; - url = "https://github.com/pandas-dev/pandas/commit/1e487982ff7501f07e2bba7a7d924fb92b3d5c7f.patch"; - hash = "sha256-F1pVce1W951Ea82Ux198e5fBFH6kDOG+EeslDTYbjio="; - }) - ]; - # A NOTE regarding the Numpy version relaxing: Both Numpy versions 1.x & # 2.x are supported. However upstream wants to always build with Numpy 2, # and with it to still be able to run with a Numpy 1 or 2. We insist to @@ -97,12 +88,10 @@ let # that override globally the `numpy` attribute to point to `numpy_1`. postPatch = '' substituteInPlace pyproject.toml \ - --replace-fail "numpy>=2.0" numpy \ - --replace-fail "meson-python==0.13.1" "meson-python>=0.13.1" \ - --replace-fail "meson==1.2.1" "meson>=1.2.1" + --replace-fail "numpy>=2.0" numpy ''; - nativeBuildInputs = [ + build-system = [ cython meson-python meson @@ -115,7 +104,7 @@ let enableParallelBuilding = true; - propagatedBuildInputs = [ + dependencies = [ numpy python-dateutil pytz diff --git a/pkgs/development/python-modules/panel/default.nix b/pkgs/development/python-modules/panel/default.nix index 5269e2bf612e..85779346c836 100644 --- a/pkgs/development/python-modules/panel/default.nix +++ b/pkgs/development/python-modules/panel/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "panel"; - version = "1.7.2"; + version = "1.7.5"; format = "wheel"; @@ -25,7 +25,7 @@ buildPythonPackage rec { # tries to fetch even more artifacts src = fetchPypi { inherit pname version format; - hash = "sha256-5gFBqEupP+v/W+tWe+x9wScejTJcvaplXtt1Gidoazo="; + hash = "sha256-HDtKM11W1aoM9dbhw2hKKX4kpiz5k0XF6euFUoN7l8M="; dist = "py3"; python = "py3"; }; diff --git a/pkgs/development/python-modules/panphon/default.nix b/pkgs/development/python-modules/panphon/default.nix index 230c7a310ba8..183d440da9de 100644 --- a/pkgs/development/python-modules/panphon/default.nix +++ b/pkgs/development/python-modules/panphon/default.nix @@ -18,12 +18,12 @@ buildPythonPackage rec { pname = "panphon"; - version = "0.22.0"; + version = "0.22.2"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-iSdCZjzeZhxsrkaRYHpg60evmo9g09a9Fwr0I5WWd1A="; + hash = "sha256-OD1HfVh/66HKWoKHjiT+d8FkXW++ngHJ6X1JjYopujU="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/papermill/default.nix b/pkgs/development/python-modules/papermill/default.nix index 9ece875296c3..5e6bb7b71327 100644 --- a/pkgs/development/python-modules/papermill/default.nix +++ b/pkgs/development/python-modules/papermill/default.nix @@ -95,6 +95,9 @@ buildPythonPackage rec { disabledTests = [ # pytest 8 compat "test_read_with_valid_file_extension" + + # azure datalake api compat issue + "test_create_adapter" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # might fail due to the sandbox diff --git a/pkgs/development/python-modules/parameterized/default.nix b/pkgs/development/python-modules/parameterized/default.nix index 643bab1e58dc..0e14c59f6f2e 100644 --- a/pkgs/development/python-modules/parameterized/default.nix +++ b/pkgs/development/python-modules/parameterized/default.nix @@ -40,6 +40,9 @@ buildPythonPackage rec { nativeBuildInputs = [ setuptools ]; + # 'yield' keyword is allowed in fixtures, but not in tests (test_naked_function) + doCheck = false; + checkInputs = [ mock pytestCheckHook diff --git a/pkgs/development/python-modules/paramiko/default.nix b/pkgs/development/python-modules/paramiko/default.nix index c779ec730b49..7cb53debdf75 100644 --- a/pkgs/development/python-modules/paramiko/default.nix +++ b/pkgs/development/python-modules/paramiko/default.nix @@ -3,7 +3,6 @@ bcrypt, buildPythonPackage, cryptography, - fetchpatch, fetchPypi, gssapi, icecream, @@ -18,23 +17,14 @@ buildPythonPackage rec { pname = "paramiko"; - version = "3.5.1"; + version = "4.0.0"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-ssZlvEWyshW9fX8DmQGxSwZ9oA86EeZkCZX9WPJmSCI="; + hash = "sha256-aiXwezgMycmojSuSCtNxZ6xGZ/jZiGzOvY+Q9lS11p8="; }; - patches = [ - # Fix usage of dsa keys - # https://github.com/paramiko/paramiko/pull/1606/ - (fetchpatch { - url = "https://github.com/paramiko/paramiko/commit/18e38b99f515056071fb27b9c1a4f472005c324a.patch"; - hash = "sha256-bPDghPeLo3NiOg+JwD5CJRRLv2VEqmSx1rOF2Tf8ZDA="; - }) - ]; - build-system = [ setuptools ]; dependencies = [ diff --git a/pkgs/development/python-modules/partial-json-parser/default.nix b/pkgs/development/python-modules/partial-json-parser/default.nix index f356e6e0a312..6125d6a66c18 100644 --- a/pkgs/development/python-modules/partial-json-parser/default.nix +++ b/pkgs/development/python-modules/partial-json-parser/default.nix @@ -10,13 +10,13 @@ buildPythonPackage rec { pname = "partial-json-parser"; - version = "0.2.1.1.post5"; + version = "0.2.1.1.post6"; pyproject = true; src = fetchPypi { pname = "partial_json_parser"; inherit version; - hash = "sha256-mScQrGfpCzZ5IdUnJ2mJKAQPdxO6fsszuWNx6nrsgso="; + hash = "sha256-Q4lraJKWeCJMu+SISmpf6SUd7UswuLfX61aeX+6pOvw="; }; build-system = [ pdm-backend ]; diff --git a/pkgs/development/python-modules/paste/default.nix b/pkgs/development/python-modules/paste/default.nix index ae7eb8b7a79e..5674b4ceb3f1 100644 --- a/pkgs/development/python-modules/paste/default.nix +++ b/pkgs/development/python-modules/paste/default.nix @@ -40,6 +40,11 @@ buildPythonPackage rec { touch tests/urlparser_data/secured.txt ''; + disabledTests = [ + # pkg_resources deprecation warning + "test_form" + ]; + pythonNamespaces = [ "paste" ]; meta = with lib; { diff --git a/pkgs/development/python-modules/path/default.nix b/pkgs/development/python-modules/path/default.nix index 1f7c3361eb3a..1fa86795c4af 100644 --- a/pkgs/development/python-modules/path/default.nix +++ b/pkgs/development/python-modules/path/default.nix @@ -11,16 +11,20 @@ buildPythonPackage rec { pname = "path"; - version = "17.1.0"; + version = "17.1.1"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-1B4F7U+h1PbXAt88HgoaJV17VEKHQyRWRV3HxR5fmOk="; + hash = "sha256-Lfy/7ItNlg80acUqzxMxE8KovxKse5jWKfqRr4ckjUI="; }; + postPatch = '' + sed -i "/coherent\.licensed/d" pyproject.toml + ''; + nativeBuildInputs = [ setuptools setuptools-scm diff --git a/pkgs/development/python-modules/pathvalidate/default.nix b/pkgs/development/python-modules/pathvalidate/default.nix index 0927f880fd46..f4c8a5133500 100644 --- a/pkgs/development/python-modules/pathvalidate/default.nix +++ b/pkgs/development/python-modules/pathvalidate/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "pathvalidate"; - version = "3.2.3"; + version = "3.3.1"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-WbW5J44wOC1tITSXYjBD6+Y/EOKQVb5EGanATHIXOcs="; + hash = "sha256-sYwHISv+rWJDRbuOHWFBzc8Vo5c2mU6guUA1rSsboXc="; }; build-system = [ setuptools-scm ]; diff --git a/pkgs/development/python-modules/pcffont/default.nix b/pkgs/development/python-modules/pcffont/default.nix index 952e466262dd..59cff062a80b 100644 --- a/pkgs/development/python-modules/pcffont/default.nix +++ b/pkgs/development/python-modules/pcffont/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "pcffont"; - version = "0.0.20"; + version = "0.0.21"; pyproject = true; disabled = pythonOlder "3.10"; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "pcffont"; inherit version; - hash = "sha256-dkf0irrrlSoj8TH+C/kmkVPJORWGl0EbgvckfPBes7I="; + hash = "sha256-RWmR6shNFuJytOfRAVTiNdIJMRpkBchBj8zOy4ybE9o="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/peewee/default.nix b/pkgs/development/python-modules/peewee/default.nix index 0d9e1f674072..ae485714ade8 100644 --- a/pkgs/development/python-modules/peewee/default.nix +++ b/pkgs/development/python-modules/peewee/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "peewee"; - version = "3.18.1"; + version = "3.18.2"; pyproject = true; disabled = pythonOlder "3.7"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "coleifer"; repo = "peewee"; tag = version; - hash = "sha256-7MLDhMiW9LaedPMQ2QqSqos4SegzUmTX1joyV18MkEg="; + hash = "sha256-BIOY3vAHzSonxXYFmfFbVxbbUWnUVtcBRsTVMRo7peE="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/peft/default.nix b/pkgs/development/python-modules/peft/default.nix index e77696cae0df..e29a2eee51fc 100644 --- a/pkgs/development/python-modules/peft/default.nix +++ b/pkgs/development/python-modules/peft/default.nix @@ -31,14 +31,14 @@ buildPythonPackage rec { pname = "peft"; - version = "0.15.2"; + version = "0.17.0"; pyproject = true; src = fetchFromGitHub { owner = "huggingface"; repo = "peft"; tag = "v${version}"; - hash = "sha256-c9oHBQCdJpPAeI7xwePXx75Sp39I8QVjRZSxxSOm2PM="; + hash = "sha256-YkJGVSeeEs+ErOUgRL5OXDUaJDqABjOTicM+1gX+CDM="; }; build-system = [ setuptools ]; @@ -102,6 +102,9 @@ buildPythonPackage rec { "tests/test_tuners_utils.py" "tests/test_vision_models.py" "tests/test_xlora.py" + "tests/test_target_parameters.py" + "tests/test_seq_classifier.py" + "tests/test_low_level_api.py" ]; meta = { diff --git a/pkgs/development/python-modules/pg8000/default.nix b/pkgs/development/python-modules/pg8000/default.nix index 2500db486c60..094ee63ca9a1 100644 --- a/pkgs/development/python-modules/pg8000/default.nix +++ b/pkgs/development/python-modules/pg8000/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "pg8000"; - version = "1.31.2"; + version = "1.31.4"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-HqRs8J2Oygf+fqre/XlR43vuf6vmdd8WTxpXL/swCHY="; + hash = "sha256-5+zOQzmJHyewsi4veeue/kQRi9OEIHNZ/Bg1D3iKzgA="; }; build-system = [ diff --git a/pkgs/development/python-modules/pgmpy/default.nix b/pkgs/development/python-modules/pgmpy/default.nix index 6e9f962c60bd..80d79d8978f5 100644 --- a/pkgs/development/python-modules/pgmpy/default.nix +++ b/pkgs/development/python-modules/pgmpy/default.nix @@ -27,14 +27,14 @@ }: buildPythonPackage rec { pname = "pgmpy"; - version = "0.1.26"; + version = "1.0.0"; pyproject = true; src = fetchFromGitHub { owner = "pgmpy"; repo = "pgmpy"; tag = "v${version}"; - hash = "sha256-RusVREhEXYaJuQXTaCQ7EJgbo4+wLB3wXXCAc3sBGtU="; + hash = "sha256-WmRtek3lN7vEfXqoaZDiaNjMQ7R2PmJ/OEwxOV7m5sE="; }; dependencies = [ @@ -78,7 +78,7 @@ buildPythonPackage rec { meta = { description = "Python Library for learning (Structure and Parameter), inference (Probabilistic and Causal), and simulations in Bayesian Networks"; homepage = "https://github.com/pgmpy/pgmpy"; - changelog = "https://github.com/pgmpy/pgmpy/releases/tag/v${version}"; + changelog = "https://github.com/pgmpy/pgmpy/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ happysalada ]; }; diff --git a/pkgs/development/python-modules/pgspecial/default.nix b/pkgs/development/python-modules/pgspecial/default.nix index 641416809161..5876bab95168 100644 --- a/pkgs/development/python-modules/pgspecial/default.nix +++ b/pkgs/development/python-modules/pgspecial/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "pgspecial"; - version = "2.1.3"; + version = "2.2.1"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-bU0jFq/31HlU25nUw5HWwLsmVo68udFR9l2reTi2y+I="; + hash = "sha256-2mx/zHvve7ATLcIEb3TsZROx/m8MgOVSjWMNFLfEhJ0="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/phik/default.nix b/pkgs/development/python-modules/phik/default.nix index 90c5eebb2721..72e4d48abf2f 100644 --- a/pkgs/development/python-modules/phik/default.nix +++ b/pkgs/development/python-modules/phik/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "phik"; - version = "0.12.4"; + version = "0.12.5"; pyproject = true; disabled = pythonOlder "3.8"; @@ -28,7 +28,7 @@ buildPythonPackage rec { owner = "KaveIO"; repo = "PhiK"; tag = "v${version}"; - hash = "sha256-YsH7vVn6gzejunUjUY/RIcvWtaQ/W1gbciJWKi5LDTk="; + hash = "sha256-/Zzin3IHwlFEDQwKjzTwY4ET2r0k3Ne/2lGzXkur9p8="; }; build-system = [ @@ -67,7 +67,7 @@ buildPythonPackage rec { Pearson’s hypothesis test of independence of two variables. ''; homepage = "https://phik.readthedocs.io/"; - changelog = "https://github.com/KaveIO/PhiK/blob/${version}/CHANGES.rst"; + changelog = "https://github.com/KaveIO/PhiK/blob/${src.tag}/CHANGES.rst"; license = licenses.asl20; maintainers = with maintainers; [ melsigl ]; }; diff --git a/pkgs/development/python-modules/phonenumbers/default.nix b/pkgs/development/python-modules/phonenumbers/default.nix index e8b59a144158..ce2ab2e57b44 100644 --- a/pkgs/development/python-modules/phonenumbers/default.nix +++ b/pkgs/development/python-modules/phonenumbers/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "phonenumbers"; - version = "9.0.5"; + version = "9.0.10"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-cP3haKkt2cc/V4cjWVFRgdbN5ruOfsVmDpTEykVpLFA="; + hash = "sha256-wtFaap0FNLFKd2T1EkatqZVj4mP2W4CwJR0adgrEobo="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pillow-avif-plugin/default.nix b/pkgs/development/python-modules/pillow-avif-plugin/default.nix index 3750e1d1dd4c..4f06ceba1bb5 100644 --- a/pkgs/development/python-modules/pillow-avif-plugin/default.nix +++ b/pkgs/development/python-modules/pillow-avif-plugin/default.nix @@ -1,25 +1,32 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, setuptools, libavif, pillow, + pytestCheckHook, }: buildPythonPackage rec { pname = "pillow-avif-plugin"; - version = "1.4.6"; + version = "1.5.2"; pyproject = true; - src = fetchPypi { - inherit pname version; - sha256 = "sha256-hVz1DQP2/Bbh/V42SzzqC3n0v5DTn/ISOWlzXYUeCLo="; + src = fetchFromGitHub { + owner = "fdintino"; + repo = "pillow-avif-plugin"; + tag = "v${version}"; + hash = "sha256-gdDVgVNympxlTzj1VUqO+aU1/xWNjDm97a0biOTlKtA="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; + buildInputs = [ libavif ]; - propagatedBuildInputs = [ pillow ]; + + dependencies = [ pillow ]; + + nativeCheckInputs = [ pytestCheckHook ]; meta = { description = "Pillow plugin that adds support for AVIF files"; diff --git a/pkgs/development/python-modules/pillow-heif/default.nix b/pkgs/development/python-modules/pillow-heif/default.nix index 55114a3c6672..69826e90b683 100644 --- a/pkgs/development/python-modules/pillow-heif/default.nix +++ b/pkgs/development/python-modules/pillow-heif/default.nix @@ -27,14 +27,14 @@ buildPythonPackage rec { pname = "pillow-heif"; - version = "0.22.0"; + version = "1.1.0"; pyproject = true; src = fetchFromGitHub { owner = "bigcat88"; repo = "pillow_heif"; tag = "v${version}"; - hash = "sha256-xof6lFb0DhmWVmYuBNslcGZs82NRkcgZgt+SX9gsrBY="; + hash = "sha256-CY//orCEKBfgHF7lTTSMenDsvf9NOQo8iiQS3p9NMH8="; }; postPatch = '' diff --git a/pkgs/development/python-modules/pillow/default.nix b/pkgs/development/python-modules/pillow/default.nix index 050c403b763a..153192fb6dbf 100644 --- a/pkgs/development/python-modules/pillow/default.nix +++ b/pkgs/development/python-modules/pillow/default.nix @@ -74,7 +74,7 @@ buildPythonPackage rec { pypaBuildFlags = [ # Disable platform guessing, which tries various FHS paths - "--config=setting=--disable-platform-guessing" + "--config-setting=--disable-platform-guessing" ]; preConfigure = diff --git a/pkgs/development/python-modules/pinecone-client/default.nix b/pkgs/development/python-modules/pinecone-client/default.nix index eff92a25eec1..a1aee13ecc50 100644 --- a/pkgs/development/python-modules/pinecone-client/default.nix +++ b/pkgs/development/python-modules/pinecone-client/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "pinecone-client"; - version = "5.4.2"; + version = "7.3.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -29,7 +29,7 @@ buildPythonPackage rec { owner = "pinecone-io"; repo = "pinecone-python-client"; tag = "v${version}"; - hash = "sha256-5BCjqcJ+xCTTF/Q+PrgNV4Y/GcT2cfNqvY1ydUL6EZ8="; + hash = "sha256-PT8Jr3sq5iZ9VFt6H6t4lLk72FXnHdyPUbcNGftg4QU="; }; build-system = [ @@ -56,7 +56,7 @@ buildPythonPackage rec { meta = { description = "Pinecone python client"; homepage = "https://www.pinecone.io/"; - changelog = "https://github.com/pinecone-io/pinecone-python-client/releases/tag/v${version}"; + changelog = "https://github.com/pinecone-io/pinecone-python-client/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ happysalada ]; }; diff --git a/pkgs/development/python-modules/pins/default.nix b/pkgs/development/python-modules/pins/default.nix index e30b2f326a3e..1a2d5b2a05ff 100644 --- a/pkgs/development/python-modules/pins/default.nix +++ b/pkgs/development/python-modules/pins/default.nix @@ -28,7 +28,7 @@ buildPythonPackage rec { pname = "pins"; - version = "0.8.7"; + version = "0.9.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -37,7 +37,7 @@ buildPythonPackage rec { owner = "rstudio"; repo = "pins-python"; tag = "v${version}"; - hash = "sha256-79TVAfr872Twc7D2iej51jiKNwZ9ESOa66ItNDmyfFM="; + hash = "sha256-1NoJ2PA0ov9ZOWaZdlajV23UqTelRzfW7jESMsfOxkg="; }; build-system = [ @@ -89,7 +89,7 @@ buildPythonPackage rec { meta = with lib; { description = "Module to publishes data, models and other Python objects"; homepage = "https://github.com/rstudio/pins-python"; - changelog = "https://github.com/rstudio/pins-python/releases/tag/v${version}"; + changelog = "https://github.com/rstudio/pins-python/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/pip-system-certs/default.nix b/pkgs/development/python-modules/pip-system-certs/default.nix index 0476aed56212..3503ba4d8405 100644 --- a/pkgs/development/python-modules/pip-system-certs/default.nix +++ b/pkgs/development/python-modules/pip-system-certs/default.nix @@ -3,29 +3,27 @@ buildPythonPackage, fetchPypi, setuptools-scm, - wheel, git-versioner, - wrapt, + pip, }: buildPythonPackage rec { pname = "pip-system-certs"; - version = "4.0"; + version = "5.2"; pyproject = true; src = fetchPypi { inherit version; pname = "pip_system_certs"; - hash = "sha256-245qMTiNl5XskTmVffGon6UnT7ZhZEVv0JGl0+lMNQw="; + hash = "sha256-gLd2tc8XGRv5nTE2mbf84v24Tre7siX9E0EJqCcGQG8="; }; - nativeBuildInputs = [ + build-system = [ setuptools-scm - wheel git-versioner ]; - propagatedBuildInputs = [ wrapt ]; + dependencies = [ pip ]; pythonImportsCheck = [ "pip_system_certs.wrapt_requests" diff --git a/pkgs/development/python-modules/piqp/default.nix b/pkgs/development/python-modules/piqp/default.nix index 15b609181960..63c7bd058b37 100644 --- a/pkgs/development/python-modules/piqp/default.nix +++ b/pkgs/development/python-modules/piqp/default.nix @@ -20,7 +20,7 @@ }: buildPythonPackage rec { pname = "piqp"; - version = "0.4.2"; + version = "0.6.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -29,7 +29,7 @@ buildPythonPackage rec { owner = "PREDICT-EPFL"; repo = "piqp"; tag = "v${version}"; - hash = "sha256-/lADjg4NyDdV9yeYBW2gbPydY8TfV247B/dI/ViRVlI="; + hash = "sha256-hVUeDV2GrBAOIgaWhg+RV+8CFRIm8Kv6/wCs5bXs2aY="; }; postPatch = diff --git a/pkgs/development/python-modules/pixel-font-builder/default.nix b/pkgs/development/python-modules/pixel-font-builder/default.nix index 0dd26012e434..66ef417e6b5d 100644 --- a/pkgs/development/python-modules/pixel-font-builder/default.nix +++ b/pkgs/development/python-modules/pixel-font-builder/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "pixel-font-builder"; - version = "0.0.34"; + version = "0.0.37"; pyproject = true; disabled = pythonOlder "3.11"; @@ -23,7 +23,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "pixel_font_builder"; inherit version; - hash = "sha256-+t1N2GlIyPr7OHppP3h0TDQNYhrQCrBHc8fGyYq2AiM="; + hash = "sha256-qlF+dp2umL3H7l/9R5kbpFLOsaZnl5V2WjLaeXMzGls="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/pkg-about/default.nix b/pkgs/development/python-modules/pkg-about/default.nix index 58d217546d34..f357ec7d6732 100644 --- a/pkgs/development/python-modules/pkg-about/default.nix +++ b/pkgs/development/python-modules/pkg-about/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "pkg-about"; - version = "1.2.11"; + version = "1.3.7"; pyproject = true; disabled = pythonOlder "3.11"; @@ -21,7 +21,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "pkg_about"; inherit version; - hash = "sha256-fm/b4Vm7YGTq+BXVltwRz42qXYULXL9KBCINB8mMuWI="; + hash = "sha256-xYGDHXLRWxqA7dxs4hhh+qsEcdNwSh1jvAhpyUdbJOg="; }; # tox is listed in build requirements but not actually used to build diff --git a/pkgs/development/python-modules/playwrightcapture/default.nix b/pkgs/development/python-modules/playwrightcapture/default.nix index a89e5305117c..bd8e3cd62cca 100644 --- a/pkgs/development/python-modules/playwrightcapture/default.nix +++ b/pkgs/development/python-modules/playwrightcapture/default.nix @@ -23,7 +23,7 @@ buildPythonPackage rec { pname = "playwrightcapture"; - version = "1.29.1"; + version = "1.31.7"; pyproject = true; disabled = pythonOlder "3.9"; @@ -32,7 +32,7 @@ buildPythonPackage rec { owner = "Lookyloo"; repo = "PlaywrightCapture"; tag = "v${version}"; - hash = "sha256-n2lVP+oThZ2hRVOadudaaNFU2KI14rrkG7ipJ0vrj20="; + hash = "sha256-+yVAqDbPuul9pZaEiABFVEmWbfq89SyCULHYRWpXKNc="; }; pythonRelaxDeps = [ diff --git a/pkgs/development/python-modules/poetry-dynamic-versioning/default.nix b/pkgs/development/python-modules/poetry-dynamic-versioning/default.nix index fe2bec35dc90..c5910a0d79dd 100644 --- a/pkgs/development/python-modules/poetry-dynamic-versioning/default.nix +++ b/pkgs/development/python-modules/poetry-dynamic-versioning/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "poetry-dynamic-versioning"; - version = "1.7.0"; + version = "1.9.1"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "mtkennerly"; repo = "poetry-dynamic-versioning"; tag = "v${version}"; - hash = "sha256-V5UuODRwm829c1KPdQm9oqeN6YdcCo1ODDsEHbm4e/Y="; + hash = "sha256-SKVx20RrwhCpdDIc2Pu1oFaXWe2d2GnbJGUX7KqMvo0="; }; nativeBuildInputs = [ poetry-core ]; diff --git a/pkgs/development/python-modules/pook/default.nix b/pkgs/development/python-modules/pook/default.nix index 66d6e2da8db8..ba904883f880 100644 --- a/pkgs/development/python-modules/pook/default.nix +++ b/pkgs/development/python-modules/pook/default.nix @@ -1,6 +1,7 @@ { lib, buildPythonPackage, + falcon, fetchFromGitHub, furl, hatchling, @@ -9,33 +10,31 @@ pytest-httpbin, pytest-pook, pytestCheckHook, - pythonOlder, xmltodict, }: buildPythonPackage rec { pname = "pook"; - version = "2.1.3"; + version = "2.1.4"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "h2non"; repo = "pook"; tag = "v${version}"; - hash = "sha256-DDHaKsye28gxyorILulrLRBy/B9zV673jeVZ85uPZAo="; + hash = "sha256-z0QaMdsX2xLXICgQwnlUD2KsgCn0jB4wO83+6O4B3D8="; }; - nativeBuildInputs = [ hatchling ]; + build-system = [ hatchling ]; - propagatedBuildInputs = [ + dependencies = [ furl jsonschema xmltodict ]; nativeCheckInputs = [ + falcon pytest-asyncio pytest-httpbin pytest-pook @@ -62,8 +61,8 @@ buildPythonPackage rec { meta = with lib; { description = "HTTP traffic mocking and testing"; homepage = "https://github.com/h2non/pook"; - changelog = "https://github.com/h2non/pook/blob/v${version}/History.rst"; - license = with licenses; [ mit ]; + changelog = "https://github.com/h2non/pook/blob/v${src.tag}/History.rst"; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; } diff --git a/pkgs/development/python-modules/portalocker/default.nix b/pkgs/development/python-modules/portalocker/default.nix index cb01274dfea1..4c45509dc8de 100644 --- a/pkgs/development/python-modules/portalocker/default.nix +++ b/pkgs/development/python-modules/portalocker/default.nix @@ -14,19 +14,21 @@ # tests pygments, pytest-cov-stub, + pytest-rerunfailures, + pytest-timeout, pytestCheckHook, }: buildPythonPackage rec { pname = "portalocker"; - version = "3.1.1"; + version = "3.2.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-7CD23aKtnOifo5ml8x9PFJX1FZWPDLfKZUPO97tadJ4="; + hash = "sha256-HzAClWpUqMNzBYbFx3vxj65BSeB+rxwp/D+vTVo/iaw="; }; nativeBuildInputs = [ @@ -39,6 +41,8 @@ buildPythonPackage rec { nativeCheckInputs = [ pygments pytest-cov-stub + pytest-rerunfailures + pytest-timeout pytestCheckHook ]; diff --git a/pkgs/development/python-modules/portend/default.nix b/pkgs/development/python-modules/portend/default.nix index 35bf5d1a8be5..6411878265e2 100644 --- a/pkgs/development/python-modules/portend/default.nix +++ b/pkgs/development/python-modules/portend/default.nix @@ -10,19 +10,23 @@ buildPythonPackage rec { pname = "portend"; - version = "3.2.0"; - format = "pyproject"; + version = "3.2.1"; + pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-UlCjUsGclZ12fKyHi4Kdk+XcdiWlFDOZoqANxmKP+3I="; + hash = "sha256-qp1Aqx+eFL231AH0IhDfNdAXybl5kbrrGFaM7fuMZIk="; }; - nativeBuildInputs = [ setuptools-scm ]; + postPatch = '' + sed -i "/coherent\.licensed/d" pyproject.toml; + ''; - propagatedBuildInputs = [ tempora ]; + build-system = [ setuptools-scm ]; + + dependencies = [ tempora ]; nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/development/python-modules/preggy/default.nix b/pkgs/development/python-modules/preggy/default.nix index 4281e6de0edf..db95ae127885 100644 --- a/pkgs/development/python-modules/preggy/default.nix +++ b/pkgs/development/python-modules/preggy/default.nix @@ -2,27 +2,30 @@ lib, buildPythonPackage, fetchPypi, + setuptools, six, unidecode, - pytestCheckHook, + pytest8_3CheckHook, }: buildPythonPackage rec { pname = "preggy"; version = "1.4.4"; - format = "setuptools"; - - propagatedBuildInputs = [ - six - unidecode - ]; - nativeCheckInputs = [ pytestCheckHook ]; + pyproject = true; src = fetchPypi { inherit pname version; sha256 = "25ba803afde4f35ef543a60915ced2e634926235064df717c3cb3e4e3eb4670c"; }; + build-system = [ setuptools ]; + + dependencies = [ + six + unidecode + ]; + nativeCheckInputs = [ pytest8_3CheckHook ]; + meta = with lib; { description = "Assertion library for Python"; homepage = "http://heynemann.github.io/preggy/"; diff --git a/pkgs/development/python-modules/primer3/default.nix b/pkgs/development/python-modules/primer3/default.nix index 12fe9407cb73..2c93e066ad14 100644 --- a/pkgs/development/python-modules/primer3/default.nix +++ b/pkgs/development/python-modules/primer3/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "primer3"; - version = "2.1.0"; + version = "2.2.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "libnano"; repo = "primer3-py"; tag = "v${version}"; - hash = "sha256-Kp4JH57gEdj7SzY+7XGBzGloWuTSwUQRBK9QbgXQfUE="; + hash = "sha256-GrVYYjS/+LZScZETfk7YcSy2yrWc3SPumXvyQeEpFUg="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/progress/default.nix b/pkgs/development/python-modules/progress/default.nix index 20c2954a10f7..26edbf0a1d58 100644 --- a/pkgs/development/python-modules/progress/default.nix +++ b/pkgs/development/python-modules/progress/default.nix @@ -2,21 +2,26 @@ lib, buildPythonPackage, fetchPypi, + setuptools, python, }: buildPythonPackage rec { - version = "1.6"; - format = "setuptools"; + version = "1.6.1"; pname = "progress"; + pyproject = true; src = fetchPypi { inherit pname version; - sha256 = "c9c86e98b5c03fa1fe11e3b67c1feda4788b8d0fe7336c2ff7d5644ccfba34cd"; + hash = "sha256-wbpxn4Ys6IUjKnWeq0eXH+dN/Hu3arilHvWUC601CGw="; }; + build-system = [ setuptools ]; + checkPhase = '' + runHook preCheck ${python.interpreter} test_progress.py + runHook postCheck ''; meta = with lib; { diff --git a/pkgs/development/python-modules/prometheus-client/default.nix b/pkgs/development/python-modules/prometheus-client/default.nix index 1efd9a4d9a1c..88e9c6fff24e 100644 --- a/pkgs/development/python-modules/prometheus-client/default.nix +++ b/pkgs/development/python-modules/prometheus-client/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "prometheus-client"; - version = "0.22.0"; + version = "0.22.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "prometheus"; repo = "client_python"; tag = "v${version}"; - hash = "sha256-JLkDFciDsfjfrA7BiIq3js+UtLRA/lzcdFvqPhUJyB8="; + hash = "sha256-DEuIoVpRDJTd9qXBeHa5jrBscmGgosCKAluqCuUBzuU="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/promise/default.nix b/pkgs/development/python-modules/promise/default.nix index ee6df45657a9..d182becf95be 100644 --- a/pkgs/development/python-modules/promise/default.nix +++ b/pkgs/development/python-modules/promise/default.nix @@ -46,6 +46,11 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTests = [ + # Failed: async def functions are not natively supported + "test_issue_9_safe" + ]; + disabledTestPaths = [ "tests/test_benchmark.py" ]; pythonImportsCheck = [ "promise" ]; diff --git a/pkgs/development/python-modules/propcache/default.nix b/pkgs/development/python-modules/propcache/default.nix index 67fbfd5422a2..b07c062c96fb 100644 --- a/pkgs/development/python-modules/propcache/default.nix +++ b/pkgs/development/python-modules/propcache/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "propcache"; - version = "0.3.1"; + version = "0.3.2"; pyproject = true; disabled = pythonOlder "3.11"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "aio-libs"; repo = "propcache"; tag = "v${version}"; - hash = "sha256-sVZsa6WkG1wUj9G+1vzgT+HT4fWLBqRNmn5nlEj5J0w="; + hash = "sha256-G8SLIZaJUu3uwyFicrQF+PjKp3vsUh/pNUsmDpnnAAg="; }; postPatch = '' diff --git a/pkgs/development/python-modules/protego/default.nix b/pkgs/development/python-modules/protego/default.nix index 5823c42526c0..372715859af0 100644 --- a/pkgs/development/python-modules/protego/default.nix +++ b/pkgs/development/python-modules/protego/default.nix @@ -2,14 +2,14 @@ lib, buildPythonPackage, fetchFromGitHub, + hatchling, pytestCheckHook, pythonOlder, - setuptools, }: buildPythonPackage rec { pname = "protego"; - version = "0.4.0"; + version = "0.5.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -18,10 +18,10 @@ buildPythonPackage rec { owner = "scrapy"; repo = "protego"; tag = version; - hash = "sha256-2vyETqRYeof5CzOCXCGUYb5vSyV/eT5+lm2GNWiuaF0="; + hash = "sha256-70/DPap3FgLfh4ldYSve5Pt8o7gM1lME/OmRFaew/38="; }; - build-system = [ setuptools ]; + build-system = [ hatchling ]; nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/development/python-modules/prov/default.nix b/pkgs/development/python-modules/prov/default.nix index f4606cda7f48..ef7361277d5e 100644 --- a/pkgs/development/python-modules/prov/default.nix +++ b/pkgs/development/python-modules/prov/default.nix @@ -11,12 +11,12 @@ buildPythonPackage rec { pname = "prov"; - version = "2.0.1"; + version = "2.1.1"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-DiOMFAXRpVxyvTmzttc9b3q/2dCn+rLsBpOhmimlYX8="; + hash = "sha256-fQErFk9bu0LhGO2dJXiKsBLQkIK3Iryd1OgRownqV/U="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/proxy-py/default.nix b/pkgs/development/python-modules/proxy-py/default.nix index fd4779abeab3..7011a191dc07 100644 --- a/pkgs/development/python-modules/proxy-py/default.nix +++ b/pkgs/development/python-modules/proxy-py/default.nix @@ -23,7 +23,7 @@ buildPythonPackage rec { pname = "proxy-py"; - version = "2.4.9"; + version = "2.4.10"; pyproject = true; disabled = pythonOlder "3.7"; @@ -32,7 +32,7 @@ buildPythonPackage rec { owner = "abhinavsingh"; repo = "proxy.py"; tag = "v${version}"; - hash = "sha256-q7GfPVPtlH5XlOFDEHUwLYp5ZSBF4lrZOU2AsktHlcI="; + hash = "sha256-47Qt8J60QFfHUSquD17xMfl+wBTsSimaPSRvS/sSPMI="; }; postPatch = '' diff --git a/pkgs/development/python-modules/pscript/default.nix b/pkgs/development/python-modules/pscript/default.nix index 499f479b4d88..c9673c7eb900 100644 --- a/pkgs/development/python-modules/pscript/default.nix +++ b/pkgs/development/python-modules/pscript/default.nix @@ -2,15 +2,15 @@ lib, buildPythonPackage, fetchFromGitHub, + flit-core, pytestCheckHook, nodejs, pythonOlder, - setuptools, }: buildPythonPackage rec { pname = "pscript"; - version = "0.7.7"; + version = "0.8.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -19,10 +19,10 @@ buildPythonPackage rec { owner = "flexxui"; repo = "pscript"; tag = "v${version}"; - hash = "sha256-AhVI+7FiWyH+DfAXnau4aAHJAJtsWEpmnU90ey2z35o="; + hash = "sha256-pqjig3dFJ4zfpor6TT6fiBMS7lAtJE/bAYbzl46W/YY="; }; - build-system = [ setuptools ]; + build-system = [ flit-core ]; nativeCheckInputs = [ pytestCheckHook @@ -44,7 +44,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python to JavaScript compiler"; homepage = "https://pscript.readthedocs.io"; - changelog = "https://github.com/flexxui/pscript/blob/v${version}/docs/releasenotes.rst"; + changelog = "https://github.com/flexxui/pscript/blob/${src.tag}/docs/releasenotes.rst"; license = licenses.bsd2; maintainers = with maintainers; [ matthiasbeyer ]; }; diff --git a/pkgs/development/python-modules/psycopg/default.nix b/pkgs/development/python-modules/psycopg/default.nix index d1812889b663..d50a40738b06 100644 --- a/pkgs/development/python-modules/psycopg/default.nix +++ b/pkgs/development/python-modules/psycopg/default.nix @@ -4,7 +4,6 @@ buildPythonPackage, fetchFromGitHub, fetchurl, - pythonOlder, replaceVars, # build @@ -69,6 +68,9 @@ let # move into source root after patching postPatch = '' cd psycopg_c + + substituteInPlace pyproject.toml \ + --replace-fail "Cython >= 3.0.0, < 3.1.0" "Cython" ''; nativeBuildInputs = [ @@ -116,9 +118,7 @@ in buildPythonPackage rec { inherit pname version src; - format = "pyproject"; - - disabled = pythonOlder "3.7"; + pyproject = true; outputs = [ "out" @@ -143,15 +143,15 @@ buildPythonPackage rec { ''; nativeBuildInputs = [ - furo setuptools - shapely ] # building the docs fails with the following error when cross compiling # AttributeError: module 'psycopg_c.pq' has no attribute '__impl__' ++ lib.optionals (stdenv.hostPlatform == stdenv.buildPlatform) [ + furo sphinx-autodoc-typehints sphinxHook + shapely ]; propagatedBuildInputs = [ @@ -209,9 +209,6 @@ buildPythonPackage rec { # Mypy typing test "tests/test_typing.py" "tests/crdb/test_typing.py" - # https://github.com/psycopg/psycopg/pull/915 - "tests/test_notify.py" - "tests/test_notify_async.py" ]; pytestFlags = [ diff --git a/pkgs/development/python-modules/psygnal/default.nix b/pkgs/development/python-modules/psygnal/default.nix index f5fe9fff8ded..40191587278b 100644 --- a/pkgs/development/python-modules/psygnal/default.nix +++ b/pkgs/development/python-modules/psygnal/default.nix @@ -7,6 +7,7 @@ mypy-extensions, numpy, pydantic, + pytest-asyncio, pytestCheckHook, pythonOlder, toolz, @@ -17,7 +18,7 @@ buildPythonPackage rec { pname = "psygnal"; - version = "0.13.0"; + version = "0.14.0"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -26,7 +27,7 @@ buildPythonPackage rec { owner = "pyapp-kit"; repo = "psygnal"; tag = "v${version}"; - hash = "sha256-ZEN8S2sI1usXl5A1Ow1+l4BBB6qNnlVt/nvFtAX4maY="; + hash = "sha256-RQ53elonwvna5UDVell3JI1dcZSMHREyB51r+ddsW2M="; }; build-system = [ @@ -42,6 +43,7 @@ buildPythonPackage rec { nativeCheckInputs = [ numpy pydantic + pytest-asyncio pytestCheckHook toolz wrapt diff --git a/pkgs/development/python-modules/ptpython/default.nix b/pkgs/development/python-modules/ptpython/default.nix index 3ec9a6f76d76..2d6a19ca74ef 100644 --- a/pkgs/development/python-modules/ptpython/default.nix +++ b/pkgs/development/python-modules/ptpython/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "ptpython"; - version = "3.0.29"; + version = "3.0.30"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-udYlGDrvk6Zz/DLL4cH8r1FBLnpPGVkFIc2syt8lGG4="; + hash = "sha256-UaB/m46/hDWlqusigxzKSlLocCl3GiY33ydjx509h3Y="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pulumi-aws/default.nix b/pkgs/development/python-modules/pulumi-aws/default.nix index 30983db1986b..5d4928938c26 100644 --- a/pkgs/development/python-modules/pulumi-aws/default.nix +++ b/pkgs/development/python-modules/pulumi-aws/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "pulumi-aws"; # Version is independent of pulumi's. - version = "6.66.3"; + version = "7.2.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "pulumi"; repo = "pulumi-aws"; tag = "v${version}"; - hash = "sha256-BPL4B0KwXQld+/aPTJKhsFMPEbJByccTj+Zs70b8O6A="; + hash = "sha256-fYcApSVMBSlw9YMf1J5PRma8GXPCGKDpnPd1BXJh5EE="; }; sourceRoot = "${src.name}/sdk/python"; diff --git a/pkgs/development/python-modules/puremagic/default.nix b/pkgs/development/python-modules/puremagic/default.nix index accf500a91fa..51cdabd8e0d6 100644 --- a/pkgs/development/python-modules/puremagic/default.nix +++ b/pkgs/development/python-modules/puremagic/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "puremagic"; - version = "1.28"; + version = "1.30"; pyproject = true; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "cdgriffith"; repo = "puremagic"; tag = version; - hash = "sha256-a7jRQUSbH3E6eJiXNKr4ikdSXRZ6+/csl/EMiKXMzmk="; + hash = "sha256-k2xrcML8XxI9cMTQTv0pDLkOrmEr5mbDnVsyWuD1rEc="; }; build-system = [ setuptools ]; @@ -30,7 +30,7 @@ buildPythonPackage rec { meta = with lib; { description = "Implementation of magic file detection"; homepage = "https://github.com/cdgriffith/puremagic"; - changelog = "https://github.com/cdgriffith/puremagic/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/cdgriffith/puremagic/blob/${src.tag}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ globin ]; }; diff --git a/pkgs/development/python-modules/py-ccm15/default.nix b/pkgs/development/python-modules/py-ccm15/default.nix index aa4ccf9928e2..14008ca3f28d 100644 --- a/pkgs/development/python-modules/py-ccm15/default.nix +++ b/pkgs/development/python-modules/py-ccm15/default.nix @@ -9,9 +9,9 @@ aiohttp, }: -buildPythonPackage { +buildPythonPackage rec { pname = "py-ccm15"; - version = "0.0.9"; + version = "0.1.2"; pyproject = true; src = fetchFromGitHub { @@ -20,8 +20,8 @@ buildPythonPackage { # Upstream does not have a tag for this release and this is the exact release commit # Therefore it should not be marked unstable # upstream issue: https://github.com/ocalvo/py-ccm15/issues/10 - rev = "3891d840e69d241c85bf9486e7fe0bb3c7443980"; - hash = "sha256-I2/AdG07PAvuC8rQKOIAUk7u3pJpANMaFpvEsejWeBU="; + tag = "v${version}"; + hash = "sha256-QfitJzCFk0gnlcCvvKzuI4fS1lVm79q4xaDZFKKt458="; }; build-system = [ setuptools ]; @@ -34,9 +34,15 @@ buildPythonPackage { nativeCheckInputs = [ pytestCheckHook ]; + disabledTests = [ + # tests use outdated function signature + "test_async_set_state" + ]; + pythonImportsCheck = [ "ccm15" ]; meta = { + changelog = "https://github.com/ocalvo/py-ccm15/releases/tag/${src.tag}"; description = "Python Library to access a Midea CCM15 data converter"; homepage = "https://github.com/ocalvo/py-ccm15"; license = lib.licenses.mit; diff --git a/pkgs/development/python-modules/py-multiaddr/default.nix b/pkgs/development/python-modules/py-multiaddr/default.nix index 49ba5ea55091..92bc2ac0987d 100644 --- a/pkgs/development/python-modules/py-multiaddr/default.nix +++ b/pkgs/development/python-modules/py-multiaddr/default.nix @@ -14,15 +14,15 @@ buildPythonPackage rec { pname = "py-multiaddr"; - version = "0.0.9"; + version = "0.0.10"; format = "setuptools"; disabled = pythonOlder "3.5"; src = fetchFromGitHub { owner = "multiformats"; repo = "py-multiaddr"; - rev = "v${version}"; - hash = "sha256-cGM7iYQPP+UOkbTxRhzuED0pkcydFCO8vpx9wTc0/HI="; + tag = "v${version}"; + hash = "sha256-N46D2H3RG6rtdBrSyDjh8UxD+Ph/FXEa4FcEI2uz4y8="; }; postPatch = '' diff --git a/pkgs/development/python-modules/py-serializable/default.nix b/pkgs/development/python-modules/py-serializable/default.nix index 6cbf0a63200d..7b48a7c04950 100644 --- a/pkgs/development/python-modules/py-serializable/default.nix +++ b/pkgs/development/python-modules/py-serializable/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "py-serializable"; - version = "1.1.2"; + version = "2.1.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "madpah"; repo = "serializable"; tag = "v${version}"; - hash = "sha256-2A+QjokZ7gtgstclZ7PFSPymYjQYKsLVXy9xbFOfxLo="; + hash = "sha256-nou1/80t9d2iKOdZZbcN4SI3dlvuC8T55KMCP/cDEEU="; }; build-system = [ poetry-core ]; @@ -36,7 +36,7 @@ buildPythonPackage rec { xmldiff ]; - pythonImportsCheck = [ "serializable" ]; + pythonImportsCheck = [ "py_serializable" ]; disabledTests = [ # AssertionError: 'The Phoenix @@ -47,7 +47,7 @@ buildPythonPackage rec { meta = with lib; { description = "Library to aid with serialisation and deserialisation to/from JSON and XML"; homepage = "https://github.com/madpah/serializable"; - changelog = "https://github.com/madpah/serializable/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/madpah/serializable/blob/${src.tag}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/py7zr/default.nix b/pkgs/development/python-modules/py7zr/default.nix index 9e986b4cae52..0a96e999ec49 100644 --- a/pkgs/development/python-modules/py7zr/default.nix +++ b/pkgs/development/python-modules/py7zr/default.nix @@ -15,31 +15,25 @@ texttable, py-cpuinfo, pytest-benchmark, + pytest-httpserver, pytest-remotedata, pytest-timeout, pytestCheckHook, + requests, }: buildPythonPackage rec { pname = "py7zr"; - version = "0.22.0"; + version = "1.0.0"; pyproject = true; src = fetchFromGitHub { owner = "miurahr"; repo = "py7zr"; tag = "v${version}"; - hash = "sha256-YR2cuHZWwqrytidAMbNvRV1/N4UZG8AMMmzcTcG9FvY="; + hash = "sha256-uV4zBQZlHfHgM/NiVSjI5I9wJRk9i4ihJn4B2R6XRuM="; }; - postPatch = - # Replace inaccessible mirror (qt.mirrors.tds.net): - # upstream PR: https://github.com/miurahr/py7zr/pull/637 - '' - substituteInPlace tests/test_concurrent.py \ - --replace-fail 'http://qt.mirrors.tds.net/qt/' 'https://download.qt.io/' - ''; - build-system = [ setuptools setuptools-scm @@ -60,9 +54,11 @@ buildPythonPackage rec { nativeCheckInputs = [ py-cpuinfo pytest-benchmark + pytest-httpserver pytest-remotedata pytest-timeout pytestCheckHook + requests ]; pytestFlags = [ "--benchmark-disable" ]; diff --git a/pkgs/development/python-modules/pyTelegramBotAPI/default.nix b/pkgs/development/python-modules/pyTelegramBotAPI/default.nix index 550809f9150d..ee3cc7a354e8 100644 --- a/pkgs/development/python-modules/pyTelegramBotAPI/default.nix +++ b/pkgs/development/python-modules/pyTelegramBotAPI/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "pytelegrambotapi"; - version = "4.27.0"; + version = "4.28.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -29,7 +29,7 @@ buildPythonPackage rec { owner = "eternnoir"; repo = "pyTelegramBotAPI"; tag = version; - hash = "sha256-UozVUdqNxxwWTBoq7ekr8ZX5KdkvQj+SiNSwebVXblI="; + hash = "sha256-T6OzlL+IzQr38sjE8DhVO3NN3apgHzJQjGx3No8kRNA="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/pyaml/default.nix b/pkgs/development/python-modules/pyaml/default.nix index e7902b1d72a4..7088ee5ae36b 100644 --- a/pkgs/development/python-modules/pyaml/default.nix +++ b/pkgs/development/python-modules/pyaml/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "pyaml"; - version = "25.5.0"; + version = "25.7.0"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-V5lWDHscna81p6RTX1PiwwMj90y9fLTy5xWxbdaBpYo="; + hash = "sha256-4ROmTsFogb8rCS4r64S33PG9mAlq0X9fFOj7eCp12Zs="; }; nativeBuildInputs = [ setuptools ]; diff --git a/pkgs/development/python-modules/pyaprilaire/default.nix b/pkgs/development/python-modules/pyaprilaire/default.nix index 40f41216094f..b28342011276 100644 --- a/pkgs/development/python-modules/pyaprilaire/default.nix +++ b/pkgs/development/python-modules/pyaprilaire/default.nix @@ -5,7 +5,7 @@ pytestCheckHook, crc, setuptools, - pytest-asyncio, + pytest-asyncio_0, }: buildPythonPackage rec { @@ -28,7 +28,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook - pytest-asyncio + pytest-asyncio_0 ]; meta = { diff --git a/pkgs/development/python-modules/pyatv/default.nix b/pkgs/development/python-modules/pyatv/default.nix index 767b8c5eb067..c3266fffe3a4 100644 --- a/pkgs/development/python-modules/pyatv/default.nix +++ b/pkgs/development/python-modules/pyatv/default.nix @@ -13,7 +13,7 @@ pydantic, pyfakefs, pytest-aiohttp, - pytest-asyncio, + pytest-asyncio_0, pytest-httpserver, pytest-timeout, pytestCheckHook, @@ -79,8 +79,8 @@ buildPythonPackage rec { nativeCheckInputs = [ deepdiff pyfakefs - pytest-aiohttp - pytest-asyncio + (pytest-aiohttp.override { pytest-asyncio = pytest-asyncio_0; }) + pytest-asyncio_0 pytest-httpserver pytest-timeout pytestCheckHook diff --git a/pkgs/development/python-modules/pyaussiebb/default.nix b/pkgs/development/python-modules/pyaussiebb/default.nix index 78875a02e780..190bc5f67288 100644 --- a/pkgs/development/python-modules/pyaussiebb/default.nix +++ b/pkgs/development/python-modules/pyaussiebb/default.nix @@ -4,32 +4,24 @@ buildPythonPackage, fetchFromGitHub, loguru, + pdm-backend, pydantic, - poetry-core, - pythonOlder, requests, }: buildPythonPackage rec { pname = "pyaussiebb"; - version = "0.1.5"; + version = "0.1.6"; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchFromGitHub { owner = "yaleman"; repo = "aussiebb"; tag = "v${version}"; - hash = "sha256-ejaHweoRNrJJq6XGeTrENco8SPwwu6rSpGzksu0CsCY="; + hash = "sha256-GD04Bq+uJs2JuTjtnGh6QKD4uFXwmGcOMB1Hu9yBlkI="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail 'requests = "^2.27.1"' 'requests = "*"' - ''; - - build-system = [ poetry-core ]; + build-system = [ pdm-backend ]; dependencies = [ aiohttp @@ -46,7 +38,7 @@ buildPythonPackage rec { meta = with lib; { description = "Module for interacting with the Aussie Broadband APIs"; homepage = "https://github.com/yaleman/aussiebb"; - changelog = "https://github.com/yaleman/pyaussiebb/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/yaleman/pyaussiebb/blob/${src.tag}/CHANGELOG.md"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/pybalboa/default.nix b/pkgs/development/python-modules/pybalboa/default.nix index e00186809690..5ad085c44975 100644 --- a/pkgs/development/python-modules/pybalboa/default.nix +++ b/pkgs/development/python-modules/pybalboa/default.nix @@ -4,7 +4,7 @@ fetchFromGitHub, poetry-core, poetry-dynamic-versioning, - pytest-asyncio, + pytest-asyncio_0, pytestCheckHook, }: @@ -27,10 +27,15 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - pytest-asyncio + pytest-asyncio_0 pytestCheckHook ]; + disabledTests = [ + # async def functions are not natively supported. + "test_cancel_task" + ]; + pythonImportsCheck = [ "pybalboa" ]; meta = with lib; { diff --git a/pkgs/development/python-modules/pyblu/default.nix b/pkgs/development/python-modules/pyblu/default.nix index 5ba66443feda..5dd61924f9e5 100644 --- a/pkgs/development/python-modules/pyblu/default.nix +++ b/pkgs/development/python-modules/pyblu/default.nix @@ -40,7 +40,7 @@ buildPythonPackage rec { ]; meta = { - changelog = "https://github.com/LouisChrist/pyblu/releases/tag/v${version}"; + changelog = "https://github.com/LouisChrist/pyblu/releases/tag/${src.tag}"; description = "BluOS API client"; homepage = "https://github.com/LouisChrist/pyblu"; license = lib.licenses.mit; diff --git a/pkgs/development/python-modules/pycairo/default.nix b/pkgs/development/python-modules/pycairo/default.nix index 883a879d3b1f..e3ee49b20113 100644 --- a/pkgs/development/python-modules/pycairo/default.nix +++ b/pkgs/development/python-modules/pycairo/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "pycairo"; - version = "1.27.0"; + version = "1.28.0"; disabled = pythonOlder "3.6"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "pygobject"; repo = "pycairo"; tag = "v${version}"; - hash = "sha256-P9AC8+WlokAxoy6KTJqAz7kOYK/FQVjIKWuj8jQw2OA="; + hash = "sha256-OAF1Yv9aoUctklGzH2xM+cVu5csyEnX2AV9n0OeoFUw="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/pycasbin/default.nix b/pkgs/development/python-modules/pycasbin/default.nix index 40129fd8e1fb..eaad1ff8be75 100644 --- a/pkgs/development/python-modules/pycasbin/default.nix +++ b/pkgs/development/python-modules/pycasbin/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "pycasbin"; - version = "1.45.0"; + version = "1.48.0"; pyproject = true; disabled = pythonOlder "3.6"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "casbin"; repo = "pycasbin"; tag = "v${version}"; - hash = "sha256-pErgGW9zSux2ki7WItHjkMncC2kiuxcRkcGmCtFUtCo="; + hash = "sha256-jfWWlLkJernwnXIj6jTcGNZleLZ6axtFPoOprOQktfU="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pychromecast/default.nix b/pkgs/development/python-modules/pychromecast/default.nix index 0a5f43eeb186..e9134566063a 100644 --- a/pkgs/development/python-modules/pychromecast/default.nix +++ b/pkgs/development/python-modules/pychromecast/default.nix @@ -25,7 +25,8 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ - --replace-fail "setuptools>=65.6,<78.0" setuptools + --replace-fail "setuptools>=65.6,<78.0" setuptools \ + --replace-fail "wheel>=0.37.1,<0.46.0" wheel ''; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pycocotools/default.nix b/pkgs/development/python-modules/pycocotools/default.nix index 304b04df00be..c5bfa9e4d0a0 100644 --- a/pkgs/development/python-modules/pycocotools/default.nix +++ b/pkgs/development/python-modules/pycocotools/default.nix @@ -8,12 +8,12 @@ buildPythonPackage rec { pname = "pycocotools"; - version = "2.0.9"; + version = "2.0.10"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-uoLlUGcKoRgqkR+z5fDoM0VDIERDhwe9UsJRnNoWhyo="; + hash = "sha256-ekdgnN78leXhUTE8fZOmHPBuFdQse6mbYB47wPns4uE="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/pycomposefile/default.nix b/pkgs/development/python-modules/pycomposefile/default.nix index b907155a4195..e8eb77a8ec00 100644 --- a/pkgs/development/python-modules/pycomposefile/default.nix +++ b/pkgs/development/python-modules/pycomposefile/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "pycomposefile"; - version = "0.0.32"; + version = "0.0.34"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-o1XVFcTE/5LuWhZZDeizZ6O+SCcEZZLQhw+MtqxKbjQ="; + hash = "sha256-kzqTtDn4aSiCtNUP90ThKj2ZYEAGjpZlGjfdhCEmpQg="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pycrdt-websocket/default.nix b/pkgs/development/python-modules/pycrdt-websocket/default.nix index 7a3a2362de00..573c4917bbc5 100644 --- a/pkgs/development/python-modules/pycrdt-websocket/default.nix +++ b/pkgs/development/python-modules/pycrdt-websocket/default.nix @@ -26,14 +26,14 @@ buildPythonPackage rec { pname = "pycrdt-websocket"; - version = "0.15.5"; + version = "0.16.0"; pyproject = true; src = fetchFromGitHub { owner = "jupyter-server"; repo = "pycrdt-websocket"; - tag = "v${version}"; - hash = "sha256-piNd85X5YsTAOC9frYQRDyb/DPfzZicIPJ+bEVzgOsU="; + tag = version; + hash = "sha256-Qux8IxJR1nGbdpGz7RZBKJjYN0qfwfEpd2UDlduOna0="; }; build-system = [ hatchling ]; @@ -77,7 +77,7 @@ buildPythonPackage rec { meta = { description = "WebSocket Connector for pycrdt"; homepage = "https://github.com/jupyter-server/pycrdt-websocket"; - changelog = "https://github.com/jupyter-server/pycrdt-websocket/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/jupyter-server/pycrdt-websocket/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.mit; teams = [ lib.teams.jupyter ]; }; diff --git a/pkgs/development/python-modules/pydaikin/default.nix b/pkgs/development/python-modules/pydaikin/default.nix index 877da83d4cba..66342b59f205 100644 --- a/pkgs/development/python-modules/pydaikin/default.nix +++ b/pkgs/development/python-modules/pydaikin/default.nix @@ -46,6 +46,12 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTests = [ + # Failed: async def functions are not natively supported. + "test_power_sensors" + "test_device_factory" + ]; + pythonImportsCheck = [ "pydaikin" ]; meta = with lib; { diff --git a/pkgs/development/python-modules/pydal/default.nix b/pkgs/development/python-modules/pydal/default.nix index ab696abe6d18..eb890f9ea391 100644 --- a/pkgs/development/python-modules/pydal/default.nix +++ b/pkgs/development/python-modules/pydal/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "pydal"; - version = "20250607.2"; + version = "20250629.2"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-Zr1d6kCwAyhjeV2tQ+n9y9x80yD/Atb6TJq7AnRz+PQ="; + hash = "sha256-P65iULncYasN7ahwD75czGlwum+N4D1Y0WCd6XpBXSk="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pydevccu/default.nix b/pkgs/development/python-modules/pydevccu/default.nix index 3441611d1f0b..ace4e1f48a14 100644 --- a/pkgs/development/python-modules/pydevccu/default.nix +++ b/pkgs/development/python-modules/pydevccu/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "pydevccu"; - version = "0.1.11"; + version = "0.1.14"; pyproject = true; disabled = pythonOlder "3.13"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "SukramJ"; repo = "pydevccu"; tag = version; - hash = "sha256-Ar9KNOkiy60HTGKz8br701v8xF470dz1jv8sp/CZbpw="; + hash = "sha256-UiMY9qz2b8Mdi8L9mB5jcC7fF8/YUYYiNbaWsXze0vA="; }; postPatch = '' diff --git a/pkgs/development/python-modules/pydmd/default.nix b/pkgs/development/python-modules/pydmd/default.nix index b5041e8e73ff..d05de4c77997 100644 --- a/pkgs/development/python-modules/pydmd/default.nix +++ b/pkgs/development/python-modules/pydmd/default.nix @@ -23,7 +23,7 @@ buildPythonPackage rec { pname = "pydmd"; - version = "2025.06.01"; + version = "2025.08.01"; pyproject = true; src = fetchFromGitHub { diff --git a/pkgs/development/python-modules/pydot/default.nix b/pkgs/development/python-modules/pydot/default.nix index eb16cd4481dd..d71957a1a989 100644 --- a/pkgs/development/python-modules/pydot/default.nix +++ b/pkgs/development/python-modules/pydot/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "pydot"; - version = "4.0.0"; + version = "4.0.1"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-EvFkkzN8reL3YxuHyMzSmbouJR8+5dBzKgWN8oh6/pc="; + hash = "sha256-whSPaBxKM+CL8OJqnl+OQJmoLg4qBoCY8yzoZXc2StU="; }; build-system = [ diff --git a/pkgs/development/python-modules/pyee/default.nix b/pkgs/development/python-modules/pyee/default.nix index a0942645a94b..34144038080b 100644 --- a/pkgs/development/python-modules/pyee/default.nix +++ b/pkgs/development/python-modules/pyee/default.nix @@ -3,7 +3,7 @@ buildPythonPackage, fetchPypi, mock, - pytest-asyncio, + pytest-asyncio_0, pytest-trio, pytestCheckHook, pythonOlder, @@ -36,7 +36,7 @@ buildPythonPackage rec { nativeCheckInputs = [ mock - pytest-asyncio + pytest-asyncio_0 pytest-trio pytestCheckHook twisted diff --git a/pkgs/development/python-modules/pyephember2/default.nix b/pkgs/development/python-modules/pyephember2/default.nix index 35af2f5e8da1..fd4ee04d2abd 100644 --- a/pkgs/development/python-modules/pyephember2/default.nix +++ b/pkgs/development/python-modules/pyephember2/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "pyephember2"; - version = "0.4.12"; + version = "2"; pyproject = true; src = fetchFromGitHub { owner = "roberty99"; repo = "pyephember2"; - tag = version; - hash = "sha256-R63Ts+1620QQOFF8o2/6CFNZi5jAeWTQkElgqZhNA7c="; + tag = "Release${version}"; + hash = "sha256-BxDXjrXPx6UNWo7mGLzbIGtenE0B10x39iCUCzGFAr0="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pyexcel-xls/default.nix b/pkgs/development/python-modules/pyexcel-xls/default.nix index 81bcc8ade772..eede60aa59a9 100644 --- a/pkgs/development/python-modules/pyexcel-xls/default.nix +++ b/pkgs/development/python-modules/pyexcel-xls/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "pyexcel-xls"; - version = "0.7.0"; + version = "0.7.1"; pyproject = true; src = fetchFromGitHub { owner = "pyexcel"; repo = "pyexcel-xls"; - rev = "v${version}"; - hash = "sha256-wxsx/LfeBxi+NnHxfxk3svzsBcdwOiLQ1660eoHfmLg="; + tag = "v${version}"; + hash = "sha256-+iwdMSGUsUbWFO4s4+3Zf+47J9bzFffWthZoeThT8f0="; }; patches = [ diff --git a/pkgs/development/python-modules/pyfakefs/default.nix b/pkgs/development/python-modules/pyfakefs/default.nix index 99379e07d034..82b7874d2667 100644 --- a/pkgs/development/python-modules/pyfakefs/default.nix +++ b/pkgs/development/python-modules/pyfakefs/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "pyfakefs"; - version = "5.8.0"; + version = "5.9.2"; pyproject = true; disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; - hash = "sha256-flRX7jzGcGnTzvbieCJ+z8gL+2HpJbwKTTsK8y0cmc4="; + hash = "sha256-ZsXGzNQJe0hPh4L5pQeP7gUz1GXg2cr1lMkVfVQ4JVM="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pygelf/default.nix b/pkgs/development/python-modules/pygelf/default.nix index bb5735771c74..975644043daf 100644 --- a/pkgs/development/python-modules/pygelf/default.nix +++ b/pkgs/development/python-modules/pygelf/default.nix @@ -9,13 +9,13 @@ }: buildPythonPackage rec { pname = "pygelf"; - version = "0.4.2"; + version = "0.4.3"; pyproject = true; src = fetchPypi { pname = "pygelf"; inherit version; - hash = "sha256-0LuPRf9kipoYdxP0oFwJ9oX8uK3XsEu3Rx8gBxvRGq0="; + hash = "sha256-jtlyVjvjyPFoSD8B2/UitrxpeVnJej9IgTJLP3ljiRE="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pygeocodio/default.nix b/pkgs/development/python-modules/pygeocodio/default.nix index 6f23fa579352..cf06e8687ca9 100644 --- a/pkgs/development/python-modules/pygeocodio/default.nix +++ b/pkgs/development/python-modules/pygeocodio/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "pygeocodio"; - version = "1.4.0"; + version = "2.0.1"; pyproject = true; src = fetchFromGitHub { owner = "bennylope"; repo = "pygeocodio"; tag = "v${version}"; - hash = "sha256-s6sY+iHuWv7+6ydxDWoN9eKiAXw0jeASWiMtz12TTHo="; + hash = "sha256-4jT/PX+jvJx81eaSXTsb/vLNbv4dNNVgeYrE7QwGlL8="; }; build-system = [ @@ -43,7 +43,7 @@ buildPythonPackage rec { meta = { description = "Python wrapper for the Geocodio geolocation service API"; downloadPage = "https://github.com/bennylope/pygeocodio/tree/master"; - changelog = "https://github.com/bennylope/pygeocodio/blob/v${version}/HISTORY.rst"; + changelog = "https://github.com/bennylope/pygeocodio/blob/${src.tag}/HISTORY.rst"; homepage = "https://www.geocod.io/docs/#introduction"; license = with lib.licenses; [ bsd3 ]; maintainers = with lib.maintainers; [ ethancedwards8 ]; diff --git a/pkgs/development/python-modules/pygit2/default.nix b/pkgs/development/python-modules/pygit2/default.nix index 3e62e5dd42f7..efee1979e1a3 100644 --- a/pkgs/development/python-modules/pygit2/default.nix +++ b/pkgs/development/python-modules/pygit2/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "pygit2"; - version = "1.18.0"; + version = "1.18.1"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; - hash = "sha256-+9AdBKTSziiaqgLPhYBDZ5vw3R+YVca4jtlTgsH1ARo="; + hash = "sha256-hOBvw3CLjTvu787GN/Ydh96zgnLnSH6hxSkXQYT/9sQ="; }; preConfigure = lib.optionalString stdenv.hostPlatform.isDarwin '' diff --git a/pkgs/development/python-modules/pygitguardian/default.nix b/pkgs/development/python-modules/pygitguardian/default.nix index 323aa1d69b07..c759e67bbf07 100644 --- a/pkgs/development/python-modules/pygitguardian/default.nix +++ b/pkgs/development/python-modules/pygitguardian/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "pygitguardian"; - version = "1.23.0"; + version = "1.24.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "GitGuardian"; repo = "py-gitguardian"; tag = "v${version}"; - hash = "sha256-vpz7HBxRu1srqe+EBnjwNJ7xJ1TMrOIXBulPjDTTk3k="; + hash = "sha256-9Zk2XpMS8WhCOGYwtUgsjWKbUhmtKOgVWyqskLJ8DOw="; }; pythonRelaxDeps = [ @@ -56,7 +56,7 @@ buildPythonPackage rec { meta = with lib; { description = "Library to access the GitGuardian API"; homepage = "https://github.com/GitGuardian/py-gitguardian"; - changelog = "https://github.com/GitGuardian/py-gitguardian/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/GitGuardian/py-gitguardian/blob/${src.tag}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/pygithub/default.nix b/pkgs/development/python-modules/pygithub/default.nix index 86cc0e436660..38777b3b88ba 100644 --- a/pkgs/development/python-modules/pygithub/default.nix +++ b/pkgs/development/python-modules/pygithub/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "pygithub"; - version = "2.6.1"; + version = "2.7.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "PyGithub"; repo = "PyGithub"; tag = "v${version}"; - hash = "sha256-CfAgN5vxHbVyDSeP0KR1QFnL6gDQsd46Q0zosr0ALqM="; + hash = "sha256-meWuetrgE2ks3BEQedrvrfYEVAJsFGgYO6GXPRUcJv4="; }; build-system = [ diff --git a/pkgs/development/python-modules/pyglm/default.nix b/pkgs/development/python-modules/pyglm/default.nix index 6dd07457ebd2..41d7277b1ac2 100644 --- a/pkgs/development/python-modules/pyglm/default.nix +++ b/pkgs/development/python-modules/pyglm/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "pyglm"; - version = "2.7.3"; + version = "2.8.2"; pyproject = true; src = fetchFromGitHub { owner = "Zuzu-Typ"; repo = "PyGLM"; tag = version; - hash = "sha256-5NXueFZ4+hIP1xd30Dt7sv/oxEqh6ejJoJtQv2rpGyQ="; + hash = "sha256-oLPZ6sCIAt12iolcSBNXEjbHGE4ou+dgoFhB400pyRk="; fetchSubmodules = true; }; diff --git a/pkgs/development/python-modules/pyinfra/default.nix b/pkgs/development/python-modules/pyinfra/default.nix index 88bd5a77e525..7276fa1f1b47 100644 --- a/pkgs/development/python-modules/pyinfra/default.nix +++ b/pkgs/development/python-modules/pyinfra/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "pyinfra"; - version = "3.2"; + version = "3.4.1"; pyproject = true; disabled = pythonOlder "3.10"; @@ -29,7 +29,7 @@ buildPythonPackage rec { owner = "Fizzadar"; repo = "pyinfra"; tag = "v${version}"; - hash = "sha256-l0RD4lOLjzM9Ydf7vJr+PXpUGsVdAZN/dTUFJ3fo078="; + hash = "sha256-7bNkDm5SyIgVkrGQ95/q7AiY/JnxtWx+jkDO/rJQ2WQ="; }; build-system = [ setuptools ]; @@ -66,7 +66,7 @@ buildPythonPackage rec { ''; homepage = "https://pyinfra.com"; downloadPage = "https://pyinfra.com/Fizzadar/pyinfra/releases"; - changelog = "https://github.com/Fizzadar/pyinfra/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/Fizzadar/pyinfra/blob/${src.tag}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ totoroot ]; mainProgram = "pyinfra"; diff --git a/pkgs/development/python-modules/pyinstaller-hooks-contrib/default.nix b/pkgs/development/python-modules/pyinstaller-hooks-contrib/default.nix index 4747662e6dcf..fefa0bc3cdf5 100644 --- a/pkgs/development/python-modules/pyinstaller-hooks-contrib/default.nix +++ b/pkgs/development/python-modules/pyinstaller-hooks-contrib/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "pyinstaller-hooks-contrib"; - version = "2025.5"; + version = "2025.8"; pyproject = true; src = fetchPypi { pname = "pyinstaller_hooks_contrib"; inherit version; - hash = "sha256-cHOGdwuP4GbASq0YpxvEg8eyXhi0dQp1aZn32iqzGYI="; + hash = "sha256-NAKtQd/ptREK8TRCLjf8XUIbo0LGy5gL1nyzC3QVZBw="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pyinstaller-versionfile/default.nix b/pkgs/development/python-modules/pyinstaller-versionfile/default.nix index 9659cd9bae80..2962ea7b3004 100644 --- a/pkgs/development/python-modules/pyinstaller-versionfile/default.nix +++ b/pkgs/development/python-modules/pyinstaller-versionfile/default.nix @@ -9,15 +9,15 @@ buildPythonPackage rec { pname = "pyinstaller-versionfile"; - version = "2.1.1"; + version = "3.0.1"; format = "setuptools"; src = fetchFromGitHub { owner = "DudeNr33"; repo = "pyinstaller-versionfile"; - rev = "v${version}"; - hash = "sha256-lz1GuiXU+r8sMld5SsG3qS+FOsWfbvkQmO2bxAR3XcY="; + tag = "v${version}"; + hash = "sha256-UNrXP5strO6LIkIM3etBo1+Vm+1lR5wF0VfKtZYRoYc="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/pyinstaller/default.nix b/pkgs/development/python-modules/pyinstaller/default.nix index 207e4deae50e..b80a5945fbc8 100644 --- a/pkgs/development/python-modules/pyinstaller/default.nix +++ b/pkgs/development/python-modules/pyinstaller/default.nix @@ -25,12 +25,12 @@ buildPythonPackage rec { pname = "pyinstaller"; - version = "6.14.2"; + version = "6.15.0"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-FCzOBxnnkxXwzCZADC5cRdm2sX5+BJH+5ESp+PFvSRc="; + hash = "sha256-pI/EZE7kqiqio157UfSW+PvX7s9qIVBka78WE60HvC0="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pykaleidescape/default.nix b/pkgs/development/python-modules/pykaleidescape/default.nix index e461e8e66167..64b495fe92f8 100644 --- a/pkgs/development/python-modules/pykaleidescape/default.nix +++ b/pkgs/development/python-modules/pykaleidescape/default.nix @@ -4,7 +4,7 @@ buildPythonPackage, dnspython, fetchFromGitHub, - pytest-asyncio, + pytest-asyncio_0, pytestCheckHook, pythonAtLeast, pythonOlder, @@ -33,7 +33,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - pytest-asyncio + pytest-asyncio_0 pytestCheckHook ]; diff --git a/pkgs/development/python-modules/pykcs11/default.nix b/pkgs/development/python-modules/pykcs11/default.nix index fe3cd809bcca..7edb41e9dcab 100644 --- a/pkgs/development/python-modules/pykcs11/default.nix +++ b/pkgs/development/python-modules/pykcs11/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "pykcs11"; - version = "1.5.17"; + version = "1.5.18"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-e2Z+lZ+gtq0HULA+IIGgWcvppieJdmFD5Q+QmIoziZQ="; + hash = "sha256-Ev2HizaYIdgMG+ihQMheig+xNY/Kq6ZspmhpITaS8ic="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pykdtree/default.nix b/pkgs/development/python-modules/pykdtree/default.nix index a1958b26bb2f..1e311b580ebf 100644 --- a/pkgs/development/python-modules/pykdtree/default.nix +++ b/pkgs/development/python-modules/pykdtree/default.nix @@ -17,12 +17,12 @@ buildPythonPackage rec { pname = "pykdtree"; - version = "1.4.1"; + version = "1.4.2"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-EISP9qxzMraOZb+MLolme2tisHWq0nI0d0Smm/HIrX4="; + hash = "sha256-vSuWehalUQ76hz7lLZWdDYITicx0m7UWc65oMW7rZfU="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/pykka/default.nix b/pkgs/development/python-modules/pykka/default.nix index 209624aa801f..de877d4e3442 100644 --- a/pkgs/development/python-modules/pykka/default.nix +++ b/pkgs/development/python-modules/pykka/default.nix @@ -3,30 +3,25 @@ buildPythonPackage, pythonOlder, fetchFromGitHub, - poetry-core, + hatchling, pydantic, pytestCheckHook, pytest-mock, - typing-extensions, }: buildPythonPackage rec { pname = "pykka"; - version = "4.1.1"; - format = "pyproject"; - - disabled = pythonOlder "3.8"; + version = "4.2.0"; + pyproject = true; src = fetchFromGitHub { owner = "jodal"; repo = "pykka"; tag = "v${version}"; - hash = "sha256-n9TgXcmUEIQdqtrY+9T+EtPys+7OzXCemRwNPj1xPDw="; + hash = "sha256-cxW6xKG0x7pPXvCanh0ZNMYRSdnCf8JrnJbjYgDUQSI="; }; - build-system = [ poetry-core ]; - - dependencies = lib.optionals (pythonOlder "3.10") [ typing-extensions ]; + build-system = [ hatchling ]; nativeCheckInputs = [ pydantic diff --git a/pkgs/development/python-modules/pylibacl/default.nix b/pkgs/development/python-modules/pylibacl/default.nix index 878c91a71bb8..ef94e00dacb6 100644 --- a/pkgs/development/python-modules/pylibacl/default.nix +++ b/pkgs/development/python-modules/pylibacl/default.nix @@ -7,12 +7,12 @@ buildPythonPackage rec { pname = "pylibacl"; - version = "0.7.2"; + version = "0.7.3"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-VsFehn/kxyRTG7+XQHWJy7+NvShajYT+fsyQ/DIjeNc="; + hash = "sha256-nZ/7WA4MWC1d5ZgIf3X2lARYsjgQxhVSkUPGGxcr+SI="; }; # ERROR: testExtended (tests.test_acls.AclExtensions) diff --git a/pkgs/development/python-modules/pylink-square/default.nix b/pkgs/development/python-modules/pylink-square/default.nix index b23aca51e529..d2e365e86b50 100644 --- a/pkgs/development/python-modules/pylink-square/default.nix +++ b/pkgs/development/python-modules/pylink-square/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "pylink-square"; - version = "1.4.0"; + version = "1.6.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "square"; repo = "pylink"; tag = "v${version}"; - hash = "sha256-Fjulh2wmcVO+/608uTO10orRz8Pq0I+ZhJ8zMa3YFC0="; + hash = "sha256-rkkdnpkl9UHcBDjp6lsFXR1zNn7tH1KeTQ7wV+yJ3m0="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pymavlink/default.nix b/pkgs/development/python-modules/pymavlink/default.nix index fda09c5f6a49..6ac68fcf73f5 100644 --- a/pkgs/development/python-modules/pymavlink/default.nix +++ b/pkgs/development/python-modules/pymavlink/default.nix @@ -8,12 +8,12 @@ buildPythonPackage rec { pname = "pymavlink"; - version = "2.4.43"; + version = "2.4.49"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-IcShujVcBXQtKvQVEFdtbgjboNd2AunqY1MxzQdV7nY="; + hash = "sha256-188Q1VktA4oYqpcnERd+u4i+IUPvzCWN9jCwUT6dosI="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/pymongo/default.nix b/pkgs/development/python-modules/pymongo/default.nix index ce570a857265..4f747ea9a321 100644 --- a/pkgs/development/python-modules/pymongo/default.nix +++ b/pkgs/development/python-modules/pymongo/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "pymongo"; - version = "4.13.0"; + version = "4.13.2"; pyproject = true; disabled = pythonOlder "3.7"; @@ -27,7 +27,7 @@ buildPythonPackage rec { src = fetchPypi { inherit version; pname = "pymongo"; - hash = "sha256-kqBuNwnjx+UIINNS09TmABVAa8ummAiTfawqbSIib94="; + hash = "sha256-D2TGRpwjYpYubOlyWK4Tkau6FWapU6SSVi0pJLRIFcI="; }; build-system = [ diff --git a/pkgs/development/python-modules/pymoo/default.nix b/pkgs/development/python-modules/pymoo/default.nix index 82d137ae4592..350e7b5144d3 100644 --- a/pkgs/development/python-modules/pymoo/default.nix +++ b/pkgs/development/python-modules/pymoo/default.nix @@ -29,20 +29,20 @@ let pymoo_data = fetchFromGitHub { owner = "anyoptimization"; repo = "pymoo-data"; - rev = "33f61a78182ceb211b95381dd6d3edee0d2fc0f3"; + tag = "33f61a78182ceb211b95381dd6d3edee0d2fc0f3"; hash = "sha256-iGWPepZw3kJzw5HKV09CvemVvkvFQ38GVP+BAryBSs0="; }; in buildPythonPackage rec { pname = "pymoo"; - version = "0.6.1.3"; + version = "0.6.1.5"; pyproject = true; src = fetchFromGitHub { owner = "anyoptimization"; repo = "pymoo"; tag = version; - hash = "sha256-CbeJwv51lu4cABgGieqy/8DCDJCb8wOPPVqUHk8Jb7E="; + hash = "sha256-IRNYluK6fO1cQq0u9dIJYnI5HWqtTPLXARXNoHa4F0I="; }; postPatch = '' diff --git a/pkgs/development/python-modules/pymssql/default.nix b/pkgs/development/python-modules/pymssql/default.nix index 25e904ea2490..959d7b69e6da 100644 --- a/pkgs/development/python-modules/pymssql/default.nix +++ b/pkgs/development/python-modules/pymssql/default.nix @@ -16,12 +16,12 @@ buildPythonPackage rec { pname = "pymssql"; - version = "2.3.4"; + version = "2.3.7"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-EXyC16qQIRcaqb6YNoR1UZ8z2cMgc83Pmw12Ixq8ZDY="; + hash = "sha256-Xm15x7HOxArr7EsJnG5EXMqsJFGeXnZ7SaTm9IwIflA="; }; postPatch = '' diff --git a/pkgs/development/python-modules/pymunk/default.nix b/pkgs/development/python-modules/pymunk/default.nix index d69adbdf3c63..bc25bb966d19 100644 --- a/pkgs/development/python-modules/pymunk/default.nix +++ b/pkgs/development/python-modules/pymunk/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "pymunk"; - version = "7.0.1"; + version = "7.1.0"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; - hash = "sha256-lqOOgSP02J+IILQ2QPH2I9aETx+X7qCcRmDwMXgKn/g="; + hash = "sha256-8wRYlyYTJbs+iShEAt1DuQjQpYcdwgEFl+NrQwnwIps="; }; nativeBuildInputs = [ cffi ]; diff --git a/pkgs/development/python-modules/pymupdf/default.nix b/pkgs/development/python-modules/pymupdf/default.nix index 9cd4b74ee0ed..15a7a69ba947 100644 --- a/pkgs/development/python-modules/pymupdf/default.nix +++ b/pkgs/development/python-modules/pymupdf/default.nix @@ -4,7 +4,6 @@ buildPythonPackage, pythonOlder, fetchFromGitHub, - fetchpatch, python, toPythonModule, @@ -46,7 +45,7 @@ let in buildPythonPackage rec { pname = "pymupdf"; - version = "1.26.1"; + version = "1.26.3"; pyproject = true; disabled = pythonOlder "3.9"; @@ -55,7 +54,7 @@ buildPythonPackage rec { owner = "pymupdf"; repo = "PyMuPDF"; tag = version; - hash = "sha256-Z+TO4MaLFmgNSRMTltY77bHnA5RHc4Ii45sDjJsFZto="; + hash = "sha256-djTbALLvdX2jOTGgoyUIBhiqJ6KzM+Dkb4M7d2eVoPM="; }; # swig is not wrapped as Python package @@ -127,6 +126,11 @@ buildPythonPackage rec { "test_open2" ]; + disabledTestPaths = [ + # mad about markdown table formatting + "tests/test_tables.py::test_markdown" + ]; + pythonImportsCheck = [ "pymupdf" "fitz" diff --git a/pkgs/development/python-modules/pymupdf4llm/default.nix b/pkgs/development/python-modules/pymupdf4llm/default.nix index c2fc51f7be96..d1eb118e26b7 100644 --- a/pkgs/development/python-modules/pymupdf4llm/default.nix +++ b/pkgs/development/python-modules/pymupdf4llm/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "pymupdf4llm"; - version = "0.0.25"; + version = "0.0.27"; pyproject = true; src = fetchFromGitHub { owner = "pymupdf"; repo = "RAG"; tag = "v${version}"; - hash = "sha256-20upIcCoUB8zjW/qBvA3kFxJ6jcdXV3ohkurMmnlMkc="; + hash = "sha256-rezdDsjNCDetvrX3uvykYuL/y40MZnr0fFMvQY3JRr0="; }; sourceRoot = "${src.name}/pymupdf4llm"; diff --git a/pkgs/development/python-modules/pynamodb/default.nix b/pkgs/development/python-modules/pynamodb/default.nix index c79ffdb9f624..862971e81f33 100644 --- a/pkgs/development/python-modules/pynamodb/default.nix +++ b/pkgs/development/python-modules/pynamodb/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "pynamodb"; - version = "6.0.2"; + version = "6.1.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "pynamodb"; repo = "PynamoDB"; tag = version; - hash = "sha256-i4cO1fzERKHJW2Ym0ogc2YID3IXVpBVDE33UumxvvHE="; + hash = "sha256-i4oxZO3gBVc2PMFSISeytaO8YrzYR9YuUMxrEqrg2c4="; }; build-system = [ setuptools ]; @@ -69,7 +69,7 @@ buildPythonPackage rec { verbose. PynamoDB presents you with a simple, elegant API. ''; homepage = "http://jlafon.io/pynamodb.html"; - changelog = "https://github.com/pynamodb/PynamoDB/releases/tag/${version}"; + changelog = "https://github.com/pynamodb/PynamoDB/releases/tag/${src.tag}"; license = licenses.mit; maintainers = [ ]; }; diff --git a/pkgs/development/python-modules/pyngrok/default.nix b/pkgs/development/python-modules/pyngrok/default.nix index d20b3a5a8335..6866321a7ec3 100644 --- a/pkgs/development/python-modules/pyngrok/default.nix +++ b/pkgs/development/python-modules/pyngrok/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "pyngrok"; - version = "7.2.12"; + version = "7.3.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-HM5NeFYZuAZLyn5vbIo0VNaaql/P8PNb0FqoElTOEv8="; + hash = "sha256-8iQOSbneybJ+ugDxREzTzOesRdG8xJOpt27mPC2piCw="; }; build-system = [ diff --git a/pkgs/development/python-modules/pynitrokey/default.nix b/pkgs/development/python-modules/pynitrokey/default.nix index 1586313a8823..187d08594334 100644 --- a/pkgs/development/python-modules/pynitrokey/default.nix +++ b/pkgs/development/python-modules/pynitrokey/default.nix @@ -4,33 +4,27 @@ fetchPypi, installShellFiles, libnitrokey, - flit-core, - certifi, + poetry-core, cffi, click, cryptography, - ecdsa, fido2, + hidapi, intelhex, nkdfu, - python-dateutil, pyusb, requests, tqdm, tlv8, - typing-extensions, - click-aliases, semver, nethsm, - importlib-metadata, nitrokey, pyscard, - asn1crypto, }: let pname = "pynitrokey"; - version = "0.8.5"; + version = "0.10.0"; mainProgram = "nitropy"; in @@ -40,49 +34,42 @@ buildPythonPackage { src = fetchPypi { inherit pname version; - hash = "sha256-mPhH4IdpKKA9d8sJOGMWpGerzki5qZHFHe4u4ao2RgE="; + hash = "sha256-Kr6VtBADLvXUva7csbsHujGzBfRG1atJLF7qbIWmToM="; }; nativeBuildInputs = [ installShellFiles ]; - build-system = [ flit-core ]; + build-system = [ poetry-core ]; dependencies = [ - certifi cffi click cryptography - ecdsa fido2 + hidapi intelhex nkdfu - python-dateutil + nitrokey pyusb requests tqdm tlv8 - typing-extensions - click-aliases semver nethsm - importlib-metadata - nitrokey - pyscard - asn1crypto ]; - pythonRelaxDeps = true; + optional-dependencies = { + pcsc = [ + pyscard + ]; + }; - # pythonRelaxDepsHook runs in postBuild so cannot be used - pypaBuildFlags = [ "--skip-dependency-check" ]; + pythonRelaxDeps = true; # libnitrokey is not propagated to users of the pynitrokey Python package. # It is only usable from the wrapped bin/nitropy makeWrapperArgs = [ "--set LIBNK_PATH ${lib.makeLibraryPath [ libnitrokey ]}" ]; - # no tests - doCheck = false; - pythonImportsCheck = [ "pynitrokey" ]; postInstall = '' diff --git a/pkgs/development/python-modules/pyocd/default.nix b/pkgs/development/python-modules/pyocd/default.nix index 35d09a9373a0..a6ba9cd6c745 100644 --- a/pkgs/development/python-modules/pyocd/default.nix +++ b/pkgs/development/python-modules/pyocd/default.nix @@ -26,14 +26,14 @@ buildPythonPackage rec { pname = "pyocd"; - version = "0.36.0"; + version = "0.38.0"; pyproject = true; src = fetchFromGitHub { owner = "pyocd"; repo = "pyOCD"; tag = "v${version}"; - hash = "sha256-CSdVWDiSe+xd0MzD9tsKs3DklNjnhchYFuI3Udi0O20="; + hash = "sha256-4fdVcTNH125e74S3mA/quuDun17ntGCazX6CV+obUGc="; }; patches = [ @@ -81,7 +81,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { - changelog = "https://github.com/pyocd/pyOCD/releases/tag/v${version}"; + changelog = "https://github.com/pyocd/pyOCD/releases/tag/${src.tag}"; description = "Python library for programming and debugging Arm Cortex-M microcontrollers"; downloadPage = "https://github.com/pyocd/pyOCD"; homepage = "https://pyocd.io"; diff --git a/pkgs/development/python-modules/pyogrio/default.nix b/pkgs/development/python-modules/pyogrio/default.nix index 8c3ed073d9f0..330fcd31225c 100644 --- a/pkgs/development/python-modules/pyogrio/default.nix +++ b/pkgs/development/python-modules/pyogrio/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "pyogrio"; - version = "0.11.0"; + version = "0.11.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "geopandas"; repo = "pyogrio"; tag = "v${version}"; - hash = "sha256-3XrP3/sqGRtA+sfaoOV/ByGAtfpGZB5RYRr5lyYZUj0="; + hash = "sha256-F6XfkihN3k2xquYS8jJMlqtLXzaTORaduJ2Q9LhSQGM="; }; postPatch = '' @@ -66,7 +66,7 @@ buildPythonPackage rec { meta = { description = "Vectorized spatial vector file format I/O using GDAL/OGR"; homepage = "https://pyogrio.readthedocs.io/"; - changelog = "https://github.com/geopandas/pyogrio/blob/${src.rev}/CHANGES.md"; + changelog = "https://github.com/geopandas/pyogrio/blob/${src.tag}/CHANGES.md"; license = lib.licenses.mit; teams = [ lib.teams.geospatial ]; }; diff --git a/pkgs/development/python-modules/pypdf/default.nix b/pkgs/development/python-modules/pypdf/default.nix index 42ad1e795efa..f3757208596f 100644 --- a/pkgs/development/python-modules/pypdf/default.nix +++ b/pkgs/development/python-modules/pypdf/default.nix @@ -27,7 +27,7 @@ buildPythonPackage rec { pname = "pypdf"; - version = "5.7.0"; + version = "5.9.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -38,7 +38,7 @@ buildPythonPackage rec { tag = version; # fetch sample files used in tests fetchSubmodules = true; - hash = "sha256-O1kV9VKbI3MFsWvr3jrDg9rJ0G+92ny0v7g4Xx/1ytM="; + hash = "sha256-WM7eAXDdrnbm1olS+3WPF6FhTUbdIHojtGbJdPHvxv4="; }; outputs = [ diff --git a/pkgs/development/python-modules/pyprecice/default.nix b/pkgs/development/python-modules/pyprecice/default.nix index 48bf841129f8..2e8cea421b3a 100644 --- a/pkgs/development/python-modules/pyprecice/default.nix +++ b/pkgs/development/python-modules/pyprecice/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "pyprecice"; - version = "3.1.2"; + version = "3.2.1"; pyproject = true; src = fetchFromGitHub { owner = "precice"; repo = "python-bindings"; tag = "v${version}"; - hash = "sha256-/atuMJVgvY4kgvrB+LuQZmJuSK4O8TJdguC7NCiRS2Y="; + hash = "sha256-8AM2wbPX54UaMO4MzLOV0TljLTAPOqR9gUbtT2McNjs="; }; postPatch = '' @@ -58,7 +58,7 @@ buildPythonPackage rec { meta = { description = "Python language bindings for preCICE"; homepage = "https://github.com/precice/python-bindings"; - changelog = "https://github.com/precice/python-bindings/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/precice/python-bindings/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.lgpl3Only; maintainers = with lib.maintainers; [ Scriptkiddi ]; }; diff --git a/pkgs/development/python-modules/pyqt-builder/default.nix b/pkgs/development/python-modules/pyqt-builder/default.nix index a256e3faa146..442339d6e528 100644 --- a/pkgs/development/python-modules/pyqt-builder/default.nix +++ b/pkgs/development/python-modules/pyqt-builder/default.nix @@ -10,13 +10,13 @@ buildPythonPackage rec { pname = "pyqt-builder"; - version = "1.18.1"; + version = "1.18.2"; pyproject = true; src = fetchPypi { pname = "pyqt_builder"; inherit version; - hash = "sha256-P3o6JxWUeik6l1MKdv1Z8TCfy45XpYMPRcef5ySbOZg="; + hash = "sha256-Vt/qRhSEqHqPDIsCKRkN78Q21+xd5xEC4gs15WORgLw="; }; build-system = [ diff --git a/pkgs/development/python-modules/pyqt6-charts/default.nix b/pkgs/development/python-modules/pyqt6-charts/default.nix index b50651cfcc2b..758ae6e93bfd 100644 --- a/pkgs/development/python-modules/pyqt6-charts/default.nix +++ b/pkgs/development/python-modules/pyqt6-charts/default.nix @@ -13,15 +13,15 @@ buildPythonPackage rec { pname = "pyqt6-charts"; - version = "6.8.0"; + version = "6.9.0"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchPypi { - pname = "PyQt6_Charts"; + pname = "pyqt6_charts"; inherit version; - hash = "sha256-+GcFuHQOMEFmfOIRrqogW3UOtrr0yQj04/bcjHINEPE="; + hash = "sha256-fvvpu35q1PmEUhGg7+D5HKXhT5Ni7RuoTVXyuFFQkfc="; }; # fix include path and increase verbosity diff --git a/pkgs/development/python-modules/pyqt6-webengine/default.nix b/pkgs/development/python-modules/pyqt6-webengine/default.nix index e71d5128184f..8cafdbf543be 100644 --- a/pkgs/development/python-modules/pyqt6-webengine/default.nix +++ b/pkgs/development/python-modules/pyqt6-webengine/default.nix @@ -7,7 +7,6 @@ sip, pyqt-builder, qt6Packages, - pythonOlder, pyqt6, python, mesa, @@ -15,15 +14,13 @@ buildPythonPackage rec { pname = "pyqt6-webengine"; - version = "6.8.0"; + version = "6.9.0"; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchPypi { - pname = "PyQt6_WebEngine"; + pname = "pyqt6_webengine"; inherit version; - hash = "sha256-ZARepiK2pBiCwrGPVa6XFLhmCs/walTpEOtygiwvP/I="; + hash = "sha256-auU347vaBrjgZTXkhSKX4Lw7AFQ8R5KVQfzJsRmBqiU="; }; patches = [ diff --git a/pkgs/development/python-modules/pyrainbird/default.nix b/pkgs/development/python-modules/pyrainbird/default.nix index ba3bd8c2eee9..b145c5bd469e 100644 --- a/pkgs/development/python-modules/pyrainbird/default.nix +++ b/pkgs/development/python-modules/pyrainbird/default.nix @@ -9,7 +9,7 @@ parameterized, pycryptodome, pytest-aiohttp, - pytest-asyncio, + pytest-asyncio_0, pytest-cov-stub, pytest-golden, pytest-mock, @@ -54,8 +54,8 @@ buildPythonPackage rec { nativeCheckInputs = [ freezegun parameterized - pytest-aiohttp - pytest-asyncio + (pytest-aiohttp.override { pytest-asyncio = pytest-asyncio_0; }) + pytest-asyncio_0 pytest-cov-stub pytest-golden pytest-mock diff --git a/pkgs/development/python-modules/pyrate-limiter/default.nix b/pkgs/development/python-modules/pyrate-limiter/default.nix index 45867188d206..3d15ac47bd26 100644 --- a/pkgs/development/python-modules/pyrate-limiter/default.nix +++ b/pkgs/development/python-modules/pyrate-limiter/default.nix @@ -4,8 +4,6 @@ fetchFromGitHub, filelock, poetry-core, - postgresql, - postgresqlTestHook, psycopg, psycopg-pool, pytestCheckHook, @@ -17,14 +15,14 @@ buildPythonPackage rec { pname = "pyrate-limiter"; - version = "3.7.0"; + version = "3.9.0"; pyproject = true; src = fetchFromGitHub { owner = "vutran1710"; repo = "PyrateLimiter"; tag = "v${version}"; - hash = "sha256-oNwFxH75TJm0iJSbLIO8SlIih72ImlHIhUW7GjOEorw="; + hash = "sha256-CAN3OWxXQaAzrh2q6z0OxPs4i02L/g2ISYFdUMHsHpg="; }; postPatch = '' @@ -51,12 +49,17 @@ buildPythonPackage rec { ] ++ lib.flatten (lib.attrValues optional-dependencies); + disabledTests = [ + # hangs + "test_limiter_01" + ]; + pythonImportsCheck = [ "pyrate_limiter" ]; meta = with lib; { description = "Python Rate-Limiter using Leaky-Bucket Algorimth Family"; homepage = "https://github.com/vutran1710/PyrateLimiter"; - changelog = "https://github.com/vutran1710/PyrateLimiter/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/vutran1710/PyrateLimiter/blob/${src.tag}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ kranzes ]; }; diff --git a/pkgs/development/python-modules/pyrevolve/default.nix b/pkgs/development/python-modules/pyrevolve/default.nix index 0af3e6fe85ec..ba3b693a4ff8 100644 --- a/pkgs/development/python-modules/pyrevolve/default.nix +++ b/pkgs/development/python-modules/pyrevolve/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "pyrevolve"; - version = "2.2.4"; + version = "2.2.6"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -21,8 +21,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "devitocodes"; repo = pname; - rev = "refs/tags/v${version}"; - hash = "sha256-fcIq/zuKO3W7K9N2E4f2Q6ZVcssZwN/n8o9cCOYmr3E="; + tag = "v${version}"; + hash = "sha256-jjiFOlxXjaa4L4IEtojeeS0jx4GsftAeIGBpJLhUcY4="; }; postPatch = '' @@ -51,7 +51,7 @@ buildPythonPackage rec { meta = with lib; { homepage = "https://github.com/devitocodes/pyrevolve"; - changelog = "https://github.com/devitocodes/pyrevolve/releases/tag/v${version}"; + changelog = "https://github.com/devitocodes/pyrevolve/releases/tag/${src.tag}"; description = "Python library to manage checkpointing for adjoints"; license = licenses.epl10; maintainers = with maintainers; [ atila ]; diff --git a/pkgs/development/python-modules/pyroute2/default.nix b/pkgs/development/python-modules/pyroute2/default.nix index 9b1fd1924ec4..b501bddec5df 100644 --- a/pkgs/development/python-modules/pyroute2/default.nix +++ b/pkgs/development/python-modules/pyroute2/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "pyroute2"; - version = "0.9.2"; + version = "0.9.4"; pyproject = true; disabled = pythonOlder "3.9"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "svinota"; repo = "pyroute2"; tag = version; - hash = "sha256-46QpFW9Yo1fHH9m8hxpdPRMBdiE6ptWAWRcaizKjBOw="; + hash = "sha256-D603ZrLbc/6REx6X0bMvZzeyo0fgTsFL7J+iRTiQLgQ="; }; build-system = [ setuptools ]; @@ -46,7 +46,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python Netlink library"; homepage = "https://github.com/svinota/pyroute2"; - changelog = "https://github.com/svinota/pyroute2/blob/${version}/CHANGELOG.rst"; + changelog = "https://github.com/svinota/pyroute2/blob/${src.tag}/CHANGELOG.rst"; license = with licenses; [ asl20 # or gpl2Plus diff --git a/pkgs/development/python-modules/pyscard/default.nix b/pkgs/development/python-modules/pyscard/default.nix index 6440d5839f9e..7f19bfb0c4c1 100644 --- a/pkgs/development/python-modules/pyscard/default.nix +++ b/pkgs/development/python-modules/pyscard/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "pyscard"; - version = "2.2.2"; + version = "2.3.0"; pyproject = true; src = fetchFromGitHub { owner = "LudovicRousseau"; repo = "pyscard"; tag = version; - hash = "sha256-oaKmWLydwfWPnED11dbJKob9vxkl+pgOS0mvhL6XWrM="; + hash = "sha256-rz3m8eVbmJUMcQFuEMZwF3k/ES75KcNA8R+xix+Mgq8="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pyshp/default.nix b/pkgs/development/python-modules/pyshp/default.nix index 623fbebfb6d7..7811afc42edd 100644 --- a/pkgs/development/python-modules/pyshp/default.nix +++ b/pkgs/development/python-modules/pyshp/default.nix @@ -2,24 +2,24 @@ lib, buildPythonPackage, fetchFromGitHub, + hatchling, pytestCheckHook, - pythonOlder, }: buildPythonPackage rec { pname = "pyshp"; - version = "2.4.1"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; + version = "3.0.0"; + pyproject = true; src = fetchFromGitHub { owner = "GeospatialPython"; repo = "pyshp"; tag = version; - hash = "sha256-NBZCqCbrCUIowj/EwWfC1vNC1fyNdg7EC06RRi6pul0="; + hash = "sha256-bN6n/cHuhoJPP2N9hcaPY87QgLNDSNdjHkpmyjO/+70="; }; + build-system = [ hatchling ]; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "shapefile" ]; diff --git a/pkgs/development/python-modules/pysiaalarm/default.nix b/pkgs/development/python-modules/pysiaalarm/default.nix index 2bb3e6611a82..1ec26947d356 100644 --- a/pkgs/development/python-modules/pysiaalarm/default.nix +++ b/pkgs/development/python-modules/pysiaalarm/default.nix @@ -6,7 +6,7 @@ dataclasses-json, pycryptodome, setuptools-scm, - pytest-asyncio, + pytest-asyncio_0, pytest-cases, pytest-cov-stub, pytestCheckHook, @@ -39,7 +39,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - pytest-asyncio + pytest-asyncio_0 pytest-cases pytest-cov-stub pytestCheckHook diff --git a/pkgs/development/python-modules/pyside6-fluent-widgets/default.nix b/pkgs/development/python-modules/pyside6-fluent-widgets/default.nix index 475646e64114..bdc66df7c5ef 100644 --- a/pkgs/development/python-modules/pyside6-fluent-widgets/default.nix +++ b/pkgs/development/python-modules/pyside6-fluent-widgets/default.nix @@ -10,13 +10,13 @@ buildPythonPackage rec { pname = "pyside6-fluent-widgets"; - version = "1.8.3"; + version = "1.8.6"; pyproject = true; src = fetchPypi { pname = "pyside6_fluent_widgets"; inherit version; - hash = "sha256-A9lKRFGpfrWKGAKJS9ETIbSTBF/Ba6KUBBc4Pht2eBE="; + hash = "sha256-JuqZSYAGnmO/0GMIojpP3XB0mx4k/GecOkl/xsafOu8="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pysnooper/default.nix b/pkgs/development/python-modules/pysnooper/default.nix index f8ce981e1d38..e9f9e7e86232 100644 --- a/pkgs/development/python-modules/pysnooper/default.nix +++ b/pkgs/development/python-modules/pysnooper/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "pysnooper"; - version = "1.2.1"; + version = "1.2.3"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchPypi { inherit version; pname = "PySnooper"; - hash = "sha256-2DLd8myARAqUVrOmZNr/lX9zfnMTxAt2JQ69tczbajE="; + hash = "sha256-H6FCVESnr0UQiq7YYLXKi2KyW7olsLA3wFm6NT2PHnQ="; }; nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/development/python-modules/pyssim/default.nix b/pkgs/development/python-modules/pyssim/default.nix index 1d49929d2710..6c08c68b5278 100644 --- a/pkgs/development/python-modules/pyssim/default.nix +++ b/pkgs/development/python-modules/pyssim/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "pyssim"; - version = "0.7"; + version = "0.7.1"; pyproject = true; build-system = [ @@ -31,7 +31,7 @@ buildPythonPackage rec { owner = "jterrace"; repo = "pyssim"; tag = "v${version}"; - sha256 = "sha256-LDNIugQeRqNsAZ5ZxS/NxHokEAwefpfRutTRpR0IcXk="; + sha256 = "sha256-6393EATaXg12pYXPaHty+8LepUM6kgtZ0zSjZ1Izytg="; }; patches = [ diff --git a/pkgs/development/python-modules/pystemd/default.nix b/pkgs/development/python-modules/pystemd/default.nix index f91803243e67..f3847e030065 100644 --- a/pkgs/development/python-modules/pystemd/default.nix +++ b/pkgs/development/python-modules/pystemd/default.nix @@ -14,12 +14,12 @@ buildPythonPackage rec { pname = "pystemd"; - version = "0.13.2"; + version = "0.13.4"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-Tc+ksTpVaFxJ09F8EGMeyhjDN3D2Yxb47yM3uJUcwUQ="; + hash = "sha256-8G1OWyGIGnyRAEkuYMzC9LZOULTWt3c8lAE9LG8aANs="; }; postPatch = '' diff --git a/pkgs/development/python-modules/pysunspec2/default.nix b/pkgs/development/python-modules/pysunspec2/default.nix index e3d321895db6..0e8f04916660 100644 --- a/pkgs/development/python-modules/pysunspec2/default.nix +++ b/pkgs/development/python-modules/pysunspec2/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "pysunspec2"; - version = "1.2.1"; + version = "1.3.2"; pyproject = true; disabled = pythonOlder "3.5"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "sunspec"; repo = "pysunspec2"; tag = "v${version}"; - hash = "sha256-N3Daa1l2uzRbj2GpgdulzNhqxtRLvxZuEHxlKMsAdso="; + hash = "sha256-a5dync6B0KA1Qus/3xfDzASirEh7yLuiUrQXB2jMVQw="; fetchSubmodules = true; }; diff --git a/pkgs/development/python-modules/pytapo/default.nix b/pkgs/development/python-modules/pytapo/default.nix index e24e88f1e62f..852802ede046 100644 --- a/pkgs/development/python-modules/pytapo/default.nix +++ b/pkgs/development/python-modules/pytapo/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "pytapo"; - version = "3.3.48"; + version = "3.3.49"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-2MBolLmcInRO1EMYsV0cV4AsvS9cJATDiP5iBjPkrk0="; + hash = "sha256-urAGAcSoJ8AkHHIPEBEfk08Y34URVN/sX0N4WkIcUR4="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pytask/default.nix b/pkgs/development/python-modules/pytask/default.nix index af475846e3a0..7e1ae80c0b6a 100644 --- a/pkgs/development/python-modules/pytask/default.nix +++ b/pkgs/development/python-modules/pytask/default.nix @@ -25,7 +25,7 @@ }: buildPythonPackage rec { pname = "pytask"; - version = "0.5.2"; + version = "0.5.5"; pyproject = true; disabled = pythonOlder "3.8"; @@ -33,7 +33,7 @@ buildPythonPackage rec { owner = "pytask-dev"; repo = "pytask"; tag = "v${version}"; - hash = "sha256-YJouWQ9Edj27nD72m7EDSH9TXcrsu6X+pGDo5fgGU5U="; + hash = "sha256-0e1pJzoszTW8n+uFJlEeYstvHf4v+I2Is7oEHJ1qV7o="; }; build-system = [ @@ -79,7 +79,7 @@ buildPythonPackage rec { meta = with lib; { description = "Workflow management system that facilitates reproducible data analyses"; homepage = "https://github.com/pytask-dev/pytask"; - changelog = "https://github.com/pytask-dev/pytask/releases/tag/v${version}"; + changelog = "https://github.com/pytask-dev/pytask/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ erooke ]; }; diff --git a/pkgs/development/python-modules/pytensor/default.nix b/pkgs/development/python-modules/pytensor/default.nix index 41a075b0229a..d5212c6533bd 100644 --- a/pkgs/development/python-modules/pytensor/default.nix +++ b/pkgs/development/python-modules/pytensor/default.nix @@ -33,7 +33,7 @@ buildPythonPackage rec { pname = "pytensor"; - version = "2.31.7"; + version = "2.32.0"; pyproject = true; src = fetchFromGitHub { @@ -43,7 +43,7 @@ buildPythonPackage rec { postFetch = '' sed -i 's/git_refnames = "[^"]*"/git_refnames = " (tag: ${src.tag})"/' $out/pytensor/_version.py ''; - hash = "sha256-FtB5DfeKHl3zlnDxsRn0rs08EJhPwVkXFBFLVA0k6oA="; + hash = "sha256-B72BZmSYl/trpgaTUXwjWo95gR90pNPcKgpnnOqP7Tg="; }; build-system = [ @@ -167,7 +167,7 @@ buildPythonPackage rec { description = "Python library to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays"; mainProgram = "pytensor-cache"; homepage = "https://github.com/pymc-devs/pytensor"; - changelog = "https://github.com/pymc-devs/pytensor/releases/tag/rel-${version}"; + changelog = "https://github.com/pymc-devs/pytensor/releases/tag/rel-${src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ bcdarwin diff --git a/pkgs/development/python-modules/pytest-aiohttp/default.nix b/pkgs/development/python-modules/pytest-aiohttp/default.nix index 5ef7d3de55ae..79df48b8250f 100644 --- a/pkgs/development/python-modules/pytest-aiohttp/default.nix +++ b/pkgs/development/python-modules/pytest-aiohttp/default.nix @@ -38,6 +38,8 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; + pytestFlags = [ "-Wignore::pytest.PytestDeprecationWarning" ]; + meta = with lib; { homepage = "https://github.com/aio-libs/pytest-aiohttp/"; changelog = "https://github.com/aio-libs/pytest-aiohttp/blob/${src.rev}/CHANGES.rst"; diff --git a/pkgs/development/python-modules/pytest-ansible/default.nix b/pkgs/development/python-modules/pytest-ansible/default.nix index 226f7d8c0b6c..a0e5024d8c1f 100644 --- a/pkgs/development/python-modules/pytest-ansible/default.nix +++ b/pkgs/development/python-modules/pytest-ansible/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "pytest-ansible"; - version = "25.5.0"; + version = "25.6.3"; pyproject = true; disabled = pythonOlder "3.10"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "ansible"; repo = "pytest-ansible"; tag = "v${version}"; - hash = "sha256-k6JFaB5VbUCwknN8SkNotdPRvSvW1tFmTx5p3hGfesg="; + hash = "sha256-NOvVzZCqbPbzbDgrs94qgS82c+8U+ysyH/LdQRsawt4="; }; postPatch = '' diff --git a/pkgs/development/python-modules/pytest-asyncio/0.nix b/pkgs/development/python-modules/pytest-asyncio/0.nix new file mode 100644 index 000000000000..e6887edf85e1 --- /dev/null +++ b/pkgs/development/python-modules/pytest-asyncio/0.nix @@ -0,0 +1,48 @@ +{ + lib, + buildPythonPackage, + callPackage, + fetchFromGitHub, + pytest, + setuptools-scm, +}: + +buildPythonPackage rec { + pname = "pytest-asyncio"; + version = "0.26.0"; # N.B.: when updating, tests bleak and aioesphomeapi tests + pyproject = true; + + src = fetchFromGitHub { + owner = "pytest-dev"; + repo = "pytest-asyncio"; + tag = "v${version}"; + hash = "sha256-GEhFwwQCXwtqfSiew/sOvJYV3JREqOGD4fQONlRR/Mw="; + }; + + outputs = [ + "out" + "testout" + ]; + + build-system = [ setuptools-scm ]; + + buildInputs = [ pytest ]; + + postInstall = '' + mkdir $testout + cp -R tests $testout/tests + ''; + + doCheck = false; + passthru.tests.pytest = callPackage ./tests.nix { }; + + pythonImportsCheck = [ "pytest_asyncio" ]; + + meta = with lib; { + description = "Library for testing asyncio code with pytest"; + homepage = "https://github.com/pytest-dev/pytest-asyncio"; + changelog = "https://github.com/pytest-dev/pytest-asyncio/blob/${src.tag}/docs/reference/changelog.rst"; + license = licenses.asl20; + maintainers = with maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/development/python-modules/pytest-asyncio/default.nix b/pkgs/development/python-modules/pytest-asyncio/default.nix index e6887edf85e1..5ac0fdc37f87 100644 --- a/pkgs/development/python-modules/pytest-asyncio/default.nix +++ b/pkgs/development/python-modules/pytest-asyncio/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "pytest-asyncio"; - version = "0.26.0"; # N.B.: when updating, tests bleak and aioesphomeapi tests + version = "1.1.0"; # N.B.: when updating, tests bleak and aioesphomeapi tests pyproject = true; src = fetchFromGitHub { owner = "pytest-dev"; repo = "pytest-asyncio"; tag = "v${version}"; - hash = "sha256-GEhFwwQCXwtqfSiew/sOvJYV3JREqOGD4fQONlRR/Mw="; + hash = "sha256-+dLOzMPKI3nawfyZVZZ6hg6OkaEGZBp8oC5VIr7y0es="; }; outputs = [ diff --git a/pkgs/development/python-modules/pytest-bdd/default.nix b/pkgs/development/python-modules/pytest-bdd/default.nix index 0bd4ae71d8b0..df3b22f92089 100644 --- a/pkgs/development/python-modules/pytest-bdd/default.nix +++ b/pkgs/development/python-modules/pytest-bdd/default.nix @@ -7,7 +7,7 @@ parse-type, poetry-core, pytest, - pytestCheckHook, + pytest7CheckHook, pythonOlder, typing-extensions, }: @@ -37,7 +37,8 @@ buildPythonPackage rec { typing-extensions ]; - nativeCheckInputs = [ pytestCheckHook ]; + # requires an update for pytest 8.4 compat + nativeCheckInputs = [ pytest7CheckHook ]; preCheck = '' export PATH=$PATH:$out/bin diff --git a/pkgs/development/python-modules/pytest-benchmark/default.nix b/pkgs/development/python-modules/pytest-benchmark/default.nix index 7fca87e44542..1b14abd0d189 100644 --- a/pkgs/development/python-modules/pytest-benchmark/default.nix +++ b/pkgs/development/python-modules/pytest-benchmark/default.nix @@ -12,7 +12,6 @@ pygal, pytest, pytestCheckHook, - pytest-xdist, pythonAtLeast, pythonOlder, setuptools, @@ -56,7 +55,6 @@ buildPythonPackage rec { mercurial nbmake pytestCheckHook - pytest-xdist ] ++ lib.flatten (lib.attrValues optional-dependencies); diff --git a/pkgs/development/python-modules/pytest-celery/default.nix b/pkgs/development/python-modules/pytest-celery/default.nix index 9c3555f1012d..568159010c9d 100644 --- a/pkgs/development/python-modules/pytest-celery/default.nix +++ b/pkgs/development/python-modules/pytest-celery/default.nix @@ -5,12 +5,11 @@ debugpy, docker, fetchFromGitHub, + kombu, poetry-core, psutil, - pytest-cov-stub, pytest-docker-tools, pytest, - pytestCheckHook, pythonOlder, setuptools, tenacity, @@ -18,7 +17,7 @@ buildPythonPackage rec { pname = "pytest-celery"; - version = "1.1.3"; + version = "1.2.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -27,7 +26,7 @@ buildPythonPackage rec { owner = "celery"; repo = "pytest-celery"; tag = "v${version}"; - hash = "sha256-TUtKfGOxvVkiMhsUqyNDK08OTuzzKHrBiPU4JCKsIKM="; + hash = "sha256-E8GO/00IC9kUvQLZmTFaK4FFQ7d+/tw/kVTQbAqRRRM="; }; postPatch = '' @@ -46,8 +45,10 @@ buildPythonPackage rec { buildInput = [ pytest ]; dependencies = [ + (celery.overridePythonAttrs { doCheck = false; }) debugpy docker + kombu psutil pytest-docker-tools setuptools @@ -60,7 +61,7 @@ buildPythonPackage rec { meta = with lib; { description = "Pytest plugin to enable celery.contrib.pytest"; homepage = "https://github.com/celery/pytest-celery"; - changelog = "https://github.com/celery/pytest-celery/blob/v${version}/Changelog.rst"; + changelog = "https://github.com/celery/pytest-celery/blob/${src.tag}/Changelog.rst"; license = licenses.mit; maintainers = [ ]; }; diff --git a/pkgs/development/python-modules/pytest-codspeed/default.nix b/pkgs/development/python-modules/pytest-codspeed/default.nix index dbf611fa5b1a..0de2195da0fc 100644 --- a/pkgs/development/python-modules/pytest-codspeed/default.nix +++ b/pkgs/development/python-modules/pytest-codspeed/default.nix @@ -16,18 +16,34 @@ setuptools, }: +let + instrument-hooks = fetchFromGitHub { + owner = "CodSpeedHQ"; + repo = "instrument-hooks"; + rev = "b003e5024d61cfb784d6ac6f3ffd7d61bf7b9ec9"; + hash = "sha256-JTSH4wOpOGJ97iV6sagiRUu8d3sKM2NJRXcB3NmozNQ="; + }; +in + buildPythonPackage rec { pname = "pytest-codspeed"; - version = "3.2.0"; + version = "4.0.0"; pyproject = true; src = fetchFromGitHub { owner = "CodSpeedHQ"; repo = "pytest-codspeed"; tag = "v${version}"; - hash = "sha256-SNVJtnanaSQTSeX3EFG+21GFC1WFCQTbaNyi7QjQROw="; + hash = "sha256-5fdG7AEiLD3ZZzU/7zBK0+LDacTZooyDUo+FefcE4uQ="; }; + postPatch = '' + pushd src/pytest_codspeed/instruments/hooks + rmdir instrument-hooks + ln -nsf ${instrument-hooks} instrument-hooks + popd + ''; + build-system = [ hatchling ]; buildInputs = [ pytest ]; diff --git a/pkgs/development/python-modules/pytest-cov/default.nix b/pkgs/development/python-modules/pytest-cov/default.nix index a7dbf32414b1..67da986e1e91 100644 --- a/pkgs/development/python-modules/pytest-cov/default.nix +++ b/pkgs/development/python-modules/pytest-cov/default.nix @@ -11,13 +11,13 @@ buildPythonPackage rec { pname = "pytest-cov"; - version = "6.1.1"; + version = "6.2.1"; pyproject = true; src = fetchPypi { pname = "pytest_cov"; inherit version; - hash = "sha256-RpNfeq77p2DnFsLr++HCFiQLlZKWbn2pnqgpLU0+Kgo="; + hash = "sha256-JcxswKU1ggS4EI7O3FGptXs0zGuMlnzCwBpOANimfaI="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pytest-datadir/default.nix b/pkgs/development/python-modules/pytest-datadir/default.nix index ecd1d81e4517..0b8532f1ed49 100644 --- a/pkgs/development/python-modules/pytest-datadir/default.nix +++ b/pkgs/development/python-modules/pytest-datadir/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "pytest-datadir"; - version = "1.7.2"; + version = "1.8.0"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "gabrielcnr"; repo = "pytest-datadir"; tag = "v${version}"; - hash = "sha256-0y+1Al8nocCJXZyu8gLbYnXJzUu/oD31Zhn901XxWds="; + hash = "sha256-ttzYFzePPpFY6DfMGLVImZMiehuR9IhmIFxBlgrDDmk="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/pytest-describe/default.nix b/pkgs/development/python-modules/pytest-describe/default.nix index 6ce782c44200..6eb2b8390b2c 100644 --- a/pkgs/development/python-modules/pytest-describe/default.nix +++ b/pkgs/development/python-modules/pytest-describe/default.nix @@ -1,13 +1,16 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, - # build + # build-system + setuptools, + + # dependencies pytest, # tests - pytestCheckHook, + pytest7CheckHook, }: let @@ -16,16 +19,21 @@ let in buildPythonPackage { inherit pname version; - format = "setuptools"; + pyproject = true; - src = fetchPypi { - inherit pname version; - hash = "sha256-ObsF65DySX2co0Lvmgt/pbraflhQWuwz9m1mHWMZVbc="; + src = fetchFromGitHub { + owner = "pytest-dev"; + repo = "pytest-describe"; + tag = version; + hash = "sha256-ih0XkYOtB+gwUsgo1oSti2460P3gq3tR+UsyRlzMjLE="; }; + build-system = [ setuptools ]; + buildInputs = [ pytest ]; - nativeCheckInputs = [ pytestCheckHook ]; + # test_fixture breaks with pytest 8.4 + nativeCheckInputs = [ pytest7CheckHook ]; meta = with lib; { description = "Describe-style plugin for the pytest framework"; diff --git a/pkgs/development/python-modules/pytest-examples/default.nix b/pkgs/development/python-modules/pytest-examples/default.nix index ec26ae5eea97..a1d090346543 100644 --- a/pkgs/development/python-modules/pytest-examples/default.nix +++ b/pkgs/development/python-modules/pytest-examples/default.nix @@ -43,6 +43,11 @@ buildPythonPackage rec { "test_black_error_multiline" ]; + disabledTestPaths = [ + # assert 1 + 2 == 4 + "tests/test_run_examples.py::test_run_example_ok_fail" + ]; + meta = { description = "Pytest plugin for testing examples in docstrings and markdown files"; homepage = "https://github.com/pydantic/pytest-examples"; diff --git a/pkgs/development/python-modules/pytest-factoryboy/default.nix b/pkgs/development/python-modules/pytest-factoryboy/default.nix index b7e394233346..5f932e44d25f 100644 --- a/pkgs/development/python-modules/pytest-factoryboy/default.nix +++ b/pkgs/development/python-modules/pytest-factoryboy/default.nix @@ -20,21 +20,21 @@ buildPythonPackage rec { pname = "pytest-factoryboy"; - version = "2.6.1"; - format = "pyproject"; + version = "2.8.1"; + pyproject = true; src = fetchFromGitHub { owner = "pytest-dev"; repo = "pytest-factoryboy"; rev = version; - sha256 = "sha256-GYqYwtbmMWVqImVPPBbZNRJJGcbksUPsIbi6QuPRMco="; + sha256 = "sha256-9dMsUujMCk89Ze4H9VJRS+ihjk0PAxKb8xqlw0+ROEI="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; buildInputs = [ pytest ]; - propagatedBuildInputs = [ + dependencies = [ factory-boy inflection typing-extensions diff --git a/pkgs/development/python-modules/pytest-httpserver/default.nix b/pkgs/development/python-modules/pytest-httpserver/default.nix index 6a136e9d3c05..bf2016701dde 100644 --- a/pkgs/development/python-modules/pytest-httpserver/default.nix +++ b/pkgs/development/python-modules/pytest-httpserver/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "pytest-httpserver"; - version = "1.1.2"; + version = "1.1.3"; pyproject = true; disabled = pythonOlder "3.7"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "csernazs"; repo = "pytest-httpserver"; tag = version; - hash = "sha256-41JrZ3ubaJHNzwGDWUSseJ3Z405k21SOpwW7jG5rNxg="; + hash = "sha256-5pyCDzt9nCwYcUdCjWlJiAkyNmf6oWBqSHQL7kJJluA="; }; nativeBuildInputs = [ poetry-core ]; @@ -45,7 +45,7 @@ buildPythonPackage rec { meta = with lib; { description = "HTTP server for pytest to test HTTP clients"; homepage = "https://www.github.com/csernazs/pytest-httpserver"; - changelog = "https://github.com/csernazs/pytest-httpserver/blob/${version}/CHANGES.rst"; + changelog = "https://github.com/csernazs/pytest-httpserver/blob/${src.tag}/CHANGES.rst"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/pytest-lazy-fixtures/default.nix b/pkgs/development/python-modules/pytest-lazy-fixtures/default.nix index 6bb33a00394f..4acc40ff1934 100644 --- a/pkgs/development/python-modules/pytest-lazy-fixtures/default.nix +++ b/pkgs/development/python-modules/pytest-lazy-fixtures/default.nix @@ -2,25 +2,40 @@ lib, buildPythonPackage, fetchFromGitHub, - poetry-core, + hatchling, + pytest, pytestCheckHook, }: buildPythonPackage rec { pname = "pytest-lazy-fixtures"; - version = "1.1.2"; + version = "1.3.2"; pyproject = true; src = fetchFromGitHub { owner = "dev-petrov"; repo = "pytest-lazy-fixtures"; tag = version; - hash = "sha256-EkvSmSTwoWmQlUZ4qBBqboOomxwn72H8taJ3CY142ms="; + hash = "sha256-h2Zm8Vbw3L9WeXaeFE/fJqiOgI3r+XnJUnnELDkmyaU="; }; - build-system = [ poetry-core ]; + postPatch = '' + # Prevent double registration here and in the pyproject.toml entrypoint + # ValueError: Plugin already registered under a different name: + substituteInPlace tests/conftest.py \ + --replace-fail '"pytest_lazy_fixtures.plugin",' "" + ''; - dependencies = [ pytestCheckHook ]; + build-system = [ hatchling ]; + + dependencies = [ pytest ]; + + nativeCheckInputs = [ pytestCheckHook ]; + + disabledTestPaths = [ + # missing pytest-deadfixtures + "tests/test_deadfixtures_support.py" + ]; pythonImportsCheck = [ "pytest_lazy_fixtures" ]; diff --git a/pkgs/development/python-modules/pytest-mockservers/default.nix b/pkgs/development/python-modules/pytest-mockservers/default.nix index 4f521fc236bf..6f8ad594ab5f 100644 --- a/pkgs/development/python-modules/pytest-mockservers/default.nix +++ b/pkgs/development/python-modules/pytest-mockservers/default.nix @@ -46,6 +46,9 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; + # relies on the removed event_loop fixture + disabledTests = [ "test_udp_server_factory" ]; + pythonImportsCheck = [ "pytest_mockservers" ]; meta = with lib; { diff --git a/pkgs/development/python-modules/pytest-qt/default.nix b/pkgs/development/python-modules/pytest-qt/default.nix index eac27debb474..36758f51da08 100644 --- a/pkgs/development/python-modules/pytest-qt/default.nix +++ b/pkgs/development/python-modules/pytest-qt/default.nix @@ -1,29 +1,35 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, setuptools-scm, pytest, + pluggy, + typing-extensions, pyqt5, - pythonOlder, }: buildPythonPackage rec { pname = "pytest-qt"; - version = "4.4.0"; - format = "setuptools"; + version = "4.5.0"; + pyproject = true; - disabled = pythonOlder "3.8"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-dolhQqlApChTOQCNaSijbUvnSv7H5jRXfoQsnMXFaEQ="; + src = fetchFromGitHub { + owner = "pytest-dev"; + repo = "pytest-qt"; + tag = version; + hash = "sha256-ZCWWhd1/7qdSgGLNbsjPlxg24IFdqbNtLRktgMFVCJY="; }; - nativeBuildInputs = [ setuptools-scm ]; + build-system = [ setuptools-scm ]; buildInputs = [ pytest ]; + dependencies = [ + pluggy + typing-extensions + ]; + nativeCheckInputs = [ pyqt5 ]; pythonImportsCheck = [ "pytestqt" ]; diff --git a/pkgs/development/python-modules/pytest-random-order/default.nix b/pkgs/development/python-modules/pytest-random-order/default.nix index 9886bcf7f869..1c900d4b6e84 100644 --- a/pkgs/development/python-modules/pytest-random-order/default.nix +++ b/pkgs/development/python-modules/pytest-random-order/default.nix @@ -1,28 +1,31 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, py, pytest, pytest-xdist, pytestCheckHook, - pythonOlder, setuptools, + setuptools-scm, }: buildPythonPackage rec { pname = "pytest-random-order"; - version = "1.1.1"; + version = "1.2.0"; pyproject = true; - disabled = pythonOlder "3.5"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-RHLX008fHF86NZxP/FwT7QZSMvMeyhnIhEwatAbnkIA="; + src = fetchFromGitHub { + owner = "jbasko"; + repo = "pytest-random-order"; + tag = "v${version}"; + hash = "sha256-c282PrdXxG7WChnkpLWe059OmtTOl1Mn6yWgMRfCjBA="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ + setuptools + setuptools-scm + ]; buildInputs = [ pytest ]; diff --git a/pkgs/development/python-modules/pytest-regressions/default.nix b/pkgs/development/python-modules/pytest-regressions/default.nix index 337c5f048a17..18286d14fcd9 100644 --- a/pkgs/development/python-modules/pytest-regressions/default.nix +++ b/pkgs/development/python-modules/pytest-regressions/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "pytest-regressions"; - version = "2.7.0"; + version = "2.8.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "ESSS"; repo = "pytest-regressions"; tag = "v${version}"; - hash = "sha256-w9uwJJtikbjUtjpJJ3dEZ1zU0KbdyLaDuJWJr45WpCg="; + hash = "sha256-8FbPWKYHy/0ITrCx9044iYOR7B9g8tgEdV+QfUg4esk="; }; build-system = [ setuptools-scm ]; diff --git a/pkgs/development/python-modules/pytest-relaxed/default.nix b/pkgs/development/python-modules/pytest-relaxed/default.nix index a706d0fc87dc..7f317759960b 100644 --- a/pkgs/development/python-modules/pytest-relaxed/default.nix +++ b/pkgs/development/python-modules/pytest-relaxed/default.nix @@ -21,6 +21,12 @@ buildPythonPackage rec { hash = "sha256-lW6gKOww27+2gN2Oe0p/uPgKI5WV6Ius4Bi/LA1xgkg="; }; + patches = [ + # https://github.com/bitprophet/pytest-relaxed/issues/28 + # https://github.com/bitprophet/pytest-relaxed/pull/29 + ./fix-oldstyle-hookimpl-setup.patch + ]; + buildInputs = [ pytest ]; propagatedBuildInputs = [ decorator ]; @@ -32,6 +38,10 @@ buildPythonPackage rec { enabledTestPaths = [ "tests" ]; + disabledTests = [ + "test_skips_pytest_fixtures" + ]; + pythonImportsCheck = [ "pytest_relaxed" ]; meta = with lib; { diff --git a/pkgs/development/python-modules/pytest-relaxed/fix-oldstyle-hookimpl-setup.patch b/pkgs/development/python-modules/pytest-relaxed/fix-oldstyle-hookimpl-setup.patch new file mode 100644 index 000000000000..ef44c262ca51 --- /dev/null +++ b/pkgs/development/python-modules/pytest-relaxed/fix-oldstyle-hookimpl-setup.patch @@ -0,0 +1,22 @@ +From ec22fc4da8cc081c53da7b3aaaa2d5095b7abdec Mon Sep 17 00:00:00 2001 +From: Marcel Telka +Date: Mon, 13 Nov 2023 16:18:28 +0100 +Subject: [PATCH] Fix deprecation warning + +--- + pytest_relaxed/plugin.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pytest_relaxed/plugin.py b/pytest_relaxed/plugin.py +index 562a597..28798d3 100644 +--- a/pytest_relaxed/plugin.py ++++ b/pytest_relaxed/plugin.py +@@ -37,7 +37,7 @@ def pytest_collect_file(file_path, parent): + return SpecModule.from_parent(parent=parent, path=file_path) + + +-@pytest.mark.trylast # So we can be sure builtin terminalreporter exists ++@pytest.hookimpl(trylast=True) # Be sure builtin terminalreporter exists + def pytest_configure(config): + # TODO: we _may_ sometime want to do the isatty/slaveinput/etc checks that + # pytest-sugar does? diff --git a/pkgs/development/python-modules/pytest-run-parallel/default.nix b/pkgs/development/python-modules/pytest-run-parallel/default.nix index cad82d8f2244..4a061f97c686 100644 --- a/pkgs/development/python-modules/pytest-run-parallel/default.nix +++ b/pkgs/development/python-modules/pytest-run-parallel/default.nix @@ -20,14 +20,14 @@ buildPythonPackage rec { pname = "pytest-run-parallel"; - version = "0.3.1"; + version = "0.6.0"; pyproject = true; src = fetchFromGitHub { owner = "Quansight-Labs"; repo = "pytest-run-parallel"; tag = "v${version}"; - hash = "sha256-YBky+aoMO3dclod6RTQZF0X8fE8CAgHHY4es8vWHb3U="; + hash = "sha256-6cfpPJItOmb79KERqpKz/nQlyTrAj4yv+bGM8SXrsXg="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pytest-services/default.nix b/pkgs/development/python-modules/pytest-services/default.nix index 537e06b5e04b..c45a7649629f 100644 --- a/pkgs/development/python-modules/pytest-services/default.nix +++ b/pkgs/development/python-modules/pytest-services/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, - fetchpatch, psutil, pylibmc, pytest, @@ -17,7 +16,7 @@ buildPythonPackage rec { pname = "pytest-services"; - version = "2.2.1"; + version = "2.2.2"; pyproject = true; disabled = pythonOlder "3.7"; @@ -25,19 +24,10 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "pytest-dev"; repo = "pytest-services"; - tag = version; - hash = "sha256-E/VcKcAb1ekypm5jP4lsSz1LYJTcTSed6i5OY5ihP30="; + tag = "v${version}"; + hash = "sha256-kWgqb7+3/hZKUz7B3PnfxHZq6yU3JUeJ+mruqrMD/NE="; }; - patches = [ - # Replace distutils.spawn.find_executable with shutil.which, https://github.com/pytest-dev/pytest-services/pull/46 - (fetchpatch { - name = "replace-distutils.patch"; - url = "https://github.com/pytest-dev/pytest-services/commit/e0e2a85434a2dcbcc0584299c5b2b751efe0b6db.patch"; - hash = "sha256-hvr7EedfjfonHDn6v2slwUBqz1xQoF7Ez/kqAhZRXEc="; - }) - ]; - nativeBuildInputs = [ setuptools-scm toml @@ -72,7 +62,7 @@ buildPythonPackage rec { meta = with lib; { description = "Services plugin for pytest testing framework"; homepage = "https://github.com/pytest-dev/pytest-services"; - changelog = "https://github.com/pytest-dev/pytest-services/blob/${version}/CHANGES.rst"; + changelog = "https://github.com/pytest-dev/pytest-services/blob/${src.tag}/CHANGES.rst"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; }; diff --git a/pkgs/development/python-modules/pytest-subtests/default.nix b/pkgs/development/python-modules/pytest-subtests/default.nix index 0b4f03e7942b..2826f917cee1 100644 --- a/pkgs/development/python-modules/pytest-subtests/default.nix +++ b/pkgs/development/python-modules/pytest-subtests/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "pytest-subtests"; - version = "0.14.1"; + version = "0.14.2"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -25,7 +25,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "pytest_subtests"; inherit version; - hash = "sha256-NQwArcNsOv9namYTXIGu2eIYLhX2w+yHITZpGLu/dYA="; + hash = "sha256-cVSoZl/VKO5wp20AIWpE0TncPJyDUhoPd597CtT4AN4="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/pytest-xdist/default.nix b/pkgs/development/python-modules/pytest-xdist/default.nix index 5660820d969c..3fd5f57fc93c 100644 --- a/pkgs/development/python-modules/pytest-xdist/default.nix +++ b/pkgs/development/python-modules/pytest-xdist/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "pytest-xdist"; - version = "3.6.1"; + version = "3.8.0"; disabled = pythonOlder "3.7"; pyproject = true; @@ -23,7 +23,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "pytest_xdist"; inherit version; - hash = "sha256-6tFWpNsjHux2lzf1dmjvWKIISjSy5VxKj6INhhEHMA0="; + hash = "sha256-fleBJeybxgUIYaqT8tWfHY0IVZXWVRwskLb0+tjTqfE="; }; build-system = [ diff --git a/pkgs/development/python-modules/pytest/8_3.nix b/pkgs/development/python-modules/pytest/8_3.nix new file mode 100644 index 000000000000..2b7cc734324f --- /dev/null +++ b/pkgs/development/python-modules/pytest/8_3.nix @@ -0,0 +1,111 @@ +{ + lib, + buildPythonPackage, + callPackage, + pythonOlder, + fetchPypi, + writeText, + + # build-system + setuptools, + setuptools-scm, + + # dependencies + attrs, + exceptiongroup, + iniconfig, + packaging, + pluggy, + tomli, + + # optional-dependencies + argcomplete, + hypothesis, + mock, + pygments, + requests, + xmlschema, +}: + +buildPythonPackage rec { + pname = "pytest"; + version = "8.3.5"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-9O/nDMFOURVlrEdrV8J54SqFWxH0jyEq8QgO8iY9OEU="; + }; + + outputs = [ + "out" + "testout" + ]; + + build-system = [ + setuptools + setuptools-scm + ]; + + dependencies = [ + iniconfig + packaging + pluggy + pygments + ] + ++ lib.optionals (pythonOlder "3.11") [ + exceptiongroup + tomli + ]; + + optional-dependencies = { + testing = [ + argcomplete + attrs + hypothesis + mock + requests + setuptools + xmlschema + ]; + }; + + postInstall = '' + mkdir $testout + cp -R testing $testout/testing + ''; + + doCheck = false; + passthru.tests.pytest = callPackage ./tests.nix { }; + + # Remove .pytest_cache when using py.test in a Nix build + setupHook = writeText "pytest-hook" '' + pytestcachePhase() { + find $out -name .pytest_cache -type d -exec rm -rf {} + + } + appendToVar preDistPhases pytestcachePhase + + # pytest generates it's own bytecode files to improve assertion messages. + # These files similar to cpython's bytecode files but are never laoded + # by python interpreter directly. We remove them for a few reasons: + # - files are non-deterministic: https://github.com/NixOS/nixpkgs/issues/139292 + # (file headers are generatedt by pytest directly and contain timestamps) + # - files are not needed after tests are finished + pytestRemoveBytecodePhase () { + # suffix is defined at: + # https://github.com/pytest-dev/pytest/blob/7.2.1/src/_pytest/assertion/rewrite.py#L51-L53 + find $out -name "*-pytest-*.py[co]" -delete + } + appendToVar preDistPhases pytestRemoveBytecodePhase + ''; + + pythonImportsCheck = [ "pytest" ]; + + meta = with lib; { + description = "Framework for writing tests"; + homepage = "https://docs.pytest.org"; + changelog = "https://github.com/pytest-dev/pytest/releases/tag/${version}"; + teams = [ teams.python ]; + license = licenses.mit; + }; +} diff --git a/pkgs/development/python-modules/pytest/default.nix b/pkgs/development/python-modules/pytest/default.nix index 6eb3a02661cb..17d42090876c 100644 --- a/pkgs/development/python-modules/pytest/default.nix +++ b/pkgs/development/python-modules/pytest/default.nix @@ -29,12 +29,12 @@ buildPythonPackage rec { pname = "pytest"; - version = "8.3.5"; + version = "8.4.1"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-9O/nDMFOURVlrEdrV8J54SqFWxH0jyEq8QgO8iY9OEU="; + hash = "sha256-fGf9aRdIdzWe2Tcew6+KPSsEdBgYxR5emcwXQiUfqTw="; }; outputs = [ @@ -42,15 +42,16 @@ buildPythonPackage rec { "testout" ]; - nativeBuildInputs = [ + build-system = [ setuptools setuptools-scm ]; - propagatedBuildInputs = [ + dependencies = [ iniconfig packaging pluggy + pygments ] ++ lib.optionals (pythonOlder "3.11") [ exceptiongroup @@ -63,7 +64,6 @@ buildPythonPackage rec { attrs hypothesis mock - pygments requests setuptools xmlschema diff --git a/pkgs/development/python-modules/python-awair/default.nix b/pkgs/development/python-modules/python-awair/default.nix index c814188477fa..21d946e89d62 100644 --- a/pkgs/development/python-modules/python-awair/default.nix +++ b/pkgs/development/python-modules/python-awair/default.nix @@ -31,6 +31,9 @@ buildPythonPackage rec { voluptuous ]; + # Failed: async def functions are not natively supported. + doCheck = false; + nativeCheckInputs = [ pytest-aiohttp pytestCheckHook diff --git a/pkgs/development/python-modules/python-binance/default.nix b/pkgs/development/python-modules/python-binance/default.nix index 77db7394f7e1..5f7c7d37e4c0 100644 --- a/pkgs/development/python-modules/python-binance/default.nix +++ b/pkgs/development/python-modules/python-binance/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "python-binance"; - version = "1.0.27"; + version = "1.0.29"; pyproject = true; disabled = pythonOlder "3.11"; @@ -28,7 +28,7 @@ buildPythonPackage rec { owner = "sammchardy"; repo = "python-binance"; tag = "v${version}"; - hash = "sha256-nsJuHxPXhMBRY4BUDDLj5sHK/GuJA0pBU3RGUDxVm50="; + hash = "sha256-Hqd6228k2j1BPzBBCRpdEp0rAGxZt00XPnzpCPlwIfg="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/python-box/default.nix b/pkgs/development/python-modules/python-box/default.nix index 80bfb3ef7e05..701c93f8f0c9 100644 --- a/pkgs/development/python-modules/python-box/default.nix +++ b/pkgs/development/python-modules/python-box/default.nix @@ -49,6 +49,11 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.all; + disabledTests = [ + # ruamel 8.18.13 update changed white space rules + "test_to_yaml_ruamel" + ]; + pythonImportsCheck = [ "box" ]; meta = with lib; { diff --git a/pkgs/development/python-modules/python-codon-tables/default.nix b/pkgs/development/python-modules/python-codon-tables/default.nix index af0e275321d1..af72906af4eb 100644 --- a/pkgs/development/python-modules/python-codon-tables/default.nix +++ b/pkgs/development/python-modules/python-codon-tables/default.nix @@ -6,13 +6,13 @@ buildPythonPackage rec { pname = "python-codon-tables"; - version = "0.1.15"; + version = "0.1.18"; format = "setuptools"; src = fetchPypi { pname = "python_codon_tables"; inherit version; - hash = "sha256-bK0Y8y5W6xmtGeRUtLDGsg1voVKp1uU37tBqi0/raLY="; + hash = "sha256-c/VSmArSkq+46LzW3r+CQEG1mwp87ACbZ7EWkMOGOQc="; }; # no tests in tarball diff --git a/pkgs/development/python-modules/python-constraint/default.nix b/pkgs/development/python-modules/python-constraint/default.nix index ae00c34c3354..2ac55f35c9f1 100644 --- a/pkgs/development/python-modules/python-constraint/default.nix +++ b/pkgs/development/python-modules/python-constraint/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "python-constraint"; - version = "1.4.0"; + version = "2.4.0"; format = "setuptools"; src = fetchFromGitHub { owner = "python-constraint"; repo = "python-constraint"; - rev = version; - sha256 = "1dv11406yxmmgkkhwzqicajbg2bmla5xfad7lv57zyahxz8jzz94"; + tag = version; + sha256 = "sha256-Vi+dD/QmHfUrL0l5yTb7B1ILuXj3HYfT0QINdyfoqFo="; }; nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/development/python-modules/python-crontab/default.nix b/pkgs/development/python-modules/python-crontab/default.nix index c89cd3d07bda..9fd4c03572ed 100644 --- a/pkgs/development/python-modules/python-crontab/default.nix +++ b/pkgs/development/python-modules/python-crontab/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "python-crontab"; - version = "3.2.0"; + version = "3.3.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "python_crontab"; inherit version; - hash = "sha256-QAZ9HdOa3jRgsq2FV8dlFRTNOFHe//9hxcYOEifFw2s="; + hash = "sha256-AHyK7mjd3z4E7E3OD6wSS5O9aL50cPyV0qlhehXeKRs="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/python-dbusmock/default.nix b/pkgs/development/python-modules/python-dbusmock/default.nix index 18cd8884ee1f..48dc270bac44 100644 --- a/pkgs/development/python-modules/python-dbusmock/default.nix +++ b/pkgs/development/python-modules/python-dbusmock/default.nix @@ -30,14 +30,14 @@ let in buildPythonPackage rec { pname = "python-dbusmock"; - version = "0.34.2"; + version = "0.36.0"; pyproject = true; src = fetchFromGitHub { owner = "martinpitt"; repo = "python-dbusmock"; tag = version; - hash = "sha256-7h5SIcgWcbzInmCkbGz/ulfPJvqPPguWLJY+AXJuo0c="; + hash = "sha256-9YnMOQUuwAcrL0ZaQr7iGly9esZaSRIFThQRNUtSndo="; }; build-system = [ diff --git a/pkgs/development/python-modules/python-dotenv/default.nix b/pkgs/development/python-modules/python-dotenv/default.nix index 2d46ddd688d3..44e978008bdf 100644 --- a/pkgs/development/python-modules/python-dotenv/default.nix +++ b/pkgs/development/python-modules/python-dotenv/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "python-dotenv"; - version = "1.1.0"; + version = "1.1.1"; pyproject = true; src = fetchFromGitHub { owner = "theskumar"; repo = "python-dotenv"; tag = "v${version}"; - hash = "sha256-jpSOChCUgJxrA5n+DNQX3dtFQ5Q6VG4g4pdWRIh+dOo="; + hash = "sha256-GeN6/pnqhm7TTP+H9bKhJat6EwEl2EPl46mNSJWwFKk="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/python-fontconfig/default.nix b/pkgs/development/python-modules/python-fontconfig/default.nix index f249489e4bac..18f40cbb647c 100644 --- a/pkgs/development/python-modules/python-fontconfig/default.nix +++ b/pkgs/development/python-modules/python-fontconfig/default.nix @@ -22,13 +22,13 @@ let in buildPythonPackage rec { pname = "python-fontconfig"; - version = "0.6.0"; + version = "0.6.1"; pyproject = true; src = fetchPypi { pname = "python_fontconfig"; inherit version; - sha256 = "sha256-1esVZVMvkcAKWchaOrIki2CYoJDffN1PW+A9nXWjCeU="; + sha256 = "sha256-qka4KksXW9LPn+Grmyng3kyrhwIEG7UEpVDeKfX89zM="; }; build-system = [ diff --git a/pkgs/development/python-modules/python-gitlab/default.nix b/pkgs/development/python-modules/python-gitlab/default.nix index fb351f79bb97..d55bd12447c4 100644 --- a/pkgs/development/python-modules/python-gitlab/default.nix +++ b/pkgs/development/python-modules/python-gitlab/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "python-gitlab"; - version = "6.1.0"; + version = "6.2.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -21,7 +21,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "python_gitlab"; inherit version; - hash = "sha256-Bi1pQ2mbCbzkD3J/DQkGoLJUykVVk/gXRbsaNSU17nc="; + hash = "sha256-uIx5zqZd0kJZIsgpcw6pWCftcTLYabhTK5CoxxmcwaY="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/python-gnupg/default.nix b/pkgs/development/python-modules/python-gnupg/default.nix index 8fb7866efbd0..0ba82fdcccb8 100644 --- a/pkgs/development/python-modules/python-gnupg/default.nix +++ b/pkgs/development/python-modules/python-gnupg/default.nix @@ -9,13 +9,13 @@ buildPythonPackage rec { pname = "python-gnupg"; - version = "0.5.4"; + version = "0.5.5"; format = "pyproject"; src = fetchPypi { inherit pname version; - hash = "sha256-8v21+ylhXHfCdD4cs9kxQ1Om6HsQw30jjZGuHG/q4IY="; + hash = "sha256-P9yvdvYKG5SP+ON9w5jQPPnOdCcGXVgwgrktp6T/WmM="; }; postPatch = '' diff --git a/pkgs/development/python-modules/python-hosts/default.nix b/pkgs/development/python-modules/python-hosts/default.nix index 0f582e760250..7eb9ce7dbad7 100644 --- a/pkgs/development/python-modules/python-hosts/default.nix +++ b/pkgs/development/python-modules/python-hosts/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "python-hosts"; - version = "1.0.7"; + version = "1.1.2"; pyproject = true; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "python_hosts"; inherit version; - hash = "sha256-TFaZHiL2v/woCWgz3nh/kjUOhbfN1ghnBnJcVcTwSrk="; + hash = "sha256-XiU6aO6EhFVgj1g7TYMdbgg7IvjkU2DFoiwYikrB13A="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/python-jenkins/default.nix b/pkgs/development/python-modules/python-jenkins/default.nix index e06a0760fbdd..6e2eb9c169ba 100644 --- a/pkgs/development/python-modules/python-jenkins/default.nix +++ b/pkgs/development/python-modules/python-jenkins/default.nix @@ -18,12 +18,13 @@ buildPythonPackage rec { pname = "python-jenkins"; - version = "1.8.2"; + version = "1.8.3"; format = "setuptools"; src = fetchPypi { - inherit pname version; - hash = "sha256-VufauwYHvbjh1vxtLUMBq+2+2RZdorIG+svTBxy27ss="; + pname = "python_jenkins"; + inherit version; + hash = "sha256-j0dhw5GsEejB8j93EBCSDBBEBJdwWrcXXVI1j1oS3Jg="; }; # test uses timeout mechanism unsafe for use with the "spawn" diff --git a/pkgs/development/python-modules/python-json-logger/default.nix b/pkgs/development/python-modules/python-json-logger/default.nix index 9e7a8198ecb4..acae4e2689da 100644 --- a/pkgs/development/python-modules/python-json-logger/default.nix +++ b/pkgs/development/python-modules/python-json-logger/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "python-json-logger"; - version = "3.2.1"; + version = "3.3.0"; pyproject = true; src = fetchFromGitHub { owner = "nhairs"; repo = "python-json-logger"; tag = "v${version}"; - hash = "sha256-dM9/ehPY/BnJSNBq1BiTUpJRigdzbGb3jD8Uhx+hmKc="; + hash = "sha256-q1s+WRU5xTmF4YW20DrDnXbMeW6vGYzVekxxIDVt8gw="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/python-markdown-math/default.nix b/pkgs/development/python-modules/python-markdown-math/default.nix index 3bf104029b40..508229050afe 100644 --- a/pkgs/development/python-modules/python-markdown-math/default.nix +++ b/pkgs/development/python-modules/python-markdown-math/default.nix @@ -1,22 +1,25 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, + setuptools, markdown, - isPy27, }: buildPythonPackage rec { pname = "python-markdown-math"; - version = "0.8"; - format = "setuptools"; - disabled = isPy27; + version = "0.9"; + pyproject = true; - src = fetchPypi { - inherit pname version; - sha256 = "8564212af679fc18d53f38681f16080fcd3d186073f23825c7ce86fadd3e3635"; + src = fetchFromGitHub { + owner = "mitya57"; + repo = "python-markdown-math"; + tag = version; + hash = "sha256-m/i43lvOehZSazHXhoAZTRSB5BQgn2VFjXADxSKeXfs="; }; + build-system = [ setuptools ]; + nativeCheckInputs = [ markdown ]; meta = { diff --git a/pkgs/development/python-modules/python-on-whales/default.nix b/pkgs/development/python-modules/python-on-whales/default.nix index bbe238cde817..9b917d59b2ba 100644 --- a/pkgs/development/python-modules/python-on-whales/default.nix +++ b/pkgs/development/python-modules/python-on-whales/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "python-on-whales"; - version = "0.75.1"; + version = "0.78.0"; pyproject = true; src = fetchFromGitHub { owner = "gabrieldemarmiesse"; repo = "python-on-whales"; tag = "v${version}"; - hash = "sha256-JjzBFVgPNnU0q5hL+RZJMs3WxbeZbBKyvsV6clUFjpE="; + hash = "sha256-mpCBqFxxFxljhoTveLmk4XfqngiQPsufqr927hSwNfA="; }; build-system = [ setuptools ]; @@ -41,7 +41,7 @@ buildPythonPackage rec { meta = { description = "Docker client for Python, designed to be fun and intuitive"; homepage = "https://github.com/gabrieldemarmiesse/python-on-whales"; - changelog = "https://github.com/gabrieldemarmiesse/python-on-whales/releases/tag/v${version}"; + changelog = "https://github.com/gabrieldemarmiesse/python-on-whales/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ bcdarwin ]; }; diff --git a/pkgs/development/python-modules/python-owasp-zap-v2-4/default.nix b/pkgs/development/python-modules/python-owasp-zap-v2-4/default.nix index 5aaca9b14f11..6c11fb6da120 100644 --- a/pkgs/development/python-modules/python-owasp-zap-v2-4/default.nix +++ b/pkgs/development/python-modules/python-owasp-zap-v2-4/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "python-owasp-zap-v2-4"; - version = "0.0.18"; + version = "0.4.0"; format = "setuptools"; src = fetchFromGitHub { owner = "zaproxy"; repo = "zap-api-python"; - rev = version; - sha256 = "0b46m9s0vwaaq8vhiqspdr2ns9qdw65fnjh8mf58gjinlsd27ygk"; + tag = version; + sha256 = "sha256-UG8+0jJwnywvuc68/9r10kKMqxNIOg5mIdPt2Fx2BZA="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/python-pkcs11/default.nix b/pkgs/development/python-modules/python-pkcs11/default.nix index 10e37e558501..baa6e6b45e63 100644 --- a/pkgs/development/python-modules/python-pkcs11/default.nix +++ b/pkgs/development/python-modules/python-pkcs11/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "python-pkcs11"; - version = "0.7.0"; - format = "setuptools"; + version = "0.8.1"; + pyproject = true; src = fetchFromGitHub { owner = "danni"; repo = "python-pkcs11"; - rev = "v${version}"; - sha256 = "0kncbipfpsb7m7mhv5s5b9wk604h1j08i2j26fn90pklgqll0xhv"; + tag = "v${version}"; + sha256 = "sha256-iCfcVVzAwwg69Ym1uVimSzYZBQmC+Yppl5YXDaLIcqc="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/python-roborock/default.nix b/pkgs/development/python-modules/python-roborock/default.nix index d6fb0b903251..faa5d84101c1 100644 --- a/pkgs/development/python-modules/python-roborock/default.nix +++ b/pkgs/development/python-modules/python-roborock/default.nix @@ -25,7 +25,7 @@ buildPythonPackage rec { pname = "python-roborock"; - version = "2.25.0"; + version = "2.27.0"; pyproject = true; disabled = pythonOlder "3.11"; @@ -34,7 +34,7 @@ buildPythonPackage rec { owner = "humbertogontijo"; repo = "python-roborock"; tag = "v${version}"; - hash = "sha256-RsNWhcScp81plqXg9NmRFJhF+aLA0ld0A5H6mHo60uE="; + hash = "sha256-3iNqeRCdkkL77hYlh+LRo8ZKExcpk075eBbnp8oJQ8w="; }; postPatch = '' diff --git a/pkgs/development/python-modules/python-socketio/default.nix b/pkgs/development/python-modules/python-socketio/default.nix index bd85309718d6..cd621b30166d 100644 --- a/pkgs/development/python-modules/python-socketio/default.nix +++ b/pkgs/development/python-modules/python-socketio/default.nix @@ -18,7 +18,7 @@ # tests msgpack, - pytestCheckHook, + pytest7CheckHook, simple-websocket, uvicorn, @@ -53,7 +53,7 @@ buildPythonPackage rec { nativeCheckInputs = [ msgpack - pytestCheckHook + pytest7CheckHook uvicorn simple-websocket ] diff --git a/pkgs/development/python-modules/python-socks/default.nix b/pkgs/development/python-modules/python-socks/default.nix index 8d0c255cbbc2..183fdd950cb5 100644 --- a/pkgs/development/python-modules/python-socks/default.nix +++ b/pkgs/development/python-modules/python-socks/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "python-socks"; - version = "2.7.1"; + version = "2.7.2"; pyproject = true; disabled = pythonOlder "3.6.2"; @@ -29,7 +29,7 @@ buildPythonPackage rec { owner = "romis2012"; repo = "python-socks"; tag = "v${version}"; - hash = "sha256-7BfdyQDfRIPSC3Iv+cDcR0VFHX+l1OPRMElzHGL2x3M="; + hash = "sha256-9RzlK8iErM94vpVLeildYjqXbRxdiVyxASCZHKd0mao="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/python-stdnum/default.nix b/pkgs/development/python-modules/python-stdnum/default.nix index cf0c31466010..15722e6b4496 100644 --- a/pkgs/development/python-modules/python-stdnum/default.nix +++ b/pkgs/development/python-modules/python-stdnum/default.nix @@ -1,7 +1,7 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, pytestCheckHook, pytest-cov-stub, setuptools, @@ -13,23 +13,24 @@ buildPythonPackage rec { version = "2.1"; pyproject = true; - src = fetchPypi { - pname = "python_stdnum"; - inherit version; - hash = "sha256-awFkWWnrPf1VBhoBFNWTdTzZ5lPOqQgxmLfuoSZEOXo="; + src = fetchFromGitHub { + owner = "arthurdejong"; + repo = "python-stdnum"; + tag = version; + hash = "sha256-9m4tO9TX9lV4V3wTkMFDj0Mc+jl4bKsHM/adeF3cBTE="; }; build-system = [ setuptools ]; + optional-dependencies = { + SOAP = [ zeep ]; + }; + nativeCheckInputs = [ pytestCheckHook pytest-cov-stub ]; - optional-dependencies = { - SOAP = [ zeep ]; - }; - pythonImportsCheck = [ "stdnum" ]; meta = with lib; { diff --git a/pkgs/development/python-modules/python-tado/default.nix b/pkgs/development/python-modules/python-tado/default.nix index 7cde7aa3d8e6..7ef8016aad0f 100644 --- a/pkgs/development/python-modules/python-tado/default.nix +++ b/pkgs/development/python-modules/python-tado/default.nix @@ -2,33 +2,35 @@ lib, buildPythonPackage, fetchFromGitHub, + poetry-core, pytest-cov-stub, pytest-mock, + pytest-socket, pytestCheckHook, requests, responses, - setuptools, }: buildPythonPackage rec { pname = "python-tado"; - version = "0.18.15"; + version = "0.19.2"; pyproject = true; src = fetchFromGitHub { owner = "wmalgadey"; repo = "PyTado"; tag = version; - hash = "sha256-FUnD5JVS816XQYqXGSDnypqcYuKVhEeFIFcENf8BkcU="; + hash = "sha256-me62VPjKU+vh0vo4Fl86sEse1QZYD2zDpxchSiUcxTY="; }; - build-system = [ setuptools ]; + build-system = [ poetry-core ]; dependencies = [ requests ]; nativeCheckInputs = [ pytest-cov-stub pytest-mock + pytest-socket pytestCheckHook responses ]; diff --git a/pkgs/development/python-modules/python-telegram-bot/default.nix b/pkgs/development/python-modules/python-telegram-bot/default.nix index c815561a0b03..8340153612d8 100644 --- a/pkgs/development/python-modules/python-telegram-bot/default.nix +++ b/pkgs/development/python-modules/python-telegram-bot/default.nix @@ -24,7 +24,7 @@ buildPythonPackage rec { pname = "python-telegram-bot"; - version = "22.1"; + version = "22.3"; pyproject = true; disabled = pythonOlder "3.8"; @@ -33,7 +33,7 @@ buildPythonPackage rec { owner = "python-telegram-bot"; repo = "python-telegram-bot"; tag = "v${version}"; - hash = "sha256-zysqE1WZCHdoJUr9+yE7L5xY5pInNUKC4qw4v3zPSRg="; + hash = "sha256-mckCkz5DBRjO4iFvRpkqLa7H8GBE/Lwi9CQ902pQ1nQ="; }; build-system = [ diff --git a/pkgs/development/python-modules/pytraccar/default.nix b/pkgs/development/python-modules/pytraccar/default.nix index 6344f1e6d9bd..47c3a7233882 100644 --- a/pkgs/development/python-modules/pytraccar/default.nix +++ b/pkgs/development/python-modules/pytraccar/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "pytraccar"; - version = "2.1.1"; + version = "3.0.0"; pyproject = true; disabled = pythonOlder "3.11"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "ludeeus"; repo = "pytraccar"; tag = version; - hash = "sha256-WTRqYw66iD4bbb1aWJfBI67+DtE1FE4oiuUKpfVqypE="; + hash = "sha256-DtxZCvLuvQpbu/1lIXz2BVbACt5Q1N2txVMyqwd4d9A="; }; nativeBuildInputs = [ poetry-core ]; @@ -48,7 +48,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python library to handle device information from Traccar"; homepage = "https://github.com/ludeeus/pytraccar"; - changelog = "https://github.com/ludeeus/pytraccar/releases/tag/${version}"; + changelog = "https://github.com/ludeeus/pytraccar/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/pytransportnswv2/default.nix b/pkgs/development/python-modules/pytransportnswv2/default.nix index f512ae5cb7ab..83e7b8452d2a 100644 --- a/pkgs/development/python-modules/pytransportnswv2/default.nix +++ b/pkgs/development/python-modules/pytransportnswv2/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "pytransportnswv2"; - version = "0.8.7"; + version = "0.9.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "PyTransportNSWv2"; inherit version; - hash = "sha256-Jg/oEgbxn0eGf9Bn9wte6Wqc1TYVb8GjzU1mLWk1qtE="; + hash = "sha256-J3OW8fWldbkKzCDlXSv7nucVdyEnDFx8uCicF+ELQkQ="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pyttsx3/default.nix b/pkgs/development/python-modules/pyttsx3/default.nix index ba9afeb6be85..a66e1ca4489a 100644 --- a/pkgs/development/python-modules/pyttsx3/default.nix +++ b/pkgs/development/python-modules/pyttsx3/default.nix @@ -6,12 +6,12 @@ buildPythonPackage rec { pname = "pyttsx3"; - version = "2.98"; + version = "2.99"; format = "wheel"; src = fetchPypi { inherit pname version format; - sha256 = "sha256-s/tMpNWuT45oNtaze/X+4P1R0Vf/on+5Bkvm5749o3o="; + sha256 = "sha256-/z5P91bCTXK58/LzBODtqv0PWK2w5vS5DZMEQM2osgc="; dist = "py3"; python = "py3"; }; diff --git a/pkgs/development/python-modules/pytubefix/default.nix b/pkgs/development/python-modules/pytubefix/default.nix index 77d81e25bd5b..45a8742b4e0b 100644 --- a/pkgs/development/python-modules/pytubefix/default.nix +++ b/pkgs/development/python-modules/pytubefix/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "pytubefix"; - version = "9.2.2"; + version = "9.4.1"; pyproject = true; src = fetchFromGitHub { owner = "JuanBindez"; repo = "pytubefix"; tag = "v${version}"; - hash = "sha256-Abx4VIA8dnEZpl86IyGJYSR8n6sPmtCTq5eJbqKyNRM="; + hash = "sha256-aw17XiWdr8cDIL8o4Dc91YLi3t4B8r5VAhBgZtCm3x8="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pyturbojpeg/default.nix b/pkgs/development/python-modules/pyturbojpeg/default.nix index 8cfb975b808c..881ff4ec7182 100644 --- a/pkgs/development/python-modules/pyturbojpeg/default.nix +++ b/pkgs/development/python-modules/pyturbojpeg/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "pyturbojpeg"; - version = "1.8.0"; + version = "1.8.2"; pyproject = true; src = fetchFromGitHub { owner = "lilohuang"; repo = "PyTurboJPEG"; tag = "v${version}"; - hash = "sha256-4DPkzHjEsVjioRNLZii/5gZIEbj8A8rNkL8UXUQsgdY="; + hash = "sha256-zyLNIo7hQuzTlEgdvri3bSnAiRRKKup57tfCIxiBq24="; }; patches = [ @@ -44,7 +44,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "turbojpeg" ]; meta = with lib; { - changelog = "https://github.com/lilohuang/PyTurboJPEG/releases/tag/v${version}"; + changelog = "https://github.com/lilohuang/PyTurboJPEG/releases/tag/${src.tag}"; description = "Python wrapper of libjpeg-turbo for decoding and encoding JPEG image"; homepage = "https://github.com/lilohuang/PyTurboJPEG"; license = licenses.mit; diff --git a/pkgs/development/python-modules/pytz/default.nix b/pkgs/development/python-modules/pytz/default.nix index d258ad926ec2..5049c209f088 100644 --- a/pkgs/development/python-modules/pytz/default.nix +++ b/pkgs/development/python-modules/pytz/default.nix @@ -3,6 +3,7 @@ buildPythonPackage, fetchPypi, setuptools, + tzdata, unittestCheckHook, }: @@ -16,6 +17,12 @@ buildPythonPackage rec { hash = "sha256-NguePbtJognCGtYYCcf7RTZD4EiziSTHZYE1RnRugcM="; }; + postPatch = '' + # Use our system-wide zoneinfo dir instead of the bundled one + rm -rf pytz/zoneinfo + ln -snvf ${tzdata}/share/zoneinfo pytz/zoneinfo + ''; + build-system = [ setuptools ]; nativeCheckInputs = [ unittestCheckHook ]; @@ -32,6 +39,9 @@ buildPythonPackage rec { description = "World timezone definitions, modern and historical"; homepage = "https://pythonhosted.org/pytz"; license = licenses.mit; - maintainers = with maintainers; [ dotlambda ]; + maintainers = with maintainers; [ + dotlambda + jherland + ]; }; } diff --git a/pkgs/development/python-modules/pyvesync/default.nix b/pkgs/development/python-modules/pyvesync/default.nix index fbc5ae395b98..70e1197a90a2 100644 --- a/pkgs/development/python-modules/pyvesync/default.nix +++ b/pkgs/development/python-modules/pyvesync/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "pyvesync"; - version = "2.1.18"; + version = "2.18"; pyproject = true; disabled = pythonOlder "3.6"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "webdjoe"; repo = "pyvesync"; tag = version; - hash = "sha256-p46QVjJ8MzvsAu9JAQo4XN+z96arWLoJakdT81ITasU="; + hash = "sha256-bcjFa/6GgWk9UZLaB+oUOWVb6b7o0kKB2jzHr9I48eI="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pyvisa-py/default.nix b/pkgs/development/python-modules/pyvisa-py/default.nix index f432fa6c1112..aa05ec2c606e 100644 --- a/pkgs/development/python-modules/pyvisa-py/default.nix +++ b/pkgs/development/python-modules/pyvisa-py/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "pyvisa-py"; - version = "0.7.2"; + version = "0.8.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "pyvisa"; repo = "pyvisa-py"; tag = version; - hash = "sha256-UFAKLrZ1ZrTmFXwVuyTCPVo3Y1YIDOvkx5krpsz71BM="; + hash = "sha256-bYxl7zJ36uorEasAKvPiVWLaG2ISQGBHrQZJcnkbfzU="; }; nativeBuildInputs = [ @@ -53,7 +53,7 @@ buildPythonPackage rec { meta = with lib; { description = "Module that implements the Virtual Instrument Software Architecture"; homepage = "https://github.com/pyvisa/pyvisa-py"; - changelog = "https://github.com/pyvisa/pyvisa-py/blob/${version}/CHANGES"; + changelog = "https://github.com/pyvisa/pyvisa-py/blob/${src.tag}/CHANGES"; license = licenses.mit; maintainers = with maintainers; [ mvnetbiz ]; }; diff --git a/pkgs/development/python-modules/pyvisa-sim/default.nix b/pkgs/development/python-modules/pyvisa-sim/default.nix index 69e61ea9d034..0dc5ab72663f 100644 --- a/pkgs/development/python-modules/pyvisa-sim/default.nix +++ b/pkgs/development/python-modules/pyvisa-sim/default.nix @@ -15,24 +15,21 @@ buildPythonPackage rec { pname = "pyvisa-sim"; - version = "0.6.0"; - format = "pyproject"; - - disabled = pythonOlder "3.8"; + version = "0.7.0"; + pyproject = true; src = fetchPypi { - pname = "PyVISA-sim"; + pname = "pyvisa_sim"; inherit version; - hash = "sha256-kHahaRKoEUtDxEsdMolPwfEy1DidiytxmvYiQeQhYcE="; + hash = "sha256-fVpnLKSK25SL5hbwYSuFMrHu5mSvZ8Gt8Qv/Tjv7+NA="; }; - nativeBuildInputs = [ + build-system = [ setuptools setuptools-scm - wheel ]; - propagatedBuildInputs = [ + dependencies = [ pyvisa pyyaml stringparser diff --git a/pkgs/development/python-modules/pyvisa/default.nix b/pkgs/development/python-modules/pyvisa/default.nix index 3a7fea7b051f..465057dde14e 100644 --- a/pkgs/development/python-modules/pyvisa/default.nix +++ b/pkgs/development/python-modules/pyvisa/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "pyvisa"; - version = "1.14.1"; + version = "1.15.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "pyvisa"; repo = "pyvisa"; tag = version; - hash = "sha256-GKrgUK2nSZi+8oJoS45MjpU9+INEgcla9Kaw6ceNVp0="; + hash = "sha256-cjKOyBn5O7ThZI7pi6JXeLhe47xGbhQaSRcAqXb3lV8="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/pyvmomi/default.nix b/pkgs/development/python-modules/pyvmomi/default.nix index 5ebc09edb239..7c9102a7c0d2 100644 --- a/pkgs/development/python-modules/pyvmomi/default.nix +++ b/pkgs/development/python-modules/pyvmomi/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "pyvmomi"; - version = "8.0.3.0.1"; + version = "9.0.0.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "vmware"; repo = "pyvmomi"; tag = "v${version}"; - hash = "sha256-wJe45r9fWNkg8oWJZ47bcqoWzOvxpO4soV2SU4N0tb0="; + hash = "sha256-4r0UtLR1dhhNQ+Lx12JiEozDAjMxPly+RR0LWRg/A4E="; }; propagatedBuildInputs = [ @@ -46,7 +46,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python SDK for the VMware vSphere API that allows you to manage ESX, ESXi, and vCenter"; homepage = "https://github.com/vmware/pyvmomi"; - changelog = "https://github.com/vmware/pyvmomi/releases/tag/v${version}"; + changelog = "https://github.com/vmware/pyvmomi/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = [ ]; }; diff --git a/pkgs/development/python-modules/pywatchman/default.nix b/pkgs/development/python-modules/pywatchman/default.nix index f51d3c2dbce5..27beb138785d 100644 --- a/pkgs/development/python-modules/pywatchman/default.nix +++ b/pkgs/development/python-modules/pywatchman/default.nix @@ -7,12 +7,12 @@ buildPythonPackage rec { pname = "pywatchman"; - version = "2.0.0"; + version = "3.0.0"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-JTVNnjZH+UQRpME+UQyDoc7swXl3sFJbpBsW5wGceww="; + hash = "sha256-79MqFzkaWHIRjFUEHacaIJYORrpLc0QMJO+sKH7qkR4="; }; postPatch = '' diff --git a/pkgs/development/python-modules/pywavelets/default.nix b/pkgs/development/python-modules/pywavelets/default.nix index 4bb23a6acd42..c61dff8b51ca 100644 --- a/pkgs/development/python-modules/pywavelets/default.nix +++ b/pkgs/development/python-modules/pywavelets/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "pywavelets"; - version = "1.8.0"; + version = "1.9.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "PyWavelets"; repo = "pywt"; tag = "v${version}"; - hash = "sha256-v5NkzgIztREYz2Idg0E3grejWhZ/5BX0nCexUX8XcTQ="; + hash = "sha256-UVQWZPuOyUPcWI3cV2u+jQyAZN/RV3aKAT6BQxqRE4M="; }; build-system = [ diff --git a/pkgs/development/python-modules/pywebview/default.nix b/pkgs/development/python-modules/pywebview/default.nix index ca01c3e7ca9f..b7b2096f27a9 100644 --- a/pkgs/development/python-modules/pywebview/default.nix +++ b/pkgs/development/python-modules/pywebview/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "pywebview"; - version = "5.3.2"; + version = "5.4"; pyproject = true; disabled = pythonOlder "3.5"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "r0x0r"; repo = "pywebview"; tag = version; - hash = "sha256-/jKauq+G3Nz91n/keTZGNDTaW5EhdyCx4c2Nylxqc+0="; + hash = "sha256-HQ95tg1BuOr+SyOEDCbIc6Xm2dzzWS0mMcnV4bHMNBs="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/pywikibot/default.nix b/pkgs/development/python-modules/pywikibot/default.nix index 6c05e1e533a4..9375756f4eb2 100644 --- a/pkgs/development/python-modules/pywikibot/default.nix +++ b/pkgs/development/python-modules/pywikibot/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "pywikibot"; - version = "10.2.0"; + version = "10.3.0"; format = "setuptools"; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-pwXF2JgcK6rA1YNQ2VQ1svBDsc8xt3Xx2+o0Xr+cOZM="; + hash = "sha256-QXgv++Vr2HYzoAAwk2eVg/EnKqX9EFUJo6OBHvlYbjQ="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/pyyaml-env-tag/default.nix b/pkgs/development/python-modules/pyyaml-env-tag/default.nix index 8167c85c6534..69014895c8ce 100644 --- a/pkgs/development/python-modules/pyyaml-env-tag/default.nix +++ b/pkgs/development/python-modules/pyyaml-env-tag/default.nix @@ -2,24 +2,25 @@ lib, buildPythonPackage, fetchPypi, - pythonOlder, pyyaml, pytestCheckHook, + setuptools, }: buildPythonPackage rec { pname = "pyyaml-env-tag"; - version = "0.1"; - format = "setuptools"; - disabled = pythonOlder "3.6"; + version = "1.1"; + pyproject = true; src = fetchPypi { pname = "pyyaml_env_tag"; inherit version; - sha256 = "1nsva88jsmwn0cb9jnrfiz4dvs9xakkpgfii7g1xwkx1pmsjc2bh"; + sha256 = "sha256-LrOLdaLSHuBHXW2X7BnGMoen4UAjHkIUlp0OrJI81/8="; }; - propagatedBuildInputs = [ pyyaml ]; + build-system = [ setuptools ]; + + dependencies = [ pyyaml ]; nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/development/python-modules/pyyaml-ft/default.nix b/pkgs/development/python-modules/pyyaml-ft/default.nix index 65061acf48ec..15abcf542c44 100644 --- a/pkgs/development/python-modules/pyyaml-ft/default.nix +++ b/pkgs/development/python-modules/pyyaml-ft/default.nix @@ -1,6 +1,6 @@ { buildPythonPackage, - cython_3_1, + cython, fetchFromGitHub, lib, libyaml, @@ -24,7 +24,7 @@ buildPythonPackage rec { }; build-system = [ - cython_3_1 + cython setuptools ]; diff --git a/pkgs/development/python-modules/pyzmq/default.nix b/pkgs/development/python-modules/pyzmq/default.nix index 40789b68dbc0..723997fc32ce 100644 --- a/pkgs/development/python-modules/pyzmq/default.nix +++ b/pkgs/development/python-modules/pyzmq/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "pyzmq"; - version = "26.4.0"; + version = "27.0.1"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-S9E/hfgJYvkaZRpzVv4EcnkaX3qS8ieCK1rPRHlcYm0="; + hash = "sha256-RcVJIEvCDnSE/9JVX2zwLlckQOzy873WDUQEsg/d9ks="; }; build-system = [ diff --git a/pkgs/development/python-modules/qcodes/default.nix b/pkgs/development/python-modules/qcodes/default.nix index 451a7f43bb45..337f078f8855 100644 --- a/pkgs/development/python-modules/qcodes/default.nix +++ b/pkgs/development/python-modules/qcodes/default.nix @@ -61,14 +61,14 @@ buildPythonPackage rec { pname = "qcodes"; - version = "0.52.0"; + version = "0.53.0"; pyproject = true; src = fetchFromGitHub { owner = "microsoft"; repo = "Qcodes"; tag = "v${version}"; - hash = "sha256-AQBzYKD4RsPQBtq/FxFwYnSUf8wW87JOb2cOnk9MHDY="; + hash = "sha256-uXVL25U7szJF/v7OEsB9Ww1h6ziBxsMJdqhZG5qn0VU="; }; postPatch = '' @@ -200,7 +200,7 @@ buildPythonPackage rec { meta = { description = "Python-based data acquisition framework"; - changelog = "https://github.com/QCoDeS/Qcodes/releases/tag/v${version}"; + changelog = "https://github.com/QCoDeS/Qcodes/releases/tag/${src.tag}"; downloadPage = "https://github.com/QCoDeS/Qcodes"; homepage = "https://qcodes.github.io/Qcodes/"; license = lib.licenses.mit; diff --git a/pkgs/development/python-modules/qiskit-aer/default.nix b/pkgs/development/python-modules/qiskit-aer/default.nix index ef15dc42303c..6e208ebb8069 100644 --- a/pkgs/development/python-modules/qiskit-aer/default.nix +++ b/pkgs/development/python-modules/qiskit-aer/default.nix @@ -29,7 +29,7 @@ buildPythonPackage rec { pname = "qiskit-aer"; - version = "0.16.0.1"; + version = "0.17.1"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -38,7 +38,7 @@ buildPythonPackage rec { owner = "Qiskit"; repo = "qiskit-aer"; tag = version; - hash = "sha256-YF5X//X0fvJyALEB4gqsKRNWSoEsOrZFLVQUgHOA+0A="; + hash = "sha256-jvapuARJUHgAKFUzGb5MUft01LNefVIXtStJqFnCo90="; }; postPatch = '' diff --git a/pkgs/development/python-modules/qiskit-machine-learning/default.nix b/pkgs/development/python-modules/qiskit-machine-learning/default.nix index 4a872f34f554..559d858e0fbb 100644 --- a/pkgs/development/python-modules/qiskit-machine-learning/default.nix +++ b/pkgs/development/python-modules/qiskit-machine-learning/default.nix @@ -24,7 +24,7 @@ buildPythonPackage rec { pname = "qiskit-machine-learning"; - version = "0.8.2"; + version = "0.8.3"; pyproject = true; disabled = pythonOlder "3.6"; @@ -33,7 +33,7 @@ buildPythonPackage rec { owner = "qiskit"; repo = pname; tag = version; - hash = "sha256-dvGUtB7R44B+DYZKl4R2Q0GdvLTjVKWD0KmuyCoaOSc="; + hash = "sha256-XnLCejK6m8p/OC5gKCoP1UXVblISChu3lKF8BnrnRbk="; }; nativeBuildInputs = [ setuptools ]; diff --git a/pkgs/development/python-modules/qiskit/default.nix b/pkgs/development/python-modules/qiskit/default.nix index ac39260c0df0..38bd460cff8a 100644 --- a/pkgs/development/python-modules/qiskit/default.nix +++ b/pkgs/development/python-modules/qiskit/default.nix @@ -33,7 +33,7 @@ in buildPythonPackage rec { pname = "qiskit"; # NOTE: This version denotes a specific set of subpackages. See https://qiskit.org/documentation/release_notes.html#version-history - version = "1.3.1"; + version = "2.1.1"; pyproject = true; disabled = pythonOlder "3.6"; @@ -42,7 +42,7 @@ buildPythonPackage rec { owner = "Qiskit"; repo = "qiskit"; tag = version; - hash = "sha256-Dqd8ywnACfvrfY7Fzw5zYwhlsDvHZErPGvxBPs2pS04="; + hash = "sha256-WHfsl/T4lmnvkGY7gF5PStilGq3G66TZG9oB1tKwuOQ="; }; nativeBuildInputs = [ setuptools ]; diff --git a/pkgs/development/python-modules/qnapstats/default.nix b/pkgs/development/python-modules/qnapstats/default.nix index 2cfa9edc6593..1e2033a59191 100644 --- a/pkgs/development/python-modules/qnapstats/default.nix +++ b/pkgs/development/python-modules/qnapstats/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "qnapstats"; - version = "0.5.0"; + version = "0.6.0"; format = "setuptools"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "colinodell"; repo = "python-qnapstats"; tag = version; - hash = "sha256-dpxl6a61h8zB7eS/2lxG+2//bOTzV6s4T1W+DVj0fnI="; + hash = "sha256-4zGCMwuPL9QFVLgyZ6/aV9YBQJBomPkX34C7ULEd4Fw="; }; propagatedBuildInputs = [ @@ -28,6 +28,10 @@ buildPythonPackage rec { nativeCheckInputs = [ responses ]; + # File "/build/source/tests/test-models.py", line 124, in + # assert json.dumps(qnap.get_system_stats(), sort_keys=True) == systemstats + doCheck = false; + checkPhase = '' runHook preCheck diff --git a/pkgs/development/python-modules/qt-material/default.nix b/pkgs/development/python-modules/qt-material/default.nix index 2a6d64c55e22..24c279dc3e89 100644 --- a/pkgs/development/python-modules/qt-material/default.nix +++ b/pkgs/development/python-modules/qt-material/default.nix @@ -7,12 +7,12 @@ buildPythonPackage rec { pname = "qt-material"; - version = "2.14"; + version = "2.17"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-tdu1relyF8964za7fAR8kL6zncfyBIpJjJFq1fL3riM="; + hash = "sha256-tQCgwfXvj0aozwN9GqW9+epOthgYC2MyU5373QZHrQ0="; }; propagatedBuildInputs = [ jinja2 ]; diff --git a/pkgs/development/python-modules/rapidfuzz/default.nix b/pkgs/development/python-modules/rapidfuzz/default.nix index d7ac4bcde75a..9803f449dc97 100644 --- a/pkgs/development/python-modules/rapidfuzz/default.nix +++ b/pkgs/development/python-modules/rapidfuzz/default.nix @@ -37,6 +37,11 @@ buildPythonPackage rec { }) ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "Cython >=3.0.12, <3.1.0" Cython + ''; + build-system = [ cmake cython diff --git a/pkgs/development/python-modules/rapidgzip/default.nix b/pkgs/development/python-modules/rapidgzip/default.nix index 230f94c0ad73..f3dc069b9fff 100644 --- a/pkgs/development/python-modules/rapidgzip/default.nix +++ b/pkgs/development/python-modules/rapidgzip/default.nix @@ -10,19 +10,21 @@ buildPythonPackage rec { pname = "rapidgzip"; - version = "0.14.4"; + version = "0.14.5"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-sHtL5TKVR6iP9pRg0/omw0gXqxgEQG8VcTAzkL3jjWs="; + hash = "sha256-+u1GAToaYqUZPElhWolmg+pcFO1HRLy0vRhpsUIFUdg="; }; prePatch = '' # pythonRelaxDeps doesn't work here - substituteInPlace pyproject.toml --replace-fail "setuptools >= 61.2, < 72" "setuptools" + substituteInPlace pyproject.toml \ + --replace-fail "setuptools >= 61.2, < 72" "setuptools" \ + --replace-fail "cython >= 3, < 3.1" cython ''; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/rapidocr-onnxruntime/default.nix b/pkgs/development/python-modules/rapidocr-onnxruntime/default.nix index e0af42135d96..1ead42bb779b 100644 --- a/pkgs/development/python-modules/rapidocr-onnxruntime/default.nix +++ b/pkgs/development/python-modules/rapidocr-onnxruntime/default.nix @@ -21,13 +21,13 @@ requests, }: let - version = "2.1.0"; + version = "3.3.1"; src = fetchFromGitHub { owner = "RapidAI"; repo = "RapidOCR"; tag = "v${version}"; - hash = "sha256-4R2rOCfnhElII0+a5hnvbn+kKQLEtH1jBvfFdxpLEBk="; + hash = "sha256-EgVBMQX+E8ejUd/6FUQ+uJoWjrQSVznpPcc2gA2wAOE="; }; models = diff --git a/pkgs/development/python-modules/rasterio/default.nix b/pkgs/development/python-modules/rasterio/default.nix index 47ef8ed31560..9fc55c214146 100644 --- a/pkgs/development/python-modules/rasterio/default.nix +++ b/pkgs/development/python-modules/rasterio/default.nix @@ -45,6 +45,11 @@ buildPythonPackage rec { hash = "sha256-InejYBRa4i0E2GxEWbtBpaErtcoYrhtypAlRtMlUoDk="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "cython~=3.0.2" cython + ''; + nativeBuildInputs = [ cython gdal diff --git a/pkgs/development/python-modules/ratarmount/default.nix b/pkgs/development/python-modules/ratarmount/default.nix index 8cc31927bcf7..c6ae9038fb85 100644 --- a/pkgs/development/python-modules/ratarmount/default.nix +++ b/pkgs/development/python-modules/ratarmount/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "ratarmount"; - version = "1.0.0"; + version = "1.1.2"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-cXm301LMEsiE1eKJO70gTy7asdZ5CKnKtxLinW2+iJ4="; + hash = "sha256-XiwtmZ7HGZwjJJrUD3TOP3o19RBwB/Yu09xdwK13+hk="; }; pythonRelaxDeps = [ "python-xz" ]; diff --git a/pkgs/development/python-modules/ratarmountcore/default.nix b/pkgs/development/python-modules/ratarmountcore/default.nix index 3d5ef3529f57..c0d4e5c06dc0 100644 --- a/pkgs/development/python-modules/ratarmountcore/default.nix +++ b/pkgs/development/python-modules/ratarmountcore/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "ratarmountcore"; - version = "1.0.0"; + version = "1.1.2"; pyproject = true; disabled = pythonOlder "3.10"; @@ -28,7 +28,7 @@ buildPythonPackage rec { owner = "mxmlnkn"; repo = "ratarmount"; tag = "v${version}"; - hash = "sha256-nTKbwZoD7nf3cKFJOR5p6ZRFHsKVeJXboOAhPjvnQAM="; + hash = "sha256-8DjmYYTb0BR5KvtSeI2s7VtYdbRSI+QCjhZfDwqnk3M="; fetchSubmodules = true; }; diff --git a/pkgs/development/python-modules/rawpy/default.nix b/pkgs/development/python-modules/rawpy/default.nix index 6270febe7bfa..ed82047d9a29 100644 --- a/pkgs/development/python-modules/rawpy/default.nix +++ b/pkgs/development/python-modules/rawpy/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "rawpy"; - version = "0.24.0"; + version = "0.25.1"; pyproject = true; src = fetchFromGitHub { owner = "letmaik"; repo = "rawpy"; tag = "v${version}"; - hash = "sha256-u/KWbviyhbMts40Gc/9shXSESwihWZQQaf3Z44gMgvs="; + hash = "sha256-d3TxPW3GdCQT8bBbnveSxtWHkf5zinM8nSy4m/P7m7Q="; }; build-system = [ diff --git a/pkgs/development/python-modules/recline/default.nix b/pkgs/development/python-modules/recline/default.nix index d7c3d896ee28..3b88fda29ef9 100644 --- a/pkgs/development/python-modules/recline/default.nix +++ b/pkgs/development/python-modules/recline/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "recline"; - version = "2024.7.1"; + version = "2025.6"; pyproject = true; src = fetchFromGitHub { owner = "NetApp"; repo = "recline"; tag = "v${version}"; - sha256 = "sha256-Qc4oofuhSZ2S5zuCY9Ce9ISldYI3MDUJXFc8VcXdLIU="; + sha256 = "sha256-WBMt5jDPCBmTgVdYDN662uU2HVjB1U3GYJwn0P56WsI="; }; patches = [ diff --git a/pkgs/development/python-modules/redis-om/default.nix b/pkgs/development/python-modules/redis-om/default.nix index be929f9cd306..5800bcb20004 100644 --- a/pkgs/development/python-modules/redis-om/default.nix +++ b/pkgs/development/python-modules/redis-om/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "redis-om"; - version = "0.3.3"; + version = "0.3.5"; pyproject = true; disabled = pythonOlder "3.8"; @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "redis"; repo = "redis-om-python"; tag = "v${version}"; - hash = "sha256-Pp404HaFpYEPie9xknoabotFrqcI2ibDlPTM+MmnMbg="; + hash = "sha256-TfwMYDZYDKCdI5i8izBVZaXN5GC/Skhkl905c/DHuXY="; }; build-system = [ @@ -77,7 +77,7 @@ buildPythonPackage rec { description = "Object mapping, and more, for Redis and Python"; mainProgram = "migrate"; homepage = "https://github.com/redis/redis-om-python"; - changelog = "https://github.com/redis/redis-om-python/releases/tag/v${version}"; + changelog = "https://github.com/redis/redis-om-python/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ natsukium ]; }; diff --git a/pkgs/development/python-modules/redis/default.nix b/pkgs/development/python-modules/redis/default.nix index 64ec9fa2f62a..35f2e517fc3a 100644 --- a/pkgs/development/python-modules/redis/default.nix +++ b/pkgs/development/python-modules/redis/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "redis"; - version = "6.1.0"; + version = "6.2.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-ySjiZ61p0waa8oqYI6B3Ju33LH43dk9D3AEj83kowHU="; + hash = "sha256-6CHxKbdd3my5ndNeXHboxJUSpaDY39xWCy+9RLhcqXc="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/reflex-chakra/default.nix b/pkgs/development/python-modules/reflex-chakra/default.nix index 188c96298e7e..05419d4d0a34 100644 --- a/pkgs/development/python-modules/reflex-chakra/default.nix +++ b/pkgs/development/python-modules/reflex-chakra/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "reflex-chakra"; - version = "0.7.1"; + version = "0.8.2post1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "reflex-dev"; repo = "reflex-chakra"; tag = "v${version}"; - hash = "sha256-dAenwsFhRj9BzdGyaC38TwBWog95H0mSA0ullt4otHA="; + hash = "sha256-DugZRZpGP90EFkBjpAS1XkjrNPG6WWwCQPUcEZJ0ff8="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/reflex-hosting-cli/default.nix b/pkgs/development/python-modules/reflex-hosting-cli/default.nix index aea9e53115d5..ecf9faf897a0 100644 --- a/pkgs/development/python-modules/reflex-hosting-cli/default.nix +++ b/pkgs/development/python-modules/reflex-hosting-cli/default.nix @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "reflex-hosting-cli"; - version = "0.1.50"; + version = "0.1.53"; pyproject = true; # source is not published https://github.com/reflex-dev/reflex/issues/3762 src = fetchPypi { pname = "reflex_hosting_cli"; inherit version; - hash = "sha256-1ZTTc09P/0rTNhiqsNDB2RMLcUjKt1rIWtufakkFWkg="; + hash = "sha256-pxUnZzAuecgzbEi+PNXOry9yRjAsPhzobjSV7+PPDuk="; }; pythonRelaxDeps = [ diff --git a/pkgs/development/python-modules/reflex/default.nix b/pkgs/development/python-modules/reflex/default.nix index 83c179a05136..343e33431531 100644 --- a/pkgs/development/python-modules/reflex/default.nix +++ b/pkgs/development/python-modules/reflex/default.nix @@ -43,14 +43,14 @@ buildPythonPackage rec { pname = "reflex"; - version = "0.7.14"; + version = "0.8.5"; pyproject = true; src = fetchFromGitHub { owner = "reflex-dev"; repo = "reflex"; tag = "v${version}"; - hash = "sha256-yuVBQYP0YlvAIWF/+oSfCLbfj1GLtnYajU3WoolyTjY="; + hash = "sha256-OBGDOVWjm3DbN41e3/RrOvCBvd5Uv6VyOvPA8/FWsiU="; }; # 'rich' is also somehow checked when building the wheel, diff --git a/pkgs/development/python-modules/regex/default.nix b/pkgs/development/python-modules/regex/default.nix index 8c9810bdd5fa..7d50f3051cbd 100644 --- a/pkgs/development/python-modules/regex/default.nix +++ b/pkgs/development/python-modules/regex/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "regex"; - version = "2024.11.6"; + version = "2025.7.34"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-erFZsGPFKgMzyITkZ5+NeoURLuMHj+PZAEst2HVYVRk="; + hash = "sha256-nq2XZSF6/QSoaCLfzU7SdH3+Qm6IfaQTsV/wrCRX4ho="; }; checkPhase = '' diff --git a/pkgs/development/python-modules/remarshal/default.nix b/pkgs/development/python-modules/remarshal/default.nix index 45b745d0f887..e6d70e5dad6a 100644 --- a/pkgs/development/python-modules/remarshal/default.nix +++ b/pkgs/development/python-modules/remarshal/default.nix @@ -22,14 +22,14 @@ buildPythonPackage rec { pname = "remarshal"; - version = "1.0.0"; + version = "1.0.1"; # test with `nix-build pkgs/pkgs-lib/format` pyproject = true; src = fetchFromGitHub { owner = "dbohdan"; repo = "remarshal"; tag = "v${version}"; - hash = "sha256-14vkLX7wKi+AYv2wPeHJ7MhKBKp+GB3oHWqxiPdkQhs="; + hash = "sha256-7Gng/Oc9dwtWx4Xej6hf5IuUGM9/E9Hk9QTntqWk/Z0="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/rencode/default.nix b/pkgs/development/python-modules/rencode/default.nix index 4c1857e1b70b..0d8d495eb41c 100644 --- a/pkgs/development/python-modules/rencode/default.nix +++ b/pkgs/development/python-modules/rencode/default.nix @@ -3,23 +3,28 @@ buildPythonPackage, fetchFromGitHub, cython, + poetry-core, + setuptools, pytestCheckHook, }: -buildPythonPackage { +buildPythonPackage rec { pname = "rencode"; - version = "unstable-2021-08-10"; - - format = "setuptools"; + version = "1.0.8"; + pyproject = true; src = fetchFromGitHub { owner = "aresch"; repo = "rencode"; - rev = "572ff74586d9b1daab904c6f7f7009ce0143bb75"; - hash = "sha256-cL1hV3RMDuSdcjpPXXDYIEbzQrxiPeRs82PU8HTEQYk="; + tag = "v${version}"; + hash = "sha256-k2b6DoKwNeQBkmqSRXqaRTjK7CVX6IKuXCLG9lBdLLY="; }; - nativeBuildInputs = [ cython ]; + nativeBuildInputs = [ + poetry-core + setuptools + cython + ]; nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/development/python-modules/repl-python-wakatime/default.nix b/pkgs/development/python-modules/repl-python-wakatime/default.nix index 72bdb809a8cb..9ec6223f9296 100644 --- a/pkgs/development/python-modules/repl-python-wakatime/default.nix +++ b/pkgs/development/python-modules/repl-python-wakatime/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "repl-python-wakatime"; - version = "0.0.11"; + version = "0.0.12"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-HoCdeo03Lf3g5Xg0GgAyWOu2PtGqy33vg5bQrfkEPkE="; + hash = "sha256-U5kg4GbfhyHno1DNbF1uOfHOjgCstYdyDgvwEXqnCZg="; }; build-system = [ diff --git a/pkgs/development/python-modules/reportlab/default.nix b/pkgs/development/python-modules/reportlab/default.nix index 04d6fada9d2d..c6bed3f383fb 100644 --- a/pkgs/development/python-modules/reportlab/default.nix +++ b/pkgs/development/python-modules/reportlab/default.nix @@ -1,7 +1,7 @@ { lib, buildPythonPackage, - chardet, + charset-normalizer, fetchPypi, freetype, pillow, @@ -17,7 +17,7 @@ let in buildPythonPackage rec { pname = "reportlab"; - version = "4.4.1"; + version = "4.4.3"; pyproject = true; # See https://bitbucket.org/pypy/compatibility/wiki/reportlab%20toolkit @@ -25,7 +25,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-X5ufwLekjokSwlzPadJrgpgKsNpxjk9YP6cg6Pj1Bz8="; + hash = "sha256-BzsJddq2lTas0yUYWOawUk7T4IfnHx0NGJWstQrPnHs="; }; postPatch = '' @@ -39,12 +39,12 @@ buildPythonPackage rec { rm tests/test_graphics_charts.py ''; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; buildInputs = [ ft ]; - propagatedBuildInputs = [ - chardet + dependencies = [ + charset-normalizer pillow ]; diff --git a/pkgs/development/python-modules/reproject/default.nix b/pkgs/development/python-modules/reproject/default.nix index b81f576584f5..46f718077684 100644 --- a/pkgs/development/python-modules/reproject/default.nix +++ b/pkgs/development/python-modules/reproject/default.nix @@ -7,6 +7,7 @@ cloudpickle, cython, dask, + extension-helpers, fetchPypi, fsspec, numpy, @@ -20,14 +21,14 @@ buildPythonPackage rec { pname = "reproject"; - version = "0.14.1"; + version = "0.15.0"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchPypi { inherit pname version; - hash = "sha256-U8jqJ5uLVX8zoeQwr14FPNdHACRA4HK65q2TAtRr5Xk="; + hash = "sha256-l9pmxtXIGnl8T8fCsUp/5y3kReg3MXdaN0i2rpcEqE4="; }; postPatch = '' @@ -47,6 +48,7 @@ buildPythonPackage rec { astropy-healpix cloudpickle dask + extension-helpers fsspec numpy scipy diff --git a/pkgs/development/python-modules/reptor/default.nix b/pkgs/development/python-modules/reptor/default.nix index 168ee1054606..4611e85cf013 100644 --- a/pkgs/development/python-modules/reptor/default.nix +++ b/pkgs/development/python-modules/reptor/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "reptor"; - version = "0.31"; + version = "0.32"; pyproject = true; src = fetchFromGitHub { owner = "Syslifters"; repo = "reptor"; tag = version; - hash = "sha256-AbrfQJQvKXpV4FrhkGZOLYX3px9dzr9whJZwzR/7UYM="; + hash = "sha256-nNG4rQHloOqcPZPnvw3hbw0+wCbB2XAdQ5/XnJtCHnE="; }; pythonRelaxDeps = true; diff --git a/pkgs/development/python-modules/reqif/default.nix b/pkgs/development/python-modules/reqif/default.nix index aa3ab6303cc6..b45ca4d2bad6 100644 --- a/pkgs/development/python-modules/reqif/default.nix +++ b/pkgs/development/python-modules/reqif/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "reqif"; - version = "0.0.42"; + version = "0.0.46"; pyproject = true; disabled = pythonOlder "3.7"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "strictdoc-project"; repo = "reqif"; tag = version; - hash = "sha256-cQhis7jrcly3cw2LRv7hpPBFAB0Uag69czf+wJvbh/Q="; + hash = "sha256-QI+OhhV+jKw3g2erSCdTj10JW+XFQQyXuAC0LAnts7c="; }; postPatch = '' @@ -51,7 +51,7 @@ buildPythonPackage rec { description = "Python library for ReqIF format"; mainProgram = "reqif"; homepage = "https://github.com/strictdoc-project/reqif"; - changelog = "https://github.com/strictdoc-project/reqif/releases/tag/${version}"; + changelog = "https://github.com/strictdoc-project/reqif/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ yuu ]; }; diff --git a/pkgs/development/python-modules/requests-oauthlib/default.nix b/pkgs/development/python-modules/requests-oauthlib/default.nix index 27b2ae885573..2cb1259f9315 100644 --- a/pkgs/development/python-modules/requests-oauthlib/default.nix +++ b/pkgs/development/python-modules/requests-oauthlib/default.nix @@ -30,11 +30,13 @@ buildPythonPackage rec { requests-mock ]; - # Exclude tests which require network access disabledTests = [ + # Exclude tests which require network access "testCanPostBinaryData" "test_content_type_override" "test_url_is_native_str" + # too narrow time comparison + "test_fetch_access_token" ]; # Requires selenium and chrome diff --git a/pkgs/development/python-modules/retrying/default.nix b/pkgs/development/python-modules/retrying/default.nix index ebef0e8ee677..6339e060e364 100644 --- a/pkgs/development/python-modules/retrying/default.nix +++ b/pkgs/development/python-modules/retrying/default.nix @@ -2,23 +2,26 @@ lib, buildPythonPackage, fetchPypi, + setuptools, six, pythonOlder, }: buildPythonPackage rec { pname = "retrying"; - version = "1.4.1"; - format = "setuptools"; + version = "1.4.2"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-TSBuDtKv9e8vPNhnq7lRHp6PMRJ8Wsog8dUkbkdpA7A="; + hash = "sha256-0QLnXVPY0wuIVi1FNh1sbJNNoG+rMb2BwEIKy5eoujk="; }; - propagatedBuildInputs = [ six ]; + build-system = [ setuptools ]; + + dependencies = [ six ]; # doesn't ship tests in tarball doCheck = false; diff --git a/pkgs/development/python-modules/returns/default.nix b/pkgs/development/python-modules/returns/default.nix index 82e00f458316..dc2a443f4a95 100644 --- a/pkgs/development/python-modules/returns/default.nix +++ b/pkgs/development/python-modules/returns/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "returns"; - version = "0.24.0"; + version = "0.26.0"; pyproject = true; disabled = pythonOlder "3.10"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "dry-python"; repo = "returns"; tag = version; - hash = "sha256-qmBxW1XxUlFpAqf2t2ix01TN5NSxOtnYqLyE5ovZU58="; + hash = "sha256-VQzsa/uNTQVND0kc20d25to/6LELEiS3cqvG7a1kDw4="; }; postPatch = '' @@ -63,7 +63,7 @@ buildPythonPackage rec { meta = with lib; { description = "Make your functions return something meaningful, typed, and safe"; homepage = "https://github.com/dry-python/returns"; - changelog = "https://github.com/dry-python/returns/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/dry-python/returns/blob/${src.tag}/CHANGELOG.md"; license = licenses.bsd2; maintainers = with maintainers; [ jessemoore ]; }; diff --git a/pkgs/development/python-modules/reverse-geocode/default.nix b/pkgs/development/python-modules/reverse-geocode/default.nix index 8c87d9b7c5b0..04b6ff052ac2 100644 --- a/pkgs/development/python-modules/reverse-geocode/default.nix +++ b/pkgs/development/python-modules/reverse-geocode/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "reverse-geocode"; - version = "1.6.5"; + version = "1.6.6"; pyproject = true; disabled = pythonOlder "3.10"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "reverse_geocode"; inherit version; - hash = "sha256-AyqkLnbHa8ZylVfrJHpsxLeBfLTl6u9IQ3EV8grXrkE="; + hash = "sha256-FBZYFYFsxjnddOtmCnTkZK7rzR0IFN50qJfWIHHJnyo="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/rfc3987-syntax/default.nix b/pkgs/development/python-modules/rfc3987-syntax/default.nix new file mode 100644 index 000000000000..6de67fae9bde --- /dev/null +++ b/pkgs/development/python-modules/rfc3987-syntax/default.nix @@ -0,0 +1,45 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + hatchling, + lark, + pytestCheckHook, +}: + +buildPythonPackage rec { + pname = "rfc3987-syntax"; + version = "1.1.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "willynilly"; + repo = "rfc3987-syntax"; + tag = "v${version}"; + hash = "sha256-6jA/x8KnwBvyW2k384/EB/NJ8BmJJTEHA8YUlQP+1Y4="; + }; + + build-system = [ + hatchling + ]; + + dependencies = [ + lark + ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "rfc3987_syntax" + ]; + + meta = { + changelog = "https://github.com/willynilly/rfc3987-syntax/releases/tag/${src.tag}"; + description = "Helper functions to syntactically validate strings according to RFC 3987"; + homepage = "https://github.com/willynilly/rfc3987-syntax"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ ]; + }; +} diff --git a/pkgs/development/python-modules/rich-toolkit/default.nix b/pkgs/development/python-modules/rich-toolkit/default.nix index 12a34cb96ccf..f80020bdd9a9 100644 --- a/pkgs/development/python-modules/rich-toolkit/default.nix +++ b/pkgs/development/python-modules/rich-toolkit/default.nix @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "rich-toolkit"; - version = "0.14.6"; + version = "0.14.9"; pyproject = true; src = fetchFromGitHub { owner = "patrick91"; repo = "rich-toolkit"; tag = "v${version}"; - hash = "sha256-SHQZ0idEx/zDEtP0xQoJg7eUT8+SqLdWljxfTgXzjkk="; + hash = "sha256-bX6HqUwFkXXc2Z1LF6BSVBEOl2UUJE9pCBKsfOxUoc0="; }; build-system = [ diff --git a/pkgs/development/python-modules/rio-tiler/default.nix b/pkgs/development/python-modules/rio-tiler/default.nix index 18c173923161..1be8c56cf9ac 100644 --- a/pkgs/development/python-modules/rio-tiler/default.nix +++ b/pkgs/development/python-modules/rio-tiler/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { pname = "rio-tiler"; - version = "7.3.0"; + version = "7.8.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "cogeotiff"; repo = "rio-tiler"; tag = version; - hash = "sha256-8Ly1QKKFzct0CPAN/54/kzNUE2FPiwvM+EqmX1utboU="; + hash = "sha256-w7uw5PY3uiJmxsgSB1YDbtG7IY1pd4WU3JExZRc40gs="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/rlax/default.nix b/pkgs/development/python-modules/rlax/default.nix index 7d800cc5e62f..b6a8a8c0a753 100644 --- a/pkgs/development/python-modules/rlax/default.nix +++ b/pkgs/development/python-modules/rlax/default.nix @@ -26,14 +26,14 @@ buildPythonPackage rec { pname = "rlax"; - version = "0.1.6"; + version = "0.1.7"; pyproject = true; src = fetchFromGitHub { owner = "google-deepmind"; repo = "rlax"; tag = "v${version}"; - hash = "sha256-v2Lbzya+E9d7tlUVlQQa4fuPp2q3E309Qvyt70mcdb0="; + hash = "sha256-w5vhXBMUlcqlLTKA58QgQ4pxyGs3etxJLIFUVPhE7H8="; }; # TODO: remove these patches at the next release (already on master) @@ -111,7 +111,7 @@ buildPythonPackage rec { meta = { description = "Library of reinforcement learning building blocks in JAX"; homepage = "https://github.com/deepmind/rlax"; - changelog = "https://github.com/google-deepmind/rlax/releases/tag/v${version}"; + changelog = "https://github.com/google-deepmind/rlax/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ onny ]; }; diff --git a/pkgs/development/python-modules/roadtx/default.nix b/pkgs/development/python-modules/roadtx/default.nix index 67313581adb6..bdd0c68c8b17 100644 --- a/pkgs/development/python-modules/roadtx/default.nix +++ b/pkgs/development/python-modules/roadtx/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "roadtx"; - version = "1.17.0"; + version = "1.18.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-C/s5zNvqREDc6r9EdPrN4+L913XWYTniKQVbaosh9iE="; + hash = "sha256-tJLsxo8XQ0FGyob2SSpjvN9RgVYYhDxGcbP6jytcjaU="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/robotstatuschecker/default.nix b/pkgs/development/python-modules/robotstatuschecker/default.nix index 95efb791fe19..69ea26d867df 100644 --- a/pkgs/development/python-modules/robotstatuschecker/default.nix +++ b/pkgs/development/python-modules/robotstatuschecker/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "robotstatuschecker"; - version = "3.0.1"; + version = "4.1.1"; pyproject = true; # no tests included in PyPI tarball @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "robotframework"; repo = "statuschecker"; tag = "v${version}"; - hash = "sha256-yW6353gDwo/IzoWOB8oelaS6IUbvTtwwDT05yD7w6UA="; + hash = "sha256-YyiGd3XSIe+4PEL2l9LYDGH3lt1iRAAJflcBGYXaBzY="; }; postPatch = '' diff --git a/pkgs/development/python-modules/rotary-embedding-torch/default.nix b/pkgs/development/python-modules/rotary-embedding-torch/default.nix index 6ddff713ea0f..6668fde9720a 100644 --- a/pkgs/development/python-modules/rotary-embedding-torch/default.nix +++ b/pkgs/development/python-modules/rotary-embedding-torch/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "rotary-embedding-torch"; - version = "0.8.7"; + version = "0.8.9"; pyproject = true; src = fetchFromGitHub { owner = "lucidrains"; repo = "rotary-embedding-torch"; tag = version; - hash = "sha256-xnLZ19IH6ellTmOjj7XVZ21Kly+Exe3ZQwaGzhSRGIA="; + hash = "sha256-mPiOtEmRtn73KGoYMum80q0iETJa9zZW9KIWL8O0dnM="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/rpy2/default.nix b/pkgs/development/python-modules/rpy2/default.nix index 8a6a5fe9bcaa..0f6b273fa3ab 100644 --- a/pkgs/development/python-modules/rpy2/default.nix +++ b/pkgs/development/python-modules/rpy2/default.nix @@ -27,14 +27,14 @@ }: buildPythonPackage rec { - version = "3.5.17"; + version = "3.6.2"; format = "setuptools"; pname = "rpy2"; disabled = isPyPy; src = fetchPypi { inherit version pname; - hash = "sha256-2/8Iww89eRYZImI4WKWztoo/uo7hdH1q9BvEumjz1YI="; + hash = "sha256-F06ld2qR0Ds13VYRiJlg4PVFHp0KvqSr/IwL5qhTd9A="; }; patches = [ diff --git a/pkgs/development/python-modules/rq/default.nix b/pkgs/development/python-modules/rq/default.nix index fd802dd70f70..a18a535ddd91 100644 --- a/pkgs/development/python-modules/rq/default.nix +++ b/pkgs/development/python-modules/rq/default.nix @@ -21,14 +21,14 @@ buildPythonPackage rec { pname = "rq"; - version = "2.4"; + version = "2.4.1"; pyproject = true; src = fetchFromGitHub { owner = "rq"; repo = "rq"; tag = "v${version}"; - hash = "sha256-7aq9JeyM+IjlRPgh4gs1DmkF0hU5EasgTuUPPlf8960="; + hash = "sha256-CtxirZg6WNQpTMoXQRvB8i/KB3r58WlKh+wjBvyVMMs="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/rtslib-fb/default.nix b/pkgs/development/python-modules/rtslib-fb/default.nix index ab2f3b9d5553..5704aec8ddb7 100644 --- a/pkgs/development/python-modules/rtslib-fb/default.nix +++ b/pkgs/development/python-modules/rtslib-fb/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "rtslib-fb"; - version = "2.2.2"; + version = "2.2.3"; pyproject = true; # TypeError: 'method' object does not support the context manager protocol @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "open-iscsi"; repo = "rtslib-fb"; tag = "v${version}"; - hash = "sha256-FuXO/yGZBR+QRvB5s1tE77hjnisSfjjHSCPLvGJOYdM="; + hash = "sha256-UGRQMdOkyPZWjXoJUsXuWqstb473KR+Sf9XHbjIdfJ8="; }; build-system = [ @@ -48,7 +48,7 @@ buildPythonPackage rec { meta = { description = "Python object API for managing the Linux LIO kernel target"; homepage = "https://github.com/open-iscsi/rtslib-fb"; - changelog = "https://github.com/open-iscsi/rtslib-fb/releases/tag/v${version}"; + changelog = "https://github.com/open-iscsi/rtslib-fb/releases/tag/${src.tag}"; license = lib.licenses.asl20; platforms = lib.platforms.linux; mainProgram = "targetctl"; diff --git a/pkgs/development/python-modules/ruamel-yaml/default.nix b/pkgs/development/python-modules/ruamel-yaml/default.nix index 9d1aee84809d..4096a930e5bf 100644 --- a/pkgs/development/python-modules/ruamel-yaml/default.nix +++ b/pkgs/development/python-modules/ruamel-yaml/default.nix @@ -10,13 +10,13 @@ buildPythonPackage rec { pname = "ruamel-yaml"; - version = "0.18.10"; + version = "0.18.14"; pyproject = true; src = fetchPypi { pname = "ruamel.yaml"; inherit version; - hash = "sha256-IMhqsprCFT+ApCjhJUqK32htM4PfBEkFFMo7eaNi21g="; + hash = "sha256-cie3aq7DZN8Vk2cw7799crMMC3mx1Xi7uOPcstgfUrc="; }; nativeBuildInputs = [ setuptools ]; diff --git a/pkgs/development/python-modules/rubicon-objc/default.nix b/pkgs/development/python-modules/rubicon-objc/default.nix index 83fe9636748c..cab1a5684b8d 100644 --- a/pkgs/development/python-modules/rubicon-objc/default.nix +++ b/pkgs/development/python-modules/rubicon-objc/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "rubicon-objc"; - version = "0.5.0"; + version = "0.5.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "beeware"; repo = "rubicon-objc"; tag = "v${version}"; - hash = "sha256-yEsW8xHW004O7aDU4/mlbfTuF2H5UcpbNR9NACxQv3M="; + hash = "sha256-HnPp7VUrcTfkl5XdXYasydMqxhp7eb7r5RW/7yRWmko="; }; postPatch = '' diff --git a/pkgs/development/python-modules/rucio/default.nix b/pkgs/development/python-modules/rucio/default.nix index 15ffb3309b94..7e43bc92ac3d 100644 --- a/pkgs/development/python-modules/rucio/default.nix +++ b/pkgs/development/python-modules/rucio/default.nix @@ -37,14 +37,14 @@ buildPythonPackage rec { pname = "rucio"; - version = "32.8.6"; + version = "37.7.1"; pyproject = true; src = fetchFromGitHub { owner = "rucio"; repo = "rucio"; tag = version; - hash = "sha256-VQQ4gy9occism1WDrlcHnB7b7D5/G68wKct2PhD59FA="; + hash = "sha256-PZ6g/ILs1ed+lxcH2GyV1YJyJqLgYb5/xQ31OXiXnBU="; }; pythonRelaxDeps = [ @@ -107,7 +107,7 @@ buildPythonPackage rec { meta = { description = "Tool for Scientific Data Management"; homepage = "http://rucio.cern.ch/"; - changelog = "https://github.com/rucio/rucio/releases/tag/${version}"; + changelog = "https://github.com/rucio/rucio/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ veprbl ]; }; diff --git a/pkgs/development/python-modules/s3fs/default.nix b/pkgs/development/python-modules/s3fs/default.nix index 47ea05d11f2b..a8ac2afdb16c 100644 --- a/pkgs/development/python-modules/s3fs/default.nix +++ b/pkgs/development/python-modules/s3fs/default.nix @@ -15,6 +15,7 @@ flask, flask-cors, moto, + pytest-asyncio, pytestCheckHook, }: @@ -53,6 +54,7 @@ buildPythonPackage rec { flask flask-cors moto + pytest-asyncio pytestCheckHook ]; diff --git a/pkgs/development/python-modules/s3transfer/default.nix b/pkgs/development/python-modules/s3transfer/default.nix index cb6206734643..5ee2504ae640 100644 --- a/pkgs/development/python-modules/s3transfer/default.nix +++ b/pkgs/development/python-modules/s3transfer/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "s3transfer"; - version = "0.13.0"; + version = "0.13.1"; pyproject = true; src = fetchFromGitHub { owner = "boto"; repo = "s3transfer"; tag = version; - hash = "sha256-Ou3U7IPGJdK9exOLMgPFoTbOQi9IA+ivoGVOygB4ACE="; + hash = "sha256-NDm1Lc0PXW1hbNftwdM2b87wFXSCBPCxZmwcRFmIyY8="; }; build-system = [ diff --git a/pkgs/development/python-modules/safety/default.nix b/pkgs/development/python-modules/safety/default.nix index 020178ff3c14..2a7bb2ada2e8 100644 --- a/pkgs/development/python-modules/safety/default.nix +++ b/pkgs/development/python-modules/safety/default.nix @@ -31,14 +31,14 @@ buildPythonPackage rec { pname = "safety"; - version = "3.5.2"; + version = "3.6.0"; pyproject = true; src = fetchFromGitHub { owner = "pyupio"; repo = "safety"; tag = version; - hash = "sha256-kYGoJpFkZo4kZmbmak/+nOS2gzDO/xAwfbcGPOFxyrY="; + hash = "sha256-YJUehO91TJ7mGaB1hEgZSF0ds3SlZ01Z59RcR/B56tI="; }; patches = [ diff --git a/pkgs/development/python-modules/sagemaker/default.nix b/pkgs/development/python-modules/sagemaker/default.nix index 387c831757e4..fa226744b5c0 100644 --- a/pkgs/development/python-modules/sagemaker/default.nix +++ b/pkgs/development/python-modules/sagemaker/default.nix @@ -40,14 +40,14 @@ buildPythonPackage rec { pname = "sagemaker"; - version = "2.244.0"; + version = "2.249.0"; pyproject = true; src = fetchFromGitHub { owner = "aws"; repo = "sagemaker-python-sdk"; tag = "v${version}"; - hash = "sha256-T4E1zoZBDUbvnpndhUGYeIG845i5SvpOeYI3VSThUeU="; + hash = "sha256-CXEIRFr0rrdydPOKp4HxErUUew86toGAkKo8X5Bz2Bo="; }; build-system = [ diff --git a/pkgs/development/python-modules/sanic/default.nix b/pkgs/development/python-modules/sanic/default.nix index 10fed42b4bda..94ce7ab55218 100644 --- a/pkgs/development/python-modules/sanic/default.nix +++ b/pkgs/development/python-modules/sanic/default.nix @@ -91,6 +91,8 @@ buildPythonPackage rec { "test_input_is_dir" # Racy, e.g. Address already in use "test_logger_vhosts" + # Event loop is closed + "test_create_server_trigger_events" ]; disabledTestPaths = [ @@ -100,6 +102,8 @@ buildPythonPackage rec { "typing/test_typing.py" # occasionally hangs "test_multiprocessing.py" + # Failed: async def functions are not natively supported. + "test_touchup.py" ]; # Avoid usage of nixpkgs-review in darwin since tests will compete usage diff --git a/pkgs/development/python-modules/sasmodels/default.nix b/pkgs/development/python-modules/sasmodels/default.nix index 15bed29c2ea7..73a4b92b4092 100644 --- a/pkgs/development/python-modules/sasmodels/default.nix +++ b/pkgs/development/python-modules/sasmodels/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "sasmodels"; - version = "1.0.9"; + version = "1.0.10"; pyproject = true; disabled = pythonOlder "3.7"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "SasView"; repo = "sasmodels"; tag = "v${version}"; - hash = "sha256-eD0YTQYR64tKwG7VxmQkHV2ZACs24hx/sS4me7qTcu4="; + hash = "sha256-cTXFlTCm521+xhcggFvDqVZrTJuDiVZ8PazBwA3mKJU="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/schema-salad/default.nix b/pkgs/development/python-modules/schema-salad/default.nix index 144dc0cc6995..872f8073f0ca 100644 --- a/pkgs/development/python-modules/schema-salad/default.nix +++ b/pkgs/development/python-modules/schema-salad/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "schema-salad"; - version = "8.9.20250408123006"; + version = "8.9.20250723145140"; pyproject = true; disabled = pythonOlder "3.9"; @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "common-workflow-language"; repo = "schema_salad"; tag = version; - hash = "sha256-sPPHz43zvqdQ3eruRlVxLLP1ZU/UoVdtDhtQRAo8vNg="; + hash = "sha256-FEdv0VORkvXhqXPrmyCZ1Ib5Lz4fKwRkEqEcEXpfGq8="; }; pythonRelaxDeps = [ "mistune" ]; diff --git a/pkgs/development/python-modules/scikit-bio/default.nix b/pkgs/development/python-modules/scikit-bio/default.nix index 3da89a537923..347c9364e41b 100644 --- a/pkgs/development/python-modules/scikit-bio/default.nix +++ b/pkgs/development/python-modules/scikit-bio/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "scikit-bio"; - version = "0.6.3"; + version = "0.7.0"; pyproject = true; src = fetchFromGitHub { owner = "scikit-bio"; repo = "scikit-bio"; tag = version; - hash = "sha256-yZa9Kl7+Rk4FLQkZIxa9UIsIGAo6YI4UAiJYbhhPIaI="; + hash = "sha256-M0P5DUAMlRTkaIPbxSvO99N3y5eTrkg4NMlkIpGr4/g="; }; build-system = [ diff --git a/pkgs/development/python-modules/scikit-build-core/default.nix b/pkgs/development/python-modules/scikit-build-core/default.nix index ebca328cc73a..d4f73945c8be 100644 --- a/pkgs/development/python-modules/scikit-build-core/default.nix +++ b/pkgs/development/python-modules/scikit-build-core/default.nix @@ -30,14 +30,14 @@ buildPythonPackage rec { pname = "scikit-build-core"; - version = "0.11.3"; + version = "0.11.5"; pyproject = true; src = fetchFromGitHub { owner = "scikit-build"; repo = "scikit-build-core"; - rev = "refs/tags/v${version}"; - hash = "sha256-RtRk0g0ZREFPjm2i2uTqV3UfKZ/aDHUGyju3SI8vs0Y="; + tag = "v${version}"; + hash = "sha256-4DwODJw1U/0+K/d7znYtDO2va71lzp1gDm4Bg9OBjQY="; }; postPatch = lib.optionalString (pythonOlder "3.11") '' @@ -91,7 +91,7 @@ buildPythonPackage rec { meta = with lib; { description = "Next generation Python CMake adaptor and Python API for plugins"; homepage = "https://github.com/scikit-build/scikit-build-core"; - changelog = "https://github.com/scikit-build/scikit-build-core/blob/${src.rev}/docs/about/changelog.md"; + changelog = "https://github.com/scikit-build/scikit-build-core/blob/${src.tag}/docs/about/changelog.md"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ veprbl ]; }; diff --git a/pkgs/development/python-modules/scikit-learn/default.nix b/pkgs/development/python-modules/scikit-learn/default.nix index b264eabd5ec1..9ebbffd136c2 100644 --- a/pkgs/development/python-modules/scikit-learn/default.nix +++ b/pkgs/development/python-modules/scikit-learn/default.nix @@ -26,7 +26,7 @@ buildPythonPackage rec { __structuredAttrs = true; pname = "scikit-learn"; - version = "1.6.1"; + version = "1.7.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -34,13 +34,16 @@ buildPythonPackage rec { src = fetchPypi { pname = "scikit_learn"; inherit version; - hash = "sha256-tPwlJeyixppZJg9YPFanVXxszfjer9um4GD5TBxZc44="; + hash = "sha256-JLPx6XakZlqnTuD8qsK4/Mxq53yOB6sl2jum0ykrmAI="; }; postPatch = '' substituteInPlace meson.build --replace-fail \ "run_command('sklearn/_build_utils/version.py', check: true).stdout().strip()," \ "'${version}'," + substituteInPlace pyproject.toml \ + --replace-fail "numpy>=2,<2.3.0" numpy \ + --replace-fail "scipy>=1.8.0,<1.16.0" scipy ''; buildInputs = [ @@ -68,6 +71,11 @@ buildPythonPackage rec { threadpoolctl ]; + pythonRelaxDeps = [ + "numpy" + "scipy" + ]; + nativeCheckInputs = [ pytestCheckHook pytest-xdist diff --git a/pkgs/development/python-modules/scikit-rf/default.nix b/pkgs/development/python-modules/scikit-rf/default.nix index 7948fe945b72..ffb55f28ca28 100644 --- a/pkgs/development/python-modules/scikit-rf/default.nix +++ b/pkgs/development/python-modules/scikit-rf/default.nix @@ -27,7 +27,7 @@ buildPythonPackage rec { pname = "scikit-rf"; - version = "1.7.0"; + version = "1.8.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -36,7 +36,7 @@ buildPythonPackage rec { owner = "scikit-rf"; repo = "scikit-rf"; tag = "v${version}"; - hash = "sha256-Ovrr1U7VuuGKDNSBSCyYSz3DNpaJrA57ccl4AFdzC5E="; + hash = "sha256-wQOphwG5/4Bfa+re3S0d7lS4CJlKRjrRqnFZKaTG70M="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/scim2-client/default.nix b/pkgs/development/python-modules/scim2-client/default.nix index 388c21af3852..8748ccf4e62b 100644 --- a/pkgs/development/python-modules/scim2-client/default.nix +++ b/pkgs/development/python-modules/scim2-client/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "scim2-client"; - version = "0.5.2"; + version = "0.6.1"; pyproject = true; @@ -26,7 +26,7 @@ buildPythonPackage rec { src = fetchPypi { inherit version; pname = "scim2_client"; - hash = "sha256-viIriAFyfJVrJRr04GBD3dhaQ+iUVujigsx1ucSSeqA="; + hash = "sha256-5XOUOKf0vYHkewY22x5NQdhICXCd+EftKhsxtQurgHQ="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/scim2-models/default.nix b/pkgs/development/python-modules/scim2-models/default.nix index a3e2681e7ad9..2ea8a47a578a 100644 --- a/pkgs/development/python-modules/scim2-models/default.nix +++ b/pkgs/development/python-modules/scim2-models/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "scim2-models"; - version = "0.3.5"; + version = "0.4.1"; pyproject = true; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchPypi { inherit version; pname = "scim2_models"; - hash = "sha256-nOLCYyyB7Si+KfwdWM7DCkDoaVEj/coUA//ZW3hKHuA="; + hash = "sha256-SRUPO67otfZsrdjGQyTul5vIrYRU2WFaL0fvAtVd/1c="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/scim2-server/default.nix b/pkgs/development/python-modules/scim2-server/default.nix index fa844171be8b..3f5ea98884eb 100644 --- a/pkgs/development/python-modules/scim2-server/default.nix +++ b/pkgs/development/python-modules/scim2-server/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "scim2-server"; - version = "0.1.5"; + version = "0.1.7"; pyproject = true; src = fetchPypi { inherit version; pname = "scim2_server"; - hash = "sha256-VCJVLnYg3+Kz7/DXWnZXkFqXVszsd2hm3cLY22J4NRw="; + hash = "sha256-nMS6vjMZ/Lyu0kiVH+IlmxZsuu7McY7AZS/xamfZSlk="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/scipy-stubs/default.nix b/pkgs/development/python-modules/scipy-stubs/default.nix index ce38381ca3ef..984c29e674e4 100644 --- a/pkgs/development/python-modules/scipy-stubs/default.nix +++ b/pkgs/development/python-modules/scipy-stubs/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "scipy-stubs"; - version = "1.16.0.2"; + version = "1.16.1.0"; pyproject = true; src = fetchFromGitHub { owner = "scipy"; repo = "scipy-stubs"; tag = "v${version}"; - hash = "sha256-xaBii3vONwfHlrsLr+uvXvirZ2WT1OgUzlYxRIRnGdI="; + hash = "sha256-KRwFQG1Nb+Kh9OpQCGtvUzQA0MHNEZnRlzSkpZCNxuw="; }; disabled = pythonOlder "3.11"; diff --git a/pkgs/development/python-modules/scipy/default.nix b/pkgs/development/python-modules/scipy/default.nix index c03bc058262f..92151e468259 100644 --- a/pkgs/development/python-modules/scipy/default.nix +++ b/pkgs/development/python-modules/scipy/default.nix @@ -50,8 +50,8 @@ let # nix-shell maintainers/scripts/update.nix --argstr package python3.pkgs.scipy # # The update script uses sed regexes to replace them with the updated hashes. - version = "1.16.0"; - srcHash = "sha256-PFWUq7RsqMgBK1bTw52y1renoPygWNreikNTFHWE2Ig="; + version = "1.16.1"; + srcHash = "sha256-/LgYQUMGoQjSWMCWBgnekNGzEc0LVg2qiN2tV399rQU="; datasetsHashes = { ascent = "1qjp35ncrniq9rhzb14icwwykqg2208hcssznn3hz27w39615kh3"; ecg = "1bwbjp43b7znnwha5hv6wiz3g0bhwrpqpi75s12zidxrbwvd62pj"; diff --git a/pkgs/development/python-modules/scmrepo/default.nix b/pkgs/development/python-modules/scmrepo/default.nix index 012ddd088a50..c6bfc4ec364f 100644 --- a/pkgs/development/python-modules/scmrepo/default.nix +++ b/pkgs/development/python-modules/scmrepo/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "scmrepo"; - version = "3.3.11"; + version = "3.5.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -28,7 +28,7 @@ buildPythonPackage rec { owner = "iterative"; repo = "scmrepo"; tag = version; - hash = "sha256-0vgpfUeqhol3AZuUotSbGYVyknVSxRLBwVMkcKx3m48="; + hash = "sha256-pAORKgS6IivDjx5sms/9XYZKQ3+hRuRvsEFGkfKj0ME="; }; build-system = [ diff --git a/pkgs/development/python-modules/scooby/default.nix b/pkgs/development/python-modules/scooby/default.nix index 12bbb889ffd9..97a5eb288770 100644 --- a/pkgs/development/python-modules/scooby/default.nix +++ b/pkgs/development/python-modules/scooby/default.nix @@ -3,7 +3,9 @@ beautifulsoup4, buildPythonPackage, fetchFromGitHub, + iniconfig, numpy, + psutil, pytest-console-scripts, pytestCheckHook, pythonOlder, @@ -28,8 +30,16 @@ buildPythonPackage rec { build-system = [ setuptools-scm ]; + optional-dependencies = { + cpu = [ + psutil + # mkl + ]; + }; + nativeCheckInputs = [ beautifulsoup4 + iniconfig numpy pytest-console-scripts pytestCheckHook @@ -51,6 +61,8 @@ buildPythonPackage rec { "test_import_time" # TypeError: expected str, bytes or os.PathLike object, not list "test_cli" + # Fails to find iniconfig in environment + "test_auto_report" ]; meta = with lib; { diff --git a/pkgs/development/python-modules/segyio/default.nix b/pkgs/development/python-modules/segyio/default.nix index 005a194afd6d..1346623c9807 100644 --- a/pkgs/development/python-modules/segyio/default.nix +++ b/pkgs/development/python-modules/segyio/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "segyio"; - version = "1.9.12"; + version = "1.9.13"; pyproject = false; # Built with cmake patches = [ @@ -37,7 +37,7 @@ buildPythonPackage rec { owner = "equinor"; repo = "segyio"; tag = "v${version}"; - hash = "sha256-+N2JvHBxpdbysn4noY/9LZ4npoQ9143iFEzaxoafnms="; + hash = "sha256-uVQ5cs9EPGUTSbaclLjFDwnbJevtv6ie94FLi+9vd94="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/sensor-state-data/default.nix b/pkgs/development/python-modules/sensor-state-data/default.nix index fd414913be3e..12a40c0af256 100644 --- a/pkgs/development/python-modules/sensor-state-data/default.nix +++ b/pkgs/development/python-modules/sensor-state-data/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "sensor-state-data"; - version = "2.18.1"; + version = "2.19.0"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = "sensor-state-data"; tag = "v${version}"; - hash = "sha256-9GdBKUhueis8pnQP5ZNxvEyRXVGINTueVzLOR4xx5mU="; + hash = "sha256-Jl+kyr9WhYEzvsnSdqfeDDWgcEU9Yi6Snd67YQ+1MqQ="; }; nativeBuildInputs = [ poetry-core ]; @@ -34,7 +34,7 @@ buildPythonPackage rec { meta = with lib; { description = "Models for storing and converting Sensor Data state"; homepage = "https://github.com/bluetooth-devices/sensor-state-data"; - changelog = "https://github.com/Bluetooth-Devices/sensor-state-data/releases/tag/v${version}"; + changelog = "https://github.com/Bluetooth-Devices/sensor-state-data/releases/tag/${src.tag}"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/sentry-sdk/default.nix b/pkgs/development/python-modules/sentry-sdk/default.nix index 076a82996763..c23fc3a688a4 100644 --- a/pkgs/development/python-modules/sentry-sdk/default.nix +++ b/pkgs/development/python-modules/sentry-sdk/default.nix @@ -67,14 +67,14 @@ buildPythonPackage rec { pname = "sentry-sdk"; - version = "2.25.0"; + version = "2.34.1"; pyproject = true; src = fetchFromGitHub { owner = "getsentry"; repo = "sentry-python"; tag = version; - hash = "sha256-HQxZczpfTURbkLaWjOqnYB86UuFHD71kE7HPPjlkUqc="; + hash = "sha256-RQnjvX3bDiB9csn/DsQ769EiVm7HY+B7x9V5jpvsOOA="; }; postPatch = '' @@ -214,6 +214,7 @@ buildPythonPackage rec { "test_http_timeout" # KeyError: 'sentry.release' "test_logs_attributes" + "test_logger_with_all_attributes" ]; pythonImportsCheck = [ "sentry_sdk" ]; @@ -221,7 +222,7 @@ buildPythonPackage rec { meta = with lib; { description = "Official Python SDK for Sentry.io"; homepage = "https://github.com/getsentry/sentry-python"; - changelog = "https://github.com/getsentry/sentry-python/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/getsentry/sentry-python/blob/${src.tag}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ hexa ]; }; diff --git a/pkgs/development/python-modules/setuptools-scm/default.nix b/pkgs/development/python-modules/setuptools-scm/default.nix index e8eb947c1830..a576af2ce364 100644 --- a/pkgs/development/python-modules/setuptools-scm/default.nix +++ b/pkgs/development/python-modules/setuptools-scm/default.nix @@ -19,13 +19,13 @@ buildPythonPackage rec { pname = "setuptools-scm"; - version = "8.3.1"; + version = "9.0.1"; pyproject = true; src = fetchPypi { pname = "setuptools_scm"; inherit version; - hash = "sha256-PVVekrddrNA30yuv35T5evUeoprox7I0z5S3pb0kKmM="; + hash = "sha256-RuHPfooJZSthP5uk/ptV8vSW56Iz5OANJafLQflMPAs="; }; postPatch = diff --git a/pkgs/development/python-modules/setuptools/default.nix b/pkgs/development/python-modules/setuptools/default.nix index 6590a4d126d7..03156d16334c 100644 --- a/pkgs/development/python-modules/setuptools/default.nix +++ b/pkgs/development/python-modules/setuptools/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "setuptools"; - version = "80.7.1"; + version = "80.9.0"; pyproject = true; src = fetchFromGitHub { owner = "pypa"; repo = "setuptools"; tag = "v${version}"; - hash = "sha256-lOGvJoVwFxASI7e5fJkeS7iGOIPklGRYmmMfclqn0H4="; + hash = "sha256-wueVQsV0ja/iPFRK7OKV27FQ7hYKF8cP3WH5wJeIXnI="; }; patches = [ diff --git a/pkgs/development/python-modules/shap/default.nix b/pkgs/development/python-modules/shap/default.nix index 3c4a217fb2b3..498899a7e78f 100644 --- a/pkgs/development/python-modules/shap/default.nix +++ b/pkgs/development/python-modules/shap/default.nix @@ -7,6 +7,7 @@ writeText, catboost, cloudpickle, + cython, ipython, lightgbm, lime, @@ -30,7 +31,7 @@ buildPythonPackage rec { pname = "shap"; - version = "0.46.0"; + version = "0.48.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -39,15 +40,17 @@ buildPythonPackage rec { owner = "slundberg"; repo = "shap"; tag = "v${version}"; - hash = "sha256-qW36/Xw5oaYKmaMfE5euzkED9CKkjl2O55aO0OpCkfI="; + hash = "sha256-eWZhyrFpEFlmTFPTHZng9V+uMRMXDVzFdgrqIzRQTws="; }; postPatch = '' substituteInPlace pyproject.toml \ + --replace-fail "cython>=3.0.11" cython \ --replace-fail "numpy>=2.0" "numpy" ''; build-system = [ + cython numpy setuptools setuptools-scm @@ -147,7 +150,7 @@ buildPythonPackage rec { meta = with lib; { description = "Unified approach to explain the output of any machine learning model"; homepage = "https://github.com/slundberg/shap"; - changelog = "https://github.com/slundberg/shap/releases/tag/v${version}"; + changelog = "https://github.com/slundberg/shap/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ evax diff --git a/pkgs/development/python-modules/shapely/default.nix b/pkgs/development/python-modules/shapely/default.nix index 3e204277afbe..ccad45bbac48 100644 --- a/pkgs/development/python-modules/shapely/default.nix +++ b/pkgs/development/python-modules/shapely/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "shapely"; - version = "2.1.0"; + version = "2.1.1"; pyproject = true; disabled = pythonOlder "3.7"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "shapely"; repo = "shapely"; tag = version; - hash = "sha256-Co3acjWsGWjwzMoklRx2CqBDOlEpaj3wWenLWxopvKY="; + hash = "sha256-qIITlPym92wfq0byqjRxofpmYYg7vohbi1qPVEu6hRg="; }; nativeBuildInputs = [ @@ -61,7 +61,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "shapely" ]; meta = { - changelog = "https://github.com/shapely/shapely/blob/${version}/CHANGES.txt"; + changelog = "https://github.com/shapely/shapely/blob/${src.tag}/CHANGES.txt"; description = "Manipulation and analysis of geometric objects"; homepage = "https://github.com/shapely/shapely"; license = lib.licenses.bsd3; diff --git a/pkgs/development/python-modules/shazamio/default.nix b/pkgs/development/python-modules/shazamio/default.nix index eec2b5bdcc73..d46ea0258aa1 100644 --- a/pkgs/development/python-modules/shazamio/default.nix +++ b/pkgs/development/python-modules/shazamio/default.nix @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "shazamio"; - version = "0.7.0"; + version = "0.8.1"; format = "pyproject"; src = fetchFromGitHub { owner = "dotX12"; repo = "ShazamIO"; tag = version; - hash = "sha256-72bZyEKvCt/MSqQKzEMQZUC3z53rGm0LJCv6oBCQEYE="; + hash = "sha256-beEEr9Y8w0XlC/0+mNL/oWscmnfwt9KChlZ7Ullyk3E="; }; patches = [ diff --git a/pkgs/development/python-modules/shtab/default.nix b/pkgs/development/python-modules/shtab/default.nix index f89577c49a5a..9d78fa5d95b2 100644 --- a/pkgs/development/python-modules/shtab/default.nix +++ b/pkgs/development/python-modules/shtab/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "shtab"; - version = "1.7.1"; + version = "1.7.2"; pyproject = true; disabled = pythonOlder "3.7"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "iterative"; repo = "shtab"; tag = "v${version}"; - hash = "sha256-8bAwLSdJCzFw5Vf9CKBrH5zOoojeXds7aIRncl+sLBI="; + hash = "sha256-ngTAST+6lBek0PHvULmlJZAHVU49YN5+XAu5KEk6cIM="; }; nativeBuildInputs = [ @@ -43,7 +43,7 @@ buildPythonPackage rec { description = "Module for shell tab completion of Python CLI applications"; mainProgram = "shtab"; homepage = "https://docs.iterative.ai/shtab/"; - changelog = "https://github.com/iterative/shtab/releases/tag/v${version}"; + changelog = "https://github.com/iterative/shtab/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/simplesat/default.nix b/pkgs/development/python-modules/simplesat/default.nix index 391701e6ca24..d325847f9ab0 100644 --- a/pkgs/development/python-modules/simplesat/default.nix +++ b/pkgs/development/python-modules/simplesat/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "simplesat"; - version = "0.9.1"; + version = "0.9.2"; pyproject = true; disabled = pythonOlder "3.9"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "enthought"; repo = "sat-solver"; tag = "v${version}"; - hash = "sha256-/fBnpf1DtaF+wQYZztcB8Y20/ZMYxrF3fH5qRsMucL0="; + hash = "sha256-C3AQN999iuckaY9I0RTI8Uj6hrV4UB1XYvua5VG8hHw="; }; postPatch = '' @@ -57,7 +57,7 @@ buildPythonPackage rec { meta = with lib; { description = "Prototype for SAT-based dependency handling"; homepage = "https://github.com/enthought/sat-solver"; - changelog = "https://github.com/enthought/sat-solver/blob/v${version}/CHANGES.rst"; + changelog = "https://github.com/enthought/sat-solver/blob/${src.tag}/CHANGES.rst"; license = licenses.bsd3; maintainers = with maintainers; [ genericnerdyusername ]; }; diff --git a/pkgs/development/python-modules/sip/default.nix b/pkgs/development/python-modules/sip/default.nix index 067560caee50..c5059665cd78 100644 --- a/pkgs/development/python-modules/sip/default.nix +++ b/pkgs/development/python-modules/sip/default.nix @@ -16,19 +16,14 @@ buildPythonPackage rec { pname = "sip"; - version = "6.10.0"; + version = "6.12.0"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-+gUVaX1MmNvgTZ6JjYFt4UJ+W5rl0OFSFpEJ/SH10pw="; + hash = "sha256-CDztlPhTFUkyMRGaY5cLK6QrHTizjnMKcOAqmRkaicY="; }; - patches = [ - # Make wheel file generation deterministic https://github.com/NixOS/nixpkgs/issues/383885 - ./sip-builder.patch - ]; - build-system = [ setuptools setuptools-scm diff --git a/pkgs/development/python-modules/sip/sip-builder.patch b/pkgs/development/python-modules/sip/sip-builder.patch deleted file mode 100644 index 2a7e1a5753d7..000000000000 --- a/pkgs/development/python-modules/sip/sip-builder.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- a/sipbuild/builder.py 2025-04-21 12:19:34 -+++ b/sipbuild/builder.py 2025-04-21 12:27:09 -@@ -177,16 +177,23 @@ - saved_cwd = os.getcwd() - os.chdir(wheel_build_dir) - -- from zipfile import ZipFile, ZIP_DEFLATED -+ from zipfile import ZipFile, ZipInfo, ZIP_DEFLATED -+ import time - -+ epoch = int(os.environ.get('SOURCE_DATE_EPOCH', '946684800')) -+ zip_timestamp = time.gmtime(epoch)[:6] -+ - with ZipFile(wheel_path, 'w', compression=ZIP_DEFLATED) as zf: - for dirpath, _, filenames in os.walk('.'): - for filename in filenames: - # This will result in a name with no leading '.'. - name = os.path.relpath(os.path.join(dirpath, filename)) - -- zf.write(name) -+ zi = ZipInfo(name, zip_timestamp) - -+ with open(name, 'rb') as f: -+ zf.writestr(zi, f.read()) -+ - os.chdir(saved_cwd) - - return wheel_file diff --git a/pkgs/development/python-modules/sismic/default.nix b/pkgs/development/python-modules/sismic/default.nix index 1d61ad2689c9..c4b177050df0 100644 --- a/pkgs/development/python-modules/sismic/default.nix +++ b/pkgs/development/python-modules/sismic/default.nix @@ -11,9 +11,9 @@ }: let - version = "1.6.8"; + version = "1.6.10"; in -buildPythonPackage { +buildPythonPackage rec { pname = "sismic"; inherit version; pyproject = true; @@ -24,7 +24,7 @@ buildPythonPackage { owner = "AlexandreDecan"; repo = "sismic"; tag = version; - hash = "sha256-0g39jJI3UIniJY/oHQMZ53GCOJIbqdVeOED9PWxlw6E="; + hash = "sha256-FUjOn2b4nhHf2DfYbY+wsRMaVEG90nPgLlNbNTiq3fQ="; }; pythonRelaxDeps = [ "behave" ]; @@ -50,7 +50,7 @@ buildPythonPackage { ]; meta = { - changelog = "https://github.com/AlexandreDecan/sismic/releases/tag/${version}"; + changelog = "https://github.com/AlexandreDecan/sismic/releases/tag/${src.tag}"; description = "Sismic Interactive Statechart Model Interpreter and Checker"; homepage = "https://github.com/AlexandreDecan/sismic"; license = lib.licenses.lgpl3Only; diff --git a/pkgs/development/python-modules/skops/default.nix b/pkgs/development/python-modules/skops/default.nix index 2f911749e5f4..4356e4fe4983 100644 --- a/pkgs/development/python-modules/skops/default.nix +++ b/pkgs/development/python-modules/skops/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "skops"; - version = "0.11.0"; + version = "0.12.0"; pyproject = true; src = fetchFromGitHub { owner = "skops-dev"; repo = "skops"; tag = "v${version}"; - hash = "sha256-23Wy/VSd/CvpqT/zDX4ApplfsUwbjOj9q+T8YCKs8X4="; + hash = "sha256-OLRnaG++5Z7Y0WZnvfdPn6iIXzum5FTL0+geiO5QjYs="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/slapd/default.nix b/pkgs/development/python-modules/slapd/default.nix index 2e466bec45af..789ecbb24e58 100644 --- a/pkgs/development/python-modules/slapd/default.nix +++ b/pkgs/development/python-modules/slapd/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "slapd"; - version = "0.1.5"; + version = "0.1.6"; pyproject = true; disabled = pythonOlder "3.8"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "python-ldap"; repo = "python-slapd"; tag = version; - hash = "sha256-AiJvhgJ62vCj75m6l5kuIEb7k2qCh/QJybS0uqw2vBY="; + hash = "sha256-xXIKC8xDJ3Q6yV1BL5Io0PkLqVbFRbbkB0QSXQGHMNg="; }; build-system = [ poetry-core ]; @@ -40,7 +40,7 @@ buildPythonPackage rec { meta = with lib; { description = "Controls a slapd process in a pythonic way"; homepage = "https://github.com/python-ldap/python-slapd"; - changelog = "https://github.com/python-ldap/python-slapd/blob/${src.rev}/CHANGES.rst"; + changelog = "https://github.com/python-ldap/python-slapd/blob/${src.tag}/CHANGES.rst"; license = licenses.mit; maintainers = with maintainers; [ erictapen ]; }; diff --git a/pkgs/development/python-modules/smart-open/default.nix b/pkgs/development/python-modules/smart-open/default.nix index 1f078d327c75..4c25a8091069 100644 --- a/pkgs/development/python-modules/smart-open/default.nix +++ b/pkgs/development/python-modules/smart-open/default.nix @@ -3,6 +3,7 @@ buildPythonPackage, pythonOlder, fetchFromGitHub, + awscli, azure-common, azure-core, azure-storage-blob, @@ -10,17 +11,21 @@ google-cloud-storage, requests, moto, + numpy, paramiko, + pytest-cov-stub, pytestCheckHook, + pyopenssl, responses, setuptools, + setuptools-scm, wrapt, zstandard, }: buildPythonPackage rec { pname = "smart-open"; - version = "7.2.0"; + version = "7.3.0.post1"; pyproject = true; disabled = pythonOlder "3.7"; @@ -29,10 +34,13 @@ buildPythonPackage rec { owner = "RaRe-Technologies"; repo = "smart_open"; tag = "v${version}"; - hash = "sha256-/16Is90235scTAYUW/65QxcTddD0+aiG5TLzYsBUE1A="; + hash = "sha256-79q1uQML7WMHsaKQ7+4JA6LpeysJRA4fFxYVqQFntag="; }; - build-system = [ setuptools ]; + build-system = [ + setuptools + setuptools-scm + ]; dependencies = [ wrapt ]; @@ -53,13 +61,18 @@ buildPythonPackage rec { pythonImportsCheck = [ "smart_open" ]; nativeCheckInputs = [ + awscli moto + numpy + pytest-cov-stub pytestCheckHook + pyopenssl responses ] + ++ moto.optional-dependencies.server ++ lib.flatten (lib.attrValues optional-dependencies); - enabledTestPaths = [ "smart_open" ]; + enabledTestPaths = [ "tests" ]; disabledTests = [ # https://github.com/RaRe-Technologies/smart_open/issues/784 @@ -72,7 +85,7 @@ buildPythonPackage rec { meta = with lib; { changelog = "https://github.com/piskvorky/smart_open/releases/tag/${src.tag}"; description = "Library for efficient streaming of very large file"; - homepage = "https://github.com/RaRe-Technologies/smart_open"; + homepage = "https://github.com/piskvorky/smart_open"; license = licenses.mit; }; } diff --git a/pkgs/development/python-modules/snitun/default.nix b/pkgs/development/python-modules/snitun/default.nix index 3f95f9cd081b..b17c173e0144 100644 --- a/pkgs/development/python-modules/snitun/default.nix +++ b/pkgs/development/python-modules/snitun/default.nix @@ -8,6 +8,7 @@ cryptography, fetchFromGitHub, pytest-aiohttp, + pytest-codspeed, pytestCheckHook, pythonAtLeast, pythonOlder, @@ -16,7 +17,7 @@ buildPythonPackage rec { pname = "snitun"; - version = "0.40.0"; + version = "0.44.0"; pyproject = true; disabled = pythonOlder "3.10"; @@ -25,9 +26,14 @@ buildPythonPackage rec { owner = "NabuCasa"; repo = "snitun"; tag = version; - hash = "sha256-wit0GVuWFMl1u+VC7Aw+dPcvqLGyviSz/DVUKXvSvAs="; + hash = "sha256-jZRA/UKamB5fUSvyaemN0Vq4GX6bNL8rsYCgToEkIL4="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail 'version = "0.0.0"' 'version = "${version}"' + ''; + build-system = [ setuptools ]; dependencies = [ @@ -39,6 +45,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytest-aiohttp + pytest-codspeed pytestCheckHook ]; diff --git a/pkgs/development/python-modules/snowflake-connector-python/default.nix b/pkgs/development/python-modules/snowflake-connector-python/default.nix index 2bcb2cc5f969..c0f0b7773b8b 100644 --- a/pkgs/development/python-modules/snowflake-connector-python/default.nix +++ b/pkgs/development/python-modules/snowflake-connector-python/default.nix @@ -13,6 +13,7 @@ filelock, idna, keyring, + numpy, packaging, pandas, platformdirs, @@ -32,7 +33,7 @@ buildPythonPackage rec { pname = "snowflake-connector-python"; - version = "3.15.0"; + version = "3.16.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -41,7 +42,7 @@ buildPythonPackage rec { owner = "snowflakedb"; repo = "snowflake-connector-python"; tag = "v${version}"; - hash = "sha256-Dz5jxmbBfWThmd7H0MIO5+DfnjpDw9ADHg5Sc7P+DYs="; + hash = "sha256-mow8TxmkeaMkgPTLUpx5Gucn4347gohHPyiBYjI/cDs="; }; build-system = [ @@ -87,6 +88,7 @@ buildPythonPackage rec { ''; nativeCheckInputs = [ + numpy pytest-xdist pytestCheckHook ]; @@ -125,7 +127,7 @@ buildPythonPackage rec { meta = with lib; { description = "Snowflake Connector for Python"; homepage = "https://github.com/snowflakedb/snowflake-connector-python"; - changelog = "https://github.com/snowflakedb/snowflake-connector-python/blob/v${version}/DESCRIPTION.md"; + changelog = "https://github.com/snowflakedb/snowflake-connector-python/blob/${src.tag}/DESCRIPTION.md"; license = licenses.asl20; maintainers = [ ]; }; diff --git a/pkgs/development/python-modules/snowflake-core/default.nix b/pkgs/development/python-modules/snowflake-core/default.nix index 09d8a36822a9..98a78511d16f 100644 --- a/pkgs/development/python-modules/snowflake-core/default.nix +++ b/pkgs/development/python-modules/snowflake-core/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "snowflake-core"; - version = "1.4.0"; + version = "1.7.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -22,7 +22,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "snowflake_core"; inherit version; - hash = "sha256-3BzO3s5BtS/cuF+JwKuAG8Usca5oo79ffp33TXUP5E8="; + hash = "sha256-hlWpTCEa4E0dgD28h2JJ3m0/gCHMVzjWia6oQtG2an8="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix b/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix index 3062d7b8758d..9f15789497d2 100644 --- a/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix +++ b/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "snowflake-sqlalchemy"; - version = "1.7.4"; + version = "1.7.6"; pyproject = true; src = fetchFromGitHub { owner = "snowflakedb"; repo = "snowflake-sqlalchemy"; tag = "v${version}"; - hash = "sha256-Twv8ugLrQT9y4wHNo0B8vkWOFNSci/t4eY9XvFlq/TE="; + hash = "sha256-8Q4cqfldSilBpj/1/4u5HRUDT8fD9MPzVGcokYt0dJA="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/social-auth-app-django/default.nix b/pkgs/development/python-modules/social-auth-app-django/default.nix index bec09abd2fe5..a819b8a46831 100644 --- a/pkgs/development/python-modules/social-auth-app-django/default.nix +++ b/pkgs/development/python-modules/social-auth-app-django/default.nix @@ -2,40 +2,48 @@ lib, buildPythonPackage, fetchFromGitHub, - social-auth-core, + setuptools, django, - python, - pythonOlder, + social-auth-core, + pytest-django, + pytestCheckHook, }: buildPythonPackage rec { pname = "social-auth-app-django"; - version = "5.4.2"; - format = "setuptools"; - - disabled = pythonOlder "3.8"; + version = "5.5.1"; + pyproject = true; src = fetchFromGitHub { owner = "python-social-auth"; repo = "social-app-django"; tag = version; - hash = "sha256-W9boogixZ7X6qysfh2YEat+TOBy1VNreGr27y8hno+0="; + hash = "sha256-XS7Uj0h2kb+NfO/9S5DAwZ+6LSjqeNslLwNbbVZmkTw="; }; - propagatedBuildInputs = [ social-auth-core ]; + build-system = [ setuptools ]; + + dependencies = [ + django + social-auth-core + ]; pythonImportsCheck = [ "social_django" ]; - nativeCheckInputs = [ django ]; + nativeCheckInputs = [ + pytest-django + pytestCheckHook + ]; - checkPhase = '' - ${python.interpreter} -m django test --settings="tests.settings" + preCheck = '' + export DJANGO_SETTINGS_MODULE=tests.settings ''; meta = with lib; { + broken = lib.versionOlder django.version "5.1"; description = "Module for social authentication/registration mechanism"; homepage = "https://github.com/python-social-auth/social-app-django"; - changelog = "https://github.com/python-social-auth/social-app-django/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/python-social-auth/social-app-django/blob/${src.tag}/CHANGELOG.md"; license = licenses.bsd3; maintainers = with maintainers; [ ]; }; diff --git a/pkgs/development/python-modules/social-auth-core/default.nix b/pkgs/development/python-modules/social-auth-core/default.nix index 860b3981b408..2ea49b464d6e 100644 --- a/pkgs/development/python-modules/social-auth-core/default.nix +++ b/pkgs/development/python-modules/social-auth-core/default.nix @@ -8,6 +8,7 @@ lxml, oauthlib, pyjwt, + pytest-xdist, pytestCheckHook, python-jose, python3-openid, @@ -15,12 +16,14 @@ pythonOlder, requests, requests-oauthlib, + responses, setuptools, + typing-extensions, }: buildPythonPackage rec { pname = "social-auth-core"; - version = "4.5.4"; + version = "4.7.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -29,7 +32,7 @@ buildPythonPackage rec { owner = "python-social-auth"; repo = "social-core"; tag = version; - hash = "sha256-tFaRvNoO5K7ytqMhL//Ntasc7jb4PYXB1yyjFvFqQH8="; + hash = "sha256-PQPnLTTCAUE1UmaDRmEXLozY0607e2/fLsvzcJzo4bQ="; }; nativeBuildInputs = [ setuptools ]; @@ -54,27 +57,29 @@ buildPythonPackage rec { }; nativeCheckInputs = [ + pytest-xdist pytestCheckHook httpretty + responses + typing-extensions ] ++ lib.flatten (lib.attrValues optional-dependencies); - # Disable checking the code coverage - prePatch = '' - substituteInPlace social_core/tests/requirements.txt \ - --replace "coverage>=3.6" "" \ - --replace "pytest-cov>=2.7.1" "" + disabledTestPaths = [ + # missing google-auth-stubs + "social_core/tests/backends/test_google.py" - substituteInPlace tox.ini \ - --replace "{posargs:-v --cov=social_core}" "{posargs:-v}" - ''; + # network access + "social_core/tests/backends/test_steam.py::SteamOpenIdMissingSteamIdTest::test_login" + "social_core/tests/backends/test_steam.py::SteamOpenIdMissingSteamIdTest::test_partial_pipeline" + ]; pythonImportsCheck = [ "social_core" ]; meta = with lib; { description = "Module for social authentication/registration mechanisms"; homepage = "https://github.com/python-social-auth/social-core"; - changelog = "https://github.com/python-social-auth/social-core/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/python-social-auth/social-core/blob/${src.tag}/CHANGELOG.md"; license = licenses.bsd3; maintainers = with maintainers; [ ]; }; diff --git a/pkgs/development/python-modules/solc-select/default.nix b/pkgs/development/python-modules/solc-select/default.nix index 3a9e0f7bb4a9..38525508feb1 100644 --- a/pkgs/development/python-modules/solc-select/default.nix +++ b/pkgs/development/python-modules/solc-select/default.nix @@ -1,22 +1,27 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, + setuptools, packaging, pycryptodome, }: buildPythonPackage rec { pname = "solc-select"; - version = "1.0.4"; - format = "setuptools"; + version = "1.1.0"; + pyproject = true; - src = fetchPypi { - inherit pname version; - hash = "sha256-23ud4AmvbeOlQWuAu+W21ja/MUcDwBYxm4wSMeJIpsc="; + src = fetchFromGitHub { + owner = "crytic"; + repo = "solc-select"; + tag = "v${version}"; + hash = "sha256-ZB9WM6YTWEqfs5y1DqxbSADiFw997PHIR9uVSjJg1/E="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ packaging pycryptodome ]; diff --git a/pkgs/development/python-modules/sopel/default.nix b/pkgs/development/python-modules/sopel/default.nix index 0c6298207e68..02da03091cfd 100644 --- a/pkgs/development/python-modules/sopel/default.nix +++ b/pkgs/development/python-modules/sopel/default.nix @@ -20,14 +20,14 @@ buildPythonPackage rec { pname = "sopel"; - version = "8.0.2"; + version = "8.0.3"; pyproject = true; disabled = isPyPy || pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-7LNbnSri+yjH2Nw8rBCTO8Lg84VXY6A+xMXscEkUVK8="; + hash = "sha256-lhoEgfYaqaZfrfVgyHSwl/algqjnvAc/pnVPwK8YdCc="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/sounddevice/default.nix b/pkgs/development/python-modules/sounddevice/default.nix index 8784657600b9..8481f75272eb 100644 --- a/pkgs/development/python-modules/sounddevice/default.nix +++ b/pkgs/development/python-modules/sounddevice/default.nix @@ -13,13 +13,13 @@ buildPythonPackage rec { pname = "sounddevice"; - version = "0.5.1"; + version = "0.5.2"; pyproject = true; disabled = isPy27; src = fetchPypi { inherit pname version; - hash = "sha256-CcqZHa7ajOS+mskeFamoHI+B76a2laNIyRceoMFssEE="; + hash = "sha256-xjTVG9TpItbw+l4al1zIl8lH9h0x2p95un6jTf9Ei0k="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/soxr/default.nix b/pkgs/development/python-modules/soxr/default.nix index 3470810e5b7e..a090b6d24bd2 100644 --- a/pkgs/development/python-modules/soxr/default.nix +++ b/pkgs/development/python-modules/soxr/default.nix @@ -47,7 +47,7 @@ buildPythonPackage rec { dontUseCmakeConfigure = true; pypaBuildFlags = [ - "--config=cmake.define.USE_SYSTEM_LIBSOXR=ON" + "--config-setting=cmake.define.USE_SYSTEM_LIBSOXR=ON" ]; build-system = [ diff --git a/pkgs/development/python-modules/sparklines/default.nix b/pkgs/development/python-modules/sparklines/default.nix index c04f1908def7..afcf086f0cca 100644 --- a/pkgs/development/python-modules/sparklines/default.nix +++ b/pkgs/development/python-modules/sparklines/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "sparklines"; - version = "0.5.0"; + version = "0.7.0"; format = "setuptools"; src = fetchFromGitHub { owner = "deeplook"; repo = "sparklines"; tag = "v${version}"; - sha256 = "sha256-oit1bDqP96wwfTRCV8V0N9P/+pkdW2WYOWT6u3lb4Xs="; + sha256 = "sha256-jiMrxZMWN+moap0bDH+uy66gF4XdGst9HJpnboJrQm4="; }; propagatedBuildInputs = [ future ]; diff --git a/pkgs/development/python-modules/sparsezoo/default.nix b/pkgs/development/python-modules/sparsezoo/default.nix index 9df360195f92..47333d8710fe 100644 --- a/pkgs/development/python-modules/sparsezoo/default.nix +++ b/pkgs/development/python-modules/sparsezoo/default.nix @@ -26,14 +26,14 @@ buildPythonPackage rec { pname = "sparsezoo"; - version = "1.8.1"; + version = "1.9.0"; pyproject = true; src = fetchFromGitHub { owner = "neuralmagic"; repo = "sparsezoo"; tag = "v${version}"; - hash = "sha256-c4F95eVvj673eFO/rbmv4LY3pGmqo+arbsYqElznwdA="; + hash = "sha256-eMP/whm06QX5x/RBoYsYwuKxFnpFmqlgh2uDsI3Vaog="; }; build-system = [ setuptools ]; @@ -114,7 +114,7 @@ buildPythonPackage rec { meta = { description = "Neural network model repository for highly sparse and sparse-quantized models with matching sparsification recipes"; homepage = "https://github.com/neuralmagic/sparsezoo"; - changelog = "https://github.com/neuralmagic/sparsezoo/releases/tag/v${version}"; + changelog = "https://github.com/neuralmagic/sparsezoo/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; }; diff --git a/pkgs/development/python-modules/spatial-image/default.nix b/pkgs/development/python-modules/spatial-image/default.nix index bd50198af431..fb14578b4610 100644 --- a/pkgs/development/python-modules/spatial-image/default.nix +++ b/pkgs/development/python-modules/spatial-image/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "spatial-image"; - version = "1.2.1"; + version = "1.2.2"; pyproject = true; disabled = pythonOlder "3.10"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "spatial-image"; repo = "spatial-image"; tag = "v${version}"; - hash = "sha256-PGc2uey2xcfE0PcYDaCp7U0lgeGL1I6MMP3vbTN+Alk="; + hash = "sha256-Frvr8uJ3dD2lZFfqrNnki+JUbjhBdRK3BBAtIRtFqvs="; }; build-system = [ hatchling ]; @@ -39,7 +39,7 @@ buildPythonPackage rec { meta = { description = "Multi-dimensional spatial image data structure for scientific Python"; homepage = "https://github.com/spatial-image/spatial-image"; - changelog = "https://github.com/spatial-image/spatial-image/releases/tag/v${version}"; + changelog = "https://github.com/spatial-image/spatial-image/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ bcdarwin ]; }; diff --git a/pkgs/development/python-modules/sphinx-intl/default.nix b/pkgs/development/python-modules/sphinx-intl/default.nix index 42b2ff02e0fc..d99b107cc747 100644 --- a/pkgs/development/python-modules/sphinx-intl/default.nix +++ b/pkgs/development/python-modules/sphinx-intl/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "sphinx-intl"; - version = "2.3.1"; + version = "2.3.2"; pyproject = true; src = fetchFromGitHub { owner = "sphinx-doc"; repo = "sphinx-intl"; tag = version; - hash = "sha256-VrWtRdI9j/y2m7kN7/m/5cdxpI0dAaiprdXKt8m6MPc="; + hash = "sha256-5Ro+UG9pwwp656fYyCsna6P4s9Gb86Tu3Qm2WUI7tsE="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/sphinx-reredirects/default.nix b/pkgs/development/python-modules/sphinx-reredirects/default.nix index 8fc57ab6d1f0..b250106a46c9 100644 --- a/pkgs/development/python-modules/sphinx-reredirects/default.nix +++ b/pkgs/development/python-modules/sphinx-reredirects/default.nix @@ -8,13 +8,13 @@ buildPythonPackage rec { pname = "sphinx-reredirects"; - version = "0.1.6"; + version = "1.0.0"; pyproject = true; src = fetchPypi { pname = "sphinx_reredirects"; inherit version; - hash = "sha256-xJHLpUX2e+lpdQhyeBjYYmYmNmJFrmRFb+KfN+m76mQ="; + hash = "sha256-fJutqfEzBIn89Mcpei1toqScpId9P0LROIrh3hAZv1w="; }; build-system = [ diff --git a/pkgs/development/python-modules/sphinx-sitemap/default.nix b/pkgs/development/python-modules/sphinx-sitemap/default.nix index 84155186c163..97d643eb95ab 100644 --- a/pkgs/development/python-modules/sphinx-sitemap/default.nix +++ b/pkgs/development/python-modules/sphinx-sitemap/default.nix @@ -10,9 +10,9 @@ }: let pname = "sphinx-sitemap"; - version = "2.6.0"; + version = "2.7.2"; in -buildPythonPackage { +buildPythonPackage rec { inherit pname version; pyproject = true; @@ -20,7 +20,7 @@ buildPythonPackage { owner = "jdillard"; repo = "sphinx-sitemap"; tag = "v${version}"; - hash = "sha256-RERa+/MVug2OQ/FAXS4LOQHB4eEuIW2rwcdZUOrr6g8="; + hash = "sha256-b8eo77Ab9w8JR6mLqXcIWeTkuJFTHjJBk440fksBbyw="; }; nativeBuildInputs = [ setuptools ]; @@ -34,7 +34,7 @@ buildPythonPackage { ]; meta = with lib; { - changelog = "https://github.com/jdillard/sphinx-sitemap/releases/tag/v${version}"; + changelog = "https://github.com/jdillard/sphinx-sitemap/releases/tag/${src.tag}"; description = "Sitemap generator for Sphinx"; homepage = "https://github.com/jdillard/sphinx-sitemap"; maintainers = with maintainers; [ alejandrosame ]; diff --git a/pkgs/development/python-modules/sphinxcontrib-confluencebuilder/default.nix b/pkgs/development/python-modules/sphinxcontrib-confluencebuilder/default.nix index 83b3f959af1a..0329aab01206 100644 --- a/pkgs/development/python-modules/sphinxcontrib-confluencebuilder/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-confluencebuilder/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "sphinxcontrib-confluencebuilder"; - version = "2.13.0"; + version = "2.14.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -20,7 +20,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "sphinxcontrib_confluencebuilder"; inherit version; - hash = "sha256-2Sl0ZwdHn0dXf+kbNcxaDMfWLaGdfUgCRjKTADA+unM="; + hash = "sha256-3XWs1SCb6AJpYC3njbBFXsSOebNjRh0Gp1Fqi5E51lI="; }; build-system = [ flit-core ]; diff --git a/pkgs/development/python-modules/sphinxcontrib-katex/default.nix b/pkgs/development/python-modules/sphinxcontrib-katex/default.nix index 44f1e74e62b0..987e4d2b94d9 100644 --- a/pkgs/development/python-modules/sphinxcontrib-katex/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-katex/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "sphinxcontrib-katex"; - version = "0.9.10"; + version = "0.9.11"; pyproject = true; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "sphinxcontrib_katex"; inherit version; - hash = "sha256-MJqS2uJF28WE/36l+2VJcnuuleTlIAi3TSWdL9GtDew="; + hash = "sha256-LTKyENILvuRRpR0ZZF9v719VaLmlTigTr/uW76ZhI4o="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/sphinxext-opengraph/default.nix b/pkgs/development/python-modules/sphinxext-opengraph/default.nix index 2f2d76bd9913..70bd42464cae 100644 --- a/pkgs/development/python-modules/sphinxext-opengraph/default.nix +++ b/pkgs/development/python-modules/sphinxext-opengraph/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "sphinxext-opengraph"; - version = "0.9.1"; + version = "0.12.0"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "wpilibsuite"; repo = "sphinxext-opengraph"; tag = "v${version}"; - hash = "sha256-B+bJ1tKqTTlbNeJLxk56o2a21n3Yg6OHwJiFfCx46aw="; + hash = "sha256-2ch9BxgrqbfIJ8fzFKYscha4+G7OAVz+OIOqYwX2gSA="; }; nativeBuildInputs = [ setuptools-scm ]; @@ -43,7 +43,7 @@ buildPythonPackage rec { meta = with lib; { description = "Sphinx extension to generate unique OpenGraph metadata"; homepage = "https://github.com/wpilibsuite/sphinxext-opengraph"; - changelog = "https://github.com/wpilibsuite/sphinxext-opengraph/releases/tag/v${version}"; + changelog = "https://github.com/wpilibsuite/sphinxext-opengraph/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ Luflosi ]; }; diff --git a/pkgs/development/python-modules/spotifyaio/default.nix b/pkgs/development/python-modules/spotifyaio/default.nix index b08260bf1494..5fafd5db1f8f 100644 --- a/pkgs/development/python-modules/spotifyaio/default.nix +++ b/pkgs/development/python-modules/spotifyaio/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "spotifyaio"; - version = "0.8.11"; + version = "1.0.0"; pyproject = true; disabled = pythonOlder "3.11"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "joostlek"; repo = "python-spotify"; tag = "v${version}"; - hash = "sha256-mRv/bsMER+rn4JOSe2EK0ykP5oEydl8QNhtn7yN+ykE="; + hash = "sha256-wl8THtmdJ2l6XNDtmmnk/MF+qTZL0UsbL8o6i/Vwf5k="; }; build-system = [ poetry-core ]; @@ -54,7 +54,7 @@ buildPythonPackage rec { meta = { description = "Module for interacting with for Spotify"; homepage = "https://github.com/joostlek/python-spotify/"; - changelog = "https://github.com/joostlek/python-spotify/releases/tag/v${version}"; + changelog = "https://github.com/joostlek/python-spotify/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/spsdk/default.nix b/pkgs/development/python-modules/spsdk/default.nix index cc518a0b3343..edc8c5e9eeb0 100644 --- a/pkgs/development/python-modules/spsdk/default.nix +++ b/pkgs/development/python-modules/spsdk/default.nix @@ -49,14 +49,14 @@ buildPythonPackage rec { pname = "spsdk"; - version = "2.6.1"; + version = "3.1.0"; pyproject = true; src = fetchFromGitHub { owner = "nxp-mcuxpresso"; repo = "spsdk"; tag = "v${version}"; - hash = "sha256-AdW19Zf5TZ6hChXbW9dLGcMpFTQOT1wrPzEqaSfWzDE="; + hash = "sha256-G8UNT9lsUt6Xe++xx+Pqv4hmrkGv68w7FrZSgWJHb1k="; }; postPatch = '' @@ -137,7 +137,7 @@ buildPythonPackage rec { ]; meta = { - changelog = "https://github.com/nxp-mcuxpresso/spsdk/blob/v${version}/docs/release_notes.rst"; + changelog = "https://github.com/nxp-mcuxpresso/spsdk/blob/${src.tag}/docs/release_notes.rst"; description = "NXP Secure Provisioning SDK"; homepage = "https://github.com/nxp-mcuxpresso/spsdk"; license = lib.licenses.bsd3; diff --git a/pkgs/development/python-modules/sqlalchemy-cockroachdb/default.nix b/pkgs/development/python-modules/sqlalchemy-cockroachdb/default.nix index 0cbdb6651a97..4d0ba47d58ab 100644 --- a/pkgs/development/python-modules/sqlalchemy-cockroachdb/default.nix +++ b/pkgs/development/python-modules/sqlalchemy-cockroachdb/default.nix @@ -3,26 +3,25 @@ buildPythonPackage, fetchPypi, setuptools, - wheel, sqlalchemy, }: buildPythonPackage rec { pname = "sqlalchemy-cockroachdb"; - version = "2.0.2"; + version = "2.0.3"; pyproject = true; src = fetchPypi { - inherit pname version; - hash = "sha256-EZdW65BYVdahE0W5nP6FMDGj/lmKnEvzWo3ayfif6Mw="; + pname = "sqlalchemy_cockroachdb"; + inherit version; + hash = "sha256-SLdj/9iypNydVkWZNKVtfV/61BXG5o0RS67l0Sz3nB0="; }; - nativeBuildInputs = [ + build-system = [ setuptools - wheel ]; - propagatedBuildInputs = [ + dependencies = [ sqlalchemy ]; @@ -30,7 +29,7 @@ buildPythonPackage rec { meta = with lib; { description = "CockroachDB dialect for SQLAlchemy"; - homepage = "https://pypi.org/project/sqlalchemy-cockroachdb"; + homepage = "https://github.com/cockroachdb/sqlalchemy-cockroachdb/tree/master/sqlalchemy_cockroachdb"; license = licenses.asl20; maintainers = with maintainers; [ pinpox ]; }; diff --git a/pkgs/development/python-modules/sqlalchemy/default.nix b/pkgs/development/python-modules/sqlalchemy/default.nix index f48abe0214be..5bc964ff493a 100644 --- a/pkgs/development/python-modules/sqlalchemy/default.nix +++ b/pkgs/development/python-modules/sqlalchemy/default.nix @@ -4,6 +4,7 @@ pythonOlder, fetchFromGitHub, buildPythonPackage, + nix-update-script, # build cython, @@ -43,7 +44,7 @@ buildPythonPackage rec { pname = "sqlalchemy"; - version = "2.0.41"; + version = "2.0.42"; pyproject = true; disabled = pythonOlder "3.7"; @@ -52,7 +53,7 @@ buildPythonPackage rec { owner = "sqlalchemy"; repo = "sqlalchemy"; tag = "rel_${lib.replaceStrings [ "." ] [ "_" ] version}"; - hash = "sha256-DixgBUI+HJLTCsunN5Y+ogcAHnRnQ3CKSFc6HrxzsPM="; + hash = "sha256-e/DkS9CioMLG/qMOf0//DxMFDTep4xEtCVTp/Hn0Wiw="; }; postPatch = '' @@ -109,6 +110,13 @@ buildPythonPackage rec { "test/aaa_profiling" ]; + passthru.updateScript = nix-update-script { + extraArgs = [ + "--version-regex" + "^rel_([0-9]+)_([0-9]+)_([0-9]+)$" + ]; + }; + meta = with lib; { changelog = "https://github.com/sqlalchemy/sqlalchemy/releases/tag/rel_${ builtins.replaceStrings [ "." ] [ "_" ] version diff --git a/pkgs/development/python-modules/sqlframe/default.nix b/pkgs/development/python-modules/sqlframe/default.nix index 84885a2767cc..e5d4dca2f152 100644 --- a/pkgs/development/python-modules/sqlframe/default.nix +++ b/pkgs/development/python-modules/sqlframe/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "sqlframe"; - version = "3.31.3"; + version = "3.38.2"; pyproject = true; src = fetchFromGitHub { owner = "eakmanrq"; repo = "sqlframe"; tag = "v${version}"; - hash = "sha256-x9ILbtl71Xp4p5OWQ/goays5W6uE17FCes7ZVfWZBwY="; + hash = "sha256-ekDt9vsHdHhUNaQghG3EaM82FRZYdw+gaxENcurSayk="; }; build-system = [ @@ -72,7 +72,7 @@ buildPythonPackage rec { meta = { description = "Turning PySpark Into a Universal DataFrame API"; homepage = "https://github.com/eakmanrq/sqlframe"; - changelog = "https://github.com/eakmanrq/sqlframe/releases/tag/v${version}"; + changelog = "https://github.com/eakmanrq/sqlframe/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ GaetanLepage ]; }; diff --git a/pkgs/development/python-modules/sqlglot/default.nix b/pkgs/development/python-modules/sqlglot/default.nix index 7b109e1f2590..5b6bb1ceec67 100644 --- a/pkgs/development/python-modules/sqlglot/default.nix +++ b/pkgs/development/python-modules/sqlglot/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "sqlglot"; - version = "26.16.2"; + version = "27.6.0"; pyproject = true; src = fetchFromGitHub { repo = "sqlglot"; owner = "tobymao"; tag = "v${version}"; - hash = "sha256-uX72AHr4IC+u5AYkW/3myruVPs5NZ1V3THVg+9GWxpg="; + hash = "sha256-/+hrbyAQJHbKzjaBr9ssuXuKpbCSWAarLa5oX5NqfOc="; }; build-system = [ diff --git a/pkgs/development/python-modules/srctools/default.nix b/pkgs/development/python-modules/srctools/default.nix index 117a97e5b39a..7d6de7ff2184 100644 --- a/pkgs/development/python-modules/srctools/default.nix +++ b/pkgs/development/python-modules/srctools/default.nix @@ -4,7 +4,7 @@ fetchPypi, meson, meson-python, - cython_3_1, + cython, attrs, useful-types, pytestCheckHook, @@ -28,7 +28,7 @@ buildPythonPackage { build-system = [ meson meson-python - cython_3_1 + cython ]; dependencies = [ diff --git a/pkgs/development/python-modules/sse-starlette/default.nix b/pkgs/development/python-modules/sse-starlette/default.nix index e64e15fe2c0a..7298d302a41b 100644 --- a/pkgs/development/python-modules/sse-starlette/default.nix +++ b/pkgs/development/python-modules/sse-starlette/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { pname = "sse-starlette"; - version = "2.3.6"; + version = "3.0.2"; pyproject = true; disabled = pythonOlder "3.9"; @@ -31,7 +31,7 @@ buildPythonPackage rec { owner = "sysid"; repo = "sse-starlette"; tag = "v${version}"; - hash = "sha256-7FlyV+TsVKGFsecONPm/Z50cCnyuUsr6pimPdc4Cs6c="; + hash = "sha256-9NI6CUcK5AqITKxtCMz9Z1+Ke87u2y2E0LlwsFUDhgw="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/ssh-python/default.nix b/pkgs/development/python-modules/ssh-python/default.nix index c87730307d50..2cd514419151 100644 --- a/pkgs/development/python-modules/ssh-python/default.nix +++ b/pkgs/development/python-modules/ssh-python/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "ssh-python"; - version = "1.1.1"; + version = "03.0"; format = "setuptools"; src = fetchFromGitHub { owner = "ParallelSSH"; repo = "ssh-python"; tag = version; - hash = "sha256-kidz4uHT5C8TUROLGQUHihemYtwOoWZQNw7ElbwYKLM="; + hash = "sha256-hrTf0eywmK/sbZ7fVPatJvcWh5e1/rCLpk0yQKlyLYU="; }; build-system = [ setuptools ]; @@ -40,7 +40,7 @@ buildPythonPackage rec { meta = { description = "Python bindings for libssh C library"; homepage = "https://github.com/ParallelSSH/ssh-python"; - changelog = "https://github.com/ParallelSSH/ssh-python/blob/${version}/Changelog.rst"; + changelog = "https://github.com/ParallelSSH/ssh-python/blob/${src.tag}/Changelog.rst"; license = lib.licenses.lgpl21Only; maintainers = with lib.maintainers; [ infinidoge ]; }; diff --git a/pkgs/development/python-modules/sshtunnel/default.nix b/pkgs/development/python-modules/sshtunnel/default.nix index 08d6bf114082..c119e971e965 100644 --- a/pkgs/development/python-modules/sshtunnel/default.nix +++ b/pkgs/development/python-modules/sshtunnel/default.nix @@ -35,6 +35,7 @@ buildPythonPackage rec { ]; meta = with lib; { + broken = true; # incompatible with paramiko 4.0 https://github.com/pahaz/sshtunnel/issues/299 description = "Pure python SSH tunnels"; mainProgram = "sshtunnel"; homepage = "https://github.com/pahaz/sshtunnel"; diff --git a/pkgs/development/python-modules/stamina/default.nix b/pkgs/development/python-modules/stamina/default.nix index e1eda7924fcd..7b764abe8bcb 100644 --- a/pkgs/development/python-modules/stamina/default.nix +++ b/pkgs/development/python-modules/stamina/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "stamina"; - version = "24.3.0"; + version = "25.1.0"; pyproject = true; src = fetchFromGitHub { owner = "hynek"; repo = "stamina"; tag = version; - hash = "sha256-DasubVqKRhX4CRyKyJ3fIA9Rxmy+kGxkW0pDdu8OPPo="; + hash = "sha256-TehGqR3vbjLNByHZE2+Ytq52dpEpiL6+7TRUKwXcC1M="; }; nativeBuildInputs = [ @@ -47,7 +47,7 @@ buildPythonPackage rec { meta = with lib; { description = "Production-grade retries for Python"; homepage = "https://github.com/hynek/stamina"; - changelog = "https://github.com/hynek/stamina/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/hynek/stamina/blob/${src.tag}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ mbalatsko ]; }; diff --git a/pkgs/development/python-modules/starlette/default.nix b/pkgs/development/python-modules/starlette/default.nix index 91ae514304b6..c327f0bf46db 100644 --- a/pkgs/development/python-modules/starlette/default.nix +++ b/pkgs/development/python-modules/starlette/default.nix @@ -28,7 +28,7 @@ buildPythonPackage rec { pname = "starlette"; - version = "0.46.2"; + version = "0.47.2"; pyproject = true; disabled = pythonOlder "3.8"; @@ -37,7 +37,7 @@ buildPythonPackage rec { owner = "encode"; repo = "starlette"; tag = version; - hash = "sha256-K/0Y6plw+zbRKpzSLbEG6xb30e/Ou//4jddpUYdfs/k="; + hash = "sha256-FseSZrLWuNaLro2iLMcfiCrbx2Gz8+aEmLaSk/+PgN4="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/statmake/default.nix b/pkgs/development/python-modules/statmake/default.nix index ffaa22ef6841..1dbb09f0d5f4 100644 --- a/pkgs/development/python-modules/statmake/default.nix +++ b/pkgs/development/python-modules/statmake/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "statmake"; - version = "0.6.0"; + version = "1.1.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "daltonmaag"; repo = "statmake"; tag = "v${version}"; - hash = "sha256-3BZ71JVvj7GCojM8ycu160viPj8BLJ1SiW86Df2fzsw="; + hash = "sha256-UqL3l27Icu5DoVvFYctbOF7gvKvVV6hK1R5A1y9SYkU="; }; nativeBuildInputs = [ poetry-core ]; @@ -59,7 +59,7 @@ buildPythonPackage rec { description = "Applies STAT information from a Stylespace to a variable font"; mainProgram = "statmake"; homepage = "https://github.com/daltonmaag/statmake"; - changelog = "https://github.com/daltonmaag/statmake/releases/tag/v${version}"; + changelog = "https://github.com/daltonmaag/statmake/releases/tag/${src.tag}"; license = licenses.mit; maintainers = [ ]; }; diff --git a/pkgs/development/python-modules/statsmodels/default.nix b/pkgs/development/python-modules/statsmodels/default.nix index 0499b856422f..345bbe85f1e6 100644 --- a/pkgs/development/python-modules/statsmodels/default.nix +++ b/pkgs/development/python-modules/statsmodels/default.nix @@ -7,7 +7,6 @@ packaging, pandas, patsy, - pythonOlder, scipy, setuptools, setuptools-scm, @@ -19,13 +18,16 @@ buildPythonPackage rec { version = "0.14.5"; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchPypi { inherit pname version; hash = "sha256-3iYOWMzP0s7d+DW1WjVyM9bKhToapPkPdVOlLMccbd8="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail 'setuptools_scm[toml]>=8,<9' 'setuptools_scm[toml]' + ''; + build-system = [ cython numpy diff --git a/pkgs/development/python-modules/stone/default.nix b/pkgs/development/python-modules/stone/default.nix index e58b1870a6d5..d567ff447c5d 100644 --- a/pkgs/development/python-modules/stone/default.nix +++ b/pkgs/development/python-modules/stone/default.nix @@ -2,6 +2,7 @@ buildPythonPackage, fetchFromGitHub, lib, + jinja2, mock, packaging, ply, @@ -13,7 +14,7 @@ buildPythonPackage rec { pname = "stone"; - version = "3.3.8"; + version = "3.3.9"; pyproject = true; disabled = pythonOlder "3.7"; @@ -22,7 +23,7 @@ buildPythonPackage rec { owner = "dropbox"; repo = "stone"; tag = "v${version}"; - hash = "sha256-W+wRVWPaAzhdHMVE54GEJC/YJqYZVJhwFDWWSMKUPdw="; + hash = "sha256-3tUV2JrE3S2Tj/9aHvzfBTkIWUmWzkWNsVLr5yWRE/Q="; }; postPatch = '' @@ -33,6 +34,7 @@ buildPythonPackage rec { build-system = [ setuptools ]; dependencies = [ + jinja2 ply six packaging @@ -46,9 +48,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "stone" ]; meta = with lib; { - description = "Official Api Spec Language for Dropbox"; + description = "Official API Spec Language for Dropbox API V2"; homepage = "https://github.com/dropbox/stone"; - changelog = "https://github.com/dropbox/stone/releases/tag/v${version}"; + changelog = "https://github.com/dropbox/stone/releases/tag/${src.tag}"; license = licenses.mit; maintainers = [ ]; mainProgram = "stone"; diff --git a/pkgs/development/python-modules/strawberry-django/default.nix b/pkgs/development/python-modules/strawberry-django/default.nix index 5f4dddff4a8e..b5abd44e5a9b 100644 --- a/pkgs/development/python-modules/strawberry-django/default.nix +++ b/pkgs/development/python-modules/strawberry-django/default.nix @@ -26,6 +26,7 @@ factory-boy, pillow, psycopg2, + pytest-asyncio, pytest-cov-stub, pytest-django, pytest-mock, @@ -34,16 +35,21 @@ buildPythonPackage rec { pname = "strawberry-django"; - version = "0.60.0"; + version = "0.65.1"; pyproject = true; src = fetchFromGitHub { owner = "strawberry-graphql"; repo = "strawberry-django"; tag = "v${version}"; - hash = "sha256-mMI/tPdt9XK6Lz7VmI3uDxcCjIuidUeGHjG+6AQLoeQ="; + hash = "sha256-cX/eG6qWe/h9U4p1pMhhI+bZ5pLmiwGeYxNthKvdI6o="; }; + postPatch = '' + # django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the required STATIC_URL setting. + echo 'STATIC_URL = "static/"' >> tests/django_settings.py + ''; + build-system = [ poetry-core setuptools @@ -71,6 +77,7 @@ buildPythonPackage rec { factory-boy pillow psycopg2 + pytest-asyncio pytest-cov-stub pytest-django pytest-mock diff --git a/pkgs/development/python-modules/strawberry-graphql/default.nix b/pkgs/development/python-modules/strawberry-graphql/default.nix index 8db811e095b9..7378ba44d71b 100644 --- a/pkgs/development/python-modules/strawberry-graphql/default.nix +++ b/pkgs/development/python-modules/strawberry-graphql/default.nix @@ -44,7 +44,7 @@ buildPythonPackage rec { pname = "strawberry-graphql"; - version = "0.275.5"; + version = "0.278.0"; pyproject = true; disabled = pythonOlder "3.10"; @@ -53,7 +53,7 @@ buildPythonPackage rec { owner = "strawberry-graphql"; repo = "strawberry"; tag = version; - hash = "sha256-bgKxZuk0cp43oyPbgTdx5aG5l1HSCz0JOVNeaCJRhdo="; + hash = "sha256-GNjjSD40fhbMqfvuYSuP3tU8lfOqBGJIsoGWZCfj6C4="; }; postPatch = '' diff --git a/pkgs/development/python-modules/streamdeck/default.nix b/pkgs/development/python-modules/streamdeck/default.nix index 2d4009c57c7e..16ba119d7ca2 100644 --- a/pkgs/development/python-modules/streamdeck/default.nix +++ b/pkgs/development/python-modules/streamdeck/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "streamdeck"; - version = "0.9.6"; + version = "0.9.7"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-7ELZtxGzUuonStMFputI7OHu06W//nC5KOCC3OD3iPA="; + hash = "sha256-jVhuZihvjuA5rwl55JAmtFq+h/f5M68Vo44jh8HjUI4="; }; patches = [ diff --git a/pkgs/development/python-modules/stripe/default.nix b/pkgs/development/python-modules/stripe/default.nix index 60e199561ab8..618d1cf3a1cd 100644 --- a/pkgs/development/python-modules/stripe/default.nix +++ b/pkgs/development/python-modules/stripe/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "stripe"; - version = "12.1.0"; + version = "12.4.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-SkuFFpUs9QlemCJX8NR8RcHSu/d0PiyxLWaF9V2ouNQ="; + hash = "sha256-HNH1sFeYZ5IwgbrPWUlZ0fQD8hgiOgbcOCc76wfQFWc="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/subliminal/default.nix b/pkgs/development/python-modules/subliminal/default.nix index 638f8a1315a8..43fa45173a13 100644 --- a/pkgs/development/python-modules/subliminal/default.nix +++ b/pkgs/development/python-modules/subliminal/default.nix @@ -31,7 +31,7 @@ buildPythonPackage rec { pname = "subliminal"; - version = "2.2.1"; + version = "2.3.2"; pyproject = true; disabled = pythonOlder "3.8"; @@ -40,7 +40,7 @@ buildPythonPackage rec { owner = "Diaoul"; repo = "subliminal"; tag = version; - hash = "sha256-g7gg2qdLKl7bg/nNXRWN9wZaNShOOc38sVASZrIycMU="; + hash = "sha256-eAXzD6diep28wCZjWLOZpOX1bnakEldhs2LX5CPu5OI="; }; build-system = [ setuptools ]; @@ -85,7 +85,7 @@ buildPythonPackage rec { description = "Python library to search and download subtitles"; mainProgram = "subliminal"; homepage = "https://github.com/Diaoul/subliminal"; - changelog = "https://github.com/Diaoul/subliminal/blob/${version}/HISTORY.rst"; + changelog = "https://github.com/Diaoul/subliminal/blob/${src.tag}/HISTORY.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ doronbehar ]; }; diff --git a/pkgs/development/python-modules/sunpy/default.nix b/pkgs/development/python-modules/sunpy/default.nix index 44ef351a37c3..e09eae34658e 100644 --- a/pkgs/development/python-modules/sunpy/default.nix +++ b/pkgs/development/python-modules/sunpy/default.nix @@ -32,14 +32,14 @@ buildPythonPackage rec { pname = "sunpy"; - version = "6.1.1"; + version = "7.0.1"; format = "setuptools"; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-xgmmsbC7KGvUJ4mUD1T8t9aQDfz+IX31T4Wf9gguE9s="; + hash = "sha256-9ZCG9CtTpgGGlqtXcl2epRBzFcbVvIMzZcXk5CQ5/+A="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/svg-py/default.nix b/pkgs/development/python-modules/svg-py/default.nix index add0da17c737..759e8bef0001 100644 --- a/pkgs/development/python-modules/svg-py/default.nix +++ b/pkgs/development/python-modules/svg-py/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "svg-py"; - version = "1.6.0"; + version = "1.7.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "orsinium-labs"; repo = "svg.py"; tag = version; - hash = "sha256-XuSv4CVcbwWHuHiXxx4PfGJ8Pi+tfufbAdUiTFWNLcc="; + hash = "sha256-WRPHNgaKjim91pLdM8iQ1/1DBm7+lU7hFH0vXTguG1s="; }; build-system = [ flit-core ]; diff --git a/pkgs/development/python-modules/svgdigitizer/default.nix b/pkgs/development/python-modules/svgdigitizer/default.nix index 025fb86893b7..ce39c5090344 100644 --- a/pkgs/development/python-modules/svgdigitizer/default.nix +++ b/pkgs/development/python-modules/svgdigitizer/default.nix @@ -29,14 +29,14 @@ buildPythonPackage rec { pname = "svgdigitizer"; - version = "0.12.6"; + version = "0.13.0"; pyproject = true; src = fetchFromGitHub { owner = "echemdb"; repo = "svgdigitizer"; tag = version; - hash = "sha256-aodPjms92+/6bbheIs/8w+M4T+mfw5PWf1dsxFuojwA="; + hash = "sha256-UlcvCfNoEijIKoqSbufEZ6988rqwT2xDEy4P/9fdgVM="; }; build-system = [ @@ -77,7 +77,7 @@ buildPythonPackage rec { meta = { description = "(x,y) Data Points from SVG files"; homepage = "https://github.com/echemdb/svgdigitizer"; - changelog = "https://github.com/echemdb/svgdigitizer/blob/${src.rev}/ChangeLog"; + changelog = "https://github.com/echemdb/svgdigitizer/blob/${src.tag}/ChangeLog"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ doronbehar ]; }; diff --git a/pkgs/development/python-modules/swcgeom/default.nix b/pkgs/development/python-modules/swcgeom/default.nix index e940ac5e6c49..a2654535d466 100644 --- a/pkgs/development/python-modules/swcgeom/default.nix +++ b/pkgs/development/python-modules/swcgeom/default.nix @@ -26,9 +26,9 @@ }: let - version = "0.19.3"; + version = "0.19.4"; in -buildPythonPackage { +buildPythonPackage rec { pname = "swcgeom"; inherit version; pyproject = true; @@ -37,7 +37,7 @@ buildPythonPackage { owner = "yzx9"; repo = "swcgeom"; tag = "v${version}"; - hash = "sha256-mpp8Dw0XcU59fYt7vjswAnXCmrRP3mhbgTDG+J4UwzI="; + hash = "sha256-emffSI4LO+5UU267d+qj/NCVvHmRpzikJ7jdCOtPFNo="; }; build-system = [ @@ -88,7 +88,7 @@ buildPythonPackage { meta = { description = "Neuron geometry library for swc format"; homepage = "https://github.com/yzx9/swcgeom"; - changelog = "https://github.com/yzx9/swcgeom/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/yzx9/swcgeom/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ yzx9 ]; }; diff --git a/pkgs/development/python-modules/systemdunitparser/default.nix b/pkgs/development/python-modules/systemdunitparser/default.nix index 0b3431c06680..b3e008f0d744 100644 --- a/pkgs/development/python-modules/systemdunitparser/default.nix +++ b/pkgs/development/python-modules/systemdunitparser/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "systemdunitparser"; - version = "0.3"; + version = "0.4"; pyproject = true; src = fetchFromGitHub { owner = "sgallagher"; repo = "systemdunitparser"; - rev = version; - hash = "sha256-lcvXEieaifPUDhLdaz2FXaNdbw7wKR+x/kC+MMDT0tE="; + tag = version; + hash = "sha256-BlOj1rvRfh0SQ7io2N8MsMvAtWvXk0V6hYzlOSrr7hU="; }; build-system = [ diff --git a/pkgs/development/python-modules/tagoio-sdk/default.nix b/pkgs/development/python-modules/tagoio-sdk/default.nix index 8a7687a66602..efc9fff18e22 100644 --- a/pkgs/development/python-modules/tagoio-sdk/default.nix +++ b/pkgs/development/python-modules/tagoio-sdk/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "tagoio-sdk"; - version = "4.3.0"; + version = "5.0.3"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "tago-io"; repo = "sdk-python"; tag = "v${version}"; - hash = "sha256-37/fg2vbwYPhYPvSJ2YxWAPrfspqTE3thIL/VR1+AkI="; + hash = "sha256-PNPG1FUniwZhOKjynp4ba6kjGJmB/OW0F5b2ZOYaYwY="; }; pythonRelaxDeps = [ "requests" ]; @@ -49,7 +49,7 @@ buildPythonPackage rec { meta = with lib; { description = "Module for interacting with Tago.io"; homepage = "https://github.com/tago-io/sdk-python"; - changelog = "https://github.com/tago-io/sdk-python/releases/tag/v${version}"; + changelog = "https://github.com/tago-io/sdk-python/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/tcxparser/default.nix b/pkgs/development/python-modules/tcxparser/default.nix index 5c06e2f83bf0..97b1e8d97c79 100644 --- a/pkgs/development/python-modules/tcxparser/default.nix +++ b/pkgs/development/python-modules/tcxparser/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "tcxparser"; - version = "2.4.0"; + version = "2.4.0-r1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "vkurup"; repo = "python-tcxparser"; tag = version; - hash = "sha256-YZgzvwRy47MOTClAeJhzD6kZhGgCeVSGko6LgR/Uy0o="; + hash = "sha256-lQczTuxmxu4nCPJsgblrW2RXST7kvhtPnscemwXCx0Y="; }; build-system = [ diff --git a/pkgs/development/python-modules/tempora/default.nix b/pkgs/development/python-modules/tempora/default.nix index 070a3637b803..15ad8fc444ab 100644 --- a/pkgs/development/python-modules/tempora/default.nix +++ b/pkgs/development/python-modules/tempora/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "tempora"; - version = "5.8.0"; + version = "5.8.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -21,9 +21,13 @@ buildPythonPackage rec { owner = "jaraco"; repo = "tempora"; tag = "v${version}"; - hash = "sha256-ojllPOmz+laxFMCobLcDnCVMvo1354vS5nBnO1mxokM="; + hash = "sha256-1Zeo8bUCHKPZ6I0HGT7bIh7IgbRL4j9Cv3t9FFiZ72s="; }; + postPatch = '' + sed -i "/coherent\.licensed/d" pyproject.toml + ''; + build-system = [ setuptools-scm ]; dependencies = [ diff --git a/pkgs/development/python-modules/tensorboard/default.nix b/pkgs/development/python-modules/tensorboard/default.nix index 2a7be3be31b1..f145e93f0791 100644 --- a/pkgs/development/python-modules/tensorboard/default.nix +++ b/pkgs/development/python-modules/tensorboard/default.nix @@ -9,9 +9,9 @@ markdown, numpy, packaging, + pillow, protobuf, setuptools, - six, tensorboard-data-server, werkzeug, standard-imghdr, @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "tensorboard"; - version = "2.19.0"; + version = "2.20.0"; format = "wheel"; # tensorflow/tensorboard is built from a downloaded wheel, because @@ -30,7 +30,7 @@ buildPythonPackage rec { inherit pname version format; dist = "py3"; python = "py3"; - hash = "sha256-XnG5hmOmQafOim5wsL6OGkwMRdSHYLB2ODrEdVw1uaA="; + hash = "sha256-ncn5eMuEwHI6z5o0XZbBhPApPRjxZruNWe4Jjmz6q6Y="; }; pythonRelaxDeps = [ @@ -44,9 +44,9 @@ buildPythonPackage rec { markdown numpy packaging + pillow protobuf setuptools - six tensorboard-data-server werkzeug diff --git a/pkgs/development/python-modules/terminado/default.nix b/pkgs/development/python-modules/terminado/default.nix index 7773844c2feb..6b266e62ee74 100644 --- a/pkgs/development/python-modules/terminado/default.nix +++ b/pkgs/development/python-modules/terminado/default.nix @@ -34,6 +34,7 @@ buildPythonPackage rec { pytest-timeout pytestCheckHook ]; + pytestFlags = [ "-Wignore::pytest.PytestUnraisableExceptionWarning" ]; meta = with lib; { description = "Terminals served by Tornado websockets"; diff --git a/pkgs/development/python-modules/tesserocr/default.nix b/pkgs/development/python-modules/tesserocr/default.nix index 40c5dbfb49af..8166f0b86626 100644 --- a/pkgs/development/python-modules/tesserocr/default.nix +++ b/pkgs/development/python-modules/tesserocr/default.nix @@ -44,6 +44,9 @@ buildPythonPackage rec { # https://github.com/sirfz/tesserocr/issues/314 postPatch = '' sed -i '/allheaders.h/a\ pass\n\ncdef extern from "leptonica/pix_internal.h" nogil:' tesserocr/tesseract.pxd + + substituteInPlace setup.py \ + --replace-fail "Cython>=0.23,<3.1.0" Cython ''; build-system = [ diff --git a/pkgs/development/python-modules/testfixtures/default.nix b/pkgs/development/python-modules/testfixtures/default.nix index 0cc3d187af0b..547ad584741a 100644 --- a/pkgs/development/python-modules/testfixtures/default.nix +++ b/pkgs/development/python-modules/testfixtures/default.nix @@ -1,7 +1,6 @@ { lib, buildPythonPackage, - fetchpatch2, fetchPypi, mock, pytestCheckHook, @@ -13,7 +12,7 @@ buildPythonPackage rec { pname = "testfixtures"; - version = "8.3.0"; + version = "9.1.0"; pyproject = true; # DO NOT CONTACT upstream. # https://github.com/simplistix/ is only concerned with internal CI process. @@ -26,17 +25,9 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-1MC4SvLyZ2EPkIAJtQ1vmDpOWK3iLGe6tnh7WkAtWcA="; + hash = "sha256-UX6c81OUJyNTOuEQDKRd0n/geFw60nZQdfXLHLzgFII="; }; - patches = [ - (fetchpatch2 { - name = "python313-compat.patch"; - url = "https://github.com/simplistix/testfixtures/commit/a23532c7bc685589cce6a5037821a74da48959e7.patch?full_index=1"; - hash = "sha256-k0j/WgA+6LNTYJ233GJjeRU403bJJRxbpOu+BUsMeyQ="; - }) - ]; - build-system = [ setuptools ]; nativeCheckInputs = [ @@ -46,6 +37,11 @@ buildPythonPackage rec { twisted ]; + disabledTests = [ + "test_filter_missing" + "test_filter_present" + ]; + disabledTestPaths = [ # Django is too much hasle to setup at the moment "testfixtures/tests/test_django" diff --git a/pkgs/development/python-modules/testrail-api/default.nix b/pkgs/development/python-modules/testrail-api/default.nix index 309f46fd27db..7a7d3cbcf0ab 100644 --- a/pkgs/development/python-modules/testrail-api/default.nix +++ b/pkgs/development/python-modules/testrail-api/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "testrail-api"; - version = "1.13.3"; + version = "1.13.4"; pyproject = true; disabled = pythonOlder "3.8"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "tolstislon"; repo = "testrail-api"; tag = version; - hash = "sha256-jsdxKcXFjP9ifQLwRN3M2xpx1a+KpGv469Ag6NNph6w="; + hash = "sha256-0RrNqSuimXXBEkjmnRQiIXUDy6z2y9wKneWqBTi5FHY="; }; build-system = [ diff --git a/pkgs/development/python-modules/textstat/default.nix b/pkgs/development/python-modules/textstat/default.nix index d5dacef7917c..c0d3ef77cc89 100644 --- a/pkgs/development/python-modules/textstat/default.nix +++ b/pkgs/development/python-modules/textstat/default.nix @@ -8,15 +8,15 @@ pytest, }: buildPythonPackage rec { - version = "0.7.4"; + version = "0.7.8"; pname = "textstat"; pyproject = true; src = fetchFromGitHub { owner = "textstat"; repo = "textstat"; - rev = version; - hash = "sha256-UOCWsIdoVGxmkro4kNBYNMYhA3kktngRDxKjo6o+GXY="; + tag = version; + hash = "sha256-EEGTmZXTAZ4fsfZk/ictvjQ6lCAi5Ma/Ae83ziGDQXQ="; }; build-system = [ diff --git a/pkgs/development/python-modules/textual-autocomplete/default.nix b/pkgs/development/python-modules/textual-autocomplete/default.nix index 22ef79217757..5b2768f33090 100644 --- a/pkgs/development/python-modules/textual-autocomplete/default.nix +++ b/pkgs/development/python-modules/textual-autocomplete/default.nix @@ -9,13 +9,13 @@ }: buildPythonPackage rec { pname = "textual-autocomplete"; - version = "4.0.4"; + version = "4.0.5"; pyproject = true; src = fetchPypi { pname = "textual_autocomplete"; inherit version; - hash = "sha256-CWmYe5ClPB91dT3+OtLH6g2XS1g53CoAotMywAAFeHE="; + hash = "sha256-24Bm/H2Hx0r9CDZ/j8IUS87F3b3qY6Y3JJdU6dH9h1U="; }; build-system = [ diff --git a/pkgs/development/python-modules/textual/default.nix b/pkgs/development/python-modules/textual/default.nix index 45dcec6ce6a5..de8a460ee8ae 100644 --- a/pkgs/development/python-modules/textual/default.nix +++ b/pkgs/development/python-modules/textual/default.nix @@ -29,14 +29,14 @@ buildPythonPackage rec { pname = "textual"; - version = "4.0.0"; + version = "5.2.0"; pyproject = true; src = fetchFromGitHub { owner = "Textualize"; repo = "textual"; tag = "v${version}"; - hash = "sha256-rVDr4Snp5qnErxWRM9yoxnzzX8gg8nD3RbBkL1rmgqI="; + hash = "sha256-cv8pLEPmL4jtiMCohDPqBJwGnLcr3d1MXKdNvQHEQN8="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/thermopro-ble/default.nix b/pkgs/development/python-modules/thermopro-ble/default.nix index 0da7947b12c6..8e6f8fa45df6 100644 --- a/pkgs/development/python-modules/thermopro-ble/default.nix +++ b/pkgs/development/python-modules/thermopro-ble/default.nix @@ -5,6 +5,7 @@ buildPythonPackage, fetchFromGitHub, poetry-core, + pytest-asyncio, pytest-cov-stub, pytestCheckHook, pythonOlder, @@ -34,6 +35,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ + pytest-asyncio pytest-cov-stub pytestCheckHook ]; diff --git a/pkgs/development/python-modules/thinc/default.nix b/pkgs/development/python-modules/thinc/default.nix index b577d4cbf2b2..37115ac988aa 100644 --- a/pkgs/development/python-modules/thinc/default.nix +++ b/pkgs/development/python-modules/thinc/default.nix @@ -22,12 +22,12 @@ buildPythonPackage rec { pname = "thinc"; - version = "8.3.6"; + version = "9.1.1"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-SZg/m33cQ0OpUyaUqRGN0hbXpgBSCiGEmkO2wmjsbK0="; + hash = "sha256-IfrimG13d6bwULkEbcnqsRhS8cmpl9zJAy8+zCJ4Sko="; }; build-system = [ diff --git a/pkgs/development/python-modules/thrift/default.nix b/pkgs/development/python-modules/thrift/default.nix index e3301d3ab4cc..214aaea6ced1 100644 --- a/pkgs/development/python-modules/thrift/default.nix +++ b/pkgs/development/python-modules/thrift/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "thrift"; - version = "0.21.0"; + version = "0.22.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-Xm98UPk26/oj6SQimvyV6yGfjI5agyAt1KORJEgD5AI="; + hash = "sha256-QugnavvV9U/h02SFi2h3vF5aSl7Wn2oAW5TKSRj+FGY="; }; build-system = [ diff --git a/pkgs/development/python-modules/thriftpy2/default.nix b/pkgs/development/python-modules/thriftpy2/default.nix index db5292a9f5d6..03ac0195c2d3 100644 --- a/pkgs/development/python-modules/thriftpy2/default.nix +++ b/pkgs/development/python-modules/thriftpy2/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "thriftpy2"; - version = "0.5.2"; + version = "0.5.3"; pyproject = true; disabled = pythonOlder "3.6"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "Thriftpy"; repo = "thriftpy2"; tag = "v${version}"; - hash = "sha256-GBJL+IqZpT1/msJLiwiS5YDyB4hIe/e3pYPWx0A+lWY="; + hash = "sha256-idUKqpyRj8lq9Aq6vEEeYEawzRPOdNsySnkgfhwPtMc="; }; build-system = [ setuptools ]; @@ -42,7 +42,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python module for Apache Thrift"; homepage = "https://github.com/Thriftpy/thriftpy2"; - changelog = "https://github.com/Thriftpy/thriftpy2/blob/v${version}/CHANGES.rst"; + changelog = "https://github.com/Thriftpy/thriftpy2/blob/${src.tag}/CHANGES.rst"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/tianshou/default.nix b/pkgs/development/python-modules/tianshou/default.nix index 2336768719cf..7cb9052c2d02 100644 --- a/pkgs/development/python-modules/tianshou/default.nix +++ b/pkgs/development/python-modules/tianshou/default.nix @@ -47,7 +47,7 @@ buildPythonPackage rec { pname = "tianshou"; - version = "1.1.0"; + version = "1.2.0"; pyproject = true; disabled = pythonOlder "3.11"; @@ -56,7 +56,7 @@ buildPythonPackage rec { owner = "thu-ml"; repo = "tianshou"; tag = "v${version}"; - hash = "sha256-eiwbSX8Q3KF6h7CfjuZ+7HlXwpvLga1NVr3e+FkPaHc="; + hash = "sha256-lJAxjE+GMwssov1r4jOCOTf5Aonu+q6FSz5oWvZpuQQ="; }; pythonRelaxDeps = [ @@ -182,7 +182,7 @@ buildPythonPackage rec { meta = { description = "Elegant PyTorch deep reinforcement learning library"; homepage = "https://github.com/thu-ml/tianshou"; - changelog = "https://github.com/thu-ml/tianshou/releases/tag/v${version}"; + changelog = "https://github.com/thu-ml/tianshou/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ derdennisop ]; }; diff --git a/pkgs/development/python-modules/tifffile/default.nix b/pkgs/development/python-modules/tifffile/default.nix index 763049874841..f9d0087ee418 100644 --- a/pkgs/development/python-modules/tifffile/default.nix +++ b/pkgs/development/python-modules/tifffile/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "tifffile"; - version = "2025.5.10"; + version = "2025.6.11"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; - hash = "sha256-AYM100KDqj/YwmO65cPCtmHrxFVI/eMVBAFvyue/EQM="; + hash = "sha256-Ds5MLnoQZWlX1Wigk7B1E8ByjTDBvYzBJyWQH//bcUM="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/tika-client/default.nix b/pkgs/development/python-modules/tika-client/default.nix index f70747fef55b..0639af3739a2 100644 --- a/pkgs/development/python-modules/tika-client/default.nix +++ b/pkgs/development/python-modules/tika-client/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "tika-client"; - version = "0.9.0"; + version = "0.10.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "stumpylog"; repo = "tika-client"; tag = version; - hash = "sha256-lg6syUbEbPb70iBa4lw5fVN8cvfWY3bkG2jNGxxNLDo="; + hash = "sha256-XYyMp+02lWzE+3Txr+shVGVwalLEJHvoy988tA7SWgY="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/tiledb/default.nix b/pkgs/development/python-modules/tiledb/default.nix index ca08af4ac055..d43419139032 100644 --- a/pkgs/development/python-modules/tiledb/default.nix +++ b/pkgs/development/python-modules/tiledb/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "tiledb"; - version = "0.33.2"; + version = "0.34.2"; format = "setuptools"; src = fetchFromGitHub { owner = "TileDB-Inc"; repo = "TileDB-Py"; tag = version; - hash = "sha256-c7mEYgk+9sHvOI7z/jp/VI3mA7XOlNFik8X5rTyBclg="; + hash = "sha256-EXRrWp/2sMn7DCzgXk5L0692rhGtQZwWpVWYnfrxmGA="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/tiler/default.nix b/pkgs/development/python-modules/tiler/default.nix index 40766f6436c6..16dc515e04f2 100644 --- a/pkgs/development/python-modules/tiler/default.nix +++ b/pkgs/development/python-modules/tiler/default.nix @@ -13,12 +13,12 @@ buildPythonPackage rec { pname = "tiler"; - version = "0.5.7"; + version = "0.6.0"; format = "pyproject"; src = fetchPypi { inherit pname version; - hash = "sha256-2HWO/iJ9RCWNVmw2slu9F/+Mchk3evB5/F8EfbuMI/Y="; + hash = "sha256-ps0uHgzPa+ZoXXrB+0gfuVIEBUNmym/ym6xCxiyHhxA="; }; patches = [ diff --git a/pkgs/development/python-modules/tld/default.nix b/pkgs/development/python-modules/tld/default.nix index 767651e322df..c07115722106 100644 --- a/pkgs/development/python-modules/tld/default.nix +++ b/pkgs/development/python-modules/tld/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "tld"; - version = "0.13"; + version = "0.13.1"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-k93l4cBL3xhEl26uRAcGN50h9KsjW3PAXXSD4HT7Vik="; + hash = "sha256-dewAk2y89WT2c2HEFxM2NEC2xO8PDBWStbD75ywXo1A="; }; nativeCheckInputs = [ @@ -31,6 +31,8 @@ buildPythonPackage rec { faker ]; + doCheck = false; # missing pytest-codeblock + # These tests require network access, but disabledTestPaths doesn't work. # the file needs to be `import`ed by another Python test file, so it # can't simply be removed. diff --git a/pkgs/development/python-modules/torchio/default.nix b/pkgs/development/python-modules/torchio/default.nix index fe99a4035539..bab297da0a92 100644 --- a/pkgs/development/python-modules/torchio/default.nix +++ b/pkgs/development/python-modules/torchio/default.nix @@ -29,14 +29,14 @@ buildPythonPackage rec { pname = "torchio"; - version = "0.20.17"; + version = "0.20.19"; pyproject = true; src = fetchFromGitHub { owner = "TorchIO-project"; repo = "torchio"; tag = "v${version}"; - hash = "sha256-kZCbQGIkWmlXl25UviPrSDo0swCjWnvTTkBnxGI0Y7U="; + hash = "sha256-fx3aExmRMbzXG2MVpWrsssH658Ll4x+FC2ARK6oIGBw="; }; build-system = [ diff --git a/pkgs/development/python-modules/total-connect-client/default.nix b/pkgs/development/python-modules/total-connect-client/default.nix index 79c1d1860437..5f61748dc1fc 100644 --- a/pkgs/development/python-modules/total-connect-client/default.nix +++ b/pkgs/development/python-modules/total-connect-client/default.nix @@ -7,13 +7,14 @@ pytestCheckHook, pythonOlder, requests-mock, + requests-oauthlib, setuptools, zeep, }: buildPythonPackage rec { pname = "total-connect-client"; - version = "2025.1.4"; + version = "2025.5"; pyproject = true; disabled = pythonOlder "3.10"; @@ -22,7 +23,7 @@ buildPythonPackage rec { owner = "craigjmidwinter"; repo = "total-connect-client"; tag = version; - hash = "sha256-zzSYi/qhHmugH30bnYHK9lCBVN5wuv6n9rvaZC/sIag="; + hash = "sha256-xVpR5gd185eZBoqUhVVcFGPbPFjCavwOZP7yFObzGic="; }; build-system = [ setuptools ]; @@ -32,6 +33,7 @@ buildPythonPackage rec { dependencies = [ pycryptodome pyjwt + requests-oauthlib zeep ]; @@ -45,7 +47,7 @@ buildPythonPackage rec { meta = with lib; { description = "Interact with Total Connect 2 alarm systems"; homepage = "https://github.com/craigjmidwinter/total-connect-client"; - changelog = "https://github.com/craigjmidwinter/total-connect-client/releases/tag/${version}"; + changelog = "https://github.com/craigjmidwinter/total-connect-client/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; }; diff --git a/pkgs/development/python-modules/tox/default.nix b/pkgs/development/python-modules/tox/default.nix index 0427ed68a800..93be8bfdb688 100644 --- a/pkgs/development/python-modules/tox/default.nix +++ b/pkgs/development/python-modules/tox/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "tox"; - version = "4.26.0"; + version = "4.28.4"; format = "pyproject"; src = fetchFromGitHub { owner = "tox-dev"; repo = "tox"; tag = version; - hash = "sha256-VySdeZDC71vi2mOtjdFJ4iCSpWbFEW3nzrVucPUz/oc="; + hash = "sha256-EKJsFf4LvfDi3OL6iNhKEBl5zlpdLET9RkfHEP7E9xU="; }; postPatch = '' diff --git a/pkgs/development/python-modules/trackpy/default.nix b/pkgs/development/python-modules/trackpy/default.nix index 1190aad1f313..2f7b012cf10b 100644 --- a/pkgs/development/python-modules/trackpy/default.nix +++ b/pkgs/development/python-modules/trackpy/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "trackpy"; - version = "0.6.4"; + version = "0.7"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "soft-matter"; repo = "trackpy"; tag = "v${version}"; - hash = "sha256-6i1IfdxgV6bpf//mXATpnsQ0zN26S8rlL0/1ql68sd8="; + hash = "sha256-3e+gHdn/4n8T78eA3Gjz1TdSI4Hd935U2pqd8wG+U0M="; }; propagatedBuildInputs = [ @@ -52,7 +52,7 @@ buildPythonPackage rec { meta = with lib; { description = "Particle-tracking toolkit"; homepage = "https://github.com/soft-matter/trackpy"; - changelog = "https://github.com/soft-matter/trackpy/releases/tag/v${version}"; + changelog = "https://github.com/soft-matter/trackpy/releases/tag/${src.tag}"; license = licenses.bsd3; maintainers = [ ]; broken = (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64); diff --git a/pkgs/development/python-modules/trakit/default.nix b/pkgs/development/python-modules/trakit/default.nix index 5fbe67a6cf17..afbd0c8f0424 100644 --- a/pkgs/development/python-modules/trakit/default.nix +++ b/pkgs/development/python-modules/trakit/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "trakit"; - version = "0.2.2"; + version = "0.2.5"; pyproject = true; disabled = pythonOlder "3.9"; @@ -28,8 +28,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "ratoaq2"; repo = "trakit"; - rev = version; - hash = "sha256-VV+pdsQ5WEALYZgu4AmvNce1rCTLSYPZtTMjh+aExsU="; + tag = version; + hash = "sha256-x/83yRzvQ81+wS0lJr52KYBMoPvSVDr17ppxG/lSfUg="; }; build-system = [ poetry-core ]; @@ -57,7 +57,7 @@ buildPythonPackage rec { meta = { description = "Guess additional information from track titles"; homepage = "https://github.com/ratoaq2/trakit"; - changelog = "https://github.com/ratoaq2/trakit/releases/tag/${version}"; + changelog = "https://github.com/ratoaq2/trakit/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ eljamm ]; }; diff --git a/pkgs/development/python-modules/tree-sitter-markdown/default.nix b/pkgs/development/python-modules/tree-sitter-markdown/default.nix index 70511b603127..554324248f4b 100644 --- a/pkgs/development/python-modules/tree-sitter-markdown/default.nix +++ b/pkgs/development/python-modules/tree-sitter-markdown/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "tree-sitter-markdown"; # only update to the latest version on PyPI - version = "0.3.2"; + version = "0.5.0"; pyproject = true; src = fetchFromGitHub { owner = "tree-sitter-grammars"; repo = "tree-sitter-markdown"; tag = "v${version}"; - hash = "sha256-OlVuHz9/5lxsGVT+1WhKx+7XtQiezMW1odiHGinzro8="; + hash = "sha256-I9KDE1yZce8KIGPLG5tmv5r/NCWwN95R6fIyvGdx+So="; }; build-system = [ diff --git a/pkgs/development/python-modules/tree-sitter-rust/default.nix b/pkgs/development/python-modules/tree-sitter-rust/default.nix index 8820bd0680b4..f720341200b1 100644 --- a/pkgs/development/python-modules/tree-sitter-rust/default.nix +++ b/pkgs/development/python-modules/tree-sitter-rust/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "tree-sitter-rust"; - version = "0.23.2"; + version = "0.24.0"; pyproject = true; src = fetchFromGitHub { owner = "tree-sitter"; repo = "tree-sitter-rust"; tag = "v${version}"; - hash = "sha256-aT+tlrEKMgWqTEq/NHh8Vj92h6i1aU6uPikDyaP2vfc="; + hash = "sha256-y3sJURlSTM7LRRN5WGIAeslsdRZU522Tfcu6dnXH/XQ="; }; build-system = [ diff --git a/pkgs/development/python-modules/tree-sitter/default.nix b/pkgs/development/python-modules/tree-sitter/default.nix index 4c176538beb0..74d54cfedbd6 100644 --- a/pkgs/development/python-modules/tree-sitter/default.nix +++ b/pkgs/development/python-modules/tree-sitter/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "tree-sitter"; - version = "0.24.0"; + version = "0.25.0"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchPypi { inherit pname version; - hash = "sha256-q9la9lyi9Pfso1Y0M5HtZp52Tzd0i1NSlG8A9/x45zQ="; + hash = "sha256-FciHdc8k2wZne6/mLfBYpkV9im3eZ7qkjdNyO5BeeaY="; }; # see https://github.com/tree-sitter/py-tree-sitter/issues/330#issuecomment-2629403946 diff --git a/pkgs/development/python-modules/treelib/default.nix b/pkgs/development/python-modules/treelib/default.nix index 1fd566f4c27d..77b3fc634047 100644 --- a/pkgs/development/python-modules/treelib/default.nix +++ b/pkgs/development/python-modules/treelib/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "treelib"; - version = "1.7.1"; + version = "1.8.0"; format = "setuptools"; src = fetchFromGitHub { owner = "caesar0301"; repo = "treelib"; tag = "v${version}"; - hash = "sha256-+6Ur2hEhUxHccZLdWHCyCkdI6Zr/wGTBIIzzbpEEiSY="; + hash = "sha256-jvaZVy+FUcCcIdvWK6zFL8IBVH+hMiPMmv5shFXLo0k="; }; propagatedBuildInputs = [ six ]; diff --git a/pkgs/development/python-modules/treq/default.nix b/pkgs/development/python-modules/treq/default.nix index 2f19ecf00a0a..621dc5ad2acc 100644 --- a/pkgs/development/python-modules/treq/default.nix +++ b/pkgs/development/python-modules/treq/default.nix @@ -5,11 +5,12 @@ # build-system incremental, - setuptools, + hatchling, # dependencies attrs, hyperlink, + multipart, requests, twisted, @@ -19,23 +20,24 @@ buildPythonPackage rec { pname = "treq"; - version = "24.9.1"; + version = "25.5.0"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-Fdp/xATz5O1Z0Kvl+O70lm+rvmGAOaKiO8fBUwXO/qg="; + hash = "sha256-Jd3jpVroXsLyxWMyyZrvJVqxT5l9DQBVLr/xNTipgEo="; }; nativeBuildInputs = [ incremental - setuptools + hatchling ]; propagatedBuildInputs = [ attrs hyperlink incremental + multipart requests twisted ] diff --git a/pkgs/development/python-modules/trino-python-client/default.nix b/pkgs/development/python-modules/trino-python-client/default.nix index 333d3fc2ee2d..bbf712cdf37e 100644 --- a/pkgs/development/python-modules/trino-python-client/default.nix +++ b/pkgs/development/python-modules/trino-python-client/default.nix @@ -19,14 +19,14 @@ buildPythonPackage rec { pname = "trino-python-client"; - version = "0.323.0"; + version = "0.334.0"; format = "setuptools"; src = fetchFromGitHub { repo = "trino-python-client"; owner = "trinodb"; tag = version; - hash = "sha256-Nr7p7x5cxxuPv2NUh1uMth97OQ+H2KBlu0SHVJ7Zu1M="; + hash = "sha256-cSwMmzIUFYX8VgSwobth8EsARUff3hhfBf+IrhuFSYM="; }; nativeBuildInputs = [ setuptools ]; @@ -62,7 +62,7 @@ buildPythonPackage rec { disabledTestMarks = [ "auth" ]; meta = with lib; { - changelog = "https://github.com/trinodb/trino-python-client/blob/${version}/CHANGES.md"; + changelog = "https://github.com/trinodb/trino-python-client/blob/${src.tag}/CHANGES.md"; description = "Client for the Trino distributed SQL Engine"; homepage = "https://github.com/trinodb/trino-python-client"; license = licenses.asl20; diff --git a/pkgs/development/python-modules/trl/default.nix b/pkgs/development/python-modules/trl/default.nix index 102e879db55f..bc89ac18fd4b 100644 --- a/pkgs/development/python-modules/trl/default.nix +++ b/pkgs/development/python-modules/trl/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "trl"; - version = "0.19.0"; + version = "0.20.0"; pyproject = true; src = fetchFromGitHub { owner = "huggingface"; repo = "trl"; tag = "v${version}"; - hash = "sha256-TlTq3tIQfNuI+CPvIy/qPFiKPhoSQd7g7FDj4F7C3CQ="; + hash = "sha256-z14refdNySnKcfFq54l+slsi4SLe5FG8UNoAKxfmAy0="; }; build-system = [ diff --git a/pkgs/development/python-modules/trytond/default.nix b/pkgs/development/python-modules/trytond/default.nix index 19c9040d1f60..7ce695852925 100644 --- a/pkgs/development/python-modules/trytond/default.nix +++ b/pkgs/development/python-modules/trytond/default.nix @@ -30,14 +30,14 @@ buildPythonPackage rec { pname = "trytond"; - version = "7.6.3"; + version = "7.6.5"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-i/EI9XGtQhdWPfyVIsiFX01b+nv2VmTOuevVKUu43nI="; + hash = "sha256-1HMFHBRuVJG5oonfxQzsgonJGG5ZmOXoLDkRlryTSXM="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/ttkbootstrap/default.nix b/pkgs/development/python-modules/ttkbootstrap/default.nix index 458ae0b51d69..626030ea4d8a 100644 --- a/pkgs/development/python-modules/ttkbootstrap/default.nix +++ b/pkgs/development/python-modules/ttkbootstrap/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "ttkbootstrap"; - version = "1.12.1"; - format = "setuptools"; + version = "1.14.2"; + pyproject = true; src = fetchFromGitHub { owner = "israel-dryer"; repo = "ttkbootstrap"; tag = "v${version}"; - hash = "sha256-Pkp45lB1Xeu9ZoLjKS8aSW2By/k3ID1qwMig/jdYHh4="; + hash = "sha256-D1Gx+gP6xbeOhKcjb2uhwhHlYFhma9y04tp0ibJCw6g="; }; build-system = [ @@ -27,6 +27,8 @@ buildPythonPackage rec { pillow ]; + pythonRelaxDeps = [ "pillow" ]; + # As far as I can tell, all tests require a display and are not normal-ish pytests # but appear to just be python scripts that run demos of components? doCheck = false; diff --git a/pkgs/development/python-modules/twisted/default.nix b/pkgs/development/python-modules/twisted/default.nix index 678392a3c3fa..4b3c8b3e576f 100644 --- a/pkgs/development/python-modules/twisted/default.nix +++ b/pkgs/development/python-modules/twisted/default.nix @@ -55,7 +55,7 @@ buildPythonPackage rec { pname = "twisted"; - version = "24.11.0"; + version = "25.5.0"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -63,7 +63,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; extension = "tar.gz"; - hash = "sha256-aV0FVtXsV53MRk0oVrY0iA7RMZ9FsQ0ZBD8rV+sBFbU="; + hash = "sha256-HesnI1jLa+Hj6PxvnIs2946w+nwiM9Lb4R7G/uBOoxY="; }; __darwinAllowLocalNetworking = true; diff --git a/pkgs/development/python-modules/type-infer/default.nix b/pkgs/development/python-modules/type-infer/default.nix index 371708f7d0d0..5bc50ccf9e45 100644 --- a/pkgs/development/python-modules/type-infer/default.nix +++ b/pkgs/development/python-modules/type-infer/default.nix @@ -24,7 +24,7 @@ let d.stopwords ]); - version = "0.0.21"; + version = "0.0.23"; tag = "v${version}"; in buildPythonPackage { @@ -38,7 +38,7 @@ buildPythonPackage { owner = "mindsdb"; repo = "type_infer"; inherit tag; - hash = "sha256-Q5f4WihaT88R+x4jMUuRNBvWglkGdS5oi+o9jOk+tSE="; + hash = "sha256-tqT/MTcSHcKGoPUUzjPLFpOTchannFsCd2VMC+8kVZ8="; }; pythonRelaxDeps = [ diff --git a/pkgs/development/python-modules/typed-settings/default.nix b/pkgs/development/python-modules/typed-settings/default.nix index 2e37f4f02ac1..78802f283b33 100644 --- a/pkgs/development/python-modules/typed-settings/default.nix +++ b/pkgs/development/python-modules/typed-settings/default.nix @@ -21,7 +21,7 @@ }: buildPythonPackage rec { pname = "typed-settings"; - version = "24.6.0"; + version = "25.0.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -29,7 +29,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "typed_settings"; inherit version; - hash = "sha256-mlWV3jP4BFKiA44Bi8RVCP/8I4qHUvCPXAPcjnvA0eI="; + hash = "sha256-Kbr9Mc1PXgD+OAw/ADp3HXC+rnAJcFEqjlXxQq/1wRM="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/typeguard/default.nix b/pkgs/development/python-modules/typeguard/default.nix index 4873e61061da..b14939e91f51 100644 --- a/pkgs/development/python-modules/typeguard/default.nix +++ b/pkgs/development/python-modules/typeguard/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "typeguard"; - version = "4.4.2"; + version = "4.4.4"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-pvEGWBPjLvNlvDs/UDr4qW+d1OADOgLCjEpJg96MbEk="; + hash = "sha256-On/S3/twXU0O+u1DBqcEyJud7oULaI8GCosWFaeeX3Q="; }; outputs = [ @@ -53,6 +53,10 @@ buildPythonPackage rec { pytestCheckHook ]; + # To prevent test from writing out non-reproducible .pyc files + # https://github.com/agronholm/typeguard/blob/ca512c28132999da514f31b5e93ed2f294ca8f77/tests/test_typechecked.py#L641 + preCheck = "export PYTHONDONTWRITEBYTECODE=1"; + pythonImportsCheck = [ "typeguard" ]; meta = { diff --git a/pkgs/development/python-modules/typer/default.nix b/pkgs/development/python-modules/typer/default.nix index 044cda773072..337369c869df 100644 --- a/pkgs/development/python-modules/typer/default.nix +++ b/pkgs/development/python-modules/typer/default.nix @@ -25,14 +25,14 @@ buildPythonPackage rec { pname = "typer"; - version = "0.15.4"; + version = "0.16.0"; pyproject = true; src = fetchFromGitHub { owner = "fastapi"; repo = "typer"; tag = version; - hash = "sha256-lZJKE8bxYxmDxAmnL7L/fL89gMe44voyHT20DUazd9E="; + hash = "sha256-WB9PIxagTHutfk3J+mNTVK8bC7TMDJquu3GLBQgaras="; }; build-system = [ pdm-backend ]; @@ -73,6 +73,12 @@ buildPythonPackage rec { "test_install_completion" ]; + disabledTestPaths = [ + # likely click 8.2 compat issue + "tests/test_tutorial/test_parameter_types/test_bool/test_tutorial002_an.py" + "tests/test_tutorial/test_parameter_types/test_bool/test_tutorial002.py" + ]; + pythonImportsCheck = [ "typer" ]; meta = { diff --git a/pkgs/development/python-modules/types-colorama/default.nix b/pkgs/development/python-modules/types-colorama/default.nix index c14b2e4ded7a..404583aeffda 100644 --- a/pkgs/development/python-modules/types-colorama/default.nix +++ b/pkgs/development/python-modules/types-colorama/default.nix @@ -7,12 +7,13 @@ buildPythonPackage rec { pname = "types-colorama"; - version = "0.4.15.20240311"; + version = "0.4.15.20250801"; pyproject = true; src = fetchPypi { - inherit pname version; - hash = "sha256-oo5/mNF9KxT7lWXTI4jkGfQQj1V6fZOaZjGZabK5nHo="; + pname = "types_colorama"; + inherit version; + hash = "sha256-AlZdE9aJY9EiN9PzMPXs1iKjF597WxTufxYUYnDDV/U="; }; nativeBuildInputs = [ setuptools ]; diff --git a/pkgs/development/python-modules/types-lxml/default.nix b/pkgs/development/python-modules/types-lxml/default.nix index 270dac5caa1d..02e93cd4cd46 100644 --- a/pkgs/development/python-modules/types-lxml/default.nix +++ b/pkgs/development/python-modules/types-lxml/default.nix @@ -20,14 +20,14 @@ buildPythonPackage rec { pname = "types-lxml"; - version = "2025.03.04"; + version = "2025.03.30"; pyproject = true; src = fetchFromGitHub { owner = "abelcheung"; repo = "types-lxml"; tag = version; - hash = "sha256-dA9sspqEChHarwk2LrK2F7Ehri2ffjOlGk3nj4KFsfU="; + hash = "sha256-+H1VOO72/zq0nITq2a+4wEarPqBdBF7wIfRShFBsLPw="; }; pythonRelaxDeps = [ "beautifulsoup4" ]; diff --git a/pkgs/development/python-modules/types-protobuf/default.nix b/pkgs/development/python-modules/types-protobuf/default.nix index 75d8c55bfaa3..f8f2066c7bd5 100644 --- a/pkgs/development/python-modules/types-protobuf/default.nix +++ b/pkgs/development/python-modules/types-protobuf/default.nix @@ -7,13 +7,13 @@ buildPythonPackage rec { pname = "types-protobuf"; - version = "5.29.1.20250315"; + version = "6.30.2.20250703"; format = "setuptools"; src = fetchPypi { pname = "types_protobuf"; inherit version; - hash = "sha256-CwW8NGIdBG3lS5T93V9Os7+En+LhOlD4+46J81BF/0k="; + hash = "sha256-YJqXR1S7tx+hePxkH1EFA5Xo4YSfSdBCCmKB7Y0d30Y="; }; propagatedBuildInputs = [ types-futures ]; diff --git a/pkgs/development/python-modules/types-psutil/default.nix b/pkgs/development/python-modules/types-psutil/default.nix index 92cd3efb2a96..008396640946 100644 --- a/pkgs/development/python-modules/types-psutil/default.nix +++ b/pkgs/development/python-modules/types-psutil/default.nix @@ -6,13 +6,13 @@ buildPythonPackage rec { pname = "types-psutil"; - version = "7.0.0.20250401"; + version = "7.0.0.20250801"; format = "setuptools"; src = fetchPypi { pname = "types_psutil"; inherit version; - hash = "sha256-Kn1mPAiIoHn8FkPrwQmtEuV6IclVKp4gNdpQQZEzbb8="; + hash = "sha256-AjC1YjQlLMb1nDYdzLqqCPMIjqNWk2er5pAEhdOIyX0="; }; # Module doesn't have tests diff --git a/pkgs/development/python-modules/types-python-dateutil/default.nix b/pkgs/development/python-modules/types-python-dateutil/default.nix index 0dd1b01af601..a7590da661ba 100644 --- a/pkgs/development/python-modules/types-python-dateutil/default.nix +++ b/pkgs/development/python-modules/types-python-dateutil/default.nix @@ -7,13 +7,13 @@ buildPythonPackage rec { pname = "types-python-dateutil"; - version = "2.9.0.20241206"; + version = "2.9.0.20250708"; pyproject = true; src = fetchPypi { pname = "types_python_dateutil"; inherit version; - hash = "sha256-GPSTQUwm/7ppKnI2n+p6FUxQJkYwHr/j1WoEs3ZyhMs="; + hash = "sha256-zNvXXastbJaWw1BXnzTP/iwoHkxfJ6WFsqJDjdHVyKs="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/types-pyyaml/default.nix b/pkgs/development/python-modules/types-pyyaml/default.nix index 46893f2f9f57..e9dbdeb82433 100644 --- a/pkgs/development/python-modules/types-pyyaml/default.nix +++ b/pkgs/development/python-modules/types-pyyaml/default.nix @@ -7,13 +7,13 @@ buildPythonPackage rec { pname = "types-pyyaml"; - version = "6.0.12.20250402"; + version = "6.0.12.20250516"; pyproject = true; src = fetchPypi { pname = "types_pyyaml"; inherit version; - hash = "sha256-18E8Pm0zW2r0sBIqAf8dJwq6hKuW0aGhBj7Lo+E+wHU="; + hash = "sha256-nyGnAhb8D6GyFqgXbbX54K9us10vKTKsuHaJ0Dpb9ro="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/types-setuptools/default.nix b/pkgs/development/python-modules/types-setuptools/default.nix index 6c508858478f..8fdcc17567d7 100644 --- a/pkgs/development/python-modules/types-setuptools/default.nix +++ b/pkgs/development/python-modules/types-setuptools/default.nix @@ -7,13 +7,13 @@ buildPythonPackage rec { pname = "types-setuptools"; - version = "78.1.0.20250329"; + version = "80.9.0.20250801"; pyproject = true; src = fetchPypi { pname = "types_setuptools"; inherit version; - hash = "sha256-MeYpUMOLjMHFEUsHdQTjZCaGCgZCh8rBG5ZmqzpIMjQ="; + hash = "sha256-4ekmgvoHImQVOWu04tMfEWoW/75YOwWwH5kQ/N6jt+g="; }; nativeBuildInputs = [ setuptools ]; diff --git a/pkgs/development/python-modules/typeshed-client/default.nix b/pkgs/development/python-modules/typeshed-client/default.nix index 748fe0f05016..507bfd771f41 100644 --- a/pkgs/development/python-modules/typeshed-client/default.nix +++ b/pkgs/development/python-modules/typeshed-client/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "typeshed-client"; - version = "2.7.0"; + version = "2.8.2"; pyproject = true; disabled = pythonOlder "3.8"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "JelleZijlstra"; repo = "typeshed_client"; tag = "v${version}"; - hash = "sha256-dEfKZ930Jxa84HUqKpsL2JWQLeeWx6gIMtFHTbiw3Es="; + hash = "sha256-+muWm2/Psp8V1n7mEloc+ltuwHG/uRvDUgSFRNzz5EQ="; }; build-system = [ setuptools ]; @@ -39,7 +39,7 @@ buildPythonPackage rec { meta = with lib; { description = "Retrieve information from typeshed and other typing stubs"; homepage = "https://github.com/JelleZijlstra/typeshed_client"; - changelog = "https://github.com/JelleZijlstra/typeshed_client/releases/tag/v${version}"; + changelog = "https://github.com/JelleZijlstra/typeshed_client/releases/tag/${src.tag}"; license = licenses.mit; maintainers = [ ]; }; diff --git a/pkgs/development/python-modules/typing-extensions/default.nix b/pkgs/development/python-modules/typing-extensions/default.nix index b31e894e59db..662ad9c5eb9a 100644 --- a/pkgs/development/python-modules/typing-extensions/default.nix +++ b/pkgs/development/python-modules/typing-extensions/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "typing-extensions"; - version = "4.13.2"; + version = "4.14.1"; pyproject = true; src = fetchFromGitHub { owner = "python"; repo = "typing_extensions"; tag = version; - hash = "sha256-6wG+f0+sGI3sWy4EYeWDTffLicMiIkACHwrw0oP4Z1w="; + hash = "sha256-KzfxVUgPN1cLg73A3TC2zQjYfeLc8x9TtbLmOfmlOkY="; }; nativeBuildInputs = [ flit-core ]; diff --git a/pkgs/development/python-modules/tyro/default.nix b/pkgs/development/python-modules/tyro/default.nix index c0d4ccddee26..6422a960ccd1 100644 --- a/pkgs/development/python-modules/tyro/default.nix +++ b/pkgs/development/python-modules/tyro/default.nix @@ -26,14 +26,14 @@ buildPythonPackage rec { pname = "tyro"; - version = "0.9.19"; + version = "0.9.27"; pyproject = true; src = fetchFromGitHub { owner = "brentyi"; repo = "tyro"; tag = "v${version}"; - hash = "sha256-A1Vplc84Xy8TufqmklPUzIdgiPpFcIjqV0eUgdKmYRM="; + hash = "sha256-2duLVdBwNpGWCV+WgtzyXjoVhukVjUUhIWXVBEk4QIA="; }; build-system = [ hatchling ]; @@ -62,7 +62,7 @@ buildPythonPackage rec { meta = { description = "CLI interfaces & config objects, from types"; homepage = "https://github.com/brentyi/tyro"; - changelog = "https://github.com/brentyi/tyro/releases/tag/v${version}"; + changelog = "https://github.com/brentyi/tyro/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ hoh ]; }; diff --git a/pkgs/development/python-modules/uart-devices/default.nix b/pkgs/development/python-modules/uart-devices/default.nix index a8ae51c93c63..3005eb14e7d2 100644 --- a/pkgs/development/python-modules/uart-devices/default.nix +++ b/pkgs/development/python-modules/uart-devices/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "uart-devices"; - version = "0.1.0"; + version = "0.1.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "bdraco"; repo = "uart-devices"; tag = "v${version}"; - hash = "sha256-rmOWyTdOwnlr8Rwsvd2oeZq79LuGVJDAkIW2/9gGrKQ="; + hash = "sha256-vBwQXeXw9y7eETtlC4dcqGytIgrAm7iomnvoaxhl6JI="; }; postPatch = '' @@ -39,7 +39,7 @@ buildPythonPackage rec { meta = with lib; { description = "UART Devices for Linux"; homepage = "https://github.com/bdraco/uart-devices"; - changelog = "https://github.com/bdraco/uart-devices/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/bdraco/uart-devices/blob/${src.tag}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ fab ]; platforms = platforms.linux; diff --git a/pkgs/development/python-modules/uasiren/default.nix b/pkgs/development/python-modules/uasiren/default.nix index 7b26d889cedc..e82ee94bb7ae 100644 --- a/pkgs/development/python-modules/uasiren/default.nix +++ b/pkgs/development/python-modules/uasiren/default.nix @@ -10,6 +10,7 @@ aiohttp, # tests + pytest-asyncio, pytestCheckHook, }: @@ -33,7 +34,10 @@ buildPythonPackage { propagatedBuildInputs = [ aiohttp ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytest-asyncio + pytestCheckHook + ]; pythonImportsCheck = [ "uasiren" diff --git a/pkgs/development/python-modules/ueberzug/default.nix b/pkgs/development/python-modules/ueberzug/default.nix index 633e2d9d7db2..d0169e0f6e39 100644 --- a/pkgs/development/python-modules/ueberzug/default.nix +++ b/pkgs/development/python-modules/ueberzug/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "ueberzug"; - version = "18.1.9"; + version = "18.3.1"; format = "setuptools"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "7ce49f351132c7d1b0f8097f6e4c5635376151ca59318540da3e296e5b21adc3"; + sha256 = "sha256-1Lk4E5YwEq2mUnYbIWDhzz9/CCwfXMJ11/TtJ44ugOk="; }; buildInputs = [ diff --git a/pkgs/development/python-modules/ufo2ft/default.nix b/pkgs/development/python-modules/ufo2ft/default.nix index a7b85b658083..871fb640c09f 100644 --- a/pkgs/development/python-modules/ufo2ft/default.nix +++ b/pkgs/development/python-modules/ufo2ft/default.nix @@ -19,14 +19,14 @@ buildPythonPackage rec { pname = "ufo2ft"; - version = "3.5.1"; + version = "3.6.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-FUITbL+FnscmZjZMlgh/dX4+tJR6MD0LoH5jDNisQkI="; + hash = "sha256-hKqTjD8cTgyxHZnaojPAT5JY11okvLiNOnemoULnpmw="; }; build-system = [ diff --git a/pkgs/development/python-modules/ufolib2/default.nix b/pkgs/development/python-modules/ufolib2/default.nix index 6597a46dabeb..6d6ab0af094c 100644 --- a/pkgs/development/python-modules/ufolib2/default.nix +++ b/pkgs/development/python-modules/ufolib2/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "ufolib2"; - version = "0.17.1"; + version = "0.18.1"; format = "pyproject"; src = fetchFromGitHub { owner = "fonttools"; repo = "ufoLib2"; tag = "v${version}"; - hash = "sha256-pVwQOVtUUDphBZIUoiIf19DdZ+t7uS32Ery8+e2ZLlE="; + hash = "sha256-YFGgPpiEurPaTUFaSMsVBKS4Ob+vPyZhputfRE39wtg="; }; build-system = [ setuptools-scm ]; diff --git a/pkgs/development/python-modules/uharfbuzz/default.nix b/pkgs/development/python-modules/uharfbuzz/default.nix index b04167f1e6db..d03057e8cc14 100644 --- a/pkgs/development/python-modules/uharfbuzz/default.nix +++ b/pkgs/development/python-modules/uharfbuzz/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "uharfbuzz"; - version = "0.45.0"; + version = "0.51.1"; pyproject = true; disabled = pythonOlder "3.5"; @@ -22,7 +22,7 @@ buildPythonPackage rec { repo = "uharfbuzz"; tag = "v${version}"; fetchSubmodules = true; - hash = "sha256-dfEyeejJdLHGHH+YI0mWdjF2rvFpM6/KVm2tLo9ssUs="; + hash = "sha256-mVxG0unTjMjb0/6w58Py+TARw8YmOWljTlQQwUEdMpg="; }; postPatch = '' diff --git a/pkgs/development/python-modules/ultralytics/default.nix b/pkgs/development/python-modules/ultralytics/default.nix index 926844ac46f6..04048239733f 100644 --- a/pkgs/development/python-modules/ultralytics/default.nix +++ b/pkgs/development/python-modules/ultralytics/default.nix @@ -32,14 +32,14 @@ buildPythonPackage rec { pname = "ultralytics"; - version = "8.3.143"; + version = "8.3.174"; pyproject = true; src = fetchFromGitHub { owner = "ultralytics"; repo = "ultralytics"; tag = "v${version}"; - hash = "sha256-qpFQcGLTEQS7Bt9CvdXgv2JyNfOONS0Cf71dckCrlPw="; + hash = "sha256-wQ16e67ldrV8KwAXoLyxqzx9DG+LAmU5Mt+65dQzUkY="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/umap-learn/default.nix b/pkgs/development/python-modules/umap-learn/default.nix index 616aefb657eb..5b462a1c3769 100644 --- a/pkgs/development/python-modules/umap-learn/default.nix +++ b/pkgs/development/python-modules/umap-learn/default.nix @@ -34,14 +34,14 @@ buildPythonPackage rec { pname = "umap-learn"; - version = "0.5.8"; + version = "0.5.9.post2"; pyproject = true; src = fetchFromGitHub { owner = "lmcinnes"; repo = "umap"; tag = "release-${version}"; - hash = "sha256-VR+qBZyFtpW/xuFXI8pxDkkwJKt9qajnUtvuZLFZtF0="; + hash = "sha256-ollUXPVB07v6DkQ/d1eke0/j1f4Ekfygo1r6CtIRTuk="; }; build-system = [ setuptools ]; @@ -101,7 +101,7 @@ buildPythonPackage rec { meta = { description = "Uniform Manifold Approximation and Projection"; homepage = "https://github.com/lmcinnes/umap"; - changelog = "https://github.com/lmcinnes/umap/releases/tag/release-${version}"; + changelog = "https://github.com/lmcinnes/umap/releases/tag/release-${src.tag}"; license = lib.licenses.bsd3; maintainers = [ ]; }; diff --git a/pkgs/development/python-modules/unidata-blocks/default.nix b/pkgs/development/python-modules/unidata-blocks/default.nix index df0f39d9ce77..716e67b2f29c 100644 --- a/pkgs/development/python-modules/unidata-blocks/default.nix +++ b/pkgs/development/python-modules/unidata-blocks/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "unidata-blocks"; - version = "0.0.16"; + version = "0.0.17"; pyproject = true; disabled = pythonOlder "3.10"; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "unidata_blocks"; inherit version; - hash = "sha256-b/5Yq9wI+qSYSObBMCqZ3j8fSXwe4ssenNlvpkJSZro="; + hash = "sha256-QI9niECwNRyVpyzjaibPmlXxLpIbVA5v0bz94s0dDtM="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/unsloth-zoo/default.nix b/pkgs/development/python-modules/unsloth-zoo/default.nix index 03f4a6e9d577..d5f50d0578ec 100644 --- a/pkgs/development/python-modules/unsloth-zoo/default.nix +++ b/pkgs/development/python-modules/unsloth-zoo/default.nix @@ -27,14 +27,14 @@ buildPythonPackage rec { pname = "unsloth-zoo"; - version = "2025.6.4"; + version = "2025.8.1"; pyproject = true; # no tags on GitHub src = fetchPypi { pname = "unsloth_zoo"; inherit version; - hash = "sha256-3KLsFYhnTPqaeydFJDHr+qNkTVi2NL3ADjzkd0NBOQQ="; + hash = "sha256-AkAfd+dJb8A9cUYK/VH30Q5xN2BW/x4zyndnIyN9y14="; }; # pyproject.toml requires an obsolete version of protobuf, diff --git a/pkgs/development/python-modules/unsloth/default.nix b/pkgs/development/python-modules/unsloth/default.nix index 1e9124ad1a62..dc45bf8ded2f 100644 --- a/pkgs/development/python-modules/unsloth/default.nix +++ b/pkgs/development/python-modules/unsloth/default.nix @@ -31,14 +31,14 @@ buildPythonPackage rec { pname = "unsloth"; - version = "2025.6.5"; + version = "2025.8.1"; pyproject = true; # Tags on the GitHub repo don't match src = fetchPypi { pname = "unsloth"; inherit version; - hash = "sha256-o4c4gANnjM+z4Dp/0BZ48SMLMbCyIgjF3C5Q/AXV49A="; + hash = "sha256-hkE+f6apgilrE0lFTWRe8PEvRQ71YuoHpQgzd/R/FaI="; }; build-system = [ diff --git a/pkgs/development/python-modules/unstructured-client/default.nix b/pkgs/development/python-modules/unstructured-client/default.nix index b3c58f576e57..c92072ee35b8 100644 --- a/pkgs/development/python-modules/unstructured-client/default.nix +++ b/pkgs/development/python-modules/unstructured-client/default.nix @@ -21,14 +21,14 @@ buildPythonPackage rec { pname = "unstructured-client"; - version = "0.38.1"; + version = "0.42.0"; pyproject = true; src = fetchFromGitHub { owner = "Unstructured-IO"; repo = "unstructured-python-client"; tag = "v${version}"; - hash = "sha256-gzNPzS//7MU6nX3cA0p6dPqIG273VlGMU0ePyObn4d4="; + hash = "sha256-LXCKD2LL1rFObr2Ew0vsa5Uh96sR8/821ecL/il30r0="; }; preBuild = '' diff --git a/pkgs/development/python-modules/unstructured/default.nix b/pkgs/development/python-modules/unstructured/default.nix index fb11ac599003..5cd2137eca44 100644 --- a/pkgs/development/python-modules/unstructured/default.nix +++ b/pkgs/development/python-modules/unstructured/default.nix @@ -116,9 +116,9 @@ grpcio, }: let - version = "0.17.2"; + version = "0.18.12"; in -buildPythonPackage { +buildPythonPackage rec { pname = "unstructured"; inherit version; pyproject = true; @@ -127,7 +127,7 @@ buildPythonPackage { owner = "Unstructured-IO"; repo = "unstructured"; tag = version; - hash = "sha256-DbNfhJzpPJObACWSc2r16kjIE2X/CrOCiT7fdgGNwIg="; + hash = "sha256-YZsfpfkvjkNStYhU4lC3I/Hr1ahJ1wccyJ8lckwejaA="; }; build-system = [ setuptools ]; @@ -278,7 +278,7 @@ buildPythonPackage { description = "Open source libraries and APIs to build custom preprocessing pipelines for labeling, training, or production machine learning pipelines"; mainProgram = "unstructured-ingest"; homepage = "https://github.com/Unstructured-IO/unstructured"; - changelog = "https://github.com/Unstructured-IO/unstructured/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/Unstructured-IO/unstructured/blob/${src.tag}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ happysalada ]; }; diff --git a/pkgs/development/python-modules/upcloud-api/default.nix b/pkgs/development/python-modules/upcloud-api/default.nix index e4b35381fbd7..2d5c43ecfbdc 100644 --- a/pkgs/development/python-modules/upcloud-api/default.nix +++ b/pkgs/development/python-modules/upcloud-api/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "upcloud-api"; - version = "2.6.0"; + version = "2.7.0"; pyproject = true; src = fetchFromGitHub { owner = "UpCloudLtd"; repo = "upcloud-python-api"; tag = "v${version}"; - hash = "sha256-RDGRue9hejNPKIP61GtJHMG5rG3CKvJdsYxVrp6I5W0="; + hash = "sha256-YTccjuoagjS/Gllw8VtJ4NFoVqN1YeqXdgHI7BtP98w="; }; build-system = [ setuptools ]; @@ -32,7 +32,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "upcloud_api" ]; meta = with lib; { - changelog = "https://github.com/UpCloudLtd/upcloud-python-api/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/UpCloudLtd/upcloud-python-api/blob/${src.tag}/CHANGELOG.md"; description = "UpCloud API Client"; homepage = "https://github.com/UpCloudLtd/upcloud-python-api"; license = licenses.mit; diff --git a/pkgs/development/python-modules/uqbar/default.nix b/pkgs/development/python-modules/uqbar/default.nix index 68eca27e0128..4b19a46863cc 100644 --- a/pkgs/development/python-modules/uqbar/default.nix +++ b/pkgs/development/python-modules/uqbar/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "uqbar"; - version = "0.7.4"; + version = "0.9.5"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-q4p+ki5wA/gYGWnt2tzCiEakk4fBl9P96ONz2ZxlCCg="; + hash = "sha256-MHSnuPiJu2p3NiG/bV6qFUO90xQEFcyQrcxMY0hw8E8="; }; postPatch = '' diff --git a/pkgs/development/python-modules/uritemplate/default.nix b/pkgs/development/python-modules/uritemplate/default.nix index 1d757d4134a7..2cf866a315b2 100644 --- a/pkgs/development/python-modules/uritemplate/default.nix +++ b/pkgs/development/python-modules/uritemplate/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "uritemplate"; - version = "4.1.1"; + version = "4.2.0"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-Q0bt/Fw7efaUvM1tYJmjIrvrYo2/LNhu6lWkVs5RJPA="; + hash = "sha256-SAwu0YCHiVWGMyPuoxsO3maHld4YJhf++cbKCebsnQ4="; }; nativeBuildInputs = [ setuptools ]; diff --git a/pkgs/development/python-modules/urllib3/default.nix b/pkgs/development/python-modules/urllib3/default.nix index 624db352750b..8a98c2c5bd59 100644 --- a/pkgs/development/python-modules/urllib3/default.nix +++ b/pkgs/development/python-modules/urllib3/default.nix @@ -24,12 +24,12 @@ let self = buildPythonPackage rec { pname = "urllib3"; - version = "2.4.0"; + version = "2.5.0"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-QUvGU1t4f+vXVngEzAFf7jnaq4rYYmjxMQqSUGl95GY="; + hash = "sha256-P8R3M8fkGdS8P2s9wrT4kLt0OQajDVa6Slv6S7/5J2A="; }; build-system = [ @@ -37,6 +37,11 @@ let hatch-vcs ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail ', "setuptools-scm>=8,<9"' "" + ''; + optional-dependencies = { brotli = if isPyPy then [ brotlicffi ] else [ brotli ]; socks = [ pysocks ]; diff --git a/pkgs/development/python-modules/urwid/default.nix b/pkgs/development/python-modules/urwid/default.nix index 2b3f67d2a0d2..464b2609fd7d 100644 --- a/pkgs/development/python-modules/urwid/default.nix +++ b/pkgs/development/python-modules/urwid/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "urwid"; - version = "2.6.16"; + version = "3.0.2"; pyproject = true; disabled = pythonOlder "3.7"; @@ -29,7 +29,7 @@ buildPythonPackage rec { owner = "urwid"; repo = "urwid"; tag = version; - hash = "sha256-D5NHtU7XQRh8OqkwrN5r8U/VGF87LGwdnaqGhdjN8AE="; + hash = "sha256-pMGNybuJZeCzZRZr0/+N87/z+ZtLmSaWW47MWDirTjQ="; }; postPatch = '' @@ -83,7 +83,7 @@ buildPythonPackage rec { meta = with lib; { description = "Full-featured console (xterm et al.) user interface library"; - changelog = "https://github.com/urwid/urwid/releases/tag/${version}"; + changelog = "https://github.com/urwid/urwid/releases/tag/${src.tag}"; downloadPage = "https://github.com/urwid/urwid"; homepage = "https://urwid.org/"; license = licenses.lgpl21Plus; diff --git a/pkgs/development/python-modules/urwidtrees/default.nix b/pkgs/development/python-modules/urwidtrees/default.nix index 3928a034a08c..f9085a6479a4 100644 --- a/pkgs/development/python-modules/urwidtrees/default.nix +++ b/pkgs/development/python-modules/urwidtrees/default.nix @@ -9,23 +9,16 @@ buildPythonPackage rec { pname = "urwidtrees"; - version = "1.0.3"; + version = "1.0.4"; pyproject = true; src = fetchFromGitHub { owner = "pazz"; repo = "urwidtrees"; tag = version; - hash = "sha256-yGSjwagCd5TiwEFtF6ZhDuVqj4PTa5pVXhs8ebr2O/g="; + hash = "sha256-MQy2b0Q3gTbY8lmmt39Z1Nix0UpQtj+14T/zE1F/YJ4="; }; - patches = [ - (fetchpatch { - url = "https://github.com/pazz/urwidtrees/commit/ed39dbc4fc67b0e0249bf108116a88cd18543aa9.patch"; - hash = "sha256-fA+30d2uVaoNCg4rtoWLNPvrZtq41Co4vcmM80hkURs="; - }) - ]; - nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ urwid ]; @@ -38,7 +31,7 @@ buildPythonPackage rec { meta = with lib; { description = "Tree widgets for urwid"; homepage = "https://github.com/pazz/urwidtrees"; - changelog = "https://github.com/pazz/urwidtrees/releases/tag/${version}"; + changelog = "https://github.com/pazz/urwidtrees/releases/tag/${src.tag}"; license = licenses.gpl3Plus; maintainers = [ ]; }; diff --git a/pkgs/development/python-modules/uuid6/default.nix b/pkgs/development/python-modules/uuid6/default.nix index 256816442b56..2b0744f3a2cb 100644 --- a/pkgs/development/python-modules/uuid6/default.nix +++ b/pkgs/development/python-modules/uuid6/default.nix @@ -7,12 +7,12 @@ }: buildPythonPackage rec { pname = "uuid6"; - version = "2024.7.10"; + version = "2025.0.1"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-LSnX9j9ZPKruoODQ3QrYEpycZjsp4ZvfiC6GS+3xj7A="; + hash = "sha256-zQr5T6QoZ1pE4yxTGexaNIUiW6IXnu/PTD8gWuMKgb0="; }; # https://github.com/oittaa/uuid6-python/blob/e647035428d984452b9906b75bb007198533dfb1/setup.py#L12-L19 diff --git a/pkgs/development/python-modules/uvicorn/default.nix b/pkgs/development/python-modules/uvicorn/default.nix index cb436823f6ad..ed7eb42839f7 100644 --- a/pkgs/development/python-modules/uvicorn/default.nix +++ b/pkgs/development/python-modules/uvicorn/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "uvicorn"; - version = "0.34.2"; + version = "0.35.0"; disabled = pythonOlder "3.8"; pyproject = true; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "encode"; repo = "uvicorn"; tag = version; - hash = "sha256-r5G3Z2sMFCs5HlUpVQ05Vip+3MjlSy+3Dkv6FO52uh4="; + hash = "sha256-6tuLL0KMggujYI97HSSBHjiLrePwEkxFHjq2HWl8kqE="; }; outputs = [ diff --git a/pkgs/development/python-modules/uxsim/default.nix b/pkgs/development/python-modules/uxsim/default.nix index 345d78df0aeb..6b84988e90d4 100644 --- a/pkgs/development/python-modules/uxsim/default.nix +++ b/pkgs/development/python-modules/uxsim/default.nix @@ -8,6 +8,7 @@ python, dill, matplotlib, + networkx, numpy, pandas, pillow, @@ -17,26 +18,24 @@ }: buildPythonPackage rec { pname = "uxsim"; - version = "1.7.2"; + version = "1.8.2"; pyproject = true; src = fetchFromGitHub { owner = "toruseo"; repo = "UXsim"; tag = "v${version}"; - hash = "sha256-5up44edivGWj0nQOOL3+lqjdOBBfxk01nFokG5ht+5Y="; + hash = "sha256-aHJ2AAoSm+5viEieAHzhU0EDyS+VQrMWlhm0CkV7/s4="; }; patches = [ ./add-qt-plugin-path-to-env.patch ]; - nativeBuildInputs = [ - setuptools - wheel - ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ dill matplotlib + networkx numpy pandas pillow diff --git a/pkgs/development/python-modules/versioningit/default.nix b/pkgs/development/python-modules/versioningit/default.nix index 781f10df2ce4..42cf3a141c0d 100644 --- a/pkgs/development/python-modules/versioningit/default.nix +++ b/pkgs/development/python-modules/versioningit/default.nix @@ -3,9 +3,9 @@ buildPythonPackage, pythonOlder, fetchPypi, - importlib-metadata, packaging, tomli, + coverage, pytestCheckHook, build, hatchling, @@ -19,14 +19,12 @@ buildPythonPackage rec { pname = "versioningit"; - version = "3.1.2"; + version = "3.3.0"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchPypi { inherit pname version; - hash = "sha256-Tbg+2Z9WsH2DlAvuNEXKRsoSDRO2swTNtftE5apO3sA="; + hash = "sha256-uRrX1z5z0hIg5pVA8gIT8rcpofmzXATp4Tfq8o0iFNo="; }; build-system = [ hatchling ]; @@ -34,13 +32,10 @@ buildPythonPackage rec { dependencies = [ packaging ] - ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ] ++ lib.optionals (pythonOlder "3.11") [ tomli ]; - # AttributeError: type object 'CaseDetails' has no attribute 'model_validate_json' - doCheck = lib.versionAtLeast pydantic.version "2"; - nativeCheckInputs = [ + coverage pytestCheckHook build hatchling @@ -55,6 +50,9 @@ buildPythonPackage rec { disabledTests = [ # wants to write to the Nix store "test_editable_mode" + # network access + "test_install_from_git_url" + "test_install_from_zip_url" ]; pythonImportsCheck = [ "versioningit" ]; diff --git a/pkgs/development/python-modules/vfblib/default.nix b/pkgs/development/python-modules/vfblib/default.nix index fd7f6c3ddae5..c32bfe946fec 100644 --- a/pkgs/development/python-modules/vfblib/default.nix +++ b/pkgs/development/python-modules/vfblib/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "vfblib"; - version = "0.9.5"; + version = "0.10.2"; pyproject = true; src = fetchFromGitHub { owner = "LucasFonts"; repo = "vfbLib"; - rev = "v${version}"; - hash = "sha256-nWySeGikbPhZmJ9yLpcFeTNxaG2EmMhTBtZvykrMsBo="; + tag = "v${version}"; + hash = "sha256-lcYk6h2kWFIknCHKkrxdSKab7szvSZhFwmFvkT6VTEo="; }; build-system = [ diff --git a/pkgs/development/python-modules/viewstate/default.nix b/pkgs/development/python-modules/viewstate/default.nix index 9200466e07a3..b42703cb038a 100644 --- a/pkgs/development/python-modules/viewstate/default.nix +++ b/pkgs/development/python-modules/viewstate/default.nix @@ -2,23 +2,23 @@ lib, buildPythonPackage, fetchFromGitHub, - poetry-core, + setuptools, pytestCheckHook, }: buildPythonPackage rec { pname = "viewstate"; - version = "0.6.0"; + version = "0.7.0"; pyproject = true; src = fetchFromGitHub { owner = "yuvadm"; repo = "viewstate"; tag = "v${version}"; - sha256 = "sha256-cXT5niE3rNdqmNqnITWy9c9/MF0gZ6LU2i1uzfOzkUI="; + sha256 = "sha256-fvqz03rKkA2WVVXU74eo0otnuRseE83cv6pw3rMso34="; }; - build-system = [ poetry-core ]; + build-system = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook diff --git a/pkgs/development/python-modules/virtualenv/default.nix b/pkgs/development/python-modules/virtualenv/default.nix index e058d36035cb..5d26d7d54820 100644 --- a/pkgs/development/python-modules/virtualenv/default.nix +++ b/pkgs/development/python-modules/virtualenv/default.nix @@ -21,14 +21,14 @@ buildPythonPackage rec { pname = "virtualenv"; - version = "20.31.2"; + version = "20.33.1"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-4QwKnQKDXlklIb5IszK2yu5oh/MywRGqeaCbnnnvwq8="; + hash = "sha256-G0RHjZ4mGz+4uqXnSgyjvA4F8hqjYWe/nL+FDlQnZbg="; }; nativeBuildInputs = [ @@ -69,9 +69,12 @@ buildPythonPackage rec { "test_seed_link_via_app_data" # Permission Error "test_bad_exe_py_info_no_raise" + # https://github.com/pypa/virtualenv/issues/2933 + # https://github.com/pypa/virtualenv/issues/2939 + "test_py_info_cache_invalidation_on_py_info_change" ] ++ lib.optionals (pythonOlder "3.11") [ "test_help" ] - ++ lib.optionals (isPyPy) [ + ++ lib.optionals isPyPy [ # encoding problems "test_bash" # permission error diff --git a/pkgs/development/python-modules/virtualenvwrapper/default.nix b/pkgs/development/python-modules/virtualenvwrapper/default.nix index 6466e08496f6..000e4c679220 100644 --- a/pkgs/development/python-modules/virtualenvwrapper/default.nix +++ b/pkgs/development/python-modules/virtualenvwrapper/default.nix @@ -9,12 +9,14 @@ virtualenv, virtualenv-clone, python, + setuptools, + setuptools-scm, }: buildPythonPackage rec { pname = "virtualenvwrapper"; version = "6.1.1"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; @@ -24,6 +26,11 @@ buildPythonPackage rec { # pip depend on $HOME setting preConfigure = "export HOME=$TMPDIR"; + build-system = [ + setuptools + setuptools-scm + ]; + buildInputs = [ pbr pip @@ -78,7 +85,7 @@ buildPythonPackage rec { meta = with lib; { description = "Enhancements to virtualenv"; - homepage = "https://pypi.python.org/pypi/virtualenvwrapper"; + homepage = "https://github.com/python-virtualenvwrapper/virtualenvwrapper"; license = licenses.mit; }; } diff --git a/pkgs/development/python-modules/viser/default.nix b/pkgs/development/python-modules/viser/default.nix index 8ae02805aefb..211c755e1ed7 100644 --- a/pkgs/development/python-modules/viser/default.nix +++ b/pkgs/development/python-modules/viser/default.nix @@ -50,14 +50,14 @@ buildPythonPackage rec { pname = "viser"; - version = "1.0.0"; + version = "1.0.3"; pyproject = true; src = fetchFromGitHub { owner = "nerfstudio-project"; repo = "viser"; tag = "v${version}"; - hash = "sha256-itFJ9mlN2VaWbLzQp1ERMxBvXg0O7SMWzEWDdxoTA/0="; + hash = "sha256-zufWYq4HvkmbSawTq8G7TheWNpspRL/dptyLuGnUQ2U="; }; postPatch = '' diff --git a/pkgs/development/python-modules/volvooncall/default.nix b/pkgs/development/python-modules/volvooncall/default.nix index bb630bbe02ed..deaa8c466f37 100644 --- a/pkgs/development/python-modules/volvooncall/default.nix +++ b/pkgs/development/python-modules/volvooncall/default.nix @@ -9,7 +9,7 @@ fetchpatch, geopy, mock, - pytest-asyncio, + pytest-asyncio_0, pytestCheckHook, pythonOlder, }: @@ -53,7 +53,7 @@ buildPythonPackage rec { checkInputs = [ mock - pytest-asyncio + pytest-asyncio_0 pytestCheckHook ] ++ optional-dependencies.mqtt; diff --git a/pkgs/development/python-modules/wagtail/default.nix b/pkgs/development/python-modules/wagtail/default.nix index fe49bbaf53a6..18e4aba217eb 100644 --- a/pkgs/development/python-modules/wagtail/default.nix +++ b/pkgs/development/python-modules/wagtail/default.nix @@ -31,7 +31,7 @@ buildPythonPackage rec { pname = "wagtail"; - version = "6.4.1"; + version = "7.1"; pyproject = true; # The GitHub source requires some assets to be compiled, which in turn @@ -39,7 +39,7 @@ buildPythonPackage rec { # until https://github.com/wagtail/wagtail/pull/13136 gets merged. src = fetchPypi { inherit pname version; - hash = "sha256-zsPm1JIKbRePoetvSvgLNw/dVXDtkkuXkQThV/EMoJc="; + hash = "sha256-4d4q+Ctiy/TTt3qTxVd5vGetezF5trT4JOxPIU1XDAE="; }; build-system = [ diff --git a/pkgs/development/python-modules/weasyprint/default.nix b/pkgs/development/python-modules/weasyprint/default.nix index 84f96cdfc1e7..47c6a12e51fb 100644 --- a/pkgs/development/python-modules/weasyprint/default.nix +++ b/pkgs/development/python-modules/weasyprint/default.nix @@ -32,7 +32,7 @@ buildPythonPackage rec { pname = "weasyprint"; - version = "65.1"; + version = "66.0"; pyproject = true; __darwinAllowLocalNetworking = true; @@ -41,7 +41,7 @@ buildPythonPackage rec { owner = "Kozea"; repo = "WeasyPrint"; tag = "v${version}"; - hash = "sha256-iSeuRX1dnnrGZbcb1yTxOJPD5kgIWY6oz/0v02QJqSs="; + hash = "sha256-wmEDVEbikBpOQ5394IBPWQRjWZOLfMzEGxTtq4tt2Tw="; }; patches = [ @@ -108,7 +108,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "weasyprint" ]; meta = { - changelog = "https://github.com/Kozea/WeasyPrint/releases/tag/v${version}"; + changelog = "https://github.com/Kozea/WeasyPrint/releases/tag/${src.tag}"; description = "Converts web documents to PDF"; mainProgram = "weasyprint"; homepage = "https://weasyprint.org/"; diff --git a/pkgs/development/python-modules/weatherflow4py/default.nix b/pkgs/development/python-modules/weatherflow4py/default.nix index 192263120598..627eae7a30a2 100644 --- a/pkgs/development/python-modules/weatherflow4py/default.nix +++ b/pkgs/development/python-modules/weatherflow4py/default.nix @@ -52,7 +52,7 @@ buildPythonPackage rec { meta = with lib; { description = "Module to interact with the WeatherFlow REST API"; homepage = "https://github.com/jeeftor/weatherflow4py"; - changelog = "https://github.com/jeeftor/weatherflow4py/releases/tag/v${version}"; + changelog = "https://github.com/jeeftor/weatherflow4py/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/weaviate-client/default.nix b/pkgs/development/python-modules/weaviate-client/default.nix index 69fd64c3b8c5..6f94a76e928b 100644 --- a/pkgs/development/python-modules/weaviate-client/default.nix +++ b/pkgs/development/python-modules/weaviate-client/default.nix @@ -26,7 +26,7 @@ buildPythonPackage rec { pname = "weaviate-client"; - version = "4.12.0"; + version = "4.16.5"; pyproject = true; disabled = pythonOlder "3.12"; @@ -35,7 +35,7 @@ buildPythonPackage rec { owner = "weaviate"; repo = "weaviate-python-client"; tag = "v${version}"; - hash = "sha256-7Mg6d7gbBQfbkxsZI6aGVpfdhBS6MwmK6cl/8koy46k="; + hash = "sha256-AjZZ9kmVxePlomX6bXUohZZXl2IXMbrjG00qNlGdjRc="; }; pythonRelaxDeps = [ diff --git a/pkgs/development/python-modules/websockets/default.nix b/pkgs/development/python-modules/websockets/default.nix index 25ff8ada5b62..0a01b25a55c2 100644 --- a/pkgs/development/python-modules/websockets/default.nix +++ b/pkgs/development/python-modules/websockets/default.nix @@ -61,7 +61,8 @@ buildPythonPackage rec { ''; # Tests fail on Darwin with `OSError: AF_UNIX path too long` - doCheck = !stdenv.hostPlatform.isDarwin; + # https://github.com/python-websockets/websockets/issues/1648 + doCheck = pythonOlder "3.13" && !stdenv.hostPlatform.isDarwin; pythonImportsCheck = [ "websockets" ]; diff --git a/pkgs/development/python-modules/webssh/default.nix b/pkgs/development/python-modules/webssh/default.nix index deb657038054..ae4043556e20 100644 --- a/pkgs/development/python-modules/webssh/default.nix +++ b/pkgs/development/python-modules/webssh/default.nix @@ -10,12 +10,12 @@ buildPythonPackage rec { pname = "webssh"; - version = "1.6.2"; + version = "1.6.3"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-mRestRJukaf7ti3vIs/MM/R+zpGmK551j5HAM2chBsE="; + hash = "sha256-K85buvIGrTRZEMfk3IAks8QY5oHJ9f8JjxgCvv924QA="; }; patches = [ diff --git a/pkgs/development/python-modules/webtest-aiohttp/default.nix b/pkgs/development/python-modules/webtest-aiohttp/default.nix index 101a8040cef8..67c513601e53 100644 --- a/pkgs/development/python-modules/webtest-aiohttp/default.nix +++ b/pkgs/development/python-modules/webtest-aiohttp/default.nix @@ -5,6 +5,7 @@ fetchFromGitHub, fetchpatch, pytest-aiohttp, + pytest-asyncio_0, pytestCheckHook, setuptools, webtest, @@ -44,6 +45,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ + pytest-asyncio_0 pytest-aiohttp pytestCheckHook ]; diff --git a/pkgs/development/python-modules/webtest/default.nix b/pkgs/development/python-modules/webtest/default.nix index 1759284570c1..9d5773b6c407 100644 --- a/pkgs/development/python-modules/webtest/default.nix +++ b/pkgs/development/python-modules/webtest/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "webtest"; - version = "3.0.4"; + version = "3.0.6"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-lHeNGaN+Wr1ziNrU2Th0QQ7M7VOhc5qOX/Lby6HPwMQ="; + hash = "sha256-Qlb9UkJEj1bFdby5r+J14wWm8HI8SwFDjb3U3VNElEs="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/weconnect/default.nix b/pkgs/development/python-modules/weconnect/default.nix index c4d08efb46d7..ed1c14c863b5 100644 --- a/pkgs/development/python-modules/weconnect/default.nix +++ b/pkgs/development/python-modules/weconnect/default.nix @@ -43,6 +43,8 @@ buildPythonPackage rec { requests ]; + pythonRelaxDeps = [ "oauthlib" ]; + optional-dependencies = { Images = [ ascii-magic diff --git a/pkgs/development/python-modules/wgpu-py/default.nix b/pkgs/development/python-modules/wgpu-py/default.nix index e951f5a30933..0760ef3f2270 100644 --- a/pkgs/development/python-modules/wgpu-py/default.nix +++ b/pkgs/development/python-modules/wgpu-py/default.nix @@ -38,14 +38,14 @@ }: buildPythonPackage rec { pname = "wgpu-py"; - version = "0.22.2"; + version = "0.23.0"; pyproject = true; src = fetchFromGitHub { owner = "pygfx"; repo = "wgpu-py"; tag = "v${version}"; - hash = "sha256-HGpOEsTj4t57z38qKF6i1oUj7R7aFl8Xgk5y0TtgyMg="; + hash = "sha256-z9MRnhPSI+9lGS0UQ5VnSwdCGdYdNnqlDQmb8JAqmyc="; }; postPatch = diff --git a/pkgs/development/python-modules/wheel/default.nix b/pkgs/development/python-modules/wheel/default.nix index ffed1c4a18e0..1bc96ff57b58 100644 --- a/pkgs/development/python-modules/wheel/default.nix +++ b/pkgs/development/python-modules/wheel/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { owner = "pypa"; repo = "wheel"; tag = version; - hash = "sha256-tgueGEWByS5owdA5rhXGn3qh1Vtf0HGYC6+BHfrnGAs="; + hash = "sha256-iyGfGr3pLVZSEIHetjsPbIIXkuXrmIPiSqqOw31l9Qw="; }; nativeBuildInputs = [ flit-core ]; diff --git a/pkgs/development/python-modules/whisperx/default.nix b/pkgs/development/python-modules/whisperx/default.nix index e08506532d80..72883f63cf76 100644 --- a/pkgs/development/python-modules/whisperx/default.nix +++ b/pkgs/development/python-modules/whisperx/default.nix @@ -35,14 +35,14 @@ let in buildPythonPackage rec { pname = "whisperx"; - version = "3.3.2"; + version = "3.4.2"; pyproject = true; src = fetchFromGitHub { owner = "m-bain"; repo = "whisperX"; tag = "v${version}"; - hash = "sha256-JJa8gUQjIcgJ5lug3ULGkHxkl66qnXkiUA3SwwUVpqk="; + hash = "sha256-7MjrtvZGWfgtdQNotzdVMjj0sYfab/6PLQcZCOoqoNM="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/wn/default.nix b/pkgs/development/python-modules/wn/default.nix index b742ee5902b4..6637038c34a5 100644 --- a/pkgs/development/python-modules/wn/default.nix +++ b/pkgs/development/python-modules/wn/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "wn"; - version = "0.11.0"; + version = "0.13.0"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; - hash = "sha256-TDvTNh+5cxgBoy9nuXItHOdtfbsP+3F16egZjUBSpak="; + hash = "sha256-wOaFLlFCNUo7RWWiMXRuztyVJTXpJtPvZJi9d6UmkcY="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/wrf-python/default.nix b/pkgs/development/python-modules/wrf-python/default.nix index 0bac9b4da09e..ce8dfd259aab 100644 --- a/pkgs/development/python-modules/wrf-python/default.nix +++ b/pkgs/development/python-modules/wrf-python/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "wrf-python"; - version = "1.3.4.1"; + version = "1.4.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "NCAR"; repo = "wrf-python"; tag = "v${version}"; - hash = "sha256-4iIs/M9fzGJsnKCDSl09OTUoh7j6REBXuutE5uXFe3k="; + hash = "sha256-LvNorZ28j/O8fs9z6jhYWC8RcCDIwh7k5iR9iumCvnQ="; }; nativeBuildInputs = [ gfortran ]; diff --git a/pkgs/development/python-modules/x-transformers/default.nix b/pkgs/development/python-modules/x-transformers/default.nix index ffdc30857b50..9aae527a124d 100644 --- a/pkgs/development/python-modules/x-transformers/default.nix +++ b/pkgs/development/python-modules/x-transformers/default.nix @@ -19,14 +19,14 @@ buildPythonPackage rec { pname = "x-transformers"; - version = "2.5.6"; + version = "2.6.1"; pyproject = true; src = fetchFromGitHub { owner = "lucidrains"; repo = "x-transformers"; tag = version; - hash = "sha256-9PUOPcTm2xvtKV4T2lAGu/3BiQZzSlwo43i0x1gbrAM="; + hash = "sha256-UDZBN/k1VDnfxv1t4EpvXJ6rfC0XgGCWSFBaCGN43E0="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/xarray/default.nix b/pkgs/development/python-modules/xarray/default.nix index b089e18cb966..012d46b52a06 100644 --- a/pkgs/development/python-modules/xarray/default.nix +++ b/pkgs/development/python-modules/xarray/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "xarray"; - version = "2025.04.0"; + version = "2025.07.1"; pyproject = true; disabled = pythonOlder "3.10"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "pydata"; repo = "xarray"; tag = "v${version}"; - hash = "sha256-HEad3+JvLeBl4/vUFzTTdHz3Y4QjwvnycVkb9gV/8Qk="; + hash = "sha256-UvBRGYZFkjxUYT+S4By+7xQZW6h0usQ26iFeJvWcxo0="; }; postPatch = '' diff --git a/pkgs/development/python-modules/xbox-webapi/default.nix b/pkgs/development/python-modules/xbox-webapi/default.nix index 07aabe725302..53932099f0dc 100644 --- a/pkgs/development/python-modules/xbox-webapi/default.nix +++ b/pkgs/development/python-modules/xbox-webapi/default.nix @@ -9,7 +9,7 @@ httpx, ms-cv, pydantic, - pytest-asyncio, + pytest-asyncio_0, pytestCheckHook, respx, }: @@ -19,8 +19,6 @@ buildPythonPackage rec { version = "2.1.0"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "OpenXbox"; repo = "xbox-webapi-python"; @@ -28,9 +26,9 @@ buildPythonPackage rec { hash = "sha256-9A3gdSlRjBCx5fBW+jkaSWsFuGieXQKvbEbZzGzLf94="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ appdirs ecdsa httpx @@ -39,7 +37,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - pytest-asyncio + pytest-asyncio_0 pytestCheckHook respx ]; diff --git a/pkgs/development/python-modules/xgrammar/default.nix b/pkgs/development/python-modules/xgrammar/default.nix index 66022da38e27..9f653da2d179 100644 --- a/pkgs/development/python-modules/xgrammar/default.nix +++ b/pkgs/development/python-modules/xgrammar/default.nix @@ -25,7 +25,7 @@ buildPythonPackage rec { pname = "xgrammar"; - version = "0.1.19"; + version = "0.1.22"; pyproject = true; src = fetchFromGitHub { @@ -33,7 +33,7 @@ buildPythonPackage rec { repo = "xgrammar"; tag = "v${version}"; fetchSubmodules = true; - hash = "sha256-0b2tJx1D/2X/uosbthHfevUpTCBtuSKNlxOKyidTotA="; + hash = "sha256-mz6eabETkAzDoPjXE5VJvgrR1vnXXmx3JO4xZRH4TRQ="; }; patches = [ @@ -92,7 +92,7 @@ buildPythonPackage rec { meta = { description = "Efficient, Flexible and Portable Structured Generation"; homepage = "https://xgrammar.mlc.ai"; - changelog = "https://github.com/mlc-ai/xgrammar/releases/tag/v${version}"; + changelog = "https://github.com/mlc-ai/xgrammar/releases/tag/${src.tag}"; license = lib.licenses.asl20; }; } diff --git a/pkgs/development/python-modules/xknx/default.nix b/pkgs/development/python-modules/xknx/default.nix index 6c8692ccf9b1..26947d8b5d6b 100644 --- a/pkgs/development/python-modules/xknx/default.nix +++ b/pkgs/development/python-modules/xknx/default.nix @@ -6,7 +6,7 @@ cryptography, ifaddr, freezegun, - pytest-asyncio, + pytest-asyncio_0, pytestCheckHook, pythonOlder, setuptools, @@ -36,7 +36,7 @@ buildPythonPackage rec { nativeCheckInputs = [ freezegun - pytest-asyncio + pytest-asyncio_0 pytestCheckHook ]; diff --git a/pkgs/development/python-modules/xmldiff/default.nix b/pkgs/development/python-modules/xmldiff/default.nix index 868341a8cfac..fd0c85cffd26 100644 --- a/pkgs/development/python-modules/xmldiff/default.nix +++ b/pkgs/development/python-modules/xmldiff/default.nix @@ -29,6 +29,11 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; + disabledTests = [ + # lxml 6.0 compat issue + "test_api_diff_texts" + ]; + pythonImportsCheck = [ "xmldiff" ]; meta = { diff --git a/pkgs/development/python-modules/xmlschema/default.nix b/pkgs/development/python-modules/xmlschema/default.nix index 9e27d760c19e..be3f1ecb12ec 100644 --- a/pkgs/development/python-modules/xmlschema/default.nix +++ b/pkgs/development/python-modules/xmlschema/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "xmlschema"; - version = "4.0.1"; + version = "4.1.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "sissaschool"; repo = "xmlschema"; tag = "v${version}"; - hash = "sha256-J2A1dBLo5LtO1ldRuopfTjaew38B27D4wE+y387bQvs="; + hash = "sha256-3nvl49rlwQpNARmWBSw+faL+yNGqNecokjGGpnaC8a0="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/xmlsec/default.nix b/pkgs/development/python-modules/xmlsec/default.nix index 7df8431b77ce..159500e51baf 100644 --- a/pkgs/development/python-modules/xmlsec/default.nix +++ b/pkgs/development/python-modules/xmlsec/default.nix @@ -16,12 +16,12 @@ buildPythonPackage rec { pname = "xmlsec"; - version = "1.3.15"; + version = "1.3.16"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-uqhWuD0AEuJ45vbL7JasgSjeZnyp+pou6wLHUugW9tg="; + hash = "sha256-K2xwVExtHUygBqqjFJWODvNRTcgf/94bI/LsQaV5H50="; }; build-system = [ setuptools-scm ]; diff --git a/pkgs/development/python-modules/xvfbwrapper/default.nix b/pkgs/development/python-modules/xvfbwrapper/default.nix index 2b7e7d63cb53..966e4f18b4be 100644 --- a/pkgs/development/python-modules/xvfbwrapper/default.nix +++ b/pkgs/development/python-modules/xvfbwrapper/default.nix @@ -8,12 +8,12 @@ buildPythonPackage rec { pname = "xvfbwrapper"; - version = "0.2.10"; + version = "0.2.13"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-1mLPjyZu/T0KHAIu67jSwECD1uh/2BOS+1QA2VA27Yw="; + sha256 = "sha256-ouR2yaTxlzf+Ky0LgB5m8P9wH9oz2YakvzTdxBR1QQI="; }; propagatedBuildInputs = [ xorg.xvfb ]; diff --git a/pkgs/development/python-modules/xyzservices/default.nix b/pkgs/development/python-modules/xyzservices/default.nix index 347e5f0b6296..c96c0c65d028 100644 --- a/pkgs/development/python-modules/xyzservices/default.nix +++ b/pkgs/development/python-modules/xyzservices/default.nix @@ -11,12 +11,12 @@ buildPythonPackage rec { pname = "xyzservices"; - version = "2025.1.0"; + version = "2025.4.0"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-XNuwkHwgvhvgZsbi3GnGRYQtEROk6D5kIGVgSiHyVLo="; + hash = "sha256-b+dkcTZI+sU0UPvGGjw2bLauUzWhsq4MN5a0ld43Cdg="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/yangson/default.nix b/pkgs/development/python-modules/yangson/default.nix index 2e82d5c33962..5705ef4dc312 100644 --- a/pkgs/development/python-modules/yangson/default.nix +++ b/pkgs/development/python-modules/yangson/default.nix @@ -27,6 +27,8 @@ buildPythonPackage rec { pyyaml ]; + pythonRelaxDeps = [ "elementpath" ]; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "yangson" ]; diff --git a/pkgs/development/python-modules/yarl/default.nix b/pkgs/development/python-modules/yarl/default.nix index 5805d35482d1..36184650fcb9 100644 --- a/pkgs/development/python-modules/yarl/default.nix +++ b/pkgs/development/python-modules/yarl/default.nix @@ -2,7 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, - cython_3_1, + cython, expandvars, setuptools, idna, @@ -28,7 +28,7 @@ buildPythonPackage rec { }; build-system = [ - cython_3_1 + cython expandvars setuptools ]; diff --git a/pkgs/development/python-modules/youseedee/0001-use-packaged-unicode-data.patch b/pkgs/development/python-modules/youseedee/0001-use-packaged-unicode-data.patch index a1bc6fd92cc6..88a2e10b7096 100644 --- a/pkgs/development/python-modules/youseedee/0001-use-packaged-unicode-data.patch +++ b/pkgs/development/python-modules/youseedee/0001-use-packaged-unicode-data.patch @@ -1,33 +1,26 @@ diff --git a/lib/youseedee/__init__.py b/lib/youseedee/__init__.py -index 8db9c5f..9ad6618 100644 +index 5e73ef8..2cdbdd0 100644 --- a/lib/youseedee/__init__.py +++ b/lib/youseedee/__init__.py -@@ -38,12 +38,7 @@ UCD_URL = "https://unicode.org/Public/UCD/latest/ucd/UCD.zip" +@@ -38,19 +38,12 @@ UCD_URL = "https://unicode.org/Public/UCD/latest/ucd/UCD.zip" def ucd_dir(): """Return the directory where Unicode data is stored""" -- ucddir = expanduser("~/.youseedee") -- try: -- os.mkdir(ucddir) -- except FileExistsError: -- pass -- return ucddir -+ return "@ucd_dir@" +- return Path(platformdirs.user_cache_dir("youseedee", ensure_exists=True)) ++ return Path("@ucd_dir@") - def up_to_date(): -@@ -65,14 +60,6 @@ def up_to_date(): - def ensure_files(): """Ensure the Unicode data files are downloaded and up to date, and download them if not""" -- if not os.path.isfile(os.path.join(ucd_dir(), "UnicodeData.txt")): -- download_files() -- if not up_to_date(): -- # Remove the zip if it exists -- zip_path = os.path.join(ucd_dir(), "UCD.zip") -- if os.path.isfile(zip_path): -- os.unlink(zip_path) -- download_files() - return +- file_lock = FileLock(ucd_dir() / ".youseedee_ensure_files.lock") +- with file_lock: +- if not (ucd_dir() / "UnicodeData.txt").is_file(): +- _download_files() +- if not _up_to_date(): +- # Remove the zip if it exists +- (ucd_dir() / "UCD.zip").unlink(missing_ok=True) +- _download_files() ++ return + def _up_to_date(): diff --git a/pkgs/development/python-modules/youseedee/default.nix b/pkgs/development/python-modules/youseedee/default.nix index 6117e329d62a..26b2bfe877be 100644 --- a/pkgs/development/python-modules/youseedee/default.nix +++ b/pkgs/development/python-modules/youseedee/default.nix @@ -7,17 +7,18 @@ setuptools-scm, filelock, requests, + platformdirs, unicode-character-database, }: buildPythonPackage rec { pname = "youseedee"; - version = "0.6.0"; + version = "0.7.0"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-9w6yr28zq0LgOvMp5fCFaHGOwK4wbbDo/g1jH4Uky0E="; + hash = "sha256-b5gxBIr/mowzlG4/N0C22S1XTq0NAGTq1/+iMUfxD18="; }; patches = [ @@ -36,6 +37,7 @@ buildPythonPackage rec { dependencies = [ filelock requests + platformdirs ]; # Package has no unit tests, but we can check an example as per README.rst: diff --git a/pkgs/development/python-modules/youtube-transcript-api/default.nix b/pkgs/development/python-modules/youtube-transcript-api/default.nix index 4942bd2492bc..fe35393e7f92 100644 --- a/pkgs/development/python-modules/youtube-transcript-api/default.nix +++ b/pkgs/development/python-modules/youtube-transcript-api/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "youtube-transcript-api"; - version = "1.0.3"; + version = "1.2.2"; pyproject = true; disabled = pythonOlder "3.7"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "jdepoix"; repo = "youtube-transcript-api"; tag = "v${version}"; - hash = "sha256-MDa19rI5DaIzrrEt7uNQ5+xSFkRXI5iwt/u5UNvT1f4="; + hash = "sha256-nr8WeegMv7zSqlzcLSG224O9fRXA6jIlYQN4vV6lW24="; }; build-system = [ poetry-core ]; @@ -40,6 +40,18 @@ buildPythonPackage rec { pytestCheckHook ]; + preCheck = '' + export PATH=$out/bin:$PATH + ''; + + disabledTests = [ + # network access + "test_fetch__create_consent_cookie_if_needed" + "test_fetch__with_generic_proxy_reraise_when_blocked" + "test_fetch__with_proxy_retry_when_blocked" + "test_fetch__with_webshare_proxy_reraise_when_blocked" + ]; + pythonImportsCheck = [ "youtube_transcript_api" ]; meta = with lib; { diff --git a/pkgs/development/python-modules/z3c-checkversions/default.nix b/pkgs/development/python-modules/z3c-checkversions/default.nix index 400d22584451..838192b4b258 100644 --- a/pkgs/development/python-modules/z3c-checkversions/default.nix +++ b/pkgs/development/python-modules/z3c-checkversions/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "z3c-checkversions"; - version = "2.1"; + version = "3.0"; format = "setuptools"; # distutils usage @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchPypi { inherit version; pname = "z3c.checkversions"; - hash = "sha256-j5So40SyJf7XfCz3P9YFR/6z94up3LY2/dfEmmIbxAk="; + hash = "sha256-VMGSlocgEddBrUT0A4ihtCdhSbirWYe9FmQ0QyOGOEs="; }; propagatedBuildInputs = [ zc-buildout ]; diff --git a/pkgs/development/python-modules/zarr/default.nix b/pkgs/development/python-modules/zarr/default.nix index a203a9b2254c..755d64cc780d 100644 --- a/pkgs/development/python-modules/zarr/default.nix +++ b/pkgs/development/python-modules/zarr/default.nix @@ -2,47 +2,61 @@ lib, buildPythonPackage, fetchPypi, - pythonOlder, # build-system - setuptools-scm, + hatchling, + hatch-vcs, # dependencies - asciitree, + donfig, numpy, - fasteners, numcodecs, + packaging, + typing-extensions, # tests + hypothesis, + pytest-asyncio, + pytest-xdist, pytestCheckHook, + tomlkit, }: buildPythonPackage rec { pname = "zarr"; - version = "2.18.7"; + version = "3.1.1"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchPypi { inherit pname version; - hash = "sha256-srj2bxTaxK9msYDSM4gZmBuYH3Dhlsmmbmv6qeWVcvU="; + hash = "sha256-F9ty838kiUUtITesiRxBM7j5dvkYnY79PnXzs63YTow="; }; build-system = [ - setuptools-scm + hatchling + hatch-vcs ]; dependencies = [ - asciitree - numpy - fasteners + donfig numcodecs + numpy + packaging + typing-extensions ] - ++ numcodecs.optional-dependencies.msgpack; + ++ numcodecs.optional-dependencies.crc32c; nativeCheckInputs = [ + hypothesis + pytest-asyncio + pytest-xdist pytestCheckHook + tomlkit + ]; + + disabledTestPaths = [ + # requires uv and then fails at setting up python envs + "tests/test_examples.py" ]; pythonImportsCheck = [ "zarr" ]; diff --git a/pkgs/development/python-modules/zdaemon/default.nix b/pkgs/development/python-modules/zdaemon/default.nix index 58b4fccde1e7..5501429c8367 100644 --- a/pkgs/development/python-modules/zdaemon/default.nix +++ b/pkgs/development/python-modules/zdaemon/default.nix @@ -11,12 +11,12 @@ buildPythonPackage rec { pname = "zdaemon"; - version = "5.1"; + version = "5.2.1"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-Iun+UFDq67ngPZrWTk9jzNheBMOP2zUc8RO+9vaNt6Q="; + hash = "sha256-8GwsfK9RnHYINPj+JuVzWVDVAX9y1cII3IsZABQFlM0="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/zha/default.nix b/pkgs/development/python-modules/zha/default.nix index 4ce4ac77d040..196c5cc377fc 100644 --- a/pkgs/development/python-modules/zha/default.nix +++ b/pkgs/development/python-modules/zha/default.nix @@ -8,7 +8,7 @@ pyserial, pyserial-asyncio, pyserial-asyncio-fast, - pytest-asyncio, + pytest-asyncio_0, pytest-timeout, pytest-xdist, pytestCheckHook, @@ -68,7 +68,7 @@ buildPythonPackage rec { nativeCheckInputs = [ freezegun - pytest-asyncio + pytest-asyncio_0 pytest-timeout pytest-xdist pytestCheckHook diff --git a/pkgs/development/python-modules/zigpy/default.nix b/pkgs/development/python-modules/zigpy/default.nix index 2dc40f5b3d7a..073565b0b0c3 100644 --- a/pkgs/development/python-modules/zigpy/default.nix +++ b/pkgs/development/python-modules/zigpy/default.nix @@ -14,7 +14,7 @@ frozendict, jsonschema, pyserial-asyncio, - pytest-asyncio, + pytest-asyncio_0, pytest-timeout, pytestCheckHook, pythonOlder, @@ -60,7 +60,7 @@ buildPythonPackage rec { nativeCheckInputs = [ aioresponses freezegun - pytest-asyncio + pytest-asyncio_0 pytest-timeout pytestCheckHook ]; diff --git a/pkgs/development/python-modules/zimports/default.nix b/pkgs/development/python-modules/zimports/default.nix index f5d50241a881..4d1a4f1902c4 100644 --- a/pkgs/development/python-modules/zimports/default.nix +++ b/pkgs/development/python-modules/zimports/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "zimports"; - version = "0.6.1"; + version = "0.6.2"; format = "setuptools"; # upstream technically support 3.7 through 3.9, but 3.10 happens to work while 3.11 breaks with an import error @@ -22,8 +22,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "sqlalchemyorg"; repo = "zimports"; - rev = "refs/tags/v${version}"; - hash = "sha256-+sDvl8z0O0cZyS1oZgt924hlOkYeHiStpXL9y9+JZ5I="; + tag = "v${version}"; + hash = "sha256-yI/ZTNqVIu76xivXJ+MoLpPupf0RQjQOnP6OWMPajBo="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/zipp/default.nix b/pkgs/development/python-modules/zipp/default.nix index d7b11ad7a8ab..f7c9a5ad3149 100644 --- a/pkgs/development/python-modules/zipp/default.nix +++ b/pkgs/development/python-modules/zipp/default.nix @@ -1,27 +1,35 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, func-timeout, jaraco-itertools, - pythonOlder, + setuptools, setuptools-scm, }: let zipp = buildPythonPackage rec { pname = "zipp"; - version = "3.21.0"; - format = "pyproject"; + version = "3.23.0"; + pyproject = true; - disabled = pythonOlder "3.7"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-LJlY9kMKIEA0GlLrYI7W3ZPvQ5LgL/4hlBfBsotd0fQ="; + src = fetchFromGitHub { + owner = "jaraco"; + repo = "zipp"; + tag = "v${version}"; + hash = "sha256-iao7Aco1Ktvyt1uQCD/le4tAdyVpxfKPi3TRT12YHuU="; }; - nativeBuildInputs = [ setuptools-scm ]; + postPatch = '' + # Downloads license text at build time + sed -i "/coherent\.licensed/d" pyproject.toml + ''; + + build-system = [ + setuptools + setuptools-scm + ]; # Prevent infinite recursion with pytest doCheck = false; diff --git a/pkgs/development/python-modules/zstd/default.nix b/pkgs/development/python-modules/zstd/default.nix index fd1333d09201..32b453396b34 100644 --- a/pkgs/development/python-modules/zstd/default.nix +++ b/pkgs/development/python-modules/zstd/default.nix @@ -10,12 +10,12 @@ buildPythonPackage rec { pname = "zstd"; - version = "1.5.6.6"; + version = "1.5.7.2"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-gixLZXXc0waR695lRUJbUcFOwbLlGfaE70sNBhaSEIg="; + hash = "sha256-bYaExpAJvknhsY7CUaXrDX4k+TYkmQqKEkodpmqS/Io="; }; postPatch = '' diff --git a/pkgs/development/tools/devpi-server/default.nix b/pkgs/development/tools/devpi-server/default.nix index 9e52be186a3e..9cb67f2871c0 100644 --- a/pkgs/development/tools/devpi-server/default.nix +++ b/pkgs/development/tools/devpi-server/default.nix @@ -19,6 +19,7 @@ py, httpx, pyramid, + pytest-asyncio, pytestCheckHook, repoze-lru, setuptools, @@ -80,6 +81,7 @@ buildPythonApplication rec { beautifulsoup4 nginx py + pytest-asyncio pytestCheckHook webtest ]; diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 94742e065ab4..a01951846239 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -138,6 +138,18 @@ let ]; }); + hassil = super.hassil.overridePythonAttrs (oldAttrs: rec { + version = "2.2.3"; + + src = fetchFromGitHub { + inherit (oldAttrs.src) repo owner; + tag = "v${version}"; + hash = "sha256-rP7F0BovD0Klf06lywo+1uFhPf+dS0qbNBZluun8+cE="; + }; + + disabledTestPaths = [ ]; + }); + mcp = super.mcp.overridePythonAttrs (oldAttrs: rec { version = "1.5.0"; src = fetchFromGitHub { diff --git a/pkgs/servers/mail/mailman/python.nix b/pkgs/servers/mail/mailman/python.nix index 397362bd2e51..ffa3b18ea88b 100644 --- a/pkgs/servers/mail/mailman/python.nix +++ b/pkgs/servers/mail/mailman/python.nix @@ -36,19 +36,7 @@ lib.fix ( tag = new.version; hash = "sha256-13/QbA//wyHE9yMB7Jy/sJEyqPKxiMN+CZwSc4U6okU="; }; - } - ); - - # the redis python library only supports hiredis 3+ from version 5.1.0 onwards - hiredis = super.hiredis.overrideAttrs ( - new: - { src, ... }: - { - version = "3.1.0"; - src = src.override { - tag = new.version; - hash = "sha256-ID5OJdARd2N2GYEpcYOpxenpZlhWnWr5fAClAgqEgGg="; - }; + patches = [ ]; } ); }) diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 63fc54d115f8..788cfb18a309 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -326,6 +326,7 @@ mapAliases ({ hcs_utils = hcs-utils; # added 2024-01-06 hdlparse = throw "hdlparse has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18 hglib = python-hglib; # added 2023-10-13 + hijri-converter = hijridate; # added 2025-08-07 hkdf = throw "hkdf has been removed, as it is no longer maintained upstream."; # added 2024-10-04 homeassistant-bring-api = bring-api; # added 2024-04-11 homeassistant-pyozw = throw "homeassistant-pyozw has been removed, as it was packaged for home-assistant which has removed it as a dependency."; # added 2024-01-05 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 6f5f7ded17ae..9d17e9b00f43 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3222,16 +3222,6 @@ self: super: with self; { cython_0 = callPackage ../development/python-modules/cython/0.nix { }; - cython_3_1 = cython.overridePythonAttrs rec { - version = "3.1.2"; - src = pkgs.fetchFromGitHub { - owner = "cython"; - repo = "cython"; - tag = version; - hash = "sha256-lP8ILCzAZuoPzFhCqGXwIpifN8XoWz93SJ7c3XVe69Y="; - }; - }; - cytoolz = callPackage ../development/python-modules/cytoolz { }; dacite = callPackage ../development/python-modules/dacite { }; @@ -3399,6 +3389,8 @@ self: super: with self; { dbt-postgres = callPackage ../development/python-modules/dbt-postgres { }; + dbt-protos = callPackage ../development/python-modules/dbt-protos { }; + dbt-redshift = callPackage ../development/python-modules/dbt-redshift { }; dbt-semantic-interfaces = callPackage ../development/python-modules/dbt-semantic-interfaces { }; @@ -3535,6 +3527,8 @@ self: super: with self; { dep-logic = callPackage ../development/python-modules/dep-logic { }; + dependency-groups = callPackage ../development/python-modules/dependency-groups { }; + dependency-injector = callPackage ../development/python-modules/dependency-injector { }; deploykit = callPackage ../development/python-modules/deploykit { }; @@ -5049,9 +5043,7 @@ self: super: with self; { feedgen = callPackage ../development/python-modules/feedgen { }; - feedgenerator = callPackage ../development/python-modules/feedgenerator { - inherit (pkgs) glibcLocales; - }; + feedgenerator = callPackage ../development/python-modules/feedgenerator { }; feedparser = callPackage ../development/python-modules/feedparser { }; @@ -5079,8 +5071,6 @@ self: super: with self; { fido2 = callPackage ../development/python-modules/fido2 { }; - fido2_2 = callPackage ../development/python-modules/fido2/2.nix { }; - fields = callPackage ../development/python-modules/fields { }; file-read-backwards = callPackage ../development/python-modules/file-read-backwards { }; @@ -6558,7 +6548,7 @@ self: super: with self; { hightime = callPackage ../development/python-modules/hightime { }; - hijri-converter = callPackage ../development/python-modules/hijri-converter { }; + hijridate = callPackage ../development/python-modules/hijridate { }; hikari = callPackage ../development/python-modules/hikari { }; @@ -14149,6 +14139,8 @@ self: super: with self; { callPackage ../development/python-modules/pytest-asyncio-cooperative { }; + pytest-asyncio_0 = callPackage ../development/python-modules/pytest-asyncio/0.nix { }; + pytest-asyncio_0_21 = pytest-asyncio.overridePythonAttrs (old: rec { version = "0.21.2"; src = pkgs.fetchFromGitHub { @@ -14431,8 +14423,12 @@ self: super: with self; { pytest7CheckHook = pytestCheckHook.override { pytest = pytest_7; }; + pytest8_3CheckHook = pytestCheckHook.override { pytest = pytest_8_3; }; + pytest_7 = callPackage ../development/python-modules/pytest/7.nix { }; + pytest_8_3 = callPackage ../development/python-modules/pytest/8_3.nix { }; + pytestcache = callPackage ../development/python-modules/pytestcache { }; python-aodhclient = callPackage ../development/python-modules/python-aodhclient { }; @@ -15016,7 +15012,9 @@ self: super: with self; { pytweening = callPackage ../development/python-modules/pytweening { }; - pytz = callPackage ../development/python-modules/pytz { }; + pytz = callPackage ../development/python-modules/pytz { + inherit (pkgs) tzdata; + }; pytz-deprecation-shim = callPackage ../development/python-modules/pytz-deprecation-shim { }; @@ -15685,6 +15683,8 @@ self: super: with self; { rfc3987 = callPackage ../development/python-modules/rfc3987 { }; + rfc3987-syntax = callPackage ../development/python-modules/rfc3987-syntax { }; + rfc6555 = callPackage ../development/python-modules/rfc6555 { }; rfc7464 = callPackage ../development/python-modules/rfc7464 { };