From 9d60e3dd29cf2d95f707223bedcb3260716911f9 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Wed, 13 Apr 2022 23:13:33 -0700 Subject: [PATCH 001/701] stdenv: use disallowedRequisites to check forbidden requisites --- pkgs/stdenv/generic/default.nix | 2 ++ pkgs/stdenv/linux/default.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pkgs/stdenv/generic/default.nix b/pkgs/stdenv/generic/default.nix index 4fb98e5e8013..66a95759968d 100644 --- a/pkgs/stdenv/generic/default.nix +++ b/pkgs/stdenv/generic/default.nix @@ -11,6 +11,7 @@ argsStdenv@{ name ? "stdenv", preHook ? "", initialPath , shell , allowedRequisites ? null, extraAttrs ? {}, overrides ? (self: super: {}), config +, disallowedRequisites ? [] , # The `fetchurl' to use for downloading curl and its dependencies # (see all-packages.nix). @@ -97,6 +98,7 @@ let } // { inherit name; + inherit disallowedRequisites; # Nix itself uses the `system` field of a derivation to decide where to # build it. This is a bit confusing for cross compilation. diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index d2c28b97ff93..dfba741673c8 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -404,6 +404,8 @@ in shellPackage = prevStage.bash; }; + disallowedRequisites = [ bootstrapTools.out ]; + # Mainly avoid reference to bootstrap tools allowedRequisites = with prevStage; with lib; # Simple executable tools From b5e422140290398e01e06d7a7592d1e8b1eddb4e Mon Sep 17 00:00:00 2001 From: Brian McKenna Date: Fri, 27 May 2022 16:41:30 +1000 Subject: [PATCH 002/701] xserver: fix cross-compilation --- pkgs/servers/x11/xorg/overrides.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/servers/x11/xorg/overrides.nix b/pkgs/servers/x11/xorg/overrides.nix index 3b670f6b64e0..d4ae59f5cd64 100644 --- a/pkgs/servers/x11/xorg/overrides.nix +++ b/pkgs/servers/x11/xorg/overrides.nix @@ -695,6 +695,7 @@ self: super: propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ libpciaccess libepoxy ] ++ commonPropagatedBuildInputs ++ lib.optionals stdenv.isLinux [ udev ]; + depsBuildBuild = [ buildPackages.stdenv.cc ]; prePatch = lib.optionalString stdenv.hostPlatform.isMusl '' export CFLAGS+=" -D__uid_t=uid_t -D__gid_t=gid_t" ''; From 787d4b3a1cb4c1c0a7a10c10b93217240ee38035 Mon Sep 17 00:00:00 2001 From: Tianjiao Huang Date: Fri, 1 Jul 2022 18:30:48 -0400 Subject: [PATCH 003/701] gtest: 1.11.0 -> 1.12.1 --- pkgs/development/libraries/gtest/default.nix | 4 ++-- .../gtest/fix-cmake-config-includedir.patch | 24 +++++++++++-------- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/pkgs/development/libraries/gtest/default.nix b/pkgs/development/libraries/gtest/default.nix index 59bfb4492783..049d202a71ec 100644 --- a/pkgs/development/libraries/gtest/default.nix +++ b/pkgs/development/libraries/gtest/default.nix @@ -2,7 +2,7 @@ stdenv.mkDerivation rec { pname = "gtest"; - version = "1.11.0"; + version = "1.12.1"; outputs = [ "out" "dev" ]; @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { owner = "google"; repo = "googletest"; rev = "release-${version}"; - hash = "sha256-SjlJxushfry13RGA7BCjYC9oZqV4z6x8dOiHfl/wpF0="; + hash = "sha256-W+OxRTVtemt2esw4P7IyGWXOonUN5ZuscjvzqkYvZbM="; }; patches = [ diff --git a/pkgs/development/libraries/gtest/fix-cmake-config-includedir.patch b/pkgs/development/libraries/gtest/fix-cmake-config-includedir.patch index c05e3a9326ae..573884fdcbcd 100644 --- a/pkgs/development/libraries/gtest/fix-cmake-config-includedir.patch +++ b/pkgs/development/libraries/gtest/fix-cmake-config-includedir.patch @@ -1,30 +1,34 @@ +diff --git a/googlemock/CMakeLists.txt b/googlemock/CMakeLists.txt +index 5c1f0daf..ed8aae58 100644 --- a/googlemock/CMakeLists.txt +++ b/googlemock/CMakeLists.txt -@@ -106,10 +106,10 @@ - if (DEFINED CMAKE_VERSION AND NOT "${CMAKE_VERSION}" VERSION_LESS "2.8.11") +@@ -108,10 +108,10 @@ if (DEFINED CMAKE_VERSION AND NOT "${CMAKE_VERSION}" VERSION_LESS "2.8.11") + string(REPLACE ";" "$" dirs "${gmock_build_include_dirs}") target_include_directories(gmock SYSTEM INTERFACE - "$" + "$" - "$/${CMAKE_INSTALL_INCLUDEDIR}>") + "$") target_include_directories(gmock_main SYSTEM INTERFACE - "$" + "$" - "$/${CMAKE_INSTALL_INCLUDEDIR}>") + "$") endif() ######################################################################## +diff --git a/googletest/CMakeLists.txt b/googletest/CMakeLists.txt +index aa00a5f3..50434fed 100644 --- a/googletest/CMakeLists.txt +++ b/googletest/CMakeLists.txt -@@ -126,10 +126,10 @@ - if (DEFINED CMAKE_VERSION AND NOT "${CMAKE_VERSION}" VERSION_LESS "2.8.11") +@@ -134,10 +134,10 @@ if (DEFINED CMAKE_VERSION AND NOT "${CMAKE_VERSION}" VERSION_LESS "2.8.11") + string(REPLACE ";" "$" dirs "${gtest_build_include_dirs}") target_include_directories(gtest SYSTEM INTERFACE - "$" + "$" - "$/${CMAKE_INSTALL_INCLUDEDIR}>") + "$") target_include_directories(gtest_main SYSTEM INTERFACE - "$" + "$" - "$/${CMAKE_INSTALL_INCLUDEDIR}>") + "$") endif() - target_link_libraries(gtest_main PUBLIC gtest) - + if(CMAKE_SYSTEM_NAME MATCHES "QNX") + target_link_libraries(gtest PUBLIC regex) From c0fc8f51a216ab872bc6a5cf2eba2e225f1011d5 Mon Sep 17 00:00:00 2001 From: Luiz Ribeiro Date: Sun, 3 Jul 2022 12:47:51 -0500 Subject: [PATCH 004/701] zstd: Fix build on riscv hosts --- pkgs/tools/compression/zstd/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/compression/zstd/default.nix b/pkgs/tools/compression/zstd/default.nix index 0bff5110c935..87d499614bff 100644 --- a/pkgs/tools/compression/zstd/default.nix +++ b/pkgs/tools/compression/zstd/default.nix @@ -41,6 +41,8 @@ stdenv.mkDerivation rec { tests/playTests.sh ''; + LDFLAGS = lib.optionalString stdenv.hostPlatform.isRiscV "-latomic"; + cmakeFlags = lib.attrsets.mapAttrsToList (name: value: "-DZSTD_${name}:BOOL=${if value then "ON" else "OFF"}") { BUILD_SHARED = !static; From 10d615c89d1986e57798eb6a7dda6dbd48c4f245 Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Sun, 3 Jul 2022 15:35:33 -0700 Subject: [PATCH 005/701] kexec-tools: fix build with elfv2 abi on ppc64be --- pkgs/os-specific/linux/kexec-tools/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kexec-tools/default.nix b/pkgs/os-specific/linux/kexec-tools/default.nix index 0631e1da2b1b..6faa401eccc5 100644 --- a/pkgs/os-specific/linux/kexec-tools/default.nix +++ b/pkgs/os-specific/linux/kexec-tools/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, buildPackages, fetchurl, zlib }: +{ lib, stdenv, buildPackages, fetchurl, fetchpatch, zlib }: stdenv.mkDerivation rec { pname = "kexec-tools"; @@ -12,6 +12,14 @@ stdenv.mkDerivation rec { sha256 = "qmPNbH3ZWwbOumJAp/3GeSeJytp1plXmcUmHF1IkJBs="; }; + patches = [ + # Use ELFv2 ABI on ppc64be + (fetchpatch { + url = "https://raw.githubusercontent.com/void-linux/void-packages/6c1192cbf166698932030c2e3de71db1885a572d/srcpkgs/kexec-tools/patches/ppc64-elfv2.patch"; + sha256 = "19wzfwb0azm932v0vhywv4221818qmlmvdfwpvvpfyw4hjsc2s1l"; + }) + ]; + hardeningDisable = [ "format" "pic" "relro" "pie" ]; # Prevent kexec-tools from using uname to detect target, which is wrong in From 5bb4355ad45579deba552649a1e5854000f004bc Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Thu, 7 Jul 2022 17:42:46 +0800 Subject: [PATCH 006/701] curl: fix build on certain platforms --- pkgs/tools/networking/curl/atomic.patch | 30 +++++++++++++++++++++++++ pkgs/tools/networking/curl/default.nix | 2 ++ pkgs/tools/networking/curl/sched.patch | 26 +++++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 pkgs/tools/networking/curl/atomic.patch create mode 100644 pkgs/tools/networking/curl/sched.patch diff --git a/pkgs/tools/networking/curl/atomic.patch b/pkgs/tools/networking/curl/atomic.patch new file mode 100644 index 000000000000..77ee610fc117 --- /dev/null +++ b/pkgs/tools/networking/curl/atomic.patch @@ -0,0 +1,30 @@ +From 50efb0822aa0e0ab165158dd0a26e65a2290e6d2 Mon Sep 17 00:00:00 2001 +From: Daniel Stenberg +Date: Tue, 28 Jun 2022 09:00:25 +0200 +Subject: [PATCH] easy_lock: switch to using atomic_int instead of bool + +To work with more compilers without requiring separate libs to +link. Like with gcc-12 for RISC-V on Linux. + +Reported-by: Adam Sampson +Fixes #9055 +Closes #9061 +--- + lib/easy_lock.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lib/easy_lock.h b/lib/easy_lock.h +index 07c85c5ffdd19..9c11bc50c5f20 100644 +--- a/lib/easy_lock.h ++++ b/lib/easy_lock.h +@@ -40,8 +40,8 @@ + #include + #endif + +-#define curl_simple_lock atomic_bool +-#define CURL_SIMPLE_LOCK_INIT false ++#define curl_simple_lock atomic_int ++#define CURL_SIMPLE_LOCK_INIT 0 + + static inline void curl_simple_lock_lock(curl_simple_lock *lock) + { diff --git a/pkgs/tools/networking/curl/default.nix b/pkgs/tools/networking/curl/default.nix index 38861d36252e..04bd0bb27cdf 100644 --- a/pkgs/tools/networking/curl/default.nix +++ b/pkgs/tools/networking/curl/default.nix @@ -77,6 +77,8 @@ stdenv.mkDerivation (finalAttrs: { patches = [ ./7.79.1-darwin-no-systemconfiguration.patch + ./sched.patch + ./atomic.patch ] ++ lib.optional patchNetrcRegression ./netrc-regression.patch; outputs = [ "bin" "dev" "out" "man" "devdoc" ]; diff --git a/pkgs/tools/networking/curl/sched.patch b/pkgs/tools/networking/curl/sched.patch new file mode 100644 index 000000000000..33f08fa42f24 --- /dev/null +++ b/pkgs/tools/networking/curl/sched.patch @@ -0,0 +1,26 @@ +From e2e7f54b7bea521fa8373095d0f43261a720cda0 Mon Sep 17 00:00:00 2001 +From: Daniel Stenberg +Date: Mon, 27 Jun 2022 08:46:21 +0200 +Subject: [PATCH] easy_lock.h: include sched.h if available to fix build + +Patched-by: Harry Sintonen + +Closes #9054 +--- + lib/easy_lock.h | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/lib/easy_lock.h b/lib/easy_lock.h +index 819f50ce815b8..1f54289ceb2d3 100644 +--- a/lib/easy_lock.h ++++ b/lib/easy_lock.h +@@ -36,6 +36,9 @@ + + #elif defined (HAVE_ATOMIC) + #include ++#if defined(HAVE_SCHED_YIELD) ++#include ++#endif + + #define curl_simple_lock atomic_bool + #define CURL_SIMPLE_LOCK_INIT false From b5ee4eca8e232a0fc9fc7dcd3cc31b60f6710024 Mon Sep 17 00:00:00 2001 From: Atemu Date: Thu, 7 Jul 2022 14:24:33 +0200 Subject: [PATCH 007/701] linux: disable ASHMEM on >= 5.18 Dropped by upstream, see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=721412ed3d819e767cac2b06646bf03aa158aaec It was marked as optional, so it didn't break our builds but resulted in: warning: unused option: ASHMEM Explicitly disable ASHMEM on kernels >=5.18 for clarity and fewer warnings --- pkgs/os-specific/linux/kernel/common-config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 5f0d5d380991..74db399841aa 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -911,7 +911,7 @@ let FSL_MC_UAPI_SUPPORT = mkIf (stdenv.hostPlatform.system == "aarch64-linux") (whenAtLeast "5.12" yes); - ASHMEM = { optional = true; tristate = whenAtLeast "5.0" "y";}; + ASHMEM = { optional = true; tristate = whenBetween "5.0" "5.18" "y";}; ANDROID = { optional = true; tristate = whenAtLeast "5.0" "y";}; ANDROID_BINDER_IPC = { optional = true; tristate = whenAtLeast "5.0" "y";}; ANDROID_BINDERFS = { optional = true; tristate = whenAtLeast "5.0" "y";}; From 339ce46af2c4ff6f52b8ccb1dc3c87abf542b091 Mon Sep 17 00:00:00 2001 From: Atemu Date: Thu, 7 Jul 2022 14:33:52 +0200 Subject: [PATCH 008/701] nixos/waydroid: add FIXME regarding ASHMEM removal in 5.18 --- nixos/modules/virtualisation/waydroid.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/waydroid.nix b/nixos/modules/virtualisation/waydroid.nix index 2c0b658948dd..84abf6065810 100644 --- a/nixos/modules/virtualisation/waydroid.nix +++ b/nixos/modules/virtualisation/waydroid.nix @@ -34,7 +34,7 @@ in system.requiredKernelConfig = with config.lib.kernelConfig; [ (isEnabled "ANDROID_BINDER_IPC") (isEnabled "ANDROID_BINDERFS") - (isEnabled "ASHMEM") + (isEnabled "ASHMEM") # FIXME Needs memfd support instead on Linux 5.18 and waydroid 1.2.1 ]; /* NOTE: we always enable this flag even if CONFIG_PSI_DEFAULT_DISABLED is not on From 10362d728084d8810f6af2f8588b172e092b01e6 Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 15 Jun 2022 15:58:33 +0300 Subject: [PATCH 009/701] librdf_raptor2: 2.0.15 -> unstable-2022-06-06 switches to using cmake and fixes cross-compilation --- pkgs/development/libraries/librdf/raptor2.nix | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/pkgs/development/libraries/librdf/raptor2.nix b/pkgs/development/libraries/librdf/raptor2.nix index 656558146857..e290aa2b743c 100644 --- a/pkgs/development/libraries/librdf/raptor2.nix +++ b/pkgs/development/libraries/librdf/raptor2.nix @@ -1,26 +1,28 @@ -{ lib, stdenv, fetchurl, libxml2, libxslt }: +{ lib, stdenv, libxml2, libxslt, pkg-config, cmake, fetchFromGitHub, perl, bison, flex, fetchpatch }: stdenv.mkDerivation rec { pname = "raptor2"; - version = "2.0.15"; + version = "unstable-2022-06-06"; - src = fetchurl { - url = "http://download.librdf.org/source/${pname}-${version}.tar.gz"; - sha256 = "ada7f0ba54787b33485d090d3d2680533520cd4426d2f7fb4782dd4a6a1480ed"; + src = fetchFromGitHub { + owner = "dajobe"; + repo = "raptor"; + rev = "3cca62a33da68143b687c9e486eefc7c7cbb4586"; + sha256 = "sha256-h03IyFH1GHPqajfHBBTb19lCEu+VXzQLGC1wiEGVvgY="; }; patches = [ - (fetchurl { - name = "CVE-2017-18926.patch"; - url = "https://github.com/dajobe/raptor/commit/590681e546cd9aa18d57dc2ea1858cb734a3863f.patch"; - sha256 = "1qlpb5rm3j2yi0x6zgdi5apymg5zlvwq3g1zl417gkjrlvxmndgp"; + # https://github.com/dajobe/raptor/pull/52 + (fetchpatch { + name = "fix-cmake-generated-pc-file"; + url = "https://github.com/dajobe/raptor/commit/fa1ef9a27d8762f5588ac2e92554a188e73dee9f.diff"; + sha256 = "sha256-zXIbrYGgC9oTpiD0WUikT4vRdc9b6bsyfnDkwUSlqao="; }) ]; + nativeBuildInputs = [ pkg-config cmake perl bison flex ]; buildInputs = [ libxml2 libxslt ]; - postInstall = "rm -rvf $out/share/gtk-doc"; - meta = { description = "The RDF Parser Toolkit"; homepage = "https://librdf.org/raptor"; From a83d2f7c918a5badab204d57d8620adb926e618b Mon Sep 17 00:00:00 2001 From: Artturin Date: Tue, 14 Jun 2022 00:12:53 +0300 Subject: [PATCH 010/701] gobject-introspection: cross improvements gobject-introspection: copy $dev/share/gobj.../tests when cross-compiling gobject-introspection: add giscanner-ignore-error-return-codes-from-ldd-wrapper patch polkit-aarch64-unknown-linux-gnu> [102/104] Generating src/polkitagent/PolkitAgent-1.0.gir with a custom command polkit-aarch64-unknown-linux-gnu> FAILED: src/polkitagent/PolkitAgent-1.0.gir polkit-aarch64-unknown-linux-gnu> -gobject-introspection-wrapped-1.72.0-dev/bin/g-ir-scanner --no-libtool --namespace=PolkitAgent --nsversion=1.0 --warn-all --output src/polkitagent/PolkitAgent-1.0.gir --c-include=polkitagent/polkitagent.h - D_POLKIT_AGENT_COMPILATION -D_POLKIT_COMPILATION -I/build/source/src/polkitagent -I/build/source/build/src/polkitagent -I/build/source/. -I/build/source/build/. -I/build/source/src/. -I/build/source/build/src/. --filelist=/build/source/build/src/polkitagent/libpolkit-agent-1.so.0.0.0 .p/PolkitAgent_1.0_gir_filelist --include=Gio-2.0 --include-uninstalled=src/polkit/Polkit-1.0.gir --pkg-export=polkit-agent-1 --cflags-begin -DHAVE_CONFIG_H -I/build/source/. -I/build/source/build/. -I/build/source/src/. -I/build/source/build/src/. -I/nix/store/lqncny8acp6hkclsgbfnrb 65i9hscsmn-expat-aarch64-unknown-linux-gnu-2.4.8-dev/include -I-glib-aarch64-unknown-linux-gnu-2.72.2-dev/include/gio-unix-2.0 -I-glib-aarch64-unknown-linux-gnu-2.72.2-dev/include -I/nix/store/qm1wa x4c7sgf5h3b6dhspxb5miayjyc9-glib-aarch64-unknown-linux-gnu-2.72.2-dev/include/glib-2.0 -I-glib-aarch64-unknown-linux-gnu-2.72.2/lib/glib-2.0/include -I-gobject-introspection-aarch64-unknown-linux-gn u-1.72.0-dev/include/gobject-introspection-1.0 --cflags-end --add-include-path=-gobject-introspection-aarch64-unknown-linux-gnu-1.72.0-dev/share/gir-1.0 --add-include-path=/build/source/build/src/polkit -L/build/source/build/src/polkitagent --library polkit-agent-1 -L/build/source/build/src/polkit -L-expat-aarch64-unknown-linux-gnu-2.4.8/lib --extra-library=expat -L-glib-aarch64-unknown-linux-gnu-2.72.2/lib --extra-library=gio-2.0 --ex tra-library=gobject-2.0 --extra-library=glib-2.0 -L-gobject-introspection-aarch64-unknown-linux-gnu-1.72.0/lib --extra-library=girepository-1.0 --sources-top-dirs /build/source/subprojects/ --sources-top-dirs /build/source/build/subprojects/ polkit-aarch64-unknown-linux-gnu> g-ir-scanner: link: aarch64-unknown-linux-gnu-gcc -o /build/source/build/tmp-introspectzp2ldkyk/PolkitAgent-1.0 /build/source/build/tmp-introspectzp2ldkyk/PolkitAgent-1.0.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/build/source/build/src/polkitagent -Wl ,-rpath,/build/source/build/src/polkitagent -L/build/source/build/src/polkit -Wl,-rpath,/build/source/build/src/polkit -L-expat-aarch64-unknown-linux-gnu-2.4.8/lib -Wl,-rpath,-expat-aarch64-unknown- linux-gnu-2.4.8/lib -L-glib-aarch64-unknown-linux-gnu-2.72.2/lib -Wl,-rpath,-glib-aarch64-unknown-linux-gnu-2.72.2/lib -L-gobject-introspection-aarch64-unk nown-linux-gnu-1.72.0/lib -Wl,-rpath,-gobject-introspection-aarch64-unknown-linux-gnu-1.72.0/lib -lpolkit-agent-1 -lexpat -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgirepository-1.0 -L-glib-aarch64-unknow n-linux-gnu-2.72.2/lib -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 polkit-aarch64-unknown-linux-gnu> Traceback (most recent call last): polkit-aarch64-unknown-linux-gnu> File "-gobject-introspection-wrapped-1.72.0-dev/bin/.g-ir-scanner-wrapped", line 99, in polkit-aarch64-unknown-linux-gnu> sys.exit(scanner_main(sys.argv)) polkit-aarch64-unknown-linux-gnu> File "-gobject-introspection-wrapped-1.72.0/lib/gobject-introspection/giscanner/scannermain.py", line 646, in scanner_main polkit-aarch64-unknown-linux-gnu> shlibs = create_binary(transformer, options, args) polkit-aarch64-unknown-linux-gnu> File "-gobject-introspection-wrapped-1.72.0/lib/gobject-introspection/giscanner/scannermain.py", line 471, in create_binary polkit-aarch64-unknown-linux-gnu> shlibs = resolve_shlibs(options, binary, options.libraries) polkit-aarch64-unknown-linux-gnu> File "-gobject-introspection-wrapped-1.72.0/lib/gobject-introspection/giscanner/shlibs.py", line 179, in resolve_shlibs polkit-aarch64-unknown-linux-gnu> _resolve_non_libtool(options, binary, non_libtool)) polkit-aarch64-unknown-linux-gnu> File "-gobject-introspection-wrapped-1.72.0/lib/go bject-introspection/giscanner/shlibs.py", line 112, in _resolve_non_libtool polkit-aarch64-unknown-linux-gnu> output = subprocess.check_output(args) polkit-aarch64-unknown-linux-gnu> File "-python3-3.10.5/lib/python3.10/subprocess.py", line 420, in check_output polkit-aarch64-unknown-linux-gnu> return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, polkit-aarch64-unknown-linux-gnu> File "-python3-3.10.5/lib/python3.10/subprocess.py", line 524, in run polkit-aarch64-unknown-linux-gnu> raise CalledProcessError(retcode, process.args, polkit-aarch64-unknown-linux-gnu> subprocess.CalledProcessError: Command '['-prelink-unstable-2019-06-24/bin/prelink-rtld', '/build/source/build/tmp-introspectzp2ldkyk/PolkitAgent-1.0']' returned non-zero exit status 127. polkit-aarch64-unknown-linux-gnu> [103/104] Generating src/polkit/Polkit-1.0.typelib with a custom command polkit-aarch64-unknown-linux-gnu> ninja: build stopped: subcommand failed. exit status 127 gobject-introspection: this should fix pkgsMusl pkgsStatic by not putting `/nix/store/iw35xj69w190w7vw17l8mac8srg0vpyz-gobject-introspection-static-x86_64-unknown-linux-musl-1.72.0.drv` in their dependency tree when gobject-introspection is in nativeBuildInputs ex .#pkgsStatic.libjxl gobject-introspection: pc file: use binaries from path instead of a abs path to them fixes issues in networkmanager and some other packages ``` gi._error.GError: g-invoke-error-quark: Could not locate g_option_error_quark: /nix/store/...-glib-aarch64-unknown-linux-gnu-2.72.2/lib/libglib-2.0.so.0: cannot open shared object file: No such file or directory (1) ``` see comment gobject-introspection: propagate gobject-introspection-unwrapped in wrapper with this it is no longer needed to put gobject-introspection in buildInputs in addition to nativeBuildInputs --- .../gobject-introspection/default.nix | 24 +++++++++++--- ...-error-return-codes-from-ldd-wrapper.patch | 32 +++++++++++++++++++ .../gobject-introspection/wrapper.nix | 8 +++-- pkgs/top-level/all-packages.nix | 2 +- 4 files changed, 58 insertions(+), 8 deletions(-) create mode 100644 pkgs/development/libraries/gobject-introspection/giscanner-ignore-error-return-codes-from-ldd-wrapper.patch diff --git a/pkgs/development/libraries/gobject-introspection/default.nix b/pkgs/development/libraries/gobject-introspection/default.nix index 82be84e1f1df..bfcb9a440144 100644 --- a/pkgs/development/libraries/gobject-introspection/default.nix +++ b/pkgs/development/libraries/gobject-introspection/default.nix @@ -27,7 +27,7 @@ # it may be worth thinking about using multiple derivation outputs # In that case its about 6MB which could be separated -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "gobject-introspection"; version = "1.72.0"; @@ -37,7 +37,7 @@ stdenv.mkDerivation rec { outputBin = "dev"; src = fetchurl { - url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; + url = "mirror://gnome/sources/gobject-introspection/${lib.versions.majorMinor finalAttrs.version}/gobject-introspection-${finalAttrs.version}.tar.xz"; sha256 = "Av6OWQhh2I+DBg3TnNpcyqYLLaHSHQ+VSZMBsYa+qrw="; }; @@ -68,7 +68,7 @@ stdenv.mkDerivation rec { docbook-xsl-nons docbook_xml_dtd_45 python3 - setupHook # move .gir files + finalAttrs.setupHook # move .gir files ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ gobject-introspection-unwrapped ]; buildInputs = [ @@ -105,6 +105,10 @@ stdenv.mkDerivation rec { postInstall = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' cp -r ${buildPackages.gobject-introspection-unwrapped.devdoc} $devdoc + # these are uncompiled c and header files which aren't installed when cross-compiling because + # code that installs them is in tests/meson.build which is only run when not cross-compiling + # pygobject3 needs them + cp -r ${buildPackages.gobject-introspection-unwrapped.dev}/share/gobject-introspection-1.0/tests $dev/share/gobject-introspection-1.0/tests ''; preCheck = '' @@ -120,11 +124,21 @@ stdenv.mkDerivation rec { rm $out/lib/libregress-1.0${stdenv.targetPlatform.extensions.sharedLibrary} ''; + # when cross-compiling and using the wrapper then when a package looks up the g_ir_X + # variable with pkg-config they'll get the host version which can't be run + # switch the variables to use g_ir_X from path instead of an absolute path + postFixup = lib.optionalString (!lib.hasSuffix "wrapped" finalAttrs.pname) '' + find "''${!outputDev}/lib/pkgconfig" -name '*.pc' | while read pc; do + substituteInPlace "$pc" \ + --replace '=''${bindir}/g-ir' '=g-ir' + done + ''; + setupHook = ./setup-hook.sh; passthru = { updateScript = gnome.updateScript { - packageName = pname; + packageName = "gobject-introspection"; versionPolicy = "odd-unstable"; }; }; @@ -144,4 +158,4 @@ stdenv.mkDerivation rec { automatically provide bindings to call into the C library. ''; }; -} +}) diff --git a/pkgs/development/libraries/gobject-introspection/giscanner-ignore-error-return-codes-from-ldd-wrapper.patch b/pkgs/development/libraries/gobject-introspection/giscanner-ignore-error-return-codes-from-ldd-wrapper.patch new file mode 100644 index 000000000000..bf1c1f1b713f --- /dev/null +++ b/pkgs/development/libraries/gobject-introspection/giscanner-ignore-error-return-codes-from-ldd-wrapper.patch @@ -0,0 +1,32 @@ +From e0fc4a2a5161a36483ddc518be9bb14390f11b19 Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +Date: Wed, 5 Sep 2018 16:46:52 +0200 +Subject: [PATCH] giscanner: ignore error return codes from ldd-wrapper + +prelink-rtld, which we use instead of ldd returns 127 when it can't find a library. +It is not an error per se, but it breaks subprocess.check_output(). + +Upstream-Status: Inappropriate [oe-core specific] +Signed-off-by: Alexander Kanavin +Signed-off-by: Adam Duskett +--- + giscanner/shlibs.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/giscanner/shlibs.py b/giscanner/shlibs.py +index 9f8ab5df..7a1a72fe 100644 +--- a/giscanner/shlibs.py ++++ b/giscanner/shlibs.py +@@ -103,7 +103,7 @@ def _resolve_non_libtool(options, binary, libraries): + args.extend(['otool', '-L', binary.args[0]]) + else: + args.extend(['ldd', binary.args[0]]) +- output = subprocess.check_output(args) ++ output = subprocess.run(args, check=False, stdout=subprocess.PIPE).stdout + if isinstance(output, bytes): + output = output.decode("utf-8", "replace") + +-- +2.25.1 + + diff --git a/pkgs/development/libraries/gobject-introspection/wrapper.nix b/pkgs/development/libraries/gobject-introspection/wrapper.nix index 44d31540e645..e71f2f2fb46c 100644 --- a/pkgs/development/libraries/gobject-introspection/wrapper.nix +++ b/pkgs/development/libraries/gobject-introspection/wrapper.nix @@ -7,9 +7,13 @@ # to build, run # `nix build ".#pkgsCross.aarch64-multiplatform.buildPackages.gobject-introspection"` -gobject-introspection-unwrapped.overrideAttrs (_previousAttrs: { +gobject-introspection-unwrapped.overrideAttrs (previousAttrs: { pname = "gobject-introspection-wrapped"; - postFixup = '' + depsTargetTargetPropagated = [ gobject-introspection-unwrapped ]; + # failure in e.g. pkgsCross.aarch64-multiplatform.polkit + # subprocess.CalledProcessError: Command '['/nix/store/...-prelink-unstable-2019-06-24/bin/prelink-rtld', '/build/source/build/tmp-introspectzp2ldkyk/PolkitAgent-1.0']' returned non-zero exit status 127. + patches = previousAttrs.patches ++ [ ./giscanner-ignore-error-return-codes-from-ldd-wrapper.patch ]; + postFixup = (previousAttrs.postFixup or "") + '' mv $dev/bin/g-ir-compiler $dev/bin/.g-ir-compiler-wrapped mv $dev/bin/g-ir-scanner $dev/bin/.g-ir-scanner-wrapped diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6508ddc8b2f7..ac44da1d0c32 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17899,7 +17899,7 @@ with pkgs; gns3-gui = gns3Packages.guiStable; gns3-server = gns3Packages.serverStable; - gobject-introspection = if (stdenv.hostPlatform != stdenv.targetPlatform) + gobject-introspection = if (!stdenv.hostPlatform.canExecute stdenv.targetPlatform) then callPackage ../development/libraries/gobject-introspection/wrapper.nix { } else gobject-introspection-unwrapped; gobject-introspection-unwrapped = callPackage ../development/libraries/gobject-introspection { From 71cbf3b809b5a380d3434171ba5caabffdafb919 Mon Sep 17 00:00:00 2001 From: Artturin Date: Tue, 14 Jun 2022 23:30:55 +0300 Subject: [PATCH 011/701] gobject-introspection: use targetOffset to look for libraries for target fixes it finding the build and target gobject-introspection when it should only find the target gobject-introspection --- pkgs/development/libraries/gobject-introspection/setup-hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/gobject-introspection/setup-hook.sh b/pkgs/development/libraries/gobject-introspection/setup-hook.sh index 6bee47aeb096..50571a8f914d 100644 --- a/pkgs/development/libraries/gobject-introspection/setup-hook.sh +++ b/pkgs/development/libraries/gobject-introspection/setup-hook.sh @@ -10,7 +10,7 @@ make_gobject_introspection_find_gir_files() { fi } -addEnvHooks "$hostOffset" make_gobject_introspection_find_gir_files +addEnvHooks "$targetOffset" make_gobject_introspection_find_gir_files giDiscoverSelf() { if [ -d "$prefix/lib/girepository-1.0" ]; then From 2cbce6b01297b623dc7d098e39b78e6935c11569 Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 7 Jul 2022 21:29:21 +0300 Subject: [PATCH 012/701] mesonEmulatorHook: check if the target binaries can be executed this prevents having to bring in the emulator when compiling e.g. pkgsStatic --- doc/stdenv/cross-compilation.chapter.md | 4 ++-- pkgs/top-level/all-packages.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/stdenv/cross-compilation.chapter.md b/doc/stdenv/cross-compilation.chapter.md index 7b8f2b4ce6cd..0eff70de5ca1 100644 --- a/doc/stdenv/cross-compilation.chapter.md +++ b/doc/stdenv/cross-compilation.chapter.md @@ -155,14 +155,14 @@ doCheck = stdenv.hostPlatform == stdenv.buildPlatform; #### Package using Meson needs to run binaries for the host platform during build. {#cross-meson-runs-host-code} -Add `mesonEmulatorHook` cross conditionally to `nativeBuildInputs`. +Add `mesonEmulatorHook` to `nativeBuildInputs` conditionally on if the target binaries can be executed. e.g. ``` nativeBuildInputs = [ meson -] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ +] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ mesonEmulatorHook ]; ``` diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ac44da1d0c32..df041ee793e9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4131,7 +4131,7 @@ with pkgs; # example of an error which this fixes # [Errno 8] Exec format error: './gdk3-scan' mesonEmulatorHook = - if (stdenv.buildPlatform != stdenv.targetPlatform) then + if (!stdenv.buildPlatform.canExecute stdenv.targetPlatform) then makeSetupHook { name = "mesonEmulatorHook"; @@ -4142,7 +4142,7 @@ with pkgs; ''; }; } ../development/tools/build-managers/meson/emulator-hook.sh - else throw "mesonEmulatorHook has to be in a cross conditional i.e. (stdenv.buildPlatform != stdenv.hostPlatform)"; + else throw "mesonEmulatorHook has to be in a conditional to check if the target binaries can be executed i.e. (!stdenv.buildPlatform.canExecute stdenv.hostPlatform)"; meson-tools = callPackage ../misc/meson-tools { }; From 31f99a8a28c7e6c406ee27d5dc86510d75245d83 Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 7 Jul 2022 21:30:16 +0300 Subject: [PATCH 013/701] gst_all_1: don't disable gobject-introspection when cross --- pkgs/development/libraries/gstreamer/bad/default.nix | 5 ----- pkgs/development/libraries/gstreamer/base/default.nix | 10 ++++------ pkgs/development/libraries/gstreamer/core/default.nix | 11 +++++------ .../libraries/gstreamer/devtools/default.nix | 6 ++++-- pkgs/development/libraries/gstreamer/ges/default.nix | 2 -- .../libraries/gstreamer/rtsp-server/default.nix | 2 -- 6 files changed, 13 insertions(+), 23 deletions(-) diff --git a/pkgs/development/libraries/gstreamer/bad/default.nix b/pkgs/development/libraries/gstreamer/bad/default.nix index 28bcbe9a74c4..152904a8e7a2 100644 --- a/pkgs/development/libraries/gstreamer/bad/default.nix +++ b/pkgs/development/libraries/gstreamer/bad/default.nix @@ -123,9 +123,6 @@ stdenv.mkDerivation rec { buildInputs = [ gst-plugins-base orc - # gobject-introspection has to be in both nativeBuildInputs and - # buildInputs. The build tries to link against libgirepository-1.0.so - gobject-introspection json-glib ldacbt libass @@ -294,8 +291,6 @@ stdenv.mkDerivation rec { # `applemedia/videotexturecache.h` requires `gst/gl/gl.h`, # but its meson build system does not declare the dependency. "-Dapplemedia=disabled" - ] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ - "-Dintrospection=disabled" ] ++ (if enableGplPlugins then [ "-Dgpl=enabled" ] else [ diff --git a/pkgs/development/libraries/gstreamer/base/default.nix b/pkgs/development/libraries/gstreamer/base/default.nix index 599e6586ea03..b0aed54d9b40 100644 --- a/pkgs/development/libraries/gstreamer/base/default.nix +++ b/pkgs/development/libraries/gstreamer/base/default.nix @@ -18,6 +18,7 @@ , libvisual , tremor # provides 'virbisidec' , libGL +, gobject-introspection , enableX11 ? stdenv.isLinux , libXv , libXext @@ -36,8 +37,6 @@ , enableCdparanoia ? (!stdenv.isDarwin) , cdparanoia , glib -, withIntrospection ? stdenv.buildPlatform == stdenv.hostPlatform -, gobject-introspection }: stdenv.mkDerivation rec { @@ -52,6 +51,9 @@ stdenv.mkDerivation rec { }; strictDeps = true; + depsBuildBuild = [ + pkg-config + ]; nativeBuildInputs = [ meson ninja @@ -63,7 +65,6 @@ stdenv.mkDerivation rec { gstreamer # docs # TODO add hotdoc here - ] ++ lib.optionals withIntrospection [ gobject-introspection ] ++ lib.optional enableWayland wayland; @@ -91,8 +92,6 @@ stdenv.mkDerivation rec { ] ++ lib.optionals enableWayland [ wayland wayland-protocols - ] ++ lib.optionals withIntrospection [ - gobject-introspection ] ++ lib.optional enableCocoa Cocoa ++ lib.optional enableCdparanoia cdparanoia; @@ -106,7 +105,6 @@ stdenv.mkDerivation rec { "-Dgl-graphene=disabled" # not packaged in nixpkgs as of writing # See https://github.com/GStreamer/gst-plugins-base/blob/d64a4b7a69c3462851ff4dcfa97cc6f94cd64aef/meson_options.txt#L15 for a list of choices "-Dgl_winsys=${lib.concatStringsSep "," (lib.optional enableX11 "x11" ++ lib.optional enableWayland "wayland" ++ lib.optional enableCocoa "cocoa")}" - "-Dintrospection=${if withIntrospection then "enabled" else "disabled"}" ] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ "-Dtests=disabled" ] diff --git a/pkgs/development/libraries/gstreamer/core/default.nix b/pkgs/development/libraries/gstreamer/core/default.nix index c5f836f26a46..d867a8f04d37 100644 --- a/pkgs/development/libraries/gstreamer/core/default.nix +++ b/pkgs/development/libraries/gstreamer/core/default.nix @@ -16,7 +16,6 @@ , bash-completion , lib , CoreServices -, withIntrospection ? stdenv.buildPlatform == stdenv.hostPlatform , gobject-introspection }: @@ -38,6 +37,10 @@ stdenv.mkDerivation rec { sha256 = "0cghi6n4nhdbajz3wqcgbh5xm94myvnqgsi9g2bz9n1s9904l2fy"; }; + depsBuildBuild = [ + pkg-config + ]; + strictDeps = true; nativeBuildInputs = [ meson @@ -50,13 +53,12 @@ stdenv.mkDerivation rec { makeWrapper glib bash-completion + gobject-introspection # documentation # TODO add hotdoc here ] ++ lib.optionals stdenv.isLinux [ libcap # for setcap binary - ] ++ lib.optionals withIntrospection [ - gobject-introspection ]; buildInputs = [ @@ -65,8 +67,6 @@ stdenv.mkDerivation rec { libcap libunwind elfutils - ] ++ lib.optionals withIntrospection [ - gobject-introspection ] ++ lib.optionals stdenv.isDarwin [ CoreServices ]; @@ -79,7 +79,6 @@ stdenv.mkDerivation rec { "-Ddbghelp=disabled" # not needed as we already provide libunwind and libdw, and dbghelp is a fallback to those "-Dexamples=disabled" # requires many dependencies and probably not useful for our users "-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing - "-Dintrospection=${if withIntrospection then "enabled" else "disabled"}" ] ++ lib.optionals stdenv.isDarwin [ # darwin.libunwind doesn't have pkg-config definitions so meson doesn't detect it. "-Dlibunwind=disabled" diff --git a/pkgs/development/libraries/gstreamer/devtools/default.nix b/pkgs/development/libraries/gstreamer/devtools/default.nix index 31c25648cc70..3b39fa4439ac 100644 --- a/pkgs/development/libraries/gstreamer/devtools/default.nix +++ b/pkgs/development/libraries/gstreamer/devtools/default.nix @@ -26,6 +26,10 @@ stdenv.mkDerivation rec { # "devdoc" # disabled until `hotdoc` is packaged in nixpkgs ]; + depsBuildBuild = [ + pkg-config + ]; + nativeBuildInputs = [ meson ninja @@ -49,8 +53,6 @@ stdenv.mkDerivation rec { mesonFlags = [ "-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing - ] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ - "-Dintrospection=disabled" ]; meta = with lib; { diff --git a/pkgs/development/libraries/gstreamer/ges/default.nix b/pkgs/development/libraries/gstreamer/ges/default.nix index 50acba29d67c..fa7ea35bcdfe 100644 --- a/pkgs/development/libraries/gstreamer/ges/default.nix +++ b/pkgs/development/libraries/gstreamer/ges/default.nix @@ -55,8 +55,6 @@ stdenv.mkDerivation rec { mesonFlags = [ "-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing - ] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ - "-Dintrospection=disabled" ]; postPatch = '' diff --git a/pkgs/development/libraries/gstreamer/rtsp-server/default.nix b/pkgs/development/libraries/gstreamer/rtsp-server/default.nix index 679560e8ee17..1a1b136b0ca2 100644 --- a/pkgs/development/libraries/gstreamer/rtsp-server/default.nix +++ b/pkgs/development/libraries/gstreamer/rtsp-server/default.nix @@ -46,8 +46,6 @@ stdenv.mkDerivation rec { mesonFlags = [ "-Dexamples=disabled" # requires many dependencies and probably not useful for our users "-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing - ] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ - "-Dintrospection=disabled" ]; postPatch = '' From c5d7fc0b3cfa92f7b0442b1828495d46ccee52ba Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 7 Jul 2022 21:31:10 +0300 Subject: [PATCH 014/701] python310Packages.pygobject3: fix cross --- pkgs/development/python-modules/pygobject/3.nix | 15 ++++++++++++++- pkgs/top-level/python-packages.nix | 3 ++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pygobject/3.nix b/pkgs/development/python-modules/pygobject/3.nix index 447d49a9442e..199435c935c9 100644 --- a/pkgs/development/python-modules/pygobject/3.nix +++ b/pkgs/development/python-modules/pygobject/3.nix @@ -12,6 +12,7 @@ , ninja , isPy3k , gnome +, python }: buildPythonPackage rec { @@ -29,6 +30,10 @@ buildPythonPackage rec { sha256 = "HzS192JN415E61p+tCg1MoW9AwBNVRMaX39/qbkPPMk="; }; + depsBuildBuild = [ + pkg-config + ]; + nativeBuildInputs = [ pkg-config meson @@ -37,8 +42,9 @@ buildPythonPackage rec { ]; buildInputs = [ - glib + # # .so files link to these gobject-introspection + glib ] ++ lib.optionals stdenv.isDarwin [ ncurses ]; @@ -48,6 +54,13 @@ buildPythonPackage rec { cairo ]; + mesonFlags = [ + # This is only used for figuring out what version of Python is in + # use, and related stuff like figuring out what the install prefix + # should be, but it does need to be able to execute Python code. + "-Dpython=${python.pythonForBuild.interpreter}" + ]; + passthru = { updateScript = gnome.updateScript { packageName = pname; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0006a47025ef..8e42b113688a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7472,7 +7472,8 @@ in { pygobject2 = callPackage ../development/python-modules/pygobject { }; pygobject3 = callPackage ../development/python-modules/pygobject/3.nix { - inherit (pkgs) meson; + # inherit (pkgs) meson won't work because it won't be spliced + inherit (pkgs.buildPackages) meson; }; pygogo = callPackage ../development/python-modules/pygogo { }; From 83bdd27670b8fce01d1ed7c256fd42caad96e268 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 7 Jul 2022 19:30:10 +0000 Subject: [PATCH 015/701] python310Packages.certbot: 1.28.0 -> 1.29.0 --- pkgs/development/python-modules/certbot/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/certbot/default.nix b/pkgs/development/python-modules/certbot/default.nix index 094729d704c9..53c7c397f981 100644 --- a/pkgs/development/python-modules/certbot/default.nix +++ b/pkgs/development/python-modules/certbot/default.nix @@ -9,13 +9,13 @@ buildPythonPackage rec { pname = "certbot"; - version = "1.28.0"; + version = "1.29.0"; src = fetchFromGitHub { owner = pname; repo = pname; - rev = "v${version}"; - sha256 = "sha256-KwjxLNbRL8aOMXmCOg9wwveRVZsSr+PlkJkFmY/yRBs="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-DFdXDFSqqkm4r59Kmd1wxcg2YePP3dI9squiW+iSmaU="; }; sourceRoot = "source/${pname}"; From 28ca82a86bbead53b1a5724bbb96a6dc88dfbde3 Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 7 Jul 2022 21:31:52 +0300 Subject: [PATCH 016/701] libgudev: dont specialcase cross and pull patch to not have to have vala in both nativeBuildInputs and buildInputs https://gitlab.gnome.org/GNOME/libgudev/-/merge_requests/27 > build: let meson handle gir, vala, gtk-doc dependencies > gnome.generate_gir > gnome.generate_vapi > gnome.gtkdoc > > all do their own dependency finding in a cross-compilation friendly manner while > using dependency() with the default options does not > > fixes finding vapigen while cross-compiling --- .../libraries/libgudev/default.nix | 25 +++++++++++++++---- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/pkgs/development/libraries/libgudev/default.nix b/pkgs/development/libraries/libgudev/default.nix index 6a63947c8a57..59df64e63558 100644 --- a/pkgs/development/libraries/libgudev/default.nix +++ b/pkgs/development/libraries/libgudev/default.nix @@ -7,8 +7,8 @@ , glib , gnome , vala -, withIntrospection ? (stdenv.buildPlatform == stdenv.hostPlatform) , gobject-introspection +, fetchpatch }: stdenv.mkDerivation rec { @@ -22,6 +22,25 @@ stdenv.mkDerivation rec { sha256 = "1al6nr492nzbm8ql02xhzwci2kwb1advnkaky3j9636jf08v41hd"; }; + patches = [ + # https://gitlab.gnome.org/GNOME/libgudev/-/merge_requests/27 + (fetchpatch { + name = "gir-dep"; + url = "https://gitlab.gnome.org/GNOME/libgudev/-/commit/6bdde16a0cfde462502fce1d9a7eb6ec33f388bb.diff"; + sha256 = "sha256-bDtLUxOLEgyJURshqEQC4YCBTUVzQQP4qoWL786b3Z8="; + }) + (fetchpatch { + name = "vapi-dep"; + url = "https://gitlab.gnome.org/GNOME/libgudev/-/commit/d1f6457910842ba869c9871e7a2131fbe0d6b6be.diff"; + sha256 = "sha256-/PY8ziZST/vQvksJm69a3O6/YesknIxCDvj0z40piik="; + }) + (fetchpatch { + name = "gtk-doc-dep"; + url = "https://gitlab.gnome.org/GNOME/libgudev/-/commit/34336cbadbcaac8b9b029f730eed0bdf4c633617.diff"; + sha256 = "sha256-Bk05xe69LGqWH1uhLMZhwbVMSsCTyBrrOvqWic2TTd4="; + }) + ]; + strictDeps = true; depsBuildBuild = [ pkg-config ]; @@ -32,7 +51,6 @@ stdenv.mkDerivation rec { ninja vala glib # for glib-mkenums needed during the build - ] ++ lib.optionals withIntrospection [ gobject-introspection ]; @@ -44,9 +62,6 @@ stdenv.mkDerivation rec { mesonFlags = [ # There's a dependency cycle with umockdev and the tests fail to LD_PRELOAD anyway "-Dtests=disabled" - "-Dintrospection=${if withIntrospection then "enabled" else "disabled"}" - ] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ - "-Dvapi=disabled" ]; passthru = { From bf15263d1c87f64a86828786b54455fa1210036d Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 7 Jul 2022 21:32:13 +0300 Subject: [PATCH 017/701] networkmanager: fix cross copy devdoc and man from native to cross doc does not have to be copied --- .../networking/networkmanager/default.nix | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/networking/networkmanager/default.nix b/pkgs/tools/networking/networkmanager/default.nix index 97a029d353b2..c170ed102872 100644 --- a/pkgs/tools/networking/networkmanager/default.nix +++ b/pkgs/tools/networking/networkmanager/default.nix @@ -34,6 +34,7 @@ , iputils , kmod , jansson +, elfutils , gtk-doc , libxslt , docbook_xsl @@ -43,14 +44,16 @@ , openconnect , curl , meson +, mesonEmulatorHook , ninja , libpsl , mobile-broadband-provider-info , runtimeShell +, buildPackages }: let - pythonForDocs = python3.withPackages (pkgs: with pkgs; [ pygobject3 ]); + pythonForDocs = python3.pythonForBuild.withPackages (pkgs: with pkgs; [ pygobject3 ]); in stdenv.mkDerivation rec { pname = "networkmanager"; @@ -102,7 +105,9 @@ stdenv.mkDerivation rec { "-Ddhcpcanon=no" # Miscellaneous - "-Ddocs=true" + # almost cross-compiles, however fails with + # ** (process:9234): WARNING **: Failed to load shared library '/nix/store/...-networkmanager-aarch64-unknown-linux-gnu-1.38.2/lib/libnm.so.0' referenced by the typelib: /nix/store/...-networkmanager-aarch64-unknown-linux-gnu-1.38.2/lib/libnm.so.0: cannot open shared object file: No such file or directory + "-Ddocs=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}" # We don't use firewalld in NixOS "-Dfirewalld_zone=false" "-Dtests=no" @@ -150,12 +155,12 @@ stdenv.mkDerivation rec { mobile-broadband-provider-info bluez5 dnsmasq - gobject-introspection modemmanager readline newt libsoup jansson + dbus # used to get directory paths with pkg-config during configuration ]; propagatedBuildInputs = [ gnutls libgcrypt ]; @@ -167,7 +172,7 @@ stdenv.mkDerivation rec { pkg-config vala gobject-introspection - dbus + elfutils # used to find jansson soname # Docs gtk-doc libxslt @@ -176,6 +181,8 @@ stdenv.mkDerivation rec { docbook_xml_dtd_42 docbook_xml_dtd_43 pythonForDocs + ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ + mesonEmulatorHook ]; doCheck = false; # requires /sys, the net @@ -183,6 +190,10 @@ stdenv.mkDerivation rec { postPatch = '' patchShebangs ./tools patchShebangs libnm/generate-setting-docs.py + + # TODO: submit upstream + substituteInPlace meson.build \ + --replace "'vala', req" "'vala', native: false, req" ''; preBuild = '' @@ -194,6 +205,11 @@ stdenv.mkDerivation rec { ln -s $PWD/src/libnm-client-impl/libnm.so.0 ${placeholder "out"}/lib/libnm.so.0 ''; + postFixup = lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) '' + cp -r ${buildPackages.networkmanager.devdoc} $devdoc + cp -r ${buildPackages.networkmanager.man} $man + ''; + passthru = { updateScript = gnome.updateScript { packageName = "NetworkManager"; From 1bd8727a4ca5cd4ed33a3e9349a42637f0f3a3bc Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 7 Jul 2022 21:34:37 +0300 Subject: [PATCH 018/701] various: enable gobject-introspection when cross-compiling and fix cross in some --- pkgs/development/libraries/atk/default.nix | 4 --- .../libraries/gdk-pixbuf/default.nix | 31 +++++++++---------- .../development/libraries/geoclue/default.nix | 3 ++ pkgs/development/libraries/gtk/3.x.nix | 1 - .../libraries/harfbuzz/default.nix | 9 +++--- .../libraries/json-glib/default.nix | 27 +++++++++------- .../development/libraries/libical/default.nix | 12 ++----- .../libraries/libmanette/default.nix | 3 ++ .../libraries/libsecret/default.nix | 4 +++ .../development/libraries/libsoup/default.nix | 26 +++++++++------- pkgs/development/libraries/neon/default.nix | 4 +++ pkgs/development/libraries/opencv/4.x.nix | 5 +++ pkgs/development/libraries/pango/default.nix | 27 +++++++++------- pkgs/development/libraries/polkit/default.nix | 19 ++++++------ .../development/libraries/tracker/default.nix | 31 +++++++++++++------ 15 files changed, 116 insertions(+), 90 deletions(-) diff --git a/pkgs/development/libraries/atk/default.nix b/pkgs/development/libraries/atk/default.nix index ce3352b5751e..3b8c9a27d031 100644 --- a/pkgs/development/libraries/atk/default.nix +++ b/pkgs/development/libraries/atk/default.nix @@ -44,10 +44,6 @@ stdenv.mkDerivation rec { glib ]; - mesonFlags = [ - "-Dintrospection=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}" - ]; - doCheck = true; passthru = { diff --git a/pkgs/development/libraries/gdk-pixbuf/default.nix b/pkgs/development/libraries/gdk-pixbuf/default.nix index cbed6a62a3c5..93fb05a13b60 100644 --- a/pkgs/development/libraries/gdk-pixbuf/default.nix +++ b/pkgs/development/libraries/gdk-pixbuf/default.nix @@ -16,22 +16,18 @@ , libjpeg , libpng , gnome +, gobject-introspection +, buildPackages , doCheck ? false , makeWrapper , lib -, withIntrospection ? (stdenv.buildPlatform == stdenv.hostPlatform) -, gobject-introspection }: -let - withGtkDoc = stdenv.buildPlatform == stdenv.hostPlatform; -in stdenv.mkDerivation rec { pname = "gdk-pixbuf"; version = "2.42.8"; - outputs = [ "out" "dev" "man" ] - ++ lib.optional withGtkDoc "devdoc" + outputs = [ "out" "dev" "man" "devdoc" ] ++ lib.optional (stdenv.buildPlatform == stdenv.hostPlatform) "installedTests"; src = fetchurl { @@ -60,6 +56,7 @@ stdenv.mkDerivation rec { makeWrapper glib gi-docgen + gobject-introspection # for man pages libxslt @@ -67,8 +64,6 @@ stdenv.mkDerivation rec { docbook_xml_dtd_43 ] ++ lib.optionals stdenv.isDarwin [ fixDarwinDylibNames - ] ++ lib.optionals withIntrospection [ - gobject-introspection ]; propagatedBuildInputs = [ @@ -79,9 +74,8 @@ stdenv.mkDerivation rec { ]; mesonFlags = [ - "-Dgtk_doc=${lib.boolToString withGtkDoc}" - "-Dintrospection=${if withIntrospection then "enabled" else "disabled"}" "-Dgio_sniffing=false" + "-Dgtk_doc=true" ]; postPatch = '' @@ -89,10 +83,13 @@ stdenv.mkDerivation rec { patchShebangs build-aux substituteInPlace tests/meson.build --subst-var-by installedtestsprefix "$installedTests" - ''; - preInstall = '' - PATH=$PATH:$out/bin # for install script + # Run-time dependency gi-docgen found: NO (tried pkgconfig and cmake) + # it should be a build-time dep for build + # TODO: send upstream + substituteInPlace docs/meson.build \ + --replace "dependency('gi-docgen'," "dependency('gi-docgen', native:true," \ + --replace "'gi-docgen', req" "'gi-docgen', native:true, req" ''; postInstall = @@ -108,9 +105,9 @@ stdenv.mkDerivation rec { install_name_tool -change @rpath/libgdk_pixbuf-2.0.0.dylib $out/lib/libgdk_pixbuf-2.0.0.dylib $f mv $f ''${f%.dylib}.so done - '' + lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) '' + '' + '' # We need to install 'loaders.cache' in lib/gdk-pixbuf-2.0/2.10.0/ - $dev/bin/gdk-pixbuf-query-loaders --update-cache + ${stdenv.hostPlatform.emulator buildPackages} $dev/bin/gdk-pixbuf-query-loaders --update-cache ''; # The fixDarwinDylibNames hook doesn't patch binaries. @@ -120,7 +117,7 @@ stdenv.mkDerivation rec { done ''; - postFixup = lib.optionalString withGtkDoc '' + postFixup = '' # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back. moveToOutput "share/doc" "$devdoc" ''; diff --git a/pkgs/development/libraries/geoclue/default.nix b/pkgs/development/libraries/geoclue/default.nix index 39156c95949c..f3d4ce1aa7b8 100644 --- a/pkgs/development/libraries/geoclue/default.nix +++ b/pkgs/development/libraries/geoclue/default.nix @@ -4,6 +4,7 @@ , fetchpatch , intltool , meson +, mesonEmulatorHook , ninja , pkg-config , gtk-doc @@ -74,6 +75,8 @@ stdenv.mkDerivation rec { gtk-doc docbook-xsl-nons docbook_xml_dtd_412 + ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ + mesonEmulatorHook ]; buildInputs = [ diff --git a/pkgs/development/libraries/gtk/3.x.nix b/pkgs/development/libraries/gtk/3.x.nix index f3f3f0c108a1..b69f6164acad 100644 --- a/pkgs/development/libraries/gtk/3.x.nix +++ b/pkgs/development/libraries/gtk/3.x.nix @@ -158,7 +158,6 @@ stdenv.mkDerivation rec { "-Dbroadway_backend=${lib.boolToString broadwaySupport}" "-Dx11_backend=${lib.boolToString x11Support}" "-Dquartz_backend=${lib.boolToString (stdenv.isDarwin && !x11Support)}" - "-Dintrospection=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}" ]; doCheck = false; # needs X11 diff --git a/pkgs/development/libraries/harfbuzz/default.nix b/pkgs/development/libraries/harfbuzz/default.nix index b7ba05bb79b5..49dba7c65804 100644 --- a/pkgs/development/libraries/harfbuzz/default.nix +++ b/pkgs/development/libraries/harfbuzz/default.nix @@ -34,7 +34,6 @@ let inherit (lib) optional optionals optionalString; mesonFeatureFlag = opt: b: "-D${opt}=${if b then "enabled" else "disabled"}"; - isNativeCompilation = stdenv.buildPlatform == stdenv.hostPlatform; in stdenv.mkDerivation { @@ -70,7 +69,10 @@ stdenv.mkDerivation { (mesonFeatureFlag "coretext" withCoreText) (mesonFeatureFlag "graphite" withGraphite2) (mesonFeatureFlag "icu" withIcu) - (mesonFeatureFlag "introspection" isNativeCompilation) + ]; + + depsBuildBuild = [ + pkg-config ]; nativeBuildInputs = [ @@ -86,8 +88,7 @@ stdenv.mkDerivation { ]; buildInputs = [ glib freetype ] - ++ lib.optionals withCoreText [ ApplicationServices CoreText ] - ++ lib.optionals isNativeCompilation [ gobject-introspection ]; + ++ lib.optionals withCoreText [ ApplicationServices CoreText ]; propagatedBuildInputs = optional withGraphite2 graphite2 ++ optionals withIcu [ icu harfbuzz ]; diff --git a/pkgs/development/libraries/json-glib/default.nix b/pkgs/development/libraries/json-glib/default.nix index e041908f3f48..e1676a69551d 100644 --- a/pkgs/development/libraries/json-glib/default.nix +++ b/pkgs/development/libraries/json-glib/default.nix @@ -6,10 +6,10 @@ , ninja , pkg-config , gettext -, withIntrospection ? stdenv.buildPlatform == stdenv.hostPlatform , gobject-introspection -, fixDarwinDylibNames , gi-docgen +, libxslt +, fixDarwinDylibNames , gnome }: @@ -17,8 +17,7 @@ stdenv.mkDerivation rec { pname = "json-glib"; version = "1.6.6"; - outputs = [ "out" "dev" ] - ++ lib.optional withIntrospection "devdoc"; + outputs = [ "out" "dev" "devdoc" ]; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; @@ -37,22 +36,26 @@ stdenv.mkDerivation rec { pkg-config gettext glib - ] ++ lib.optional stdenv.hostPlatform.isDarwin [ - fixDarwinDylibNames - ] ++ lib.optionals withIntrospection [ + libxslt gobject-introspection gi-docgen + ] ++ lib.optional stdenv.hostPlatform.isDarwin [ + fixDarwinDylibNames ]; propagatedBuildInputs = [ glib ]; - mesonFlags = lib.optionals (!withIntrospection) [ - "-Dintrospection=disabled" - # gi-docgen relies on introspection data - "-Dgtk_doc=disabled" - ]; + + # Run-time dependency gi-docgen found: NO (tried pkgconfig and cmake) + # it should be a build-time dep for build + # TODO: send upstream + postPatch = '' + substituteInPlace doc/meson.build \ + --replace "'gi-docgen', ver" "'gi-docgen', native:true, ver" \ + --replace "'gi-docgen', req" "'gi-docgen', native:true, req" + ''; doCheck = true; diff --git a/pkgs/development/libraries/libical/default.nix b/pkgs/development/libraries/libical/default.nix index 48e611a34821..435d1cc9bc02 100644 --- a/pkgs/development/libraries/libical/default.nix +++ b/pkgs/development/libraries/libical/default.nix @@ -13,7 +13,6 @@ , python3 , tzdata , fixDarwinDylibNames -, withIntrospection ? stdenv.buildPlatform == stdenv.hostPlatform , gobject-introspection , vala }: @@ -37,6 +36,8 @@ stdenv.mkDerivation rec { ninja perl pkg-config + gobject-introspection + vala # Docs building fails: # https://github.com/NixOS/nixpkgs/pull/67204 # previously with https://github.com/NixOS/nixpkgs/pull/61657#issuecomment-495579489 @@ -44,15 +45,12 @@ stdenv.mkDerivation rec { ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ # provides ical-glib-src-generator that runs during build libical - ] ++ lib.optionals withIntrospection [ - gobject-introspection - vala ] ++ lib.optionals stdenv.isDarwin [ fixDarwinDylibNames ]; installCheckInputs = [ # running libical-glib tests - (python3.withPackages (pkgs: with pkgs; [ + (python3.pythonForBuild.withPackages (pkgs: with pkgs; [ pygobject3 ])) ]; @@ -61,14 +59,10 @@ stdenv.mkDerivation rec { glib libxml2 icu - ] ++ lib.optionals withIntrospection [ - gobject-introspection ]; cmakeFlags = [ "-DENABLE_GTK_DOC=False" - "-DGOBJECT_INTROSPECTION=${if withIntrospection then "True" else "False"}" - "-DICAL_GLIB_VAPI=${if withIntrospection then "True" else "False"}" ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ "-DIMPORT_ICAL_GLIB_SRC_GENERATOR=${lib.getDev buildPackages.libical}/lib/cmake/LibIcal/IcalGlibSrcGenerator.cmake" ]; diff --git a/pkgs/development/libraries/libmanette/default.nix b/pkgs/development/libraries/libmanette/default.nix index 645b521b8172..7629dd8a6f1a 100644 --- a/pkgs/development/libraries/libmanette/default.nix +++ b/pkgs/development/libraries/libmanette/default.nix @@ -2,6 +2,7 @@ , fetchurl , ninja , meson +, mesonEmulatorHook , pkg-config , vala , gobject-introspection @@ -34,6 +35,8 @@ stdenv.mkDerivation rec { gtk-doc docbook-xsl-nons docbook_xml_dtd_43 + ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ + mesonEmulatorHook ]; buildInputs = [ diff --git a/pkgs/development/libraries/libsecret/default.nix b/pkgs/development/libraries/libsecret/default.nix index b04012cec28b..7378d62d677f 100644 --- a/pkgs/development/libraries/libsecret/default.nix +++ b/pkgs/development/libraries/libsecret/default.nix @@ -31,6 +31,10 @@ stdenv.mkDerivation rec { sha256 = "P7PONA/NfbVNh8iT5pv8Kx9uTUsnkGX/5m2snw/RK00="; }; + depsBuildBuild = [ + pkg-config + ]; + nativeBuildInputs = [ meson ninja diff --git a/pkgs/development/libraries/libsoup/default.nix b/pkgs/development/libraries/libsoup/default.nix index 83fb0c4a0292..ea91173540ec 100644 --- a/pkgs/development/libraries/libsoup/default.nix +++ b/pkgs/development/libraries/libsoup/default.nix @@ -8,16 +8,13 @@ , pkg-config , gnome , libsysprof-capture +, gobject-introspection +, vala +, libpsl +, brotli , gnomeSupport ? true , sqlite , glib-networking -, gobject-introspection -, withIntrospection ? stdenv.buildPlatform == stdenv.hostPlatform -, vala -, withVala ? stdenv.buildPlatform == stdenv.hostPlatform -, libpsl -, python3 -, brotli }: stdenv.mkDerivation rec { @@ -31,19 +28,20 @@ stdenv.mkDerivation rec { sha256 = "sha256-8KQnZW5f4Z4d9xwQfojfobLmc8JcVHt4I7YBi0DQEVk="; }; + depsBuildBuild = [ + pkg-config + ]; + nativeBuildInputs = [ meson ninja pkg-config glib - ] ++ lib.optionals withIntrospection [ gobject-introspection - ] ++ lib.optionals withVala [ vala ]; buildInputs = [ - python3 sqlite libpsl glib.out @@ -60,8 +58,6 @@ stdenv.mkDerivation rec { mesonFlags = [ "-Dtls_check=false" # glib-networking is a runtime dependency, not a compile-time dependency "-Dgssapi=disabled" - "-Dvapi=${if withVala then "enabled" else "disabled"}" - "-Dintrospection=${if withIntrospection then "enabled" else "disabled"}" "-Dgnome=${lib.boolToString gnomeSupport}" "-Dntlm=disabled" ] ++ lib.optionals (!stdenv.isLinux) [ @@ -73,6 +69,12 @@ stdenv.mkDerivation rec { doCheck = false; # ERROR:../tests/socket-test.c:37:do_unconnected_socket_test: assertion failed (res == SOUP_STATUS_OK): (2 == 200) postPatch = '' + # fixes finding vapigen when cross-compiling + # the commit is in 3.0.6 + # https://gitlab.gnome.org/GNOME/libsoup/-/commit/5280e936d0a76f94dbc5d8489cfbdc0a06343f65 + substituteInPlace meson.build \ + --replace "required: vapi_opt)" "required: vapi_opt, native: false)" + patchShebangs libsoup/ ''; diff --git a/pkgs/development/libraries/neon/default.nix b/pkgs/development/libraries/neon/default.nix index 1521c1a63895..5250dcddf845 100644 --- a/pkgs/development/libraries/neon/default.nix +++ b/pkgs/development/libraries/neon/default.nix @@ -35,6 +35,10 @@ stdenv.mkDerivation rec { (lib.withFeature sslSupport "ssl") ]; + preConfigure = '' + export PKG_CONFIG="$(command -v "$PKG_CONFIG")" + ''; + passthru = {inherit compressionSupport sslSupport;}; meta = with lib; { diff --git a/pkgs/development/libraries/opencv/4.x.nix b/pkgs/development/libraries/opencv/4.x.nix index c84740ebcdc9..edc8acaa92b0 100644 --- a/pkgs/development/libraries/opencv/4.x.nix +++ b/pkgs/development/libraries/opencv/4.x.nix @@ -13,6 +13,7 @@ , protobuf , config , ocl-icd +, buildPackages , enableJPEG ? true , libjpeg @@ -291,11 +292,15 @@ stdenv.mkDerivation { "-DOPENCV_GENERATE_PKGCONFIG=ON" "-DWITH_OPENMP=ON" "-DBUILD_PROTOBUF=OFF" + "-DProtobuf_PROTOC_EXECUTABLE=${lib.getExe buildPackages.protobuf}" "-DPROTOBUF_UPDATE_FILES=ON" "-DOPENCV_ENABLE_NONFREE=${printEnabled enableUnfree}" "-DBUILD_TESTS=OFF" "-DBUILD_PERF_TESTS=OFF" "-DBUILD_DOCS=${printEnabled enableDocs}" + # "OpenCV disables pkg-config to avoid using of host libraries. Consider using PKG_CONFIG_LIBDIR to specify target SYSROOT" + # but we have proper separation of build and host libs :), fixes cross + "-DOPENCV_ENABLE_PKG_CONFIG=ON" (opencvFlag "IPP" enableIpp) (opencvFlag "TIFF" enableTIFF) (opencvFlag "WEBP" enableWebP) diff --git a/pkgs/development/libraries/pango/default.nix b/pkgs/development/libraries/pango/default.nix index 13dd24b54828..16db7be31356 100644 --- a/pkgs/development/libraries/pango/default.nix +++ b/pkgs/development/libraries/pango/default.nix @@ -16,26 +16,21 @@ , ninja , glib , python3 -, x11Support? !stdenv.isDarwin, libXft -, withIntrospection ? (stdenv.buildPlatform == stdenv.hostPlatform) , gobject-introspection -, withDocs ? (stdenv.buildPlatform == stdenv.hostPlatform) +, x11Support? !stdenv.isDarwin, libXft }: stdenv.mkDerivation rec { pname = "pango"; version = "1.50.7"; - outputs = [ "bin" "out" "dev" ] - ++ lib.optionals withDocs [ "devdoc" ]; + outputs = [ "bin" "out" "dev" "devdoc" ]; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; sha256 = "BHfzaaPUxpXfcpmmmJ3ABHVqf03ifuysQFxnkLfjrTM="; }; - strictDeps = !withIntrospection; - depsBuildBuild = [ pkg-config ]; @@ -44,9 +39,7 @@ stdenv.mkDerivation rec { meson ninja glib # for glib-mkenum pkg-config - ] ++ lib.optionals withIntrospection [ gobject-introspection - ] ++ lib.optionals withDocs [ gi-docgen python3 ]; @@ -71,8 +64,7 @@ stdenv.mkDerivation rec { ]; mesonFlags = [ - "-Dgtk_doc=${lib.boolToString withDocs}" - "-Dintrospection=${if withIntrospection then "enabled" else "disabled"}" + "-Dgtk_doc=true" ] ++ lib.optionals (!x11Support) [ "-Dxft=disabled" # only works with x11 ]; @@ -82,9 +74,20 @@ stdenv.mkDerivation rec { fontDirectories = [ freefont_ttf ]; }; + # Run-time dependency gi-docgen found: NO (tried pkgconfig and cmake) + # it should be a build-time dep for build + # TODO: send upstream + postPatch = '' + substituteInPlace meson.build \ + --replace "dependency('gi-docgen', ver" "dependency('gi-docgen', native:true, ver" + + substituteInPlace docs/meson.build \ + --replace "'gi-docgen', req" "'gi-docgen', native:true, req" + ''; + doCheck = false; # test-font: FAIL - postFixup = lib.optionalString withDocs '' + postFixup = '' # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back. moveToOutput "share/doc" "$devdoc" ''; diff --git a/pkgs/development/libraries/polkit/default.nix b/pkgs/development/libraries/polkit/default.nix index 9c49f89c2ca9..9fb61b1245ab 100644 --- a/pkgs/development/libraries/polkit/default.nix +++ b/pkgs/development/libraries/polkit/default.nix @@ -6,6 +6,7 @@ , expat , pam , meson +, mesonEmulatorHook , ninja , perl , rsync @@ -23,10 +24,6 @@ , useSystemd ? stdenv.isLinux , systemd , elogind -# needed until gobject-introspection does cross-compile (https://github.com/NixOS/nixpkgs/pull/88222) -, withIntrospection ? (stdenv.buildPlatform == stdenv.hostPlatform) -# cross build fails on polkit-1-scan (https://github.com/NixOS/nixpkgs/pull/152704) -, withGtkDoc ? (stdenv.buildPlatform == stdenv.hostPlatform) # A few tests currently fail on musl (polkitunixusertest, polkitunixgrouptest, polkitidentitytest segfault). # Not yet investigated; it may be due to the "Make netgroup support optional" # patch not updating the tests correctly yet, or doing something wrong, @@ -88,6 +85,10 @@ stdenv.mkDerivation rec { }) ]; + depsBuildBuild = [ + pkg-config + ]; + nativeBuildInputs = [ glib gtk-doc @@ -97,7 +98,8 @@ stdenv.mkDerivation rec { ninja perl rsync - (python3.withPackages (pp: with pp; [ + gobject-introspection + (python3.pythonForBuild.withPackages (pp: with pp; [ dbus-python (python-dbusmock.overridePythonAttrs (attrs: { # Avoid dependency cycle. @@ -109,17 +111,18 @@ stdenv.mkDerivation rec { libxslt docbook-xsl-nons docbook_xml_dtd_412 + ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ + mesonEmulatorHook ]; buildInputs = [ expat pam spidermonkey_78 + dbus ] ++ lib.optionals stdenv.isLinux [ # On Linux, fall back to elogind when systemd support is off. (if useSystemd then systemd else elogind) - ] ++ lib.optionals withIntrospection [ - gobject-introspection ]; propagatedBuildInputs = [ @@ -136,9 +139,7 @@ stdenv.mkDerivation rec { "-Dsystemdsystemunitdir=${placeholder "out"}/etc/systemd/system" "-Dpolkitd_user=polkituser" #TODO? config.ids.uids.polkituser "-Dos_type=redhat" # only affects PAM includes - "-Dintrospection=${lib.boolToString withIntrospection}" "-Dtests=${lib.boolToString doCheck}" - "-Dgtk_doc=${lib.boolToString withGtkDoc}" "-Dman=true" ] ++ lib.optionals stdenv.isLinux [ "-Dsession_tracking=${if useSystemd then "libsystemd-login" else "libelogind"}" diff --git a/pkgs/development/libraries/tracker/default.nix b/pkgs/development/libraries/tracker/default.nix index 835f38ff5098..fe7bcbf3a543 100644 --- a/pkgs/development/libraries/tracker/default.nix +++ b/pkgs/development/libraries/tracker/default.nix @@ -25,6 +25,7 @@ , json-glib , systemd , dbus +, writeText }: stdenv.mkDerivation rec { @@ -46,6 +47,10 @@ stdenv.mkDerivation rec { patchShebangs utils/data-generators/cc/generate ''; + depsBuildBuild = [ + pkg-config + ]; + nativeBuildInputs = [ meson ninja @@ -58,11 +63,8 @@ stdenv.mkDerivation rec { gobject-introspection docbook-xsl-nons docbook_xml_dtd_45 - python3 # for data-generators - systemd # used for checks to install systemd user service - dbus # used for checks and pkg-config to install dbus service/s - ] ++ checkInputs; # gi is in the main meson.build and checked regardless of - # whether tests are enabled + (python3.pythonForBuild.withPackages (p: [ p.pygobject3 ])) + ]; buildInputs = [ glib @@ -74,15 +76,24 @@ stdenv.mkDerivation rec { libuuid json-glib libstemmer - ]; - - checkInputs = with python3.pkgs; [ - pygobject3 + dbus + systemd ]; mesonFlags = [ "-Ddocs=true" - ]; + ] ++ ( + let + # https://gitlab.gnome.org/GNOME/tracker/-/blob/master/meson.build#L159 + crossFile = writeText "cross-file.conf" '' + [properties] + sqlite3_has_fts5 = '${lib.boolToString (lib.hasInfix "-DSQLITE_ENABLE_FTS3" sqlite.NIX_CFLAGS_COMPILE)}' + ''; + in + [ + "--cross-file=${crossFile}" + ] + ); doCheck = true; From 437781b5b11b952cc099378b421afdaee0f13151 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 8 Jul 2022 10:47:13 +0000 Subject: [PATCH 019/701] fluidsynth: 2.2.5 -> 2.2.7 --- pkgs/applications/audio/fluidsynth/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/fluidsynth/default.nix b/pkgs/applications/audio/fluidsynth/default.nix index 1e55dbe8f87f..06129a4814a9 100644 --- a/pkgs/applications/audio/fluidsynth/default.nix +++ b/pkgs/applications/audio/fluidsynth/default.nix @@ -5,13 +5,13 @@ stdenv.mkDerivation rec { pname = "fluidsynth"; - version = "2.2.5"; + version = "2.2.7"; src = fetchFromGitHub { owner = "FluidSynth"; repo = "fluidsynth"; rev = "v${version}"; - sha256 = "sha256-aR8TLxl6OziP+DMSNro0DB/UtvzXDeDYQ3o/iy70XD4="; + sha256 = "sha256-4uo+Ldrp66dmemulKqofX2pz8tE73/5zGtmnY5BHjs8="; }; nativeBuildInputs = [ buildPackages.stdenv.cc pkg-config cmake ]; From 2d8f2d938c8c5444ce9a5e0da279e6fde5644952 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Sat, 9 Jul 2022 10:23:13 -0700 Subject: [PATCH 020/701] bison: only run install check Install check appears to run the normal check target as well. This introduces a scenario where a large test suite is being ran twice. --- pkgs/development/tools/parsing/bison/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/parsing/bison/default.nix b/pkgs/development/tools/parsing/bison/default.nix index f9a3b17cd7cb..43ef3ffa3e19 100644 --- a/pkgs/development/tools/parsing/bison/default.nix +++ b/pkgs/development/tools/parsing/bison/default.nix @@ -28,7 +28,8 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - doCheck = true; + # Normal check and install check largely execute the same test suite + doCheck = false; doInstallCheck = true; meta = { From e93e2526704994da12eb759e0882d58a8527d0da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 8 Jul 2022 13:54:44 +0200 Subject: [PATCH 021/701] source-highlight: fix lazy bash-completion loading when loaded through XDG_DATA_DIRS --- pkgs/tools/text/source-highlight/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/text/source-highlight/default.nix b/pkgs/tools/text/source-highlight/default.nix index 289740854f2e..c8a775e64459 100644 --- a/pkgs/tools/text/source-highlight/default.nix +++ b/pkgs/tools/text/source-highlight/default.nix @@ -39,7 +39,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--with-boost=${boost.out}" - "--with-bash-completion=${placeholder "out"}/share/bash_completion.d" + "--with-bash-completion=${placeholder "out"}/share/bash-completion/completions" ]; doCheck = true; From 62f2aebc4deaea045d26b1765839fba3ae97e336 Mon Sep 17 00:00:00 2001 From: kilianar Date: Sat, 9 Jul 2022 14:12:48 +0200 Subject: [PATCH 022/701] imlib2: 1.8.1 -> 1.9.1 --- pkgs/development/libraries/imlib2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/imlib2/default.nix b/pkgs/development/libraries/imlib2/default.nix index 2790eaf460bb..a5dc57c8ffd8 100644 --- a/pkgs/development/libraries/imlib2/default.nix +++ b/pkgs/development/libraries/imlib2/default.nix @@ -25,11 +25,11 @@ let in stdenv.mkDerivation rec { pname = "imlib2"; - version = "1.8.1"; + version = "1.9.1"; src = fetchurl { url = "mirror://sourceforge/enlightenment/${pname}-${version}.tar.xz"; - hash = "sha256-Ui4ecOZbwO3f4gdhfRXJo5VmKnwJBmHaqiwpT7fZ/ao="; + hash = "sha256-SiJAOL//vl1NJQxE4F9O5a4k3P74OVsWd8cVxY92TUM="; }; buildInputs = [ From 7a1fcc94a77c7df416507cb536261d6df41a3992 Mon Sep 17 00:00:00 2001 From: kilianar Date: Sun, 10 Jul 2022 22:25:47 +0200 Subject: [PATCH 023/701] feh: fix failing testPhase The update of imlib2 from 1.8.1 to 1.9.1 changed the warning messages when trying to open empty image files. This caused some tests of feh to fail. Therefore we change the expected warning in test/feh.t during the postPatch phase. --- pkgs/applications/graphics/feh/default.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/graphics/feh/default.nix b/pkgs/applications/graphics/feh/default.nix index 3865848ff209..70f83e9a2f2c 100644 --- a/pkgs/applications/graphics/feh/default.nix +++ b/pkgs/applications/graphics/feh/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, fetchFromGitHub, makeWrapper -, xorg, imlib2, libjpeg, libpng, fetchpatch +, xorg, imlib2, libjpeg, libpng , curl, libexif, jpegexiforient, perl , enableAutoreload ? !stdenv.hostPlatform.isDarwin }: @@ -14,13 +14,11 @@ stdenv.mkDerivation rec { sha256 = "sha256-rgNC4M1TJ5EPeWmVHVzgaxTGLY7CYQf7uOsOn5bkwKE="; }; - patches = [ - # fix test failure when magic=0 is set - (fetchpatch { - url = "https://github.com/derf/feh/commit/3c1076b31e2e4e3429a5c3d334d555e549fb72d2.patch"; - sha256 = "sha256-F9N+N/BAeclyPHQYlO9ZV1U8S1VWfHl/8dMKUqA7DF8="; - }) - ]; + postPatch = '' + substituteInPlace test/feh.t \ + --replace "WARNING:" "WARNING: While loading" \ + --replace "Does not look like an image \(magic bytes missing\)" "Unknown error \(15\)" + ''; outputs = [ "out" "man" "doc" ]; From 3feca2a040927cffcb78a47598b92e390f0d7b68 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 11 Jul 2022 23:01:59 +0100 Subject: [PATCH 024/701] kmod: 29 -> 30 While at it added trivial updater. Changes: https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/plain/NEWS?h=v30 --- pkgs/os-specific/linux/kmod/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kmod/default.nix b/pkgs/os-specific/linux/kmod/default.nix index a0b390b756da..081f83b013ab 100644 --- a/pkgs/os-specific/linux/kmod/default.nix +++ b/pkgs/os-specific/linux/kmod/default.nix @@ -3,6 +3,7 @@ , libxslt, xz, zstd, elf-header , withDevdoc ? stdenv.hostPlatform == stdenv.buildPlatform , withStatic ? stdenv.hostPlatform.isStatic +, gitUpdater }: let @@ -11,7 +12,7 @@ let in stdenv.mkDerivation rec { pname = "kmod"; - version = "29"; + version = "30"; # autogen.sh is missing from the release tarball, # and we need to run it to regenerate gtk_doc.make, @@ -20,7 +21,7 @@ in stdenv.mkDerivation rec { # https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/commit/.gitignore?id=61a93a043aa52ad62a11ba940d4ba93cb3254e78 src = fetchzip { url = "https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/snapshot/kmod-${version}.tar.gz"; - sha256 = "sha256-7O5VdBd8rBZdIERPE+2zkjj5POvSurwlV2EpWmkFUD0="; + sha256 = "sha256-/dih2LoqgRrAsVdHRwld28T8pXgqnzapnQhqkXnxbbc="; }; outputs = [ "out" "dev" "lib" ] ++ lib.optional withDevdoc "devdoc"; @@ -57,6 +58,13 @@ in stdenv.mkDerivation rec { ln -s bin $out/sbin ''; + passthru.updateScript = gitUpdater { + inherit pname version; + # No nicer place to find latest release. + url = "https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git"; + rev-prefix = "v"; + }; + meta = with lib; { description = "Tools for loading and managing Linux kernel modules"; longDescription = '' From eb829035c938022bb064faef56a7b1346443e034 Mon Sep 17 00:00:00 2001 From: Artturin Date: Tue, 12 Jul 2022 15:10:40 +0300 Subject: [PATCH 025/701] gobject-introspection: do not propagate target gobject-introspection in wrapper broke modemmanager and some of its deps libqmi-aarch64-unknown-linux-gnu> GISCAN Qmi-1.0.gir libqmi-aarch64-unknown-linux-gnu> /build/libqmi-1.30.8/src/libqmi-glib/tmp-introspect2d8e4td2/.libs/Qmi-1.0: error while loading shared libraries: libqmi-glib.so.5: cannot open shared object file: No such file or directory libqmi-aarch64-unknown-linux-gnu> Command '['/nix/store/wr4mjr9gadvwz6c88fgz4ldzn21sxkpz-qemu-7.0.0/bin/qemu-aarch64', '/build/libqmi-1.30.8/src/libqmi-glib/tmp-introspect2d8e4td2/.libs/Qmi-1.0', '--introspect-dump=/build/libqmi-1.30.8/src/libqmi-glib/tmp-introspect2d8e4td2/functions.txt,/build/libqmi-1.30.8/src/libqmi-glib/tmp-introspect2d8e4td2/dump.xml']' returned non-zero exit status 127. libqmi-aarch64-unknown-linux-gnu> make[4]: *** [/nix/store/jwpcacx8sd4vj0ckk5wxrzn2iwcpp35s-gobject-introspection-aarch64-unknown-linux-gnu-1.72.0-dev/share/gobject-introspection-1.0/Makefile.introspection:156: Qmi-1.0.gir] Error 1 --- pkgs/development/libraries/gobject-introspection/wrapper.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/libraries/gobject-introspection/wrapper.nix b/pkgs/development/libraries/gobject-introspection/wrapper.nix index e71f2f2fb46c..46000073205c 100644 --- a/pkgs/development/libraries/gobject-introspection/wrapper.nix +++ b/pkgs/development/libraries/gobject-introspection/wrapper.nix @@ -9,7 +9,6 @@ # `nix build ".#pkgsCross.aarch64-multiplatform.buildPackages.gobject-introspection"` gobject-introspection-unwrapped.overrideAttrs (previousAttrs: { pname = "gobject-introspection-wrapped"; - depsTargetTargetPropagated = [ gobject-introspection-unwrapped ]; # failure in e.g. pkgsCross.aarch64-multiplatform.polkit # subprocess.CalledProcessError: Command '['/nix/store/...-prelink-unstable-2019-06-24/bin/prelink-rtld', '/build/source/build/tmp-introspectzp2ldkyk/PolkitAgent-1.0']' returned non-zero exit status 127. patches = previousAttrs.patches ++ [ ./giscanner-ignore-error-return-codes-from-ldd-wrapper.patch ]; From 20642e2ab0c278f1e51ca2e63ec0836f91b5451d Mon Sep 17 00:00:00 2001 From: Artturin Date: Tue, 12 Jul 2022 15:17:11 +0300 Subject: [PATCH 026/701] various: readd gobject-introspection to buildInputs see eb829035c938022bb064faef56a7b1346443e034 --- pkgs/development/libraries/atk/default.nix | 2 ++ pkgs/development/libraries/gdk-pixbuf/default.nix | 2 ++ pkgs/development/libraries/geoclue/default.nix | 1 + pkgs/development/libraries/gstreamer/bad/default.nix | 1 + pkgs/development/libraries/gstreamer/base/default.nix | 1 + pkgs/development/libraries/gstreamer/core/default.nix | 1 + pkgs/development/libraries/gstreamer/devtools/default.nix | 1 + pkgs/development/libraries/gstreamer/ges/default.nix | 1 + pkgs/development/libraries/gstreamer/rtsp-server/default.nix | 1 + pkgs/development/libraries/gtk/3.x.nix | 1 + pkgs/development/libraries/harfbuzz/default.nix | 2 +- pkgs/development/libraries/json-glib/default.nix | 2 ++ pkgs/development/libraries/libgudev/default.nix | 1 + pkgs/development/libraries/libical/default.nix | 1 + pkgs/development/libraries/libmanette/default.nix | 1 + pkgs/development/libraries/libsecret/default.nix | 1 + pkgs/development/libraries/libsoup/default.nix | 1 + pkgs/development/libraries/pango/default.nix | 1 + pkgs/development/libraries/polkit/default.nix | 1 + pkgs/development/libraries/tracker/default.nix | 1 + pkgs/tools/networking/networkmanager/default.nix | 1 + 21 files changed, 24 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/atk/default.nix b/pkgs/development/libraries/atk/default.nix index 3b8c9a27d031..268bf43eb3e8 100644 --- a/pkgs/development/libraries/atk/default.nix +++ b/pkgs/development/libraries/atk/default.nix @@ -39,6 +39,8 @@ stdenv.mkDerivation rec { fixDarwinDylibNames ]; + buildInputs = [ gobject-introspection ]; + propagatedBuildInputs = [ # Required by atk.pc glib diff --git a/pkgs/development/libraries/gdk-pixbuf/default.nix b/pkgs/development/libraries/gdk-pixbuf/default.nix index 93fb05a13b60..ff8ace9613fc 100644 --- a/pkgs/development/libraries/gdk-pixbuf/default.nix +++ b/pkgs/development/libraries/gdk-pixbuf/default.nix @@ -66,6 +66,8 @@ stdenv.mkDerivation rec { fixDarwinDylibNames ]; + buildInputs = [ gobject-introspection ]; + propagatedBuildInputs = [ glib libtiff diff --git a/pkgs/development/libraries/geoclue/default.nix b/pkgs/development/libraries/geoclue/default.nix index f3d4ce1aa7b8..7756f6169ccd 100644 --- a/pkgs/development/libraries/geoclue/default.nix +++ b/pkgs/development/libraries/geoclue/default.nix @@ -84,6 +84,7 @@ stdenv.mkDerivation rec { json-glib libsoup avahi + gobject-introspection ] ++ lib.optionals withDemoAgent [ libnotify gdk-pixbuf ] ++ lib.optionals (!stdenv.isDarwin) [ diff --git a/pkgs/development/libraries/gstreamer/bad/default.nix b/pkgs/development/libraries/gstreamer/bad/default.nix index 152904a8e7a2..6d940362a21a 100644 --- a/pkgs/development/libraries/gstreamer/bad/default.nix +++ b/pkgs/development/libraries/gstreamer/bad/default.nix @@ -121,6 +121,7 @@ stdenv.mkDerivation rec { ]; buildInputs = [ + gobject-introspection gst-plugins-base orc json-glib diff --git a/pkgs/development/libraries/gstreamer/base/default.nix b/pkgs/development/libraries/gstreamer/base/default.nix index b0aed54d9b40..c9e9c7f3248a 100644 --- a/pkgs/development/libraries/gstreamer/base/default.nix +++ b/pkgs/development/libraries/gstreamer/base/default.nix @@ -69,6 +69,7 @@ stdenv.mkDerivation rec { ] ++ lib.optional enableWayland wayland; buildInputs = [ + gobject-introspection orc libtheora libintl diff --git a/pkgs/development/libraries/gstreamer/core/default.nix b/pkgs/development/libraries/gstreamer/core/default.nix index d867a8f04d37..662c3281b030 100644 --- a/pkgs/development/libraries/gstreamer/core/default.nix +++ b/pkgs/development/libraries/gstreamer/core/default.nix @@ -63,6 +63,7 @@ stdenv.mkDerivation rec { buildInputs = [ bash-completion + gobject-introspection ] ++ lib.optionals stdenv.isLinux [ libcap libunwind diff --git a/pkgs/development/libraries/gstreamer/devtools/default.nix b/pkgs/development/libraries/gstreamer/devtools/default.nix index 3b39fa4439ac..acb12b78341d 100644 --- a/pkgs/development/libraries/gstreamer/devtools/default.nix +++ b/pkgs/development/libraries/gstreamer/devtools/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation rec { cairo python3 json-glib + gobject-introspection ]; propagatedBuildInputs = [ diff --git a/pkgs/development/libraries/gstreamer/ges/default.nix b/pkgs/development/libraries/gstreamer/ges/default.nix index fa7ea35bcdfe..9d6f3c0f4834 100644 --- a/pkgs/development/libraries/gstreamer/ges/default.nix +++ b/pkgs/development/libraries/gstreamer/ges/default.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation rec { buildInputs = [ bash-completion libxml2 + gobject-introspection ]; propagatedBuildInputs = [ diff --git a/pkgs/development/libraries/gstreamer/rtsp-server/default.nix b/pkgs/development/libraries/gstreamer/rtsp-server/default.nix index 1a1b136b0ca2..8fe79bb7b8be 100644 --- a/pkgs/development/libraries/gstreamer/rtsp-server/default.nix +++ b/pkgs/development/libraries/gstreamer/rtsp-server/default.nix @@ -41,6 +41,7 @@ stdenv.mkDerivation rec { buildInputs = [ gst-plugins-base gst-plugins-bad + gobject-introspection ]; mesonFlags = [ diff --git a/pkgs/development/libraries/gtk/3.x.nix b/pkgs/development/libraries/gtk/3.x.nix index b69f6164acad..c06aa9469937 100644 --- a/pkgs/development/libraries/gtk/3.x.nix +++ b/pkgs/development/libraries/gtk/3.x.nix @@ -110,6 +110,7 @@ stdenv.mkDerivation rec { ]; buildInputs = [ + gobject-introspection libxkbcommon (libepoxy.override { inherit x11Support; }) isocodes diff --git a/pkgs/development/libraries/harfbuzz/default.nix b/pkgs/development/libraries/harfbuzz/default.nix index 49dba7c65804..20323796e9de 100644 --- a/pkgs/development/libraries/harfbuzz/default.nix +++ b/pkgs/development/libraries/harfbuzz/default.nix @@ -87,7 +87,7 @@ stdenv.mkDerivation { docbook_xml_dtd_43 ]; - buildInputs = [ glib freetype ] + buildInputs = [ glib freetype gobject-introspection ] ++ lib.optionals withCoreText [ ApplicationServices CoreText ]; propagatedBuildInputs = optional withGraphite2 graphite2 diff --git a/pkgs/development/libraries/json-glib/default.nix b/pkgs/development/libraries/json-glib/default.nix index e1676a69551d..1f8f4fd1acc0 100644 --- a/pkgs/development/libraries/json-glib/default.nix +++ b/pkgs/development/libraries/json-glib/default.nix @@ -43,6 +43,8 @@ stdenv.mkDerivation rec { fixDarwinDylibNames ]; + buildInputs = [ gobject-introspection ]; + propagatedBuildInputs = [ glib ]; diff --git a/pkgs/development/libraries/libgudev/default.nix b/pkgs/development/libraries/libgudev/default.nix index 59df64e63558..799e1d0f8451 100644 --- a/pkgs/development/libraries/libgudev/default.nix +++ b/pkgs/development/libraries/libgudev/default.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { ]; buildInputs = [ + gobject-introspection udev glib ]; diff --git a/pkgs/development/libraries/libical/default.nix b/pkgs/development/libraries/libical/default.nix index 435d1cc9bc02..3656d2991a82 100644 --- a/pkgs/development/libraries/libical/default.nix +++ b/pkgs/development/libraries/libical/default.nix @@ -59,6 +59,7 @@ stdenv.mkDerivation rec { glib libxml2 icu + gobject-introspection ]; cmakeFlags = [ diff --git a/pkgs/development/libraries/libmanette/default.nix b/pkgs/development/libraries/libmanette/default.nix index 7629dd8a6f1a..2320aa78bba7 100644 --- a/pkgs/development/libraries/libmanette/default.nix +++ b/pkgs/development/libraries/libmanette/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { ]; buildInputs = [ + gobject-introspection glib libgudev libevdev diff --git a/pkgs/development/libraries/libsecret/default.nix b/pkgs/development/libraries/libsecret/default.nix index 7378d62d677f..24a34a92f3c1 100644 --- a/pkgs/development/libraries/libsecret/default.nix +++ b/pkgs/development/libraries/libsecret/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation rec { buildInputs = [ libgcrypt + gobject-introspection ]; propagatedBuildInputs = [ diff --git a/pkgs/development/libraries/libsoup/default.nix b/pkgs/development/libraries/libsoup/default.nix index ea91173540ec..9976f4109f0e 100644 --- a/pkgs/development/libraries/libsoup/default.nix +++ b/pkgs/development/libraries/libsoup/default.nix @@ -42,6 +42,7 @@ stdenv.mkDerivation rec { ]; buildInputs = [ + gobject-introspection sqlite libpsl glib.out diff --git a/pkgs/development/libraries/pango/default.nix b/pkgs/development/libraries/pango/default.nix index 16db7be31356..4f5f84702f9e 100644 --- a/pkgs/development/libraries/pango/default.nix +++ b/pkgs/development/libraries/pango/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation rec { buildInputs = [ fribidi libthai + gobject-introspection ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ ApplicationServices Carbon diff --git a/pkgs/development/libraries/polkit/default.nix b/pkgs/development/libraries/polkit/default.nix index 9fb61b1245ab..ff025fb52102 100644 --- a/pkgs/development/libraries/polkit/default.nix +++ b/pkgs/development/libraries/polkit/default.nix @@ -116,6 +116,7 @@ stdenv.mkDerivation rec { ]; buildInputs = [ + gobject-introspection expat pam spidermonkey_78 diff --git a/pkgs/development/libraries/tracker/default.nix b/pkgs/development/libraries/tracker/default.nix index fe7bcbf3a543..a643fd6e4150 100644 --- a/pkgs/development/libraries/tracker/default.nix +++ b/pkgs/development/libraries/tracker/default.nix @@ -67,6 +67,7 @@ stdenv.mkDerivation rec { ]; buildInputs = [ + gobject-introspection glib libxml2 sqlite diff --git a/pkgs/tools/networking/networkmanager/default.nix b/pkgs/tools/networking/networkmanager/default.nix index c170ed102872..2d4e11f5b998 100644 --- a/pkgs/tools/networking/networkmanager/default.nix +++ b/pkgs/tools/networking/networkmanager/default.nix @@ -143,6 +143,7 @@ stdenv.mkDerivation rec { ]; buildInputs = [ + gobject-introspection systemd libselinux audit From d938f94279d5c255ab9fb007deae7dda39679105 Mon Sep 17 00:00:00 2001 From: Artturi Date: Tue, 12 Jul 2022 15:34:22 +0300 Subject: [PATCH 027/701] =?UTF-8?q?Revert=20"Revert=20"release:=20add=20te?= =?UTF-8?q?sts.packageTestsForChannelBlockers.curl.withCh=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nixos/release-combined.nix | 1 + nixos/release-small.nix | 1 + pkgs/test/default.nix | 8 ++++++++ pkgs/top-level/release.nix | 2 ++ 4 files changed, 12 insertions(+) diff --git a/nixos/release-combined.nix b/nixos/release-combined.nix index 7f81ca1c69b8..626a16bd9e2d 100644 --- a/nixos/release-combined.nix +++ b/nixos/release-combined.nix @@ -156,6 +156,7 @@ in rec { (onSystems ["i686-linux"] "nixos.tests.zfs.installer") (onFullSupported "nixpkgs.emacs") (onFullSupported "nixpkgs.jdk") + (onFullSupported "nixpkgs.tests.packageTestsForChannelBlockers.curl.withCheck") ["nixpkgs.tarball"] ]; }; diff --git a/nixos/release-small.nix b/nixos/release-small.nix index 1d51b4e7f28f..bd1e1b95d1fb 100644 --- a/nixos/release-small.nix +++ b/nixos/release-small.nix @@ -120,6 +120,7 @@ in rec { "nixos.tests.proxy.x86_64-linux" "nixos.tests.simple.x86_64-linux" "nixpkgs.jdk.x86_64-linux" + "nixpkgs.tests.packageTestsForChannelBlockers.curl.withCheck.x86_64-linux" "nixpkgs.tarball" ]; }; diff --git a/pkgs/test/default.nix b/pkgs/test/default.nix index 82975efb5917..f22bf46900ce 100644 --- a/pkgs/test/default.nix +++ b/pkgs/test/default.nix @@ -24,6 +24,14 @@ with pkgs; config = callPackage ./config.nix { }; + # we can't add 'nixpkgs.curl.tests' to hydra jobs due to 'tests' (and 'passthru') being stripped + # TODO: add a function in lib-release.nix to get derivations and add `.x86_64-linux` to them + # then we can just point release files to nixpkgs.tests.packageTestsForChannelBlockers instead of + # nixpkgs.tests.packageTestsForChannelBlockers.curl.withCheck + packageTestsForChannelBlockers = recurseIntoAttrs { + curl = recurseIntoAttrs pkgs.curl.tests; + }; + haskell = callPackage ./haskell { }; cc-multilib-gcc = callPackage ./cc-wrapper/multilib.nix { stdenv = gccMultiStdenv; }; diff --git a/pkgs/top-level/release.nix b/pkgs/top-level/release.nix index bac3d1b1171d..c2d21b196a8a 100644 --- a/pkgs/top-level/release.nix +++ b/pkgs/top-level/release.nix @@ -97,6 +97,7 @@ let jobs.lib-tests jobs.pkgs-lib-tests jobs.stdenv.x86_64-linux + jobs.tests.packageTestsForChannelBlockers.curl.withCheck.x86_64-linux jobs.cargo.x86_64-linux jobs.go.x86_64-linux jobs.linux.x86_64-linux @@ -133,6 +134,7 @@ let ++ lib.collect lib.isDerivation jobs.stdenvBootstrapTools ++ lib.optionals supportDarwin.x86_64 [ jobs.stdenv.x86_64-darwin + jobs.tests.packageTestsForChannelBlockers.curl.withCheck.x86_64-darwin jobs.cargo.x86_64-darwin jobs.cachix.x86_64-darwin jobs.go.x86_64-darwin From 527595cc2068eb3502bbaf760faee2566ae639ab Mon Sep 17 00:00:00 2001 From: K900 Date: Tue, 12 Jul 2022 11:50:56 +0300 Subject: [PATCH 028/701] bzip2: 1.0.6.0.2 -> 1.0.8 Use latest upstream version, yoink updated autoconf patch from SUSE. Might fix unpacking some very cursed files. Dropped security patches applied upstream (see https://sourceware.org/bzip2/CHANGES). --- .../compression/bzip2/CVE-2016-3189.patch | 12 ------- .../compression/bzip2/cve-2019-12900.patch | 13 -------- pkgs/tools/compression/bzip2/default.nix | 33 +++++++------------ 3 files changed, 12 insertions(+), 46 deletions(-) delete mode 100644 pkgs/tools/compression/bzip2/CVE-2016-3189.patch delete mode 100644 pkgs/tools/compression/bzip2/cve-2019-12900.patch diff --git a/pkgs/tools/compression/bzip2/CVE-2016-3189.patch b/pkgs/tools/compression/bzip2/CVE-2016-3189.patch deleted file mode 100644 index eff324b32503..000000000000 --- a/pkgs/tools/compression/bzip2/CVE-2016-3189.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/bzip2recover.c b/bzip2recover.c -index f9de049..252c1b7 100644 ---- a/bzip2recover.c -+++ b/bzip2recover.c -@@ -457,6 +457,7 @@ Int32 main ( Int32 argc, Char** argv ) - bsPutUChar ( bsWr, 0x50 ); bsPutUChar ( bsWr, 0x90 ); - bsPutUInt32 ( bsWr, blockCRC ); - bsClose ( bsWr ); -+ outFile = NULL; - } - if (wrBlock >= rbCtr) break; - wrBlock++; diff --git a/pkgs/tools/compression/bzip2/cve-2019-12900.patch b/pkgs/tools/compression/bzip2/cve-2019-12900.patch deleted file mode 100644 index bf3d13a7a691..000000000000 --- a/pkgs/tools/compression/bzip2/cve-2019-12900.patch +++ /dev/null @@ -1,13 +0,0 @@ -https://gitlab.com/federicomenaquintero/bzip2/commit/74de1e2e6ffc9d -diff --git a/decompress.c b/decompress.c ---- a/decompress.c -+++ b/decompress.c -@@ -287,7 +287,7 @@ - GET_BITS(BZ_X_SELECTOR_1, nGroups, 3); - if (nGroups < 2 || nGroups > 6) RETURN(BZ_DATA_ERROR); - GET_BITS(BZ_X_SELECTOR_2, nSelectors, 15); -- if (nSelectors < 1) RETURN(BZ_DATA_ERROR); -+ if (nSelectors < 1 || nSelectors > BZ_MAX_SELECTORS) RETURN(BZ_DATA_ERROR); - for (i = 0; i < nSelectors; i++) { - j = 0; - while (True) { diff --git a/pkgs/tools/compression/bzip2/default.nix b/pkgs/tools/compression/bzip2/default.nix index 3dd3632711c3..dafd6a6070df 100644 --- a/pkgs/tools/compression/bzip2/default.nix +++ b/pkgs/tools/compression/bzip2/default.nix @@ -10,34 +10,25 @@ stdenv.mkDerivation rec { pname = "bzip2"; - version = "1.0.6.0.2"; + version = "1.0.8"; - /* We use versions patched to use autotools style properly, - saving lots of trouble. */ src = fetchurl { - urls = map - (prefix: prefix + "/people/sbrabec/bzip2/tarballs/${pname}-${version}.tar.gz") - [ - "http://ftp.uni-kl.de/pub/linux/suse" - "ftp://ftp.hs.uni-hamburg.de/pub/mirrors/suse" - "ftp://ftp.mplayerhq.hu/pub/linux/suse" - "http://ftp.suse.com/pub" # the original patched version but slow - ]; - sha256 = "sha256-FnhwNy4OHe8d5M6iYCClkxzcB/EHXg0veXwv43ZlxbA="; + url = "https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz"; + sha256 = "sha256-q1oDF27hBtPw+pDjgdpHjdrkBZGBU8yiSOaCzQxKImk="; }; + patchFlags = ["-p0"]; + + patches = [ + (fetchurl { + url = "https://ftp.suse.com/pub/people/sbrabec/bzip2/for_downstream/bzip2-1.0.6.2-autoconfiscated.patch"; + sha256 = "sha256-QMufl6ffJVVVVZespvkCbFpB6++R1lnq1687jEsUjr0="; + }) + ]; + strictDeps = true; nativeBuildInputs = [ autoreconfHook ]; - patches = [ - ./CVE-2016-3189.patch - ./cve-2019-12900.patch - ]; - - postPatch = '' - sed -i -e '//s|\\|/|' bzip2.c - ''; - outputs = [ "bin" "dev" "out" "man" ]; configureFlags = From a05f2b15b9a1525d7b72924730c0a1034100627e Mon Sep 17 00:00:00 2001 From: Alex Wied Date: Tue, 12 Jul 2022 19:26:06 -0400 Subject: [PATCH 029/701] libuv: 1.44.1 -> 1.44.2 --- pkgs/development/libraries/libuv/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libuv/default.nix b/pkgs/development/libraries/libuv/default.nix index 92b8a99c72d9..a350cd378bce 100644 --- a/pkgs/development/libraries/libuv/default.nix +++ b/pkgs/development/libraries/libuv/default.nix @@ -1,14 +1,14 @@ { stdenv, lib, fetchFromGitHub, autoconf, automake, libtool, pkg-config, ApplicationServices, CoreServices }: stdenv.mkDerivation rec { - version = "1.44.1"; + version = "1.44.2"; pname = "libuv"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - sha256 = "sha256-12uveSEavRxQW4xVrB4Rkkj+eHZ71Qy8dRG+95ldz50="; + sha256 = "sha256-K6v+00basjI32ON27ZjC5spQi/zWCcslDwQwyosq2iY="; }; postPatch = let From c16db99d3b38a558caabd66f4d59621ed6c7f49b Mon Sep 17 00:00:00 2001 From: Izorkin Date: Wed, 13 Jul 2022 11:16:34 +0300 Subject: [PATCH 030/701] libssh2: fix build with libressl 3.5.x --- .../development/libraries/libssh2/default.nix | 6 +++++ ...openssl_add_support_for_libressl_3_5.patch | 26 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/libraries/libssh2/openssl_add_support_for_libressl_3_5.patch diff --git a/pkgs/development/libraries/libssh2/default.nix b/pkgs/development/libraries/libssh2/default.nix index d6817550fe7b..1b5d65335b8d 100644 --- a/pkgs/development/libraries/libssh2/default.nix +++ b/pkgs/development/libraries/libssh2/default.nix @@ -11,6 +11,12 @@ stdenv.mkDerivation rec { outputs = [ "out" "dev" "devdoc" ]; + patches = [ + # https://github.com/libssh2/libssh2/pull/700 + # openssl: add support for LibreSSL 3.5.x + ./openssl_add_support_for_libressl_3_5.patch + ]; + buildInputs = [ openssl zlib ] ++ lib.optional stdenv.hostPlatform.isMinGW windows.mingw_w64; diff --git a/pkgs/development/libraries/libssh2/openssl_add_support_for_libressl_3_5.patch b/pkgs/development/libraries/libssh2/openssl_add_support_for_libressl_3_5.patch new file mode 100644 index 000000000000..d72a67a63403 --- /dev/null +++ b/pkgs/development/libraries/libssh2/openssl_add_support_for_libressl_3_5.patch @@ -0,0 +1,26 @@ +From f0681a4573d7c7f7484d3157ddff7063a200295b Mon Sep 17 00:00:00 2001 +From: Viktor Szakats +Date: Thu, 19 May 2022 13:25:06 +0000 +Subject: [PATCH] openssl: add support for LibreSSL 3.5.x + +LibreSSL 3.5.0 made more structures opaque, so let's enable existing +support for that when building against these LibreSSL versions. + +Ref: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.5.0-relnotes.txt +--- + src/openssl.h | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/openssl.h b/src/openssl.h +index 658b040..1733b9e 100644 +--- a/src/openssl.h ++++ b/src/openssl.h +@@ -58,7 +58,8 @@ + #include + + #if OPENSSL_VERSION_NUMBER >= 0x10100000L && \ +- !defined(LIBRESSL_VERSION_NUMBER) ++ !defined(LIBRESSL_VERSION_NUMBER) || \ ++ LIBRESSL_VERSION_NUMBER >= 0x3050000fL + # define HAVE_OPAQUE_STRUCTS 1 + #endif From 9b817daa229d574db77e37f1d1b03c96fe6dd088 Mon Sep 17 00:00:00 2001 From: K900 Date: Wed, 13 Jul 2022 14:56:06 +0300 Subject: [PATCH 031/701] qt5.15: restore the version override I am bad at this. --- pkgs/development/libraries/qt-5/5.15/srcs.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/qt-5/5.15/srcs.nix b/pkgs/development/libraries/qt-5/5.15/srcs.nix index 353eff10f259..5ca033816181 100644 --- a/pkgs/development/libraries/qt-5/5.15/srcs.nix +++ b/pkgs/development/libraries/qt-5/5.15/srcs.nix @@ -2,7 +2,9 @@ let version = "5.15.5"; - overrides = {}; + overrides = { + qtscript.version = "5.15.4"; + }; mk = name: args: let From f0c7e18075cda82615d692e303f5db3496f8332d Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Tue, 12 Jul 2022 20:17:08 +0000 Subject: [PATCH 032/701] =?UTF-8?q?pango:=201.50.7=20=E2=86=92=201.50.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/pango/-/compare/1.50.7...1.50.8 --- pkgs/development/libraries/pango/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/pango/default.nix b/pkgs/development/libraries/pango/default.nix index 4f5f84702f9e..6ce22a8c1c68 100644 --- a/pkgs/development/libraries/pango/default.nix +++ b/pkgs/development/libraries/pango/default.nix @@ -22,13 +22,13 @@ stdenv.mkDerivation rec { pname = "pango"; - version = "1.50.7"; + version = "1.50.8"; outputs = [ "bin" "out" "dev" "devdoc" ]; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "BHfzaaPUxpXfcpmmmJ3ABHVqf03ifuysQFxnkLfjrTM="; + sha256 = "z2JvWd0UbAIxdMQDSSDpZn8dJawsFWlRbWMTbDESVfo="; }; depsBuildBuild = [ From f95591ae903eede2e7928a8320cb9361bb8e33f0 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Tue, 12 Jul 2022 20:17:17 +0000 Subject: [PATCH 033/701] =?UTF-8?q?tracker:=203.3.1=20=E2=86=92=203.3.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/tracker/-/compare/3.3.1...3.3.2 --- pkgs/development/libraries/tracker/default.nix | 8 ++------ pkgs/development/libraries/tracker/fix-test-order.patch | 9 --------- 2 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 pkgs/development/libraries/tracker/fix-test-order.patch diff --git a/pkgs/development/libraries/tracker/default.nix b/pkgs/development/libraries/tracker/default.nix index a643fd6e4150..45241eff47e9 100644 --- a/pkgs/development/libraries/tracker/default.nix +++ b/pkgs/development/libraries/tracker/default.nix @@ -30,19 +30,15 @@ stdenv.mkDerivation rec { pname = "tracker"; - version = "3.3.1"; + version = "3.3.2"; outputs = [ "out" "dev" "devdoc" ]; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "Wtb1vJd4Hr9V7NaUfNSuf/QZJRZYDRC9g4Dx3UcZbtI="; + sha256 = "DtK5iRiVbW8WQpxgfdihTIT02gpIlw/S64yTq6PPmRM="; }; - patches = [ - ./fix-test-order.patch - ]; - postPatch = '' patchShebangs utils/data-generators/cc/generate ''; diff --git a/pkgs/development/libraries/tracker/fix-test-order.patch b/pkgs/development/libraries/tracker/fix-test-order.patch deleted file mode 100644 index baa15b18abdf..000000000000 --- a/pkgs/development/libraries/tracker/fix-test-order.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff --git a/tests/libtracker-data/algebra/filter-scope-1.rq b/tests/libtracker-data/algebra/filter-scope-1.rq -index 7ee5a24ad..a8cd89ca9 100644 ---- a/tests/libtracker-data/algebra/filter-scope-1.rq -+++ b/tests/libtracker-data/algebra/filter-scope-1.rq -@@ -7,3 +7,4 @@ SELECT ?v ?w ?v2 - OPTIONAL { :x :p ?v2 FILTER(?v = 1) } - } - } -+ORDER BY ?v ?w ?v2 From 614a4d2bd55c6beaa23212fc730d7e13fb8bd6ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 13 Jul 2022 14:26:03 +0200 Subject: [PATCH 034/701] python310Packages.zipp: 3.8.0 -> 3.8.1 --- pkgs/development/python-modules/zipp/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zipp/default.nix b/pkgs/development/python-modules/zipp/default.nix index ba3ea107ea02..e773960730f6 100644 --- a/pkgs/development/python-modules/zipp/default.nix +++ b/pkgs/development/python-modules/zipp/default.nix @@ -9,14 +9,14 @@ let zipp = buildPythonPackage rec { pname = "zipp"; - version = "3.8.0"; + version = "3.8.1"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-Vr+Krbg8JNtsS1d+E943TM+2faIHi+uh0DfBeYC/Q60="; + sha256 = "sha256-BbRfHuj4B9DMkoSFykCgfLSRzwkv9YfA35yx/RVISNI="; }; nativeBuildInputs = [ From 11c43f0a137f56eecc3c55b155f48cc6d0d2d17c Mon Sep 17 00:00:00 2001 From: K900 Date: Tue, 12 Jul 2022 15:12:08 +0300 Subject: [PATCH 035/701] pipewire: 0.3.54 -> 0.3.55, fix pw-v4l2 --- pkgs/development/libraries/pipewire/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/pipewire/default.nix b/pkgs/development/libraries/pipewire/default.nix index 1f7790294dd1..52071fa860c2 100644 --- a/pkgs/development/libraries/pipewire/default.nix +++ b/pkgs/development/libraries/pipewire/default.nix @@ -69,7 +69,7 @@ let self = stdenv.mkDerivation rec { pname = "pipewire"; - version = "0.3.54"; + version = "0.3.55"; outputs = [ "out" @@ -87,7 +87,7 @@ let owner = "pipewire"; repo = "pipewire"; rev = version; - sha256 = "sha256-EFkx/K5v4f7clFguiU1xFt9VacSHeVksRye73rOjPPI="; + sha256 = "sha256-OAe/SpXLDQTvAEDyShTA4flqXUpjOabAQXulNeF6LLw="; }; patches = [ @@ -150,6 +150,7 @@ let "-Dinstalled_test_prefix=${placeholder "installedTests"}" "-Dpipewire_pulse_prefix=${placeholder "pulse"}" "-Dlibjack-path=${placeholder "jack"}/lib" + "-Dlibv4l2-path=${placeholder "out"}/lib" "-Dlibcamera=${mesonEnableFeature libcameraSupport}" "-Droc=${mesonEnableFeature rocSupport}" "-Dlibpulse=${mesonEnableFeature pulseTunnelSupport}" From 414558010282f8ba85b39362ae7185936033be4e Mon Sep 17 00:00:00 2001 From: K900 Date: Wed, 13 Jul 2022 20:00:50 +0300 Subject: [PATCH 036/701] pipewire: import upstream-recommended crash fix patch --- pkgs/development/libraries/pipewire/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/libraries/pipewire/default.nix b/pkgs/development/libraries/pipewire/default.nix index 52071fa860c2..f4d04018d934 100644 --- a/pkgs/development/libraries/pipewire/default.nix +++ b/pkgs/development/libraries/pipewire/default.nix @@ -2,6 +2,7 @@ , lib , buildPackages , fetchFromGitLab +, fetchpatch , removeReferencesTo , python3 , meson @@ -103,6 +104,13 @@ let ./0090-pipewire-config-template-paths.patch # Place SPA data files in lib output to avoid dependency cycles ./0095-spa-data-dir.patch + + # FIXME: fix JACK crash with Ardour6, recommended by upstream, remove in .55 + (fetchpatch { + name = "fix-jack-crash"; + url = "https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/40552a0e914c3aef48ce59ce1bfb9d80516aa893.patch"; + sha256 = "sha256-ifVVBoloq1ILgKDPSjjpaw0kbzl+Ok6PZcjG3rsfRuU="; + }) ]; nativeBuildInputs = [ From 44283fc5574794c21cae6acfc90bb630640cb084 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 13 Jul 2022 07:41:05 +0100 Subject: [PATCH 037/701] graphviz: 3.0.0 -> 5.0.0 While at it switch back to tag-based fetches to ease automatic updates. Changes: https://gitlab.com/graphviz/graphviz/-/blob/main/CHANGELOG.md --- pkgs/tools/graphics/graphviz/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/graphics/graphviz/default.nix b/pkgs/tools/graphics/graphviz/default.nix index 5798ec569185..96a7ffb2ed49 100644 --- a/pkgs/tools/graphics/graphviz/default.nix +++ b/pkgs/tools/graphics/graphviz/default.nix @@ -27,16 +27,15 @@ let inherit (lib) optional optionals optionalString; in -stdenv.mkDerivation { +stdenv.mkDerivation rec { pname = "graphviz"; - version = "3.0.0"; + version = "5.0.0"; src = fetchFromGitLab { owner = "graphviz"; repo = "graphviz"; - # use rev as tags have disappeared before - rev = "24cf7232bb8728823466e0ef536862013893e567"; - sha256 = "sha256-qqrpCJ9WP8wadupp4YRJMMaSCeFIDuFDQvEOpbG/wGM="; + rev = version; + sha256 = "sha256-vDqVJJg2ezYGZPp7UtpvWfCypLBqRrr0aPMSyEN+IQo="; }; nativeBuildInputs = [ @@ -88,7 +87,6 @@ stdenv.mkDerivation { preAutoreconf = "./autogen.sh"; postFixup = optionalString withXorg '' - substituteInPlace $out/bin/dotty --replace '`which lefty`' $out/bin/lefty substituteInPlace $out/bin/vimdot \ --replace '"/usr/bin/vi"' '"$(command -v vi)"' \ --replace '"/usr/bin/vim"' '"$(command -v vim)"' \ From 15cdfd5e31f13e621fd8fa54a41a06ff3e984090 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Tue, 12 Jul 2022 22:09:30 +0200 Subject: [PATCH 038/701] =?UTF-8?q?polkit:=200.120=20=E2=86=92=20121?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds supports for mozjs-91 and switches the default JS engine to Duktape. https://gitlab.freedesktop.org/polkit/polkit/-/compare/0.120...121 --- pkgs/development/libraries/polkit/default.nix | 25 +++---------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/pkgs/development/libraries/polkit/default.nix b/pkgs/development/libraries/polkit/default.nix index ff025fb52102..78daac0ba1c2 100644 --- a/pkgs/development/libraries/polkit/default.nix +++ b/pkgs/development/libraries/polkit/default.nix @@ -13,7 +13,7 @@ , python3 , fetchpatch , gettext -, spidermonkey_78 +, duktape , gobject-introspection , libxslt , docbook-xsl-nons @@ -37,7 +37,7 @@ let in stdenv.mkDerivation rec { pname = "polkit"; - version = "0.120"; + version = "121"; outputs = [ "bin" "dev" "out" ]; # small man pages in $bin @@ -47,7 +47,7 @@ stdenv.mkDerivation rec { owner = "polkit"; repo = "polkit"; rev = version; - sha256 = "oEaRf1g13zKMD+cP1iwIA6jaCDwvNfGy2i8xY8vuVSo="; + sha256 = "Lj7KSGILc6CBsNqPO0G0PNt6ClikbRG45E8FZbb46yY="; }; patches = [ @@ -57,23 +57,6 @@ stdenv.mkDerivation rec { url = "https://gitlab.freedesktop.org/polkit/polkit/-/commit/7ba07551dfcd4ef9a87b8f0d9eb8b91fabcb41b3.patch"; sha256 = "ebbLILncq1hAZTBMsLm+vDGw6j0iQ0crGyhzyLZQgKA="; }) - # pkexec: local privilege escalation (CVE-2021-4034) - (fetchpatch { - url = "https://gitlab.freedesktop.org/polkit/polkit/-/commit/a2bf5c9c83b6ae46cbd5c779d3055bff81ded683.patch"; - sha256 = "162jkpg2myq0rb0s5k3nfr4pqwv9im13jf6vzj8p5l39nazg5i4s"; - }) - # File descriptor leak allows an unprivileged user to cause a crash (CVE-2021-4115) - (fetchpatch { - name = "CVE-2021-4115.patch"; - url = "https://src.fedoraproject.org/rpms/polkit/raw/0a203bd46a1e2ec8cc4b3626840e2ea9d0d13a9a/f/CVE-2021-4115.patch"; - sha256 = "sha256-BivHVVpYB4Ies1YbBDyKwUmNlqq2D1MpMipH9/dZM54="; - }) - # Fix build with meson 0.61 - # https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/99 - (fetchpatch { - url = "https://gitlab.freedesktop.org/polkit/polkit/-/commit/a96c5119f726225f8d79b222c85d71a9f0e32419.patch"; - sha256 = "sha256-/hm/m22dKA50sDmw4L1VAlgvCm8CuIyNjHxF/2YgMKo="; - }) ] ++ lib.optionals stdenv.hostPlatform.isMusl [ # Make netgroup support optional (musl does not have it) # Upstream MR: https://gitlab.freedesktop.org/polkit/polkit/merge_requests/10 @@ -119,8 +102,8 @@ stdenv.mkDerivation rec { gobject-introspection expat pam - spidermonkey_78 dbus + duktape ] ++ lib.optionals stdenv.isLinux [ # On Linux, fall back to elogind when systemd support is off. (if useSystemd then systemd else elogind) From ef791b29a8015e37274b1fe31a1bb11ca0c334a6 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Thu, 14 Jul 2022 00:04:20 +0000 Subject: [PATCH 039/701] python310Packages.setuptools-scm-git-archive: 1.1 -> 1.4 --- .../setuptools-scm-git-archive/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/setuptools-scm-git-archive/default.nix b/pkgs/development/python-modules/setuptools-scm-git-archive/default.nix index 5dbb8ca2d10f..556f1e0a375b 100644 --- a/pkgs/development/python-modules/setuptools-scm-git-archive/default.nix +++ b/pkgs/development/python-modules/setuptools-scm-git-archive/default.nix @@ -1,20 +1,23 @@ -{ lib, buildPythonPackage, fetchPypi, setuptools-scm, pytest }: +{ lib, buildPythonPackage, fetchPypi, setuptools-scm, pytestCheckHook }: buildPythonPackage rec { pname = "setuptools-scm-git-archive"; - version = "1.1"; + version = "1.4"; src = fetchPypi { inherit version; pname = "setuptools_scm_git_archive"; - sha256 = "6026f61089b73fa1b5ee737e95314f41cb512609b393530385ed281d0b46c062"; + sha256 = "b048b27b32e1e76ec865b0caa4bb85df6ddbf4697d6909f567ac36709f6ef2f0"; }; nativeBuildInputs = [ setuptools-scm ]; - checkInputs = [ pytest ]; + checkInputs = [ pytestCheckHook ]; + + pytestFlagsArray = [ + "tests.py" + ]; - doCheck = false; pythonImportsCheck = [ "setuptools_scm_git_archive" ]; meta = with lib; { From e8ecd00e4699472f861113e525536b4f16f68689 Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 14 Jul 2022 02:10:16 +0300 Subject: [PATCH 040/701] gobject-introspection: override pkg-config variables in a setup hook instead of substituteInPlace fixes gtk2 because it needs g_ir_scanner to be a path --- .../libraries/gobject-introspection/default.nix | 10 ---------- .../libraries/gobject-introspection/wrapper.nix | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/pkgs/development/libraries/gobject-introspection/default.nix b/pkgs/development/libraries/gobject-introspection/default.nix index bfcb9a440144..896db9c46721 100644 --- a/pkgs/development/libraries/gobject-introspection/default.nix +++ b/pkgs/development/libraries/gobject-introspection/default.nix @@ -124,16 +124,6 @@ stdenv.mkDerivation (finalAttrs: { rm $out/lib/libregress-1.0${stdenv.targetPlatform.extensions.sharedLibrary} ''; - # when cross-compiling and using the wrapper then when a package looks up the g_ir_X - # variable with pkg-config they'll get the host version which can't be run - # switch the variables to use g_ir_X from path instead of an absolute path - postFixup = lib.optionalString (!lib.hasSuffix "wrapped" finalAttrs.pname) '' - find "''${!outputDev}/lib/pkgconfig" -name '*.pc' | while read pc; do - substituteInPlace "$pc" \ - --replace '=''${bindir}/g-ir' '=g-ir' - done - ''; - setupHook = ./setup-hook.sh; passthru = { diff --git a/pkgs/development/libraries/gobject-introspection/wrapper.nix b/pkgs/development/libraries/gobject-introspection/wrapper.nix index 46000073205c..87ed44f9db1e 100644 --- a/pkgs/development/libraries/gobject-introspection/wrapper.nix +++ b/pkgs/development/libraries/gobject-introspection/wrapper.nix @@ -28,5 +28,22 @@ gobject-introspection-unwrapped.overrideAttrs (previousAttrs: { chmod +x "$dev/bin/g-ir-compiler" chmod +x "$dev/bin/g-ir-scanner" ) + '' + # when cross-compiling and using the wrapper then when a package looks up the g_ir_X + # variable with pkg-config they'll get the host version which can't be run + # override the variable to use the absolute path to g_ir_X in PATH which can be run + + '' + cat >> $dev/nix-support/setup-hook <<-'EOF' + override-pkg-config-gir-variables() { + PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_G_IR_SCANNER="$(type -p g-ir-scanner)" + PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_G_IR_COMPILER="$(type -p g-ir-compiler)" + PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_G_IR_GENERATE="$(type -p g-ir-generate)" + export PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_G_IR_SCANNER + export PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_G_IR_COMPILER + export PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_G_IR_GENERATE + } + + preConfigureHooks+=(override-pkg-config-gir-variables) + EOF ''; }) From a59654ade0f13498c7dc907f320d80790b0bb9b4 Mon Sep 17 00:00:00 2001 From: Izorkin Date: Wed, 13 Jul 2022 22:17:35 +0300 Subject: [PATCH 041/701] libevent: fix build with libressl 3.5.x --- .../libraries/libevent/default.nix | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/pkgs/development/libraries/libevent/default.nix b/pkgs/development/libraries/libevent/default.nix index 24ded54d8e97..bd5edec68a06 100644 --- a/pkgs/development/libraries/libevent/default.nix +++ b/pkgs/development/libraries/libevent/default.nix @@ -1,9 +1,8 @@ { lib, stdenv, fetchurl, findutils, fixDarwinDylibNames -, sslSupport? true, openssl +, sslSupport ? true, openssl +, fetchpatch }: -assert sslSupport -> openssl != null; - stdenv.mkDerivation rec { pname = "libevent"; version = "2.1.12"; @@ -13,6 +12,14 @@ stdenv.mkDerivation rec { sha256 = "1fq30imk8zd26x8066di3kpc5zyfc5z6frr3zll685zcx4dxxrlj"; }; + patches = [ + # Don't define BIO_get_init() for LibreSSL 3.5+ + (fetchpatch { + url = "https://github.com/libevent/libevent/commit/883630f76cbf512003b81de25cd96cb75c6cf0f9.patch"; + sha256 = "sha256-VPJqJUAovw6V92jpqIXkIR1xYGbxIWxaHr8cePWI2SU="; + }) + ]; + preConfigure = lib.optionalString (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11") '' MACOSX_DEPLOYMENT_TARGET=10.16 ''; @@ -27,14 +34,10 @@ stdenv.mkDerivation rec { ++ lib.optional sslSupport "openssl" ; - nativeBuildInputs = [] - ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames - ; + nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; - buildInputs = [] - ++ lib.optional sslSupport openssl - ++ lib.optional stdenv.isCygwin findutils - ; + buildInputs = lib.optional sslSupport openssl + ++ lib.optional stdenv.isCygwin findutils; doCheck = false; # needs the net From 4a257755460272f8a2287c7afdcd4f332a9c44fb Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 13 Jul 2022 04:39:12 +0300 Subject: [PATCH 042/701] lua-packages: fix eval failure when cross-compiling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit remove the inherit line did not work fixes mpv for example nix-repl> pkgsCross.aarch64-multiplatform.lua.withPackages (ps: with ps; [ luasocket ]) error: attribute 'runtimeShell' missing at /home/artturin/nixgits/my-nixpkgs/pkgs/top-level/all-packages.nix:849:17: 848| substitutions = { 849| shell = targetPackages.runtimeShell; | ^ 850| passthru.tests = tests.makeWrapper; … while evaluating the attribute 'shell' of the derivation 'hook' at /home/artturin/nixgits/my-nixpkgs/pkgs/stdenv/generic/make-derivation.nix:270:7: 269| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { 270| name = | ^ 271| let … while evaluating 'optionalString' at /home/artturin/nixgits/my-nixpkgs/lib/strings.nix:203:5: 202| # String to return if condition is true 203| string: if cond then string else ""; | ^ 204| … from call site at /home/artturin/nixgits/my-nixpkgs/pkgs/build-support/trivial-builders.nix:536:12: 535| cp ${script} $out/nix-support/setup-hook 536| '' + lib.optionalString (deps != []) '' | ^ 537| printWords ${toString deps} > $out/nix-support/propagated-build-inputs … while evaluating the attribute 'buildCommand' of the derivation 'hook' at /home/artturin/nixgits/my-nixpkgs/pkgs/stdenv/generic/make-derivation.nix:270:7: 269| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { 270| name = | ^ 271| let … while evaluating anonymous lambda at /home/artturin/nixgits/my-nixpkgs/lib/lists.nix:646:25: 645| */ 646| unique = foldl' (acc: e: if elem e acc then acc else acc ++ [ e ]) []; | ^ 647| … from call site at /home/artturin/nixgits/my-nixpkgs/pkgs/development/interpreters/lua-5/build-lua-package.nix:105:27: 104| # example externalDeps': [ { name = "CRYPTO"; dep = pkgs.openssl; } ] 105| externalDepsGenerated = lib.unique (lib.filter (drv: !drv ? luaModule) ( | ^ 106| luarocksDrv.nativeBuildInputs ++ luarocksDrv.propagatedBuildInputs ++ luarocksDrv.buildInputs) … while evaluating 'generateLuarocksConfig' at /home/artturin/nixgits/my-nixpkgs/pkgs/development/lua-modules/lib.nix:83:28: 82| */ 83| generateLuarocksConfig = { | ^ 84| externalDeps … from call site at /home/artturin/nixgits/my-nixpkgs/pkgs/development/interpreters/lua-5/build-lua-package.nix:85:23: 84| luarocks_content = let 85| generatedConfig = lua.pkgs.lib.generateLuarocksConfig { | ^ 86| externalDeps = externalDeps ++ externalDepsGenerated; … while evaluating the attribute 'configurePhase' of the derivation 'lua5.2-luasocket-3.0.0-1-aarch64-unknown-linux-gnu' at /home/artturin/nixgits/my-nixpkgs/pkgs/stdenv/generic/make-derivation.nix:270:7: 269| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { 270| name = | ^ 271| let … while evaluating anonymous lambda at /home/artturin/nixgits/my-nixpkgs/lib/lists.nix:646:25: 645| */ 646| unique = foldl' (acc: e: if elem e acc then acc else acc ++ [ e ]) []; | ^ 647| … from call site at /home/artturin/nixgits/my-nixpkgs/pkgs/development/lua-modules/lib.nix:5:6: 4| modules = filter hasLuaModule drvs; 5| in unique ([lua] ++ modules ++ concatLists (catAttrs "requiredLuaModules" modules)); | ^ 6| # Check whether a derivation provides a lua module. … while evaluating 'requiredLuaModules' at /home/artturin/nixgits/my-nixpkgs/pkgs/development/lua-modules/lib.nix:3:24: 2| let 3| requiredLuaModules = drvs: with lib; let | ^ 4| modules = filter hasLuaModule drvs; … from call site at /home/artturin/nixgits/my-nixpkgs/pkgs/development/interpreters/lua-5/wrapper.nix:13:14: 12| env = let 13| paths = requiredLuaModules (extraLibs ++ [ lua ] ); | ^ 14| in buildEnv { … while evaluating the attribute 'passAsFile' at /home/artturin/nixgits/my-nixpkgs/pkgs/build-support/buildenv/default.nix:77:5: 76| # XXX: The size is somewhat arbitrary 77| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | ^ 78| } … while evaluating the attribute 'passAsFile' of the derivation 'lua-aarch64-unknown-linux-gnu-5.2.4-env' at /home/artturin/nixgits/my-nixpkgs/pkgs/stdenv/generic/make-derivation.nix:270:7: 269| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { 270| name = | ^ 271| let --- pkgs/top-level/lua-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/lua-packages.nix b/pkgs/top-level/lua-packages.nix index cb963bb1b177..53e534811bfc 100644 --- a/pkgs/top-level/lua-packages.nix +++ b/pkgs/top-level/lua-packages.nix @@ -60,7 +60,7 @@ in # wraps programs in $out/bin with valid LUA_PATH/LUA_CPATH wrapLua = callPackage ../development/interpreters/lua-5/wrap-lua.nix { inherit lua lib; - inherit (pkgs) makeSetupHook makeWrapper; + inherit (pkgs.buildPackages) makeSetupHook makeWrapper; }; luarocks = callPackage ../development/tools/misc/luarocks/default.nix { From 99a52394e9a5f4a1993609d826292a935ab64a5f Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 13 Jul 2022 16:55:04 +0300 Subject: [PATCH 043/701] mpv: move makeWrapper to nativeBuildInputs to fix cross eval error: attribute 'runtimeShell' missing --- pkgs/applications/video/mpv/wrapper.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/video/mpv/wrapper.nix b/pkgs/applications/video/mpv/wrapper.nix index 3dfe83e2449e..e9be744ed01c 100644 --- a/pkgs/applications/video/mpv/wrapper.nix +++ b/pkgs/applications/video/mpv/wrapper.nix @@ -64,7 +64,7 @@ let # TODO: don't link all mpv outputs and convert package to mpv-unwrapped? paths = [ mpv.all ]; - buildInputs = [ makeWrapper ]; + nativeBuildInputs = [ makeWrapper ]; passthru.unwrapped = mpv; From 9e53565bfee17014fe19a3124c59e7f9d184aa65 Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 13 Jul 2022 17:28:54 +0300 Subject: [PATCH 044/701] python310Packages.mutagen: fix cross python3.10-mutagen> /nix/store/wfkwbqp5bvipx7inf3rm4xzk2402w82i-stdenv-linux/setup: line 86: /nix/store/hq5f9z5vnss8h5zy62p0m93550wswsp8-python3-aarch64-unknown-linux-gnu-3.10.5/bin/python3: cannot execute binary file: Exec format error --- pkgs/development/python-modules/mutagen/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/mutagen/default.nix b/pkgs/development/python-modules/mutagen/default.nix index b5415c51c4cd..f0bd0951d816 100644 --- a/pkgs/development/python-modules/mutagen/default.nix +++ b/pkgs/development/python-modules/mutagen/default.nix @@ -33,7 +33,7 @@ buildPythonPackage rec { ]; postInstall = '' - ${python.interpreter} setup.py build_sphinx --build-dir=$doc + ${python.pythonForBuild.interpreter} setup.py build_sphinx --build-dir=$doc ''; checkInputs = [ From a42a1cbc19d6d54fe392bb66a31b642449021eb9 Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 13 Jul 2022 18:37:56 +0300 Subject: [PATCH 045/701] luarocks: fix cross-compiling splicing is not currently working for luaPackages TODO: fix splicing that luarocks-aarch64-unknown-linux-gnu> /nix/store/wfkwbqp5bvipx7inf3rm4xzk2402w82i-stdenv-linux/setup: line 87: /nix/store/vbv8x2awfaa7y3fnxlpbc jh99q31qr3j-lua-aarch64-unknown-linux-gnu-5.2.4/bin/lua: cannot execute binary file: Exec format error --- pkgs/development/tools/misc/luarocks/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/misc/luarocks/default.nix b/pkgs/development/tools/misc/luarocks/default.nix index 70df08af2de0..4e486e9d24fd 100644 --- a/pkgs/development/tools/misc/luarocks/default.nix +++ b/pkgs/development/tools/misc/luarocks/default.nix @@ -1,4 +1,5 @@ {lib, stdenv, fetchFromGitHub +, buildPackages , curl, makeWrapper, which, unzip , lua # for 'luarocks pack' @@ -43,7 +44,7 @@ stdenv.mkDerivation rec { fi ''; - nativeBuildInputs = [ makeWrapper installShellFiles ]; + nativeBuildInputs = [ makeWrapper installShellFiles buildPackages.lua ]; buildInputs = [ lua curl which ]; @@ -63,7 +64,7 @@ stdenv.mkDerivation rec { installShellCompletion --cmd luarocks --zsh <($out/bin/luarocks completion zsh) ''; - propagatedBuildInputs = [ zip unzip cmake ]; + propagatedNativeBuildInputs = [ zip unzip cmake ]; # unpack hook for src.rock and rockspec files setupHook = ./setup-hook.sh; From 271665ec4c38636b19ae40079f48256407883d1b Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 13 Jul 2022 21:03:30 +0300 Subject: [PATCH 046/701] bundlerApp: put makeWrapper in nativeBuildInputs fixes cross 'error: attribute 'runtimeShell' missing' --- pkgs/development/ruby-modules/bundler-app/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/ruby-modules/bundler-app/default.nix b/pkgs/development/ruby-modules/bundler-app/default.nix index e3c430cc923b..1e6a934e3cb8 100644 --- a/pkgs/development/ruby-modules/bundler-app/default.nix +++ b/pkgs/development/ruby-modules/bundler-app/default.nix @@ -27,6 +27,7 @@ , allowSubstitutes ? false , installManpages ? true , meta ? {} +, nativeBuildInputs ? [] , buildInputs ? [] , postBuild ? "" , gemConfig ? null @@ -39,7 +40,7 @@ let cmdArgs = removeAttrs args [ "pname" "postBuild" "gemConfig" "passthru" "gemset" "gemdir" ] // { inherit preferLocalBuild allowSubstitutes; # pass the defaults - buildInputs = buildInputs ++ lib.optional (scripts != []) makeWrapper; + nativeBuildInputs = nativeBuildInputs ++ lib.optionals (scripts != []) [ makeWrapper ]; meta = { platforms = ruby.meta.platforms; } // meta; passthru = basicEnv.passthru // { From c87635d9178354c4743ace7398632d661685c9fe Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 13 Jul 2022 20:52:50 +0300 Subject: [PATCH 047/701] doc: move makeWrapper to nativeBuildInputs from buildInputs makeWrapper in buildInputs breaks cross-compilation with error: attribute 'runtimeShell' missing --- doc/languages-frameworks/maven.section.md | 6 ++++-- doc/languages-frameworks/ruby.section.md | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/languages-frameworks/maven.section.md b/doc/languages-frameworks/maven.section.md index f53a6fa8ac22..cc5b4e3ed799 100644 --- a/doc/languages-frameworks/maven.section.md +++ b/doc/languages-frameworks/maven.section.md @@ -233,7 +233,8 @@ in stdenv.mkDerivation rec { src = builtins.fetchTarball "https://github.com/fzakaria/nixos-maven-example/archive/main.tar.gz"; - buildInputs = [ maven makeWrapper ]; + nativeBuildInputs = [ makeWrapper ]; + buildInputs = [ maven ]; buildPhase = '' echo "Using repository ${repository}" @@ -310,7 +311,8 @@ in stdenv.mkDerivation rec { src = builtins.fetchTarball "https://github.com/fzakaria/nixos-maven-example/archive/main.tar.gz"; - buildInputs = [ maven makeWrapper ]; + nativeBuildInputs = [ makeWrapper ]; + buildInputs = [ maven ]; buildPhase = '' echo "Using repository ${repository}" diff --git a/doc/languages-frameworks/ruby.section.md b/doc/languages-frameworks/ruby.section.md index e29f97c566c1..d1265097d206 100644 --- a/doc/languages-frameworks/ruby.section.md +++ b/doc/languages-frameworks/ruby.section.md @@ -274,7 +274,7 @@ bundlerApp { gemdir = ./.; exes = [ "r10k" ]; - buildInputs = [ makeWrapper ]; + nativeBuildInputs = [ makeWrapper ]; postBuild = '' wrapProgram $out/bin/r10k --prefix PATH : ${lib.makeBinPath [ git gnutar gzip ]} From 6a249036fb7d4546d7ab482589d06d14da7480e3 Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 13 Jul 2022 21:41:20 +0300 Subject: [PATCH 048/701] gnustep.gsmakeDerivation: fix cross eval error: attribute 'runtimeShell' missing --- pkgs/desktops/gnustep/make/gsmakeDerivation.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/gnustep/make/gsmakeDerivation.nix b/pkgs/desktops/gnustep/make/gsmakeDerivation.nix index eff7f3eac85a..11aa53b77b5c 100644 --- a/pkgs/desktops/gnustep/make/gsmakeDerivation.nix +++ b/pkgs/desktops/gnustep/make/gsmakeDerivation.nix @@ -1,7 +1,7 @@ { lib, stdenv, make, makeWrapper, which }: -{ buildInputs ? [], ...} @ args: +{ nativeBuildInputs ? [], ...} @ args: stdenv.mkDerivation (args // { - buildInputs = [ makeWrapper make which ] ++ buildInputs; + nativeBuildInputs = [ makeWrapper make which ] ++ nativeBuildInputs; builder = ./builder.sh; setupHook = ./setup-hook.sh; From 7db9cda1b5e0038b7a5c93ec7d058fb6318a82fe Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 13 Jul 2022 22:12:10 +0300 Subject: [PATCH 049/701] gnustep.make: fix cross --- pkgs/desktops/gnustep/make/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/desktops/gnustep/make/default.nix b/pkgs/desktops/gnustep/make/default.nix index ce2c1f2f144b..def8e297b552 100644 --- a/pkgs/desktops/gnustep/make/default.nix +++ b/pkgs/desktops/gnustep/make/default.nix @@ -22,7 +22,9 @@ stdenv.mkDerivation rec { "GNUSTEP_INSTALLATION_DOMAIN=SYSTEM" ]; - buildInputs = [ clang which libobjc ]; + nativeBuildInputs = [ clang which ]; + buildInputs = [ libobjc ]; + patches = [ ./fixup-paths.patch ]; setupHook = ./setup-hook.sh; meta = { From c249583234f0797f1ab5b107887f77113c282994 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Thu, 14 Jul 2022 12:56:35 -0700 Subject: [PATCH 050/701] openssh: enable kerberos on aarch64-darwin --- pkgs/tools/networking/openssh/common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/networking/openssh/common.nix b/pkgs/tools/networking/openssh/common.nix index 4245d06a1cd0..ebe2604f4e39 100644 --- a/pkgs/tools/networking/openssh/common.nix +++ b/pkgs/tools/networking/openssh/common.nix @@ -21,7 +21,7 @@ , pam , libredirect , etcDir ? null -, withKerberos ? !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) +, withKerberos ? true , libkrb5 , libfido2 , hostname From d7fff81159bc2fd18159eec60f253002f4de7e29 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Thu, 14 Jul 2022 21:44:12 +0000 Subject: [PATCH 051/701] separateDebugInfo: enable full Rust debug info By default, Cargo will only enable line tables. -g enables full debug info. The RUSTFLAGS environment variable is examined by Cargo, similar to how the NIX_*FLAGS* variables are examined by our compiler wrappers. --- pkgs/build-support/setup-hooks/separate-debug-info.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/build-support/setup-hooks/separate-debug-info.sh b/pkgs/build-support/setup-hooks/separate-debug-info.sh index 1a23e6b198ee..593a5f64862d 100644 --- a/pkgs/build-support/setup-hooks/separate-debug-info.sh +++ b/pkgs/build-support/setup-hooks/separate-debug-info.sh @@ -1,6 +1,7 @@ export NIX_SET_BUILD_ID=1 export NIX_LDFLAGS+=" --compress-debug-sections=zlib" export NIX_CFLAGS_COMPILE+=" -ggdb -Wa,--compress-debug-sections" +export RUSTFLAGS+=" -g" dontStrip=1 fixupOutputHooks+=(_separateDebugInfo) From 4a53aba96852f06d26e47d43c1a3ac9852c0a2ed Mon Sep 17 00:00:00 2001 From: Artturin Date: Fri, 15 Jul 2022 01:58:11 +0300 Subject: [PATCH 052/701] Revert "luarocks: fix cross-compiling" it introduces the wrong lua version and the output will depend on it to fix splicing the lua infra has to be reworked This reverts commit a42a1cbc19d6d54fe392bb66a31b642449021eb9. --- pkgs/development/tools/misc/luarocks/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/misc/luarocks/default.nix b/pkgs/development/tools/misc/luarocks/default.nix index 4e486e9d24fd..70df08af2de0 100644 --- a/pkgs/development/tools/misc/luarocks/default.nix +++ b/pkgs/development/tools/misc/luarocks/default.nix @@ -1,5 +1,4 @@ {lib, stdenv, fetchFromGitHub -, buildPackages , curl, makeWrapper, which, unzip , lua # for 'luarocks pack' @@ -44,7 +43,7 @@ stdenv.mkDerivation rec { fi ''; - nativeBuildInputs = [ makeWrapper installShellFiles buildPackages.lua ]; + nativeBuildInputs = [ makeWrapper installShellFiles ]; buildInputs = [ lua curl which ]; @@ -64,7 +63,7 @@ stdenv.mkDerivation rec { installShellCompletion --cmd luarocks --zsh <($out/bin/luarocks completion zsh) ''; - propagatedNativeBuildInputs = [ zip unzip cmake ]; + propagatedBuildInputs = [ zip unzip cmake ]; # unpack hook for src.rock and rockspec files setupHook = ./setup-hook.sh; From 0fe8cf0293eefd711e30266d074a2db2ad831fbf Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Fri, 15 Jul 2022 10:17:30 +1000 Subject: [PATCH 053/701] sqlite: 3.39.0 -> 3.39.1 https://www.sqlite.org/releaselog/3_39_1.html --- pkgs/development/libraries/sqlite/default.nix | 4 ++-- pkgs/development/libraries/sqlite/tools.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/sqlite/default.nix b/pkgs/development/libraries/sqlite/default.nix index 77ce108e267a..e9fbc06090d4 100644 --- a/pkgs/development/libraries/sqlite/default.nix +++ b/pkgs/development/libraries/sqlite/default.nix @@ -17,13 +17,13 @@ in stdenv.mkDerivation rec { pname = "sqlite${optionalString interactive "-interactive"}"; - version = "3.39.0"; + version = "3.39.1"; # nixpkgs-update: no auto update # NB! Make sure to update ./tools.nix src (in the same directory). src = fetchurl { url = "https://sqlite.org/2022/sqlite-autoconf-${archiveVersion version}.tar.gz"; - sha256 = "sha256-6QvK723VgT/N7k6Gf2tl88m/0K7A8QF/nzu84eTtCeI="; + sha256 = "sha256-h8jnp/oMaKso4gi6SfOiKlYADb9TpvkCBuK8WEOTHMQ="; }; outputs = [ "bin" "dev" "out" ]; diff --git a/pkgs/development/libraries/sqlite/tools.nix b/pkgs/development/libraries/sqlite/tools.nix index e3aaf4499534..df898863b0e8 100644 --- a/pkgs/development/libraries/sqlite/tools.nix +++ b/pkgs/development/libraries/sqlite/tools.nix @@ -4,12 +4,12 @@ let archiveVersion = import ./archive-version.nix lib; mkTool = { pname, makeTarget, description, homepage, mainProgram }: stdenv.mkDerivation rec { inherit pname; - version = "3.39.0"; + version = "3.39.1"; # nixpkgs-update: no auto update src = assert version == sqlite.version; fetchurl { url = "https://sqlite.org/2022/sqlite-src-${archiveVersion version}.zip"; - sha256 = "sha256-s1hfN90Qbbs9RsjBei0nX5pLh9+MRQm9LWpbQAMkJuY="; + sha256 = "sha256-Nmx6u+5dvoiCzXV4phpu0/XQjF9t41NaAAMSW0ZGzFc="; }; nativeBuildInputs = [ unzip ]; From c1fe33bc63cdbc3ce9cc332f5d90a6b6323080e4 Mon Sep 17 00:00:00 2001 From: Stig Palmquist Date: Fri, 15 Jul 2022 15:16:52 +0200 Subject: [PATCH 054/701] perlPackages.HTTPDaemon: 6.01 -> 6.14 --- pkgs/top-level/perl-packages.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 244711fa9013..f69e96deeecd 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -10674,11 +10674,12 @@ let HTTPDaemon = buildPerlPackage { pname = "HTTP-Daemon"; - version = "6.01"; + version = "6.14"; src = fetchurl { - url = "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-6.01.tar.gz"; - sha256 = "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"; + url = "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Daemon-6.14.tar.gz"; + sha256 = "sha256-8HZ+fzy7gLITE8dh8HrY7SU7zp+i0LqAaz+3LTCbLh0="; }; + buildInputs = [ ModuleBuildTiny TestNeeds ]; propagatedBuildInputs = [ HTTPMessage ]; meta = { description = "A simple http server class"; From dd6f2768b17f7d81ee2398ca7b1cb789534778f2 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Wed, 13 Jul 2022 08:06:00 +1000 Subject: [PATCH 055/701] git: 2.37.0 -> 2.37.1 https://lore.kernel.org/git/xmqqv8s2fefi.fsf@gitster.g/T/#u --- .../version-management/git-and-tools/git/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/version-management/git-and-tools/git/default.nix b/pkgs/applications/version-management/git-and-tools/git/default.nix index afd960f0364f..341e1e0b9c97 100644 --- a/pkgs/applications/version-management/git-and-tools/git/default.nix +++ b/pkgs/applications/version-management/git-and-tools/git/default.nix @@ -26,7 +26,7 @@ assert sendEmailSupport -> perlSupport; assert svnSupport -> perlSupport; let - version = "2.37.0"; + version = "2.37.1"; svn = subversionClient.override { perlBindings = perlSupport; }; gitwebPerlLibs = with perlPackages; [ CGI HTMLParser CGIFast FCGI FCGIProcManager HTMLTagCloud ]; in @@ -39,7 +39,7 @@ stdenv.mkDerivation { src = fetchurl { url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz"; - sha256 = "sha256-n3+hcRvQDE7D3eL+REB9wT8S5HcrXjxypY20wHSVQR8="; + sha256 = "sha256-yBYsa4uPHF23BqsBtO4p4xBhGCE13CfEhgIkquwbNQA="; }; outputs = [ "out" ] ++ lib.optional withManual "doc"; From 41bf342f0ae0286c8fc0a0d8a36af5f9f49630df Mon Sep 17 00:00:00 2001 From: Shyim <6224096+shyim@users.noreply.github.com> Date: Fri, 15 Jul 2022 09:29:03 +0200 Subject: [PATCH 056/701] unzip: fix symlink unpacking issues on larger zips Co-authored-by: Sandro --- pkgs/tools/archivers/unzip/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/archivers/unzip/default.nix b/pkgs/tools/archivers/unzip/default.nix index 2f2581f04a59..9d8aef44c39b 100644 --- a/pkgs/tools/archivers/unzip/default.nix +++ b/pkgs/tools/archivers/unzip/default.nix @@ -42,6 +42,10 @@ stdenv.mkDerivation rec { name = "CVE-2019-13232-3.patch"; sha256 = "1jvs7dkdqs97qnsqc6hk088alhv8j4c638k65dbib9chh40jd7pf"; }) + (fetchurl { + url = "https://sources.debian.org/data/main/u/unzip/6.0-26/debian/patches/06-initialize-the-symlink-flag.patch"; + sha256 = "1h00djdvgjhwfb60wl4qrxbyfsbbnn1qw6l2hkldnif4m8f8r1zj"; + }) ] ++ lib.optional enableNLS (fetchurl { url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/app-arch/unzip/files/unzip-6.0-natspec.patch?id=56bd759df1d0c750a065b8c845e93d5dfa6b549d"; From b47afc347d60a2819e0db0c4335e337c91aa0df5 Mon Sep 17 00:00:00 2001 From: Stig Palmquist Date: Fri, 15 Jul 2022 21:56:36 +0200 Subject: [PATCH 057/701] perlPackages.HTTPDaemon: Patch for CVE-2022-3108 Adds 3 patches from upstream: - https://github.com/libwww-perl/HTTP-Daemon/commit/331d5c1d1f0e48e6b57ef738c2a8509b1eb53376 - https://github.com/libwww-perl/HTTP-Daemon/commit/e84475de51d6fd7b29354a997413472a99db70b2 - https://github.com/libwww-perl/HTTP-Daemon/commit/8dc5269d59e2d5d9eb1647d82c449ccd880f7fd0 --- pkgs/top-level/perl-packages.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index f69e96deeecd..410c5832482b 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -10679,6 +10679,24 @@ let url = "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Daemon-6.14.tar.gz"; sha256 = "sha256-8HZ+fzy7gLITE8dh8HrY7SU7zp+i0LqAaz+3LTCbLh0="; }; + patches = [ + # Patches for CVE-2022-3108, from upstream pre 6.15 + (fetchpatch { + url = "https://github.com/libwww-perl/HTTP-Daemon/commit/331d5c1d1f0e48e6b57ef738c2a8509b1eb53376.patch"; + sha256 = "sha256-vRSyiO38jnsSeKeGbCnKi+VLaTqQSB349eybl1Wa8SQ="; + name = "HTTP-Daemon-CVE-2022-3108-pre.patch"; + }) + (fetchpatch { + url = "https://github.com/libwww-perl/HTTP-Daemon/commit/e84475de51d6fd7b29354a997413472a99db70b2.patch"; + sha256 = "sha256-z8RXcbVEpjSZcm8dUZcDWYeQHtVZODOGCdcDTfXQpfA="; + name = "HTTP-Daemon-CVE-2022-3108-1.patch"; + }) + (fetchpatch { + url = "https://github.com/libwww-perl/HTTP-Daemon/commit/8dc5269d59e2d5d9eb1647d82c449ccd880f7fd0.patch"; + sha256 = "sha256-e1lxt+AJGfbjNOZoKj696H2Ftkx9wlTF557WkZCLE5Q="; + name = "HTTP-Daemon-CVE-2022-3108-2.patch"; + }) + ]; buildInputs = [ ModuleBuildTiny TestNeeds ]; propagatedBuildInputs = [ HTTPMessage ]; meta = { From c74330843816fb834f2cf2cd3c24b2d065625c7e Mon Sep 17 00:00:00 2001 From: Luiz Ribeiro Date: Sat, 16 Jul 2022 22:50:41 -0500 Subject: [PATCH 058/701] llvm14: Skip broken tests on riscv --- .../development/compilers/llvm/14/llvm/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkgs/development/compilers/llvm/14/llvm/default.nix b/pkgs/development/compilers/llvm/14/llvm/default.nix index d053f792f7d9..395f2b22b964 100644 --- a/pkgs/development/compilers/llvm/14/llvm/default.nix +++ b/pkgs/development/compilers/llvm/14/llvm/default.nix @@ -95,6 +95,20 @@ in stdenv.mkDerivation (rec { '' + optionalString (stdenv.hostPlatform.system == "armv6l-linux") '' # Seems to require certain floating point hardware (NEON?) rm test/ExecutionEngine/frem.ll + '' + optionalString stdenv.hostPlatform.isRiscV '' + rm test/ExecutionEngine/frem.ll + rm test/ExecutionEngine/mov64zext32.ll + rm test/ExecutionEngine/test-interp-vec-arithm_float.ll + rm test/ExecutionEngine/test-interp-vec-arithm_int.ll + rm test/ExecutionEngine/test-interp-vec-logical.ll + rm test/ExecutionEngine/test-interp-vec-setcond-fp.ll + rm test/ExecutionEngine/test-interp-vec-setcond-int.ll + substituteInPlace unittests/Support/CMakeLists.txt \ + --replace "CrashRecoveryTest.cpp" "" + rm unittests/Support/CrashRecoveryTest.cpp + substituteInPlace unittests/ExecutionEngine/Orc/CMakeLists.txt \ + --replace "OrcCAPITest.cpp" "" + rm unittests/ExecutionEngine/Orc/OrcCAPITest.cpp '' + '' patchShebangs test/BugPoint/compile-custom.ll.py ''; From 0793afce9e7ef30036ac635b86f829cac9c90c23 Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Sun, 17 Jul 2022 15:40:32 +0200 Subject: [PATCH 059/701] mesa: 22.1.3 -> 22.1.4 --- pkgs/development/libraries/mesa/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix index 66245951bc6d..d2c3128004fd 100644 --- a/pkgs/development/libraries/mesa/default.nix +++ b/pkgs/development/libraries/mesa/default.nix @@ -35,7 +35,7 @@ let # Release calendar: https://www.mesa3d.org/release-calendar.html # Release frequency: https://www.mesa3d.org/releasing.html#schedule # 22.1 on darwin won't build: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6519 - version = if stdenv.isDarwin then "22.0.4" else "22.1.3"; + version = if stdenv.isDarwin then "22.0.4" else "22.1.4"; branch = versions.major version; self = stdenv.mkDerivation { @@ -50,7 +50,7 @@ self = stdenv.mkDerivation { "ftp://ftp.freedesktop.org/pub/mesa/older-versions/${branch}.x/${version}/mesa-${version}.tar.xz" ]; sha256 = { - "22.1.3" = "1qwky31vdqh3y6i0mxqnrbq7jc39kjcyndpv4mbzz8d2gax353xr"; + "22.1.4" = "0xhbcjqy3g5dfxhr4flmqncmsjnwljfqm9idx92jm43jifz8q3b7"; "22.0.4" = "1m0y8wgy48hmcidsr7sbk5hcw3v0qr8359fd2x34fvl2z9c1z5y7"; }.${version}; }; From 036ed9b9f1fdb28a87017f5bc6c6e5c64786391b Mon Sep 17 00:00:00 2001 From: pacien Date: Sun, 17 Jul 2022 21:53:24 +0200 Subject: [PATCH 060/701] libdecor: add missing dep egl (fix cross-compile) This adds a missing runtime dependency necessary when cross-compiling, solving the following error: > Run-time dependency egl found: NO (tried pkgconfig) > demo/meson.build:7:0: ERROR: Dependency "egl" not found, tried pkgconfig --- pkgs/development/libraries/libdecor/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/libdecor/default.nix b/pkgs/development/libraries/libdecor/default.nix index 25abfc34b36d..34b4e021b0f1 100644 --- a/pkgs/development/libraries/libdecor/default.nix +++ b/pkgs/development/libraries/libdecor/default.nix @@ -7,6 +7,7 @@ , wayland , wayland-protocols , wayland-scanner +, egl-wayland , cairo , dbus , pango @@ -37,6 +38,7 @@ stdenv.mkDerivation rec { buildInputs = [ wayland wayland-protocols + egl-wayland cairo dbus pango From 643c72495e46c7f71fbb6a3a58359b1bc33c40c5 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sun, 10 Jul 2022 10:31:44 -0300 Subject: [PATCH 061/701] boehmgc: refactor - use finalAttrs-style recursive attributes - create option for mmap - add myself as maintainer --- .../libraries/boehm-gc/default.nix | 45 ++++++++++--------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/pkgs/development/libraries/boehm-gc/default.nix b/pkgs/development/libraries/boehm-gc/default.nix index d5057a614843..1e74ddfc721e 100644 --- a/pkgs/development/libraries/boehm-gc/default.nix +++ b/pkgs/development/libraries/boehm-gc/default.nix @@ -1,19 +1,23 @@ -{ lib, stdenv, fetchurl +{ lib +, stdenv +, fetchurl , autoreconfHook -, enableLargeConfig ? false # doc: https://github.com/ivmai/bdwgc/blob/v8.0.6/doc/README.macros (LARGE_CONFIG) +# doc: https://github.com/ivmai/bdwgc/blob/v8.0.6/doc/README.macros (LARGE_CONFIG) +, enableLargeConfig ? false +, enableMmap ? true , nixVersions }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "boehm-gc"; version = "8.0.6"; src = fetchurl { urls = [ - "https://github.com/ivmai/bdwgc/releases/download/v${version}/gc-${version}.tar.gz" - "https://www.hboehm.info/gc/gc_source/gc-${version}.tar.gz" + "https://www.hboehm.info/gc/gc_source/gc-${finalAttrs.version}.tar.gz" + "https://github.com/ivmai/bdwgc/releases/download/v${finalAttrs.version}/gc-${finalAttrs.version}.tar.gz" ]; - sha256 = "3b4914abc9fa76593596773e4da671d7ed4d5390e3d46fbf2e5f155e121bea11"; + sha256 = "sha256-O0kUq8n6dlk1lnc+TaZx1+1NU5Dj1G+/Ll8VXhIb6hE="; }; outputs = [ "out" "dev" "doc" ]; @@ -22,22 +26,24 @@ stdenv.mkDerivation rec { # boehm-gc whitelists GCC threading models patches = lib.optional stdenv.hostPlatform.isMinGW ./mcfgthread.patch; - configureFlags = - [ "--enable-cplusplus" "--with-libatomic-ops=none" ] - ++ lib.optional enableLargeConfig "--enable-large-config"; + configureFlags = [ + "--enable-cplusplus" + "--with-libatomic-ops=none" + ] + ++ lib.optional enableMmap "--enable-mmap" + ++ lib.optional enableLargeConfig "--enable-large-config"; - nativeBuildInputs = - lib.optional stdenv.hostPlatform.isMinGW autoreconfHook; + nativeBuildInputs = lib.optional stdenv.hostPlatform.isMinGW autoreconfHook; - doCheck = true; # not cross; + doCheck = true; enableParallelBuilding = true; passthru.tests = nixVersions; - meta = { + meta = with lib; { + homepage = "https://hboehm.info/gc/"; description = "The Boehm-Demers-Weiser conservative garbage collector for C and C++"; - longDescription = '' The Boehm-Demers-Weiser conservative garbage collector can be used as a garbage collecting replacement for C malloc or C++ new. It allows you @@ -54,13 +60,10 @@ stdenv.mkDerivation rec { Alternatively, the garbage collector may be used as a leak detector for C or C++ programs, though that is not its primary goal. ''; - - homepage = "https://hboehm.info/gc/"; - # non-copyleft, X11-style license + changelog = "https://github.com/ivmai/bdwgc/blob/v${finalAttrs.version}/ChangeLog"; license = "https://hboehm.info/gc/license.txt"; - - maintainers = [ ]; - platforms = lib.platforms.all; + maintainers = with maintainers; [ AndersonTorres ]; + platforms = platforms.all; }; -} +}) From a14d1a2e7e8c19087897bc646a37f50096b736b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 30 Jun 2022 09:46:32 +0200 Subject: [PATCH 062/701] systemd: 250.4 -> 251.3 --- ...ts-for-uninitialised-encrypted-devic.patch | 6 +- ...on-t-try-to-unmount-nix-or-nix-store.patch | 10 +-- .../systemd/0003-Fix-NixOS-containers.patch | 16 ++-- ...004-Look-for-fsck-in-the-right-place.patch | 6 +- ...some-NixOS-specific-unit-directories.patch | 22 ++--- ...f-a-useless-message-in-user-sessions.patch | 10 +-- ...d-timedated-disable-methods-that-cha.patch | 26 +++--- .../linux/systemd/0008-Fix-hwdb-paths.patch | 10 +-- ...e-usr-share-zoneinfo-to-etc-zoneinfo.patch | 30 +++---- ...calectl-use-etc-X11-xkb-for-list-x11.patch | 10 +-- ...te-statedir-and-don-t-touch-prefixdi.patch | 10 +-- ...-add-rootprefix-to-lookup-dir-paths.patch} | 8 +- ...-environment-when-calling-generators.patch | 44 ---------- ...execute-scripts-in-etc-systemd-syst.patch} | 8 +- ...cute-scripts-in-etc-systemd-system-.patch} | 10 +-- ....service-Update-ConditionFileNotEmp.patch} | 6 +- ...placeholder-for-DEFAULT_PATH_NORMAL.patch} | 8 +- ...kg-config-derive-prefix-from-prefix.patch} | 6 +- ...-environment-when-calling-generators.patch | 42 ++++++++++ ...e-handle-lookup-paths-being-symlinks.patch | 80 ------------------- pkgs/os-specific/linux/systemd/default.nix | 73 +++++++++-------- 21 files changed, 179 insertions(+), 262 deletions(-) rename pkgs/os-specific/linux/systemd/{0013-add-rootprefix-to-lookup-dir-paths.patch => 0012-add-rootprefix-to-lookup-dir-paths.patch} (88%) delete mode 100644 pkgs/os-specific/linux/systemd/0012-inherit-systemd-environment-when-calling-generators.patch rename pkgs/os-specific/linux/systemd/{0014-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch => 0013-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch} (85%) rename pkgs/os-specific/linux/systemd/{0015-systemd-sleep-execute-scripts-in-etc-systemd-system-.patch => 0014-systemd-sleep-execute-scripts-in-etc-systemd-system-.patch} (72%) rename pkgs/os-specific/linux/systemd/{0016-kmod-static-nodes.service-Update-ConditionFileNotEmp.patch => 0015-kmod-static-nodes.service-Update-ConditionFileNotEmp.patch} (86%) rename pkgs/os-specific/linux/systemd/{0017-path-util.h-add-placeholder-for-DEFAULT_PATH_NORMAL.patch => 0016-path-util.h-add-placeholder-for-DEFAULT_PATH_NORMAL.patch} (87%) rename pkgs/os-specific/linux/systemd/{0018-pkg-config-derive-prefix-from-prefix.patch => 0017-pkg-config-derive-prefix-from-prefix.patch} (87%) create mode 100644 pkgs/os-specific/linux/systemd/0018-inherit-systemd-environment-when-calling-generators.patch delete mode 100644 pkgs/os-specific/linux/systemd/0019-core-handle-lookup-paths-being-symlinks.patch diff --git a/pkgs/os-specific/linux/systemd/0001-Start-device-units-for-uninitialised-encrypted-devic.patch b/pkgs/os-specific/linux/systemd/0001-Start-device-units-for-uninitialised-encrypted-devic.patch index 404b0d2ee6f3..4b11aa1b136b 100644 --- a/pkgs/os-specific/linux/systemd/0001-Start-device-units-for-uninitialised-encrypted-devic.patch +++ b/pkgs/os-specific/linux/systemd/0001-Start-device-units-for-uninitialised-encrypted-devic.patch @@ -1,7 +1,7 @@ -From 8622539fe2ce67934ed2e60626a2303ef8191e40 Mon Sep 17 00:00:00 2001 +From c8b50208dce4c467c1f85c3db3e05bdcfd43c378 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 8 Jan 2013 15:46:30 +0100 -Subject: [PATCH 01/19] Start device units for uninitialised encrypted devices +Subject: [PATCH 01/18] Start device units for uninitialised encrypted devices This is necessary because the NixOS service that initialises the filesystem depends on the appearance of the device unit. Also, this @@ -28,5 +28,5 @@ index 25b8a590a6..d18999ea87 100644 SUBSYSTEM=="block", ENV{ID_PART_GPT_AUTO_ROOT}=="1", ENV{ID_FS_TYPE}!="crypto_LUKS", SYMLINK+="gpt-auto-root" SUBSYSTEM=="block", ENV{ID_PART_GPT_AUTO_ROOT}=="1", ENV{ID_FS_TYPE}=="crypto_LUKS", SYMLINK+="gpt-auto-root-luks" -- -2.34.0 +2.36.1 diff --git a/pkgs/os-specific/linux/systemd/0002-Don-t-try-to-unmount-nix-or-nix-store.patch b/pkgs/os-specific/linux/systemd/0002-Don-t-try-to-unmount-nix-or-nix-store.patch index d37ace3250c2..e05a7af17dcb 100644 --- a/pkgs/os-specific/linux/systemd/0002-Don-t-try-to-unmount-nix-or-nix-store.patch +++ b/pkgs/os-specific/linux/systemd/0002-Don-t-try-to-unmount-nix-or-nix-store.patch @@ -1,7 +1,7 @@ -From a845786195182c376b72a85433e278c35243676d Mon Sep 17 00:00:00 2001 +From c884aee4c66c97f592ae0f8ebd97f48a39d8c53c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 12 Apr 2013 13:16:57 +0200 -Subject: [PATCH 02/19] Don't try to unmount /nix or /nix/store +Subject: [PATCH 02/18] Don't try to unmount /nix or /nix/store They'll still be remounted read-only. @@ -25,10 +25,10 @@ index f683f05981..5a04c2c2a6 100644 "/etc")) return true; diff --git a/src/shutdown/umount.c b/src/shutdown/umount.c -index f5a2cb20c1..51608d24c0 100644 +index 820aa8e286..653e43053d 100644 --- a/src/shutdown/umount.c +++ b/src/shutdown/umount.c -@@ -502,6 +502,8 @@ static int delete_md(MountPoint *m) { +@@ -518,6 +518,8 @@ static int delete_md(MountPoint *m) { static bool nonunmountable_path(const char *path) { return path_equal(path, "/") @@ -38,5 +38,5 @@ index f5a2cb20c1..51608d24c0 100644 || path_equal(path, "/usr") #endif -- -2.34.0 +2.36.1 diff --git a/pkgs/os-specific/linux/systemd/0003-Fix-NixOS-containers.patch b/pkgs/os-specific/linux/systemd/0003-Fix-NixOS-containers.patch index 56c6238b81f2..6db68f5e0118 100644 --- a/pkgs/os-specific/linux/systemd/0003-Fix-NixOS-containers.patch +++ b/pkgs/os-specific/linux/systemd/0003-Fix-NixOS-containers.patch @@ -1,7 +1,7 @@ -From d33f3461fa2202ef9b0d6cdf2137c510c59fb052 Mon Sep 17 00:00:00 2001 +From eb3ff76f95bfe248f517e029ea1b152f4983370a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 16 Apr 2014 10:59:28 +0200 -Subject: [PATCH 03/19] Fix NixOS containers +Subject: [PATCH 03/18] Fix NixOS containers In NixOS containers, the init script is bind-mounted into the container, so checking early whether it exists will fail. @@ -10,19 +10,19 @@ container, so checking early whether it exists will fail. 1 file changed, 2 insertions(+) diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c -index 8f17ab8810..197e5aa252 100644 +index c5fd978395..0fa415f5b5 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c -@@ -5625,6 +5625,7 @@ static int run(int argc, char *argv[]) { +@@ -5651,6 +5651,7 @@ static int run(int argc, char *argv[]) { goto finish; } } else { +#if 0 - const char *p, *q; + _cleanup_free_ char *p = NULL; if (arg_pivot_root_new) -@@ -5639,6 +5640,7 @@ static int run(int argc, char *argv[]) { - r = -EINVAL; +@@ -5665,6 +5666,7 @@ static int run(int argc, char *argv[]) { + "Directory %s doesn't look like it has an OS tree (/usr/ directory is missing). Refusing.", arg_directory); goto finish; } +#endif @@ -30,5 +30,5 @@ index 8f17ab8810..197e5aa252 100644 } else { -- -2.34.0 +2.36.1 diff --git a/pkgs/os-specific/linux/systemd/0004-Look-for-fsck-in-the-right-place.patch b/pkgs/os-specific/linux/systemd/0004-Look-for-fsck-in-the-right-place.patch index 36d0ee0cde24..ce3263a2bdbe 100644 --- a/pkgs/os-specific/linux/systemd/0004-Look-for-fsck-in-the-right-place.patch +++ b/pkgs/os-specific/linux/systemd/0004-Look-for-fsck-in-the-right-place.patch @@ -1,7 +1,7 @@ -From 8fd5968163f3a1cb5f196d934756ba08ccaa5b1e Mon Sep 17 00:00:00 2001 +From 789ca236fdc81dc3f514ddad3354eeb5fa8cc7d8 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 1 May 2014 14:10:10 +0200 -Subject: [PATCH 04/19] Look for fsck in the right place +Subject: [PATCH 04/18] Look for fsck in the right place --- src/fsck/fsck.c | 2 +- @@ -21,5 +21,5 @@ index 745d01ff50..dd4eef45c3 100644 cmdline[i++] = "-T"; -- -2.34.0 +2.36.1 diff --git a/pkgs/os-specific/linux/systemd/0005-Add-some-NixOS-specific-unit-directories.patch b/pkgs/os-specific/linux/systemd/0005-Add-some-NixOS-specific-unit-directories.patch index 6acac84a9d28..89804466ad05 100644 --- a/pkgs/os-specific/linux/systemd/0005-Add-some-NixOS-specific-unit-directories.patch +++ b/pkgs/os-specific/linux/systemd/0005-Add-some-NixOS-specific-unit-directories.patch @@ -1,7 +1,7 @@ -From 90d1a90d3147e9c8db5caec8befabda270e755d4 Mon Sep 17 00:00:00 2001 +From 6871d9637bc653a976e04cd595697d7244a293e2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 19 Dec 2014 14:46:17 +0100 -Subject: [PATCH 05/19] Add some NixOS-specific unit directories +Subject: [PATCH 05/18] Add some NixOS-specific unit directories Look in `/nix/var/nix/profiles/default/lib/systemd/{system,user}` for units provided by packages installed into the default profile via @@ -14,7 +14,7 @@ Also, remove /usr and /lib as these don't exist on NixOS. 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/src/basic/path-lookup.c b/src/basic/path-lookup.c -index 6fb8c40e7a..142ecdecec 100644 +index 1f4331a8bf..4b9a8ae26e 100644 --- a/src/basic/path-lookup.c +++ b/src/basic/path-lookup.c @@ -92,11 +92,7 @@ int xdg_user_data_dir(char **ret, const char *suffix) { @@ -29,7 +29,7 @@ index 6fb8c40e7a..142ecdecec 100644 NULL }; -@@ -614,15 +610,13 @@ int lookup_paths_init( +@@ -617,15 +613,13 @@ int lookup_paths_init( persistent_config, SYSTEM_CONFIG_UNIT_DIR, "/etc/systemd/system", @@ -46,7 +46,7 @@ index 6fb8c40e7a..142ecdecec 100644 STRV_IFNOTNULL(generator_late)); break; -@@ -638,14 +632,11 @@ int lookup_paths_init( +@@ -641,14 +635,11 @@ int lookup_paths_init( persistent_config, USER_CONFIG_UNIT_DIR, "/etc/systemd/user", @@ -62,23 +62,23 @@ index 6fb8c40e7a..142ecdecec 100644 STRV_IFNOTNULL(generator_late)); break; -@@ -795,7 +786,6 @@ char **generator_binary_paths(UnitFileScope scope) { - case UNIT_FILE_SYSTEM: +@@ -808,7 +799,6 @@ char **generator_binary_paths(LookupScope scope) { + case LOOKUP_SCOPE_SYSTEM: add = strv_new("/run/systemd/system-generators", "/etc/systemd/system-generators", - "/usr/local/lib/systemd/system-generators", SYSTEM_GENERATOR_DIR); break; -@@ -803,7 +793,6 @@ char **generator_binary_paths(UnitFileScope scope) { - case UNIT_FILE_USER: +@@ -816,7 +806,6 @@ char **generator_binary_paths(LookupScope scope) { + case LOOKUP_SCOPE_USER: add = strv_new("/run/systemd/user-generators", "/etc/systemd/user-generators", - "/usr/local/lib/systemd/user-generators", USER_GENERATOR_DIR); break; -@@ -842,12 +831,10 @@ char **env_generator_binary_paths(bool is_system) { +@@ -855,12 +844,10 @@ char **env_generator_binary_paths(bool is_system) { if (is_system) add = strv_new("/run/systemd/system-environment-generators", "/etc/systemd/system-environment-generators", @@ -122,5 +122,5 @@ index fc0f8c34fa..162432e77f 100644 systemd_sleep_dir=${root_prefix}/lib/systemd/system-sleep -- -2.34.0 +2.36.1 diff --git a/pkgs/os-specific/linux/systemd/0006-Get-rid-of-a-useless-message-in-user-sessions.patch b/pkgs/os-specific/linux/systemd/0006-Get-rid-of-a-useless-message-in-user-sessions.patch index 438d841bb1c7..2cb85655e678 100644 --- a/pkgs/os-specific/linux/systemd/0006-Get-rid-of-a-useless-message-in-user-sessions.patch +++ b/pkgs/os-specific/linux/systemd/0006-Get-rid-of-a-useless-message-in-user-sessions.patch @@ -1,7 +1,7 @@ -From 213279752124dc4a57a4189df9b5b2e96feaa0b3 Mon Sep 17 00:00:00 2001 +From 67daf22c74a780e283a493a0f9fdbbea2ce0aaba Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 11 May 2015 15:39:38 +0200 -Subject: [PATCH 06/19] Get rid of a useless message in user sessions +Subject: [PATCH 06/18] Get rid of a useless message in user sessions Namely lots of variants of @@ -13,10 +13,10 @@ in containers. 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/manager.c b/src/core/manager.c -index 9368a1dfa1..5b0bdb1bc7 100644 +index 296b759959..71ef7f27b4 100644 --- a/src/core/manager.c +++ b/src/core/manager.c -@@ -1408,7 +1408,8 @@ static unsigned manager_dispatch_stop_when_bound_queue(Manager *m) { +@@ -1428,7 +1428,8 @@ static unsigned manager_dispatch_stop_when_bound_queue(Manager *m) { if (!unit_is_bound_by_inactive(u, &culprit)) continue; @@ -27,5 +27,5 @@ index 9368a1dfa1..5b0bdb1bc7 100644 /* If stopping a unit fails continuously we might enter a stop loop here, hence stop acting on the * service being unnecessary after a while. */ -- -2.34.0 +2.36.1 diff --git a/pkgs/os-specific/linux/systemd/0007-hostnamed-localed-timedated-disable-methods-that-cha.patch b/pkgs/os-specific/linux/systemd/0007-hostnamed-localed-timedated-disable-methods-that-cha.patch index a93488afbf92..e9d9ef6b5fe9 100644 --- a/pkgs/os-specific/linux/systemd/0007-hostnamed-localed-timedated-disable-methods-that-cha.patch +++ b/pkgs/os-specific/linux/systemd/0007-hostnamed-localed-timedated-disable-methods-that-cha.patch @@ -1,7 +1,7 @@ -From 14474d5e116609ce4fac60d779b08fa3eab840c3 Mon Sep 17 00:00:00 2001 +From 21b9acb1d4202a022475a24db727055f9dd2532a Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sun, 6 Dec 2015 14:26:36 +0100 -Subject: [PATCH 07/19] hostnamed, localed, timedated: disable methods that +Subject: [PATCH 07/18] hostnamed, localed, timedated: disable methods that change system settings. --- @@ -11,10 +11,10 @@ Subject: [PATCH 07/19] hostnamed, localed, timedated: disable methods that 3 files changed, 25 insertions(+) diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c -index b20a93ad81..6292fca4fc 100644 +index 5f09e6d0eb..46bef3b59d 100644 --- a/src/hostname/hostnamed.c +++ b/src/hostname/hostnamed.c -@@ -813,6 +813,9 @@ static int method_set_static_hostname(sd_bus_message *m, void *userdata, sd_bus_ +@@ -910,6 +910,9 @@ static int method_set_static_hostname(sd_bus_message *m, void *userdata, sd_bus_ if (r < 0) return r; @@ -24,7 +24,7 @@ index b20a93ad81..6292fca4fc 100644 name = empty_to_null(name); context_read_etc_hostname(c); -@@ -876,6 +879,9 @@ static int set_machine_info(Context *c, sd_bus_message *m, int prop, sd_bus_mess +@@ -973,6 +976,9 @@ static int set_machine_info(Context *c, sd_bus_message *m, int prop, sd_bus_mess if (r < 0) return r; @@ -35,10 +35,10 @@ index b20a93ad81..6292fca4fc 100644 context_read_machine_info(c); diff --git a/src/locale/localed.c b/src/locale/localed.c -index c228385d0e..942ccaa038 100644 +index 89bf9c6fba..af2f37a4ca 100644 --- a/src/locale/localed.c +++ b/src/locale/localed.c -@@ -360,6 +360,9 @@ static int method_set_locale(sd_bus_message *m, void *userdata, sd_bus_error *er +@@ -359,6 +359,9 @@ static int method_set_locale(sd_bus_message *m, void *userdata, sd_bus_error *er if (r < 0) return r; @@ -48,7 +48,7 @@ index c228385d0e..942ccaa038 100644 use_localegen = locale_gen_check_available(); /* If single locale without variable name is provided, then we assume it is LANG=. */ -@@ -485,6 +488,9 @@ static int method_set_vc_keyboard(sd_bus_message *m, void *userdata, sd_bus_erro +@@ -484,6 +487,9 @@ static int method_set_vc_keyboard(sd_bus_message *m, void *userdata, sd_bus_erro if (r < 0) return r; @@ -58,7 +58,7 @@ index c228385d0e..942ccaa038 100644 keymap = empty_to_null(keymap); keymap_toggle = empty_to_null(keymap_toggle); -@@ -665,6 +671,9 @@ static int method_set_x11_keyboard(sd_bus_message *m, void *userdata, sd_bus_err +@@ -664,6 +670,9 @@ static int method_set_x11_keyboard(sd_bus_message *m, void *userdata, sd_bus_err if (r < 0) return r; @@ -69,10 +69,10 @@ index c228385d0e..942ccaa038 100644 model = empty_to_null(model); variant = empty_to_null(variant); diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c -index 66b454269d..0a8fe25d0f 100644 +index 9ca5d37b75..e41d8d73df 100644 --- a/src/timedate/timedated.c +++ b/src/timedate/timedated.c -@@ -668,6 +668,10 @@ static int method_set_timezone(sd_bus_message *m, void *userdata, sd_bus_error * +@@ -669,6 +669,10 @@ static int method_set_timezone(sd_bus_message *m, void *userdata, sd_bus_error * if (r < 0) return r; @@ -83,7 +83,7 @@ index 66b454269d..0a8fe25d0f 100644 if (!timezone_is_valid(z, LOG_DEBUG)) return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid or not installed time zone '%s'", z); -@@ -747,6 +751,9 @@ static int method_set_local_rtc(sd_bus_message *m, void *userdata, sd_bus_error +@@ -748,6 +752,9 @@ static int method_set_local_rtc(sd_bus_message *m, void *userdata, sd_bus_error if (r < 0) return r; @@ -104,5 +104,5 @@ index 66b454269d..0a8fe25d0f 100644 if (r < 0) return r; -- -2.34.0 +2.36.1 diff --git a/pkgs/os-specific/linux/systemd/0008-Fix-hwdb-paths.patch b/pkgs/os-specific/linux/systemd/0008-Fix-hwdb-paths.patch index e1bc44a148ea..67e63298f232 100644 --- a/pkgs/os-specific/linux/systemd/0008-Fix-hwdb-paths.patch +++ b/pkgs/os-specific/linux/systemd/0008-Fix-hwdb-paths.patch @@ -1,7 +1,7 @@ -From d668df39728c992ec0c691ef6e76664e7121f5bd Mon Sep 17 00:00:00 2001 +From 3894fcd76e5791e094c685c0095006b6867893c1 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Thu, 7 Jul 2016 02:47:13 +0300 -Subject: [PATCH 08/19] Fix hwdb paths +Subject: [PATCH 08/18] Fix hwdb paths Patch by vcunat. --- @@ -9,10 +9,10 @@ Patch by vcunat. 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/libsystemd/sd-hwdb/hwdb-internal.h b/src/libsystemd/sd-hwdb/hwdb-internal.h -index 5ddc2211e6..ee621eec46 100644 +index 62d27f7b89..87318e041b 100644 --- a/src/libsystemd/sd-hwdb/hwdb-internal.h +++ b/src/libsystemd/sd-hwdb/hwdb-internal.h -@@ -82,8 +82,5 @@ struct trie_value_entry2_f { +@@ -83,8 +83,5 @@ struct trie_value_entry2_f { } _packed_; #define hwdb_bin_paths \ @@ -24,5 +24,5 @@ index 5ddc2211e6..ee621eec46 100644 + "/etc/udev/hwdb.bin\0" + -- -2.34.0 +2.36.1 diff --git a/pkgs/os-specific/linux/systemd/0009-Change-usr-share-zoneinfo-to-etc-zoneinfo.patch b/pkgs/os-specific/linux/systemd/0009-Change-usr-share-zoneinfo-to-etc-zoneinfo.patch index 68d40980ab16..94d57bc7c054 100644 --- a/pkgs/os-specific/linux/systemd/0009-Change-usr-share-zoneinfo-to-etc-zoneinfo.patch +++ b/pkgs/os-specific/linux/systemd/0009-Change-usr-share-zoneinfo-to-etc-zoneinfo.patch @@ -1,7 +1,7 @@ -From dd59ce5f1bbdafb0b92f8aeacc68b000ec347a61 Mon Sep 17 00:00:00 2001 +From 322fe2a15ac92d38f6952a2f7fd66e56eaa0f1f4 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 11 Oct 2016 13:12:08 +0300 -Subject: [PATCH 09/19] Change /usr/share/zoneinfo to /etc/zoneinfo +Subject: [PATCH 09/18] Change /usr/share/zoneinfo to /etc/zoneinfo NixOS uses this path. --- @@ -35,10 +35,10 @@ index e486474c44..5f373d0723 100644 Etc/UTC. The resulting link should lead to the corresponding binary diff --git a/src/basic/time-util.c b/src/basic/time-util.c -index b659d6905d..660b1c6fed 100644 +index c309369406..e0d84a7cfa 100644 --- a/src/basic/time-util.c +++ b/src/basic/time-util.c -@@ -1267,7 +1267,7 @@ static int get_timezones_from_zone1970_tab(char ***ret) { +@@ -1281,7 +1281,7 @@ static int get_timezones_from_zone1970_tab(char ***ret) { assert(ret); @@ -47,7 +47,7 @@ index b659d6905d..660b1c6fed 100644 if (!f) return -errno; -@@ -1306,7 +1306,7 @@ static int get_timezones_from_tzdata_zi(char ***ret) { +@@ -1320,7 +1320,7 @@ static int get_timezones_from_tzdata_zi(char ***ret) { _cleanup_strv_free_ char **zones = NULL; int r; @@ -56,7 +56,7 @@ index b659d6905d..660b1c6fed 100644 if (!f) return -errno; -@@ -1419,7 +1419,7 @@ int verify_timezone(const char *name, int log_level) { +@@ -1433,7 +1433,7 @@ int verify_timezone(const char *name, int log_level) { if (p - name >= PATH_MAX) return -ENAMETOOLONG; @@ -65,7 +65,7 @@ index b659d6905d..660b1c6fed 100644 fd = open(t, O_RDONLY|O_CLOEXEC); if (fd < 0) -@@ -1510,7 +1510,7 @@ int get_timezone(char **ret) { +@@ -1491,7 +1491,7 @@ int get_timezone(char **ret) { if (r < 0) return r; /* returns EINVAL if not a symlink */ @@ -75,7 +75,7 @@ index b659d6905d..660b1c6fed 100644 return -EINVAL; diff --git a/src/firstboot/firstboot.c b/src/firstboot/firstboot.c -index d28a416e5d..c7c215731d 100644 +index 39160182ef..8dcc3307c8 100644 --- a/src/firstboot/firstboot.c +++ b/src/firstboot/firstboot.c @@ -494,7 +494,7 @@ static int process_timezone(void) { @@ -88,10 +88,10 @@ index d28a416e5d..c7c215731d 100644 (void) mkdir_parents(etc_localtime, 0755); if (symlink(e, etc_localtime) < 0) diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c -index 197e5aa252..c674fa61d5 100644 +index 0fa415f5b5..b4404fff49 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c -@@ -1899,8 +1899,8 @@ int userns_mkdir(const char *root, const char *path, mode_t mode, uid_t uid, gid +@@ -1901,8 +1901,8 @@ int userns_mkdir(const char *root, const char *path, mode_t mode, uid_t uid, gid static const char *timezone_from_path(const char *path) { return PATH_STARTSWITH_SET( path, @@ -103,10 +103,10 @@ index 197e5aa252..c674fa61d5 100644 static bool etc_writable(void) { diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c -index 0a8fe25d0f..2f02b9a520 100644 +index e41d8d73df..ff1a384b3b 100644 --- a/src/timedate/timedated.c +++ b/src/timedate/timedated.c -@@ -279,7 +279,7 @@ static int context_read_data(Context *c) { +@@ -282,7 +282,7 @@ static int context_read_data(Context *c) { r = get_timezone(&t); if (r == -EINVAL) @@ -115,7 +115,7 @@ index 0a8fe25d0f..2f02b9a520 100644 else if (r < 0) log_warning_errno(r, "Failed to get target of /etc/localtime: %m"); -@@ -303,7 +303,7 @@ static int context_write_data_timezone(Context *c) { +@@ -306,7 +306,7 @@ static int context_write_data_timezone(Context *c) { if (isempty(c->zone) || streq(c->zone, "UTC")) { @@ -124,7 +124,7 @@ index 0a8fe25d0f..2f02b9a520 100644 if (unlink("/etc/localtime") < 0 && errno != ENOENT) return -errno; -@@ -311,9 +311,9 @@ static int context_write_data_timezone(Context *c) { +@@ -314,9 +314,9 @@ static int context_write_data_timezone(Context *c) { return 0; } @@ -137,5 +137,5 @@ index 0a8fe25d0f..2f02b9a520 100644 return -ENOMEM; -- -2.34.0 +2.36.1 diff --git a/pkgs/os-specific/linux/systemd/0010-localectl-use-etc-X11-xkb-for-list-x11.patch b/pkgs/os-specific/linux/systemd/0010-localectl-use-etc-X11-xkb-for-list-x11.patch index f2514de6c662..23d12fb2f820 100644 --- a/pkgs/os-specific/linux/systemd/0010-localectl-use-etc-X11-xkb-for-list-x11.patch +++ b/pkgs/os-specific/linux/systemd/0010-localectl-use-etc-X11-xkb-for-list-x11.patch @@ -1,7 +1,7 @@ -From a93da270bed88972f4d60a1fa08f24e00712d7fb Mon Sep 17 00:00:00 2001 +From 35dd77fafe73cc4a648f101163945cbcae8ed6b9 Mon Sep 17 00:00:00 2001 From: Imuli Date: Wed, 19 Oct 2016 08:46:47 -0400 -Subject: [PATCH 10/19] localectl: use /etc/X11/xkb for list-x11-* +Subject: [PATCH 10/18] localectl: use /etc/X11/xkb for list-x11-* NixOS has an option to link the xkb data files to /etc/X11, but not to /usr/share/X11. @@ -10,10 +10,10 @@ NixOS has an option to link the xkb data files to /etc/X11, but not to 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/locale/localectl.c b/src/locale/localectl.c -index b5624209dc..4ab7adfdb6 100644 +index 661d54c27d..e98b578531 100644 --- a/src/locale/localectl.c +++ b/src/locale/localectl.c -@@ -279,7 +279,7 @@ static int list_x11_keymaps(int argc, char **argv, void *userdata) { +@@ -277,7 +277,7 @@ static int list_x11_keymaps(int argc, char **argv, void *userdata) { } state = NONE, look_for; int r; @@ -23,5 +23,5 @@ index b5624209dc..4ab7adfdb6 100644 return log_error_errno(errno, "Failed to open keyboard mapping list. %m"); -- -2.34.0 +2.36.1 diff --git a/pkgs/os-specific/linux/systemd/0011-build-don-t-create-statedir-and-don-t-touch-prefixdi.patch b/pkgs/os-specific/linux/systemd/0011-build-don-t-create-statedir-and-don-t-touch-prefixdi.patch index c21a1bda4122..824ddb33bfb4 100644 --- a/pkgs/os-specific/linux/systemd/0011-build-don-t-create-statedir-and-don-t-touch-prefixdi.patch +++ b/pkgs/os-specific/linux/systemd/0011-build-don-t-create-statedir-and-don-t-touch-prefixdi.patch @@ -1,17 +1,17 @@ -From 3bc3462165cd72de93a1c71f03e6c4150726b159 Mon Sep 17 00:00:00 2001 +From 1928e1d8eda7d3e296170bb5bd813463cc3e679c Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sun, 11 Feb 2018 04:37:44 +0100 -Subject: [PATCH 11/19] build: don't create statedir and don't touch prefixdir +Subject: [PATCH 11/18] build: don't create statedir and don't touch prefixdir --- meson.build | 3 --- 1 file changed, 3 deletions(-) diff --git a/meson.build b/meson.build -index c0cbadecb1..8266bf57de 100644 +index 36cbfa4893..a10d6a3eb7 100644 --- a/meson.build +++ b/meson.build -@@ -3729,9 +3729,6 @@ install_data('LICENSE.GPL2', +@@ -3926,9 +3926,6 @@ install_data('LICENSE.GPL2', install_subdir('LICENSES', install_dir : docdir) @@ -22,5 +22,5 @@ index c0cbadecb1..8266bf57de 100644 # Ensure that changes to the docs/ directory do not break the -- -2.34.0 +2.36.1 diff --git a/pkgs/os-specific/linux/systemd/0013-add-rootprefix-to-lookup-dir-paths.patch b/pkgs/os-specific/linux/systemd/0012-add-rootprefix-to-lookup-dir-paths.patch similarity index 88% rename from pkgs/os-specific/linux/systemd/0013-add-rootprefix-to-lookup-dir-paths.patch rename to pkgs/os-specific/linux/systemd/0012-add-rootprefix-to-lookup-dir-paths.patch index d008cf2821c7..86ebfa5d4b01 100644 --- a/pkgs/os-specific/linux/systemd/0013-add-rootprefix-to-lookup-dir-paths.patch +++ b/pkgs/os-specific/linux/systemd/0012-add-rootprefix-to-lookup-dir-paths.patch @@ -1,7 +1,7 @@ -From b30d2273d3ce1480b0c4c27c25211f84e04172e9 Mon Sep 17 00:00:00 2001 +From 201b588b4b30fb53aefaed43e5d434373a076cb0 Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Thu, 9 May 2019 11:15:22 +0200 -Subject: [PATCH 13/19] add rootprefix to lookup dir paths +Subject: [PATCH 12/18] add rootprefix to lookup dir paths systemd does not longer use the UDEVLIBEXEC directory as root for discovery default udev rules. By adding `$out/lib` to the lookup paths @@ -12,7 +12,7 @@ files that I might have missed. 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/basic/def.h b/src/basic/def.h -index eccee3d3fa..e94a2c8bd0 100644 +index 0a1ae023a3..cc00ff6c68 100644 --- a/src/basic/def.h +++ b/src/basic/def.h @@ -39,13 +39,15 @@ @@ -34,5 +34,5 @@ index eccee3d3fa..e94a2c8bd0 100644 #define CONF_PATHS(n) \ CONF_PATHS_USR(n) \ -- -2.34.0 +2.36.1 diff --git a/pkgs/os-specific/linux/systemd/0012-inherit-systemd-environment-when-calling-generators.patch b/pkgs/os-specific/linux/systemd/0012-inherit-systemd-environment-when-calling-generators.patch deleted file mode 100644 index 5f27e4175232..000000000000 --- a/pkgs/os-specific/linux/systemd/0012-inherit-systemd-environment-when-calling-generators.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 85f0ad0cb7b4f0cfd482c9611f9cbc2dacbba33a Mon Sep 17 00:00:00 2001 -From: Andreas Rammhold -Date: Fri, 2 Nov 2018 21:15:42 +0100 -Subject: [PATCH 12/19] inherit systemd environment when calling generators. - -Systemd generators need access to the environment configured in -stage-2-init.sh since it schedules fsck and mkfs executions based on -being able to find an appropriate binary for the target filesystem. - -With this commit I am altering the systemd behaviour since upstream -tries to gather environments with that they call -"environment-generators" and then seems to pass that on to all the other -executables that are being called from managers. ---- - src/core/manager.c | 13 +++++++++---- - 1 file changed, 9 insertions(+), 4 deletions(-) - -diff --git a/src/core/manager.c b/src/core/manager.c -index 5b0bdb1bc7..1538a5200a 100644 ---- a/src/core/manager.c -+++ b/src/core/manager.c -@@ -3653,10 +3653,15 @@ static int manager_run_generators(Manager *m) { - argv[4] = NULL; - - RUN_WITH_UMASK(0022) -- (void) execute_directories((const char* const*) paths, DEFAULT_TIMEOUT_USEC, NULL, NULL, -- (char**) argv, m->transient_environment, -- EXEC_DIR_PARALLEL | EXEC_DIR_IGNORE_ERRORS | EXEC_DIR_SET_SYSTEMD_EXEC_PID); -- -+ (void) execute_directories((const char* const*) paths, DEFAULT_TIMEOUT_USEC, -+ // On NixOS we must propagate PATH to generators so they are -+ // able to find binaries such as `fsck.${fstype}` and -+ // `mkfs.${fstype}`. That is why the last argument of the -+ // function (envp) is set to NULL. This propagates systemd's -+ // environment (e.g. PATH) that was setup -+ // before calling systemd from stage-2-init.sh. -+ NULL, NULL, (char**) argv, /* NixOS: use inherited env */ NULL, -+ EXEC_DIR_PARALLEL | EXEC_DIR_IGNORE_ERRORS | EXEC_DIR_SET_SYSTEMD_EXEC_PID); - r = 0; - - finish: --- -2.34.0 - diff --git a/pkgs/os-specific/linux/systemd/0014-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch b/pkgs/os-specific/linux/systemd/0013-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch similarity index 85% rename from pkgs/os-specific/linux/systemd/0014-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch rename to pkgs/os-specific/linux/systemd/0013-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch index 49c6651c0edf..21cbde9a92d4 100644 --- a/pkgs/os-specific/linux/systemd/0014-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch +++ b/pkgs/os-specific/linux/systemd/0013-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch @@ -1,7 +1,7 @@ -From 76da27ff77e5db07e502d4d8d26286d69c3f0319 Mon Sep 17 00:00:00 2001 +From 67434c58caddf7dd3cef66dd3e3f704d39e4bcb0 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Thu, 25 Jul 2019 20:45:55 +0300 -Subject: [PATCH 14/19] systemd-shutdown: execute scripts in +Subject: [PATCH 13/18] systemd-shutdown: execute scripts in /etc/systemd/system-shutdown This is needed for NixOS to use such scripts as systemd directory is immutable. @@ -10,7 +10,7 @@ This is needed for NixOS to use such scripts as systemd directory is immutable. 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shutdown/shutdown.c b/src/shutdown/shutdown.c -index 7ad9930677..fdb03a2e1a 100644 +index 2c3cbec02c..1b876203c6 100644 --- a/src/shutdown/shutdown.c +++ b/src/shutdown/shutdown.c @@ -335,7 +335,7 @@ int main(int argc, char *argv[]) { @@ -23,5 +23,5 @@ index 7ad9930677..fdb03a2e1a 100644 /* The log target defaults to console, but the original systemd process will pass its log target in through a * command line argument, which will override this default. Also, ensure we'll never log to the journal or -- -2.34.0 +2.36.1 diff --git a/pkgs/os-specific/linux/systemd/0015-systemd-sleep-execute-scripts-in-etc-systemd-system-.patch b/pkgs/os-specific/linux/systemd/0014-systemd-sleep-execute-scripts-in-etc-systemd-system-.patch similarity index 72% rename from pkgs/os-specific/linux/systemd/0015-systemd-sleep-execute-scripts-in-etc-systemd-system-.patch rename to pkgs/os-specific/linux/systemd/0014-systemd-sleep-execute-scripts-in-etc-systemd-system-.patch index 78d77c005822..2d6f6aefbbb1 100644 --- a/pkgs/os-specific/linux/systemd/0015-systemd-sleep-execute-scripts-in-etc-systemd-system-.patch +++ b/pkgs/os-specific/linux/systemd/0014-systemd-sleep-execute-scripts-in-etc-systemd-system-.patch @@ -1,7 +1,7 @@ -From 47c651f97acae814d4ff679ae04d78d4532cbca6 Mon Sep 17 00:00:00 2001 +From db1280d020e6d46a994240e755ce369d895322c5 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Thu, 25 Jul 2019 20:46:58 +0300 -Subject: [PATCH 15/19] systemd-sleep: execute scripts in +Subject: [PATCH 14/18] systemd-sleep: execute scripts in /etc/systemd/system-sleep This is needed for NixOS to use such scripts as systemd directory is immutable. @@ -10,10 +10,10 @@ This is needed for NixOS to use such scripts as systemd directory is immutable. 1 file changed, 1 insertion(+) diff --git a/src/sleep/sleep.c b/src/sleep/sleep.c -index 7064f3a905..b60ced9d9b 100644 +index 65e391d02a..28af2f8bf5 100644 --- a/src/sleep/sleep.c +++ b/src/sleep/sleep.c -@@ -182,6 +182,7 @@ static int execute( +@@ -180,6 +180,7 @@ static int execute( }; static const char* const dirs[] = { SYSTEM_SLEEP_PATH, @@ -22,5 +22,5 @@ index 7064f3a905..b60ced9d9b 100644 }; -- -2.34.0 +2.36.1 diff --git a/pkgs/os-specific/linux/systemd/0016-kmod-static-nodes.service-Update-ConditionFileNotEmp.patch b/pkgs/os-specific/linux/systemd/0015-kmod-static-nodes.service-Update-ConditionFileNotEmp.patch similarity index 86% rename from pkgs/os-specific/linux/systemd/0016-kmod-static-nodes.service-Update-ConditionFileNotEmp.patch rename to pkgs/os-specific/linux/systemd/0015-kmod-static-nodes.service-Update-ConditionFileNotEmp.patch index 3c1643e0f1ab..9adeed284fbb 100644 --- a/pkgs/os-specific/linux/systemd/0016-kmod-static-nodes.service-Update-ConditionFileNotEmp.patch +++ b/pkgs/os-specific/linux/systemd/0015-kmod-static-nodes.service-Update-ConditionFileNotEmp.patch @@ -1,7 +1,7 @@ -From df0fec7ac2f33bcca60ba9a2396af33397ba42cc Mon Sep 17 00:00:00 2001 +From ac9f97341e6fe3fb4b5fe22e72f43312ef5b1ca4 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sat, 7 Mar 2020 22:40:27 +0100 -Subject: [PATCH 16/19] kmod-static-nodes.service: Update ConditionFileNotEmpty +Subject: [PATCH 15/18] kmod-static-nodes.service: Update ConditionFileNotEmpty On NixOS, kernel modules of the currently booted systems are located at /run/booted-system/kernel-modules/lib/modules/%v/, not /lib/modules/%v/. @@ -23,5 +23,5 @@ index 777e82d16b..b6abc2bba0 100644 [Service] Type=oneshot -- -2.34.0 +2.36.1 diff --git a/pkgs/os-specific/linux/systemd/0017-path-util.h-add-placeholder-for-DEFAULT_PATH_NORMAL.patch b/pkgs/os-specific/linux/systemd/0016-path-util.h-add-placeholder-for-DEFAULT_PATH_NORMAL.patch similarity index 87% rename from pkgs/os-specific/linux/systemd/0017-path-util.h-add-placeholder-for-DEFAULT_PATH_NORMAL.patch rename to pkgs/os-specific/linux/systemd/0016-path-util.h-add-placeholder-for-DEFAULT_PATH_NORMAL.patch index 882690ad9140..dc727586ce9d 100644 --- a/pkgs/os-specific/linux/systemd/0017-path-util.h-add-placeholder-for-DEFAULT_PATH_NORMAL.patch +++ b/pkgs/os-specific/linux/systemd/0016-path-util.h-add-placeholder-for-DEFAULT_PATH_NORMAL.patch @@ -1,7 +1,7 @@ -From f21722ac0f51b0b59a5c030af3db5fe4e6397f7c Mon Sep 17 00:00:00 2001 +From 6f40d7a9d0029b5a805245b938ac62e7b150ea75 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sun, 8 Mar 2020 01:05:54 +0100 -Subject: [PATCH 17/19] path-util.h: add placeholder for DEFAULT_PATH_NORMAL +Subject: [PATCH 16/18] path-util.h: add placeholder for DEFAULT_PATH_NORMAL This will be the $PATH used to lookup ExecStart= etc. options, which systemd itself uses extensively. @@ -10,7 +10,7 @@ systemd itself uses extensively. 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/basic/path-util.h b/src/basic/path-util.h -index 518f3340bf..18e826ea0b 100644 +index 553aa4fb58..46294f4bb1 100644 --- a/src/basic/path-util.h +++ b/src/basic/path-util.h @@ -24,11 +24,11 @@ @@ -29,5 +29,5 @@ index 518f3340bf..18e826ea0b 100644 #if HAVE_SPLIT_USR # define DEFAULT_PATH DEFAULT_PATH_SPLIT_USR -- -2.34.0 +2.36.1 diff --git a/pkgs/os-specific/linux/systemd/0018-pkg-config-derive-prefix-from-prefix.patch b/pkgs/os-specific/linux/systemd/0017-pkg-config-derive-prefix-from-prefix.patch similarity index 87% rename from pkgs/os-specific/linux/systemd/0018-pkg-config-derive-prefix-from-prefix.patch rename to pkgs/os-specific/linux/systemd/0017-pkg-config-derive-prefix-from-prefix.patch index e602bef9c3d7..7ca62eb75062 100644 --- a/pkgs/os-specific/linux/systemd/0018-pkg-config-derive-prefix-from-prefix.patch +++ b/pkgs/os-specific/linux/systemd/0017-pkg-config-derive-prefix-from-prefix.patch @@ -1,7 +1,7 @@ -From 968bd0c7bc058a4b05b6457f9ff20d02b70c9852 Mon Sep 17 00:00:00 2001 +From 8d9355264f11034a28ad78e4e70809908acfdb3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 6 Dec 2020 08:34:19 +0100 -Subject: [PATCH 18/19] pkg-config: derive prefix from --prefix +Subject: [PATCH 17/18] pkg-config: derive prefix from --prefix Point prefix to the one configured, instead of `/usr` `systemd` has limited support for making the pkgconfig prefix overridable, and interpolates those @@ -29,5 +29,5 @@ index 162432e77f..2fc20daf03 100644 rootprefix=${root_prefix} sysconf_dir={{SYSCONF_DIR}} -- -2.34.0 +2.36.1 diff --git a/pkgs/os-specific/linux/systemd/0018-inherit-systemd-environment-when-calling-generators.patch b/pkgs/os-specific/linux/systemd/0018-inherit-systemd-environment-when-calling-generators.patch new file mode 100644 index 000000000000..06902cbad1bd --- /dev/null +++ b/pkgs/os-specific/linux/systemd/0018-inherit-systemd-environment-when-calling-generators.patch @@ -0,0 +1,42 @@ +From 291ead07daab980fa39fd18512c8266c23161540 Mon Sep 17 00:00:00 2001 +From: Yuriy Taraday +Date: Fri, 17 Jun 2022 12:45:10 +0000 +Subject: [PATCH 18/18] inherit systemd environment when calling generators. + +Systemd generators need access to the environment configured in +stage-2-init.sh since it schedules fsck and mkfs executions based on +being able to find an appropriate binary for the target filesystem. + +With this commit I am altering the systemd behaviour since upstream +tries to gather environments with that they call +"environment-generators" and then seems to pass that on to all the other +executables that are being called from managers. +--- + src/core/manager.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/src/core/manager.c b/src/core/manager.c +index 71ef7f27b4..33ded94a7c 100644 +--- a/src/core/manager.c ++++ b/src/core/manager.c +@@ -3704,9 +3704,17 @@ static int build_generator_environment(Manager *m, char ***ret) { + * adjust generated units to that. Let's pass down some bits of information that are easy for us to + * determine (but a bit harder for generator scripts to determine), as environment variables. */ + ++ // On NixOS we must propagate PATH to generators so they are ++ // able to find binaries such as `fsck.${fstype}` and ++ // `mkfs.${fstype}`. That is why we ignore transient_environment that ++ // overrides the PATH variable. This propagates systemd's ++ // environment (e.g. PATH) that was setup ++ // before calling systemd from stage-2-init.sh. ++#if 0 + nl = strv_copy(m->transient_environment); + if (!nl) + return -ENOMEM; ++#endif + + r = strv_env_assign(&nl, "SYSTEMD_SCOPE", MANAGER_IS_SYSTEM(m) ? "system" : "user"); + if (r < 0) +-- +2.36.1 + diff --git a/pkgs/os-specific/linux/systemd/0019-core-handle-lookup-paths-being-symlinks.patch b/pkgs/os-specific/linux/systemd/0019-core-handle-lookup-paths-being-symlinks.patch deleted file mode 100644 index 916f95e194ac..000000000000 --- a/pkgs/os-specific/linux/systemd/0019-core-handle-lookup-paths-being-symlinks.patch +++ /dev/null @@ -1,80 +0,0 @@ -From 169fc6f270ff3e3903a7a31550c964152f9751ec Mon Sep 17 00:00:00 2001 -From: Andreas Rammhold -Date: Wed, 18 Aug 2021 19:10:08 +0200 -Subject: [PATCH 19/19] core: handle lookup paths being symlinks - -With a recent change paths leaving the statically known lookup paths -would be treated differently then those that remained within those. That -was done (AFAIK) to consistently handle alias names. Unfortunately that -means that on some distributions, especially those where /etc/ consists -mostly of symlinks, would trigger that new detection for every single -unit in /etc/systemd/system. The reason for that is that the units -directory itself is already a symlink. ---- - src/basic/unit-file.c | 33 +++++++++++++++++++++++++++++++-- - 1 file changed, 31 insertions(+), 2 deletions(-) - -diff --git a/src/basic/unit-file.c b/src/basic/unit-file.c -index 30c632dfce..6179100126 100644 ---- a/src/basic/unit-file.c -+++ b/src/basic/unit-file.c -@@ -255,6 +255,7 @@ int unit_file_build_name_map( - - _cleanup_hashmap_free_ Hashmap *ids = NULL, *names = NULL; - _cleanup_set_free_free_ Set *paths = NULL; -+ _cleanup_strv_free_ char **expanded_search_paths = NULL; - uint64_t timestamp_hash; - char **dir; - int r; -@@ -274,6 +275,34 @@ int unit_file_build_name_map( - return log_oom(); - } - -+ /* Go over all our search paths, chase their symlinks and store the -+ * result in the expanded_search_paths list. -+ * -+ * This is important for cases where any of the unit directories itself -+ * are symlinks into other directories and would therefore cause all of -+ * the unit files to be recognized as linked units. -+ * -+ * This is important for distributions such as NixOS where most paths -+ * in /etc/ are symlinks to some other location on the filesystem (e.g. -+ * into /nix/store/). -+ */ -+ STRV_FOREACH(dir, (char**) lp->search_path) { -+ _cleanup_free_ char *resolved_dir = NULL; -+ r = strv_extend(&expanded_search_paths, *dir); -+ if (r < 0) -+ return log_oom(); -+ -+ r = chase_symlinks(*dir, NULL, 0, &resolved_dir, NULL); -+ if (r < 0) { -+ if (r != -ENOENT) -+ log_warning_errno(r, "Failed to resolve symlink %s, ignoring: %m", *dir); -+ continue; -+ } -+ -+ if (strv_consume(&expanded_search_paths, TAKE_PTR(resolved_dir)) < 0) -+ return log_oom(); -+ } -+ - STRV_FOREACH(dir, (char**) lp->search_path) { - _cleanup_closedir_ DIR *d = NULL; - -@@ -386,11 +415,11 @@ int unit_file_build_name_map( - continue; - } - -- /* Check if the symlink goes outside of our search path. -+ /* Check if the symlink goes outside of our (expanded) search path. - * If yes, it's a linked unit file or mask, and we don't care about the target name. - * Let's just store the link source directly. - * If not, let's verify that it's a good symlink. */ -- char *tail = path_startswith_strv(simplified, lp->search_path); -+ char *tail = path_startswith_strv(simplified, expanded_search_paths); - if (!tail) { - log_debug("%s: linked unit file: %s → %s", - __func__, filename, simplified); --- -2.34.0 - diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index 5007895c006d..48baed6615ea 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -127,13 +127,13 @@ assert withCryptsetup -> (cryptsetup != null); let wantCurl = withRemote || withImportd; wantGcrypt = withResolved || withImportd; - version = "250.4"; + version = "251.3"; # Bump this variable on every (major) version change. See below (in the meson options list) for why. # command: # $ curl -s https://api.github.com/repos/systemd/systemd/releases/latest | \ # jq '.created_at|strptime("%Y-%m-%dT%H:%M:%SZ")|mktime' - releaseTimestamp = "1640290180"; + releaseTimestamp = "1653143108"; in stdenv.mkDerivation { inherit pname version; @@ -144,7 +144,7 @@ stdenv.mkDerivation { owner = "systemd"; repo = "systemd-stable"; rev = "v${version}"; - sha256 = "sha256-AdzPh7dGVrGbbjL9+PqytQOpRzNDUUEftmKZAbFH3L4="; + sha256 = "sha256-vcj+k/duRID2R+wGQIyq+dVRrFYNQTsjHya6k0hmZxk="; }; # On major changes, or when otherwise required, you *must* reformat the patches, @@ -163,28 +163,13 @@ stdenv.mkDerivation { ./0009-Change-usr-share-zoneinfo-to-etc-zoneinfo.patch ./0010-localectl-use-etc-X11-xkb-for-list-x11.patch ./0011-build-don-t-create-statedir-and-don-t-touch-prefixdi.patch - ./0012-inherit-systemd-environment-when-calling-generators.patch - ./0013-add-rootprefix-to-lookup-dir-paths.patch - ./0014-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch - ./0015-systemd-sleep-execute-scripts-in-etc-systemd-system-.patch - ./0016-kmod-static-nodes.service-Update-ConditionFileNotEmp.patch - ./0017-path-util.h-add-placeholder-for-DEFAULT_PATH_NORMAL.patch - ./0018-pkg-config-derive-prefix-from-prefix.patch - - # In v248 or v249 we started to get in trouble due to our - # /etc/systemd/system being a symlink and thus being treated differently by - # systemd. With the below patch we mitigate that effect by special casing - # all our root unit dirs if they are symlinks. This does exactly what we - # need (AFAICT). - # See https://github.com/systemd/systemd/pull/20479 for upstream discussion. - ./0019-core-handle-lookup-paths-being-symlinks.patch - - # fixes reproducability of dbus xml files - # Should no longer be necessary with v251. - (fetchpatch { - url = "https://github.com/systemd/systemd/pull/22174.patch"; - sha256 = "sha256-RVhxUEUiISgRlIP/AhU+w1VHfDQw2W16cFl2TXXyxno="; - }) + ./0012-add-rootprefix-to-lookup-dir-paths.patch + ./0013-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch + ./0014-systemd-sleep-execute-scripts-in-etc-systemd-system-.patch + ./0015-kmod-static-nodes.service-Update-ConditionFileNotEmp.patch + ./0016-path-util.h-add-placeholder-for-DEFAULT_PATH_NORMAL.patch + ./0017-pkg-config-derive-prefix-from-prefix.patch + ./0018-inherit-systemd-environment-when-calling-generators.patch ] ++ lib.optional stdenv.hostPlatform.isMusl ( let oe-core = fetchzip { @@ -547,6 +532,7 @@ stdenv.mkDerivation { "src/analyze/test-verify.c" "src/test/test-env-file.c" "src/test/test-fileio.c" + "src/test/test-load-fragment.c" ]; } { @@ -573,29 +559,39 @@ stdenv.mkDerivation { replacement = "\\\"${gnutar}/bin/tar\\\""; where = [ "src/import/export-tar.c" - "src/import/export.c" "src/import/import-common.c" "src/import/import-tar.c" + ]; + ignore = [ + # occurences here refer to the tar sub command + "src/sysupdate/sysupdate-resource.c" + "src/sysupdate/sysupdate-transfer.c" + "src/import/pull.c" + "src/import/export.c" "src/import/import.c" "src/import/importd.c" + # runs `tar` but also also creates a temporary directory with the string "src/import/pull-tar.c" - "src/import/pull.c" ]; } ]; # { replacement, search, where } -> List[str] - mkSubstitute = { replacement, search, where }: + mkSubstitute = { replacement, search, where, ignore ? [] }: map (path: "substituteInPlace ${path} --replace '${search}' \"${replacement}\"") where; - mkEnsureSubstituted = { replacement, search, where }: - '' - if [[ $(grep -r '${search}' | grep -v "${replacement}" | grep -Ev 'NEWS|^test/' | wc -l) -gt 0 ]]; then - echo "Not all references to '${search}' have been replaced. Found the following matches:" - grep '${search}' -r | grep -v "${replacement}" | grep -Ev 'NEWS|^test/' - exit 1 - fi - ''; - + mkEnsureSubstituted = { replacement, search, where, ignore ? [] }: + let + ignore' = lib.concatStringsSep "|" (ignore ++ ["^test" "NEWS"]); + in '' + set +e + search=$(grep '${search}' -r | grep -v "${replacement}" | grep -Ev "${ignore'}") + set -e + if [[ -n "$search" ]]; then + echo "Not all references to '${search}' have been replaced. Found the following matches:" + echo "$search" + exit 1 + fi + ''; in '' mesonFlagsArray+=(-Dntp-servers="0.nixos.pool.ntp.org 1.nixos.pool.ntp.org 2.nixos.pool.ntp.org 3.nixos.pool.ntp.org") @@ -606,6 +602,9 @@ stdenv.mkDerivation { substituteInPlace src/libsystemd/sd-journal/catalog.c \ --replace /usr/lib/systemd/catalog/ $out/lib/systemd/catalog/ + + substituteInPlace src/import/pull-tar.c \ + --replace 'wait_for_terminate_and_check("tar"' 'wait_for_terminate_and_check("${gnutar}/bin/tar"' ''; # These defines are overridden by CFLAGS and would trigger annoying From b70dc26a77310460265fea16b8ced6c9b74b8241 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Mon, 18 Jul 2022 13:48:17 +0200 Subject: [PATCH 063/701] =?UTF-8?q?libnotify:=200.7.12=20=E2=86=92=200.8.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/libnotify/-/compare/0.7.12...0.8.1 --- pkgs/development/libraries/libnotify/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libnotify/default.nix b/pkgs/development/libraries/libnotify/default.nix index 5cf79781a7d0..f1034781fb44 100644 --- a/pkgs/development/libraries/libnotify/default.nix +++ b/pkgs/development/libraries/libnotify/default.nix @@ -14,13 +14,13 @@ stdenv.mkDerivation rec { pname = "libnotify"; - version = "0.7.12"; + version = "0.8.1"; outputs = [ "out" "man" "dev" ]; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "dEsrN1CBNfgmG3Vanevm4JrdQhrcdb3pMPbhmLcKtG4="; + sha256 = "0DPm1NbMv0akNsMWKKS2YbNtyh9dQXT+AXPidPTmJVc="; }; mesonFlags = [ From 8bf97d639d8e637098047424d67356d75a407423 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Wed, 20 Jul 2022 12:34:37 +1000 Subject: [PATCH 064/701] rustc: 1.62.0 -> 1.62.1 (#182140) https://github.com/rust-lang/rust/releases/tag/1.62.1 --- pkgs/development/compilers/rust/1_62.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/rust/1_62.nix b/pkgs/development/compilers/rust/1_62.nix index 779d24c4959c..6a68c0e14d61 100644 --- a/pkgs/development/compilers/rust/1_62.nix +++ b/pkgs/development/compilers/rust/1_62.nix @@ -20,8 +20,8 @@ } @ args: import ./default.nix { - rustcVersion = "1.62.0"; - rustcSha256 = "09y06qmh7ihi9kgimpp3h4nj3cmgc1zypqyaba10dlk4kf07h23x"; + rustcVersion = "1.62.1"; + rustcSha256 = "sha256-cqy+b/zZT1mDgqdDCw2F7o9nnm0LJ/P1Zu0cFsl4Ez8="; llvmSharedForBuild = pkgsBuildBuild.llvmPackages_14.libllvm.override { enableSharedLibraries = true; }; llvmSharedForHost = pkgsBuildHost.llvmPackages_14.libllvm.override { enableSharedLibraries = true; }; From 719e350414e6a4f4ac0ee6a19e79cceac82b3313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6gler?= Date: Wed, 20 Jul 2022 08:55:01 +0200 Subject: [PATCH 065/701] pixman: Limit threads --- pkgs/development/libraries/pixman/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/pixman/default.nix b/pkgs/development/libraries/pixman/default.nix index be41526c4f23..ffdaeaef035a 100644 --- a/pkgs/development/libraries/pixman/default.nix +++ b/pkgs/development/libraries/pixman/default.nix @@ -17,6 +17,11 @@ stdenv.mkDerivation rec { configureFlags = lib.optional stdenv.isAarch32 "--disable-arm-iwmmxt"; + preConfigure = '' + # https://gitlab.freedesktop.org/pixman/pixman/-/issues/62 + export OMP_NUM_THREADS=$((NIX_BUILD_CORES > 184 ? 184 : NIX_BUILD_CORES)) + ''; + doCheck = true; postInstall = glib.flattenInclude; From b390eb96c268da8057863fe31903e4dafa57ed01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sat, 16 Jul 2022 11:37:20 +0200 Subject: [PATCH 066/701] bzip2: fix hardcoded version --- pkgs/tools/compression/bzip2/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pkgs/tools/compression/bzip2/default.nix b/pkgs/tools/compression/bzip2/default.nix index dafd6a6070df..3b48195d11d6 100644 --- a/pkgs/tools/compression/bzip2/default.nix +++ b/pkgs/tools/compression/bzip2/default.nix @@ -25,6 +25,19 @@ stdenv.mkDerivation rec { sha256 = "sha256-QMufl6ffJVVVVZespvkCbFpB6++R1lnq1687jEsUjr0="; }) ]; + # Fix up hardcoded version from the above patch, e.g. seen in bzip2.pc or libbz2.so.1.0.N + postPatch = '' + patch <<-EOF + --- configure.ac + +++ configure.ac + @@ -3,3 +3,3 @@ + -AC_INIT([bzip2], [1.0.6], [Julian Seward ]) + +AC_INIT([bzip2], [${version}], [Julian Seward ]) + BZIP2_LT_CURRENT=1 + -BZIP2_LT_REVISION=6 + +BZIP2_LT_REVISION=${lib.versions.patch version} + EOF + ''; strictDeps = true; nativeBuildInputs = [ autoreconfHook ]; From 229ecd4bbc6f739578d9fc1ec4ed0ea1ceb74397 Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 21 Jul 2022 05:00:18 +0300 Subject: [PATCH 067/701] systemd: update substituteInPlace to restore cross systemd-aarch64-unknown-linux-gnu> src/boot/efi/meson.build:433:8: ERROR: Program 'objcopy' not found or not executable --- pkgs/os-specific/linux/systemd/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index 48baed6615ea..31b771433924 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -211,8 +211,8 @@ stdenv.mkDerivation { substituteInPlace src/basic/path-util.h --replace "@defaultPathNormal@" "${placeholder "out"}/bin/" substituteInPlace src/boot/efi/meson.build \ --replace \ - "find_program('objcopy'" \ - "find_program('${stdenv.cc.bintools.targetPrefix}objcopy'" + "run_command(cc.cmd_array(), '-print-prog-name=objcopy', check: true).stdout().strip()" \ + "'${stdenv.cc.bintools.targetPrefix}objcopy'" '' + ( let # The following patches references to dynamic libraries to ensure that From bbe8931b36199d505042195cc86b24a7d776f78a Mon Sep 17 00:00:00 2001 From: K900 Date: Wed, 20 Jul 2022 23:18:43 +0300 Subject: [PATCH 068/701] pipewire: 0.3.55 -> 0.3.56 --- pkgs/development/libraries/pipewire/default.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pkgs/development/libraries/pipewire/default.nix b/pkgs/development/libraries/pipewire/default.nix index f4d04018d934..991ac1ad594c 100644 --- a/pkgs/development/libraries/pipewire/default.nix +++ b/pkgs/development/libraries/pipewire/default.nix @@ -2,7 +2,6 @@ , lib , buildPackages , fetchFromGitLab -, fetchpatch , removeReferencesTo , python3 , meson @@ -70,7 +69,7 @@ let self = stdenv.mkDerivation rec { pname = "pipewire"; - version = "0.3.55"; + version = "0.3.56"; outputs = [ "out" @@ -88,7 +87,7 @@ let owner = "pipewire"; repo = "pipewire"; rev = version; - sha256 = "sha256-OAe/SpXLDQTvAEDyShTA4flqXUpjOabAQXulNeF6LLw="; + sha256 = "sha256-wbHHr7BW8Gdj9D1IjzOuD6VuXApJ5E0Zde2iKWImzxg="; }; patches = [ @@ -104,13 +103,6 @@ let ./0090-pipewire-config-template-paths.patch # Place SPA data files in lib output to avoid dependency cycles ./0095-spa-data-dir.patch - - # FIXME: fix JACK crash with Ardour6, recommended by upstream, remove in .55 - (fetchpatch { - name = "fix-jack-crash"; - url = "https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/40552a0e914c3aef48ce59ce1bfb9d80516aa893.patch"; - sha256 = "sha256-ifVVBoloq1ILgKDPSjjpaw0kbzl+Ok6PZcjG3rsfRuU="; - }) ]; nativeBuildInputs = [ From 1197a69edfd27c8fab83ea3d4408f1e13b504248 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 14 Jul 2022 20:33:40 +0200 Subject: [PATCH 069/701] python3Packages.setuptools: 61.2.0 -> 63.2.0 --- .../python-modules/setuptools/default.nix | 13 +- .../setuptools/setuptools-distutils-C++.patch | 169 +++++++++--------- 2 files changed, 82 insertions(+), 100 deletions(-) diff --git a/pkgs/development/python-modules/setuptools/default.nix b/pkgs/development/python-modules/setuptools/default.nix index 772d9c79c2b1..883ca18e93e4 100644 --- a/pkgs/development/python-modules/setuptools/default.nix +++ b/pkgs/development/python-modules/setuptools/default.nix @@ -1,7 +1,6 @@ { stdenv , buildPythonPackage , fetchFromGitHub -, fetchpatch , python , bootstrapped-pip , lib @@ -11,7 +10,7 @@ let pname = "setuptools"; - version = "61.2.0"; + version = "63.2.0"; # Create an sdist of setuptools sdist = stdenv.mkDerivation rec { @@ -21,21 +20,13 @@ let owner = "pypa"; repo = pname; rev = "v${version}"; - hash = "sha256-Cgz3uA8U7A1lOZNuj1EYZVViZ3aL6VjcAno8GYQUufk="; + hash = "sha256-GyQjc0XulUxl3Btpj7Q6KHTpd1FDZnXCYviYjjgK7tY="; name = "${pname}-${version}-source"; }; patches = [ ./tag-date.patch ./setuptools-distutils-C++.patch - # Use sysconfigdata to find headers. Fixes cross-compilation of extension modules. - # https://github.com/pypa/distutils/pull/145 - (fetchpatch { - url = "https://github.com/pypa/distutils/commit/aed7294b7b0c228cc0666a8b04f2959bf310ab57.patch"; - hash = "sha256-/9+TKv0nllBfnj48zcXLrOgyBj52dBIVbrpnIaQ4O84="; - stripLen = 2; - extraPrefix = "setuptools/_distutils/"; - }) ]; buildPhase = '' diff --git a/pkgs/development/python-modules/setuptools/setuptools-distutils-C++.patch b/pkgs/development/python-modules/setuptools/setuptools-distutils-C++.patch index 43601d8b6eb1..ae844ecd2d3f 100644 --- a/pkgs/development/python-modules/setuptools/setuptools-distutils-C++.patch +++ b/pkgs/development/python-modules/setuptools/setuptools-distutils-C++.patch @@ -1,78 +1,84 @@ diff --git a/setuptools/_distutils/cygwinccompiler.py b/setuptools/_distutils/cygwinccompiler.py -index c5c86d8f..b879e447 100644 +index 445e2e51..2fdbdcca 100644 --- a/setuptools/_distutils/cygwinccompiler.py +++ b/setuptools/_distutils/cygwinccompiler.py -@@ -124,14 +124,19 @@ class CygwinCCompiler(UnixCCompiler): +@@ -131,14 +131,19 @@ class CygwinCCompiler(UnixCCompiler): self.cxx = os.environ.get('CXX', 'g++') self.linker_dll = self.cc + self.linker_dll_cxx = self.cxx shared_option = "-shared" - self.set_executables(compiler='%s -mcygwin -O -Wall' % self.cc, - compiler_so='%s -mcygwin -mdll -O -Wall' % self.cc, - compiler_cxx='%s -mcygwin -O -Wall' % self.cxx, -+ compiler_so_cxx='%s -mcygwin -mdll -O -Wall' % self.cxx, - linker_exe='%s -mcygwin' % self.cc, - linker_so=('%s -mcygwin %s' % -- (self.linker_dll, shared_option))) -+ (self.linker_dll, shared_option)), -+ linker_exe_cxx='%s -mcygwin' % self.cxx, -+ linker_so_cxx=('%s -mcygwin %s' % -+ (self.linker_dll_cxx, shared_option))) + self.set_executables( + compiler='%s -mcygwin -O -Wall' % self.cc, + compiler_so='%s -mcygwin -mdll -O -Wall' % self.cc, + compiler_cxx='%s -mcygwin -O -Wall' % self.cxx, ++ compiler_so_cxx='%s -mcygwin -mdll -O -Wall' % self.cxx, + linker_exe='%s -mcygwin' % self.cc, + linker_so=('%s -mcygwin %s' % (self.linker_dll, shared_option)), ++ linker_exe_cxx='%s -mcygwin' % self.cxx, ++ linker_so_cxx=('%s -mcygwin %s' % ++ (self.linker_dll_cxx, shared_option)), + ) # Include the appropriate MSVC runtime library if Python was built - # with MSVC 7.0 or later. -@@ -162,8 +167,12 @@ class CygwinCCompiler(UnixCCompiler): +@@ -170,9 +175,12 @@ class CygwinCCompiler(UnixCCompiler): raise CompileError(msg) - else: # for other files use the C-compiler + else: # for other files use the C-compiler try: -- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + -- extra_postargs) +- self.spawn( +- self.compiler_so + cc_args + [src, '-o', obj] + extra_postargs +- ) + if self.detect_language(src) == 'c++': + self.spawn(self.compiler_so_cxx + cc_args + [src, '-o', obj] + -+ extra_postargs) ++ extra_postargs) + else: -+ self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + -+ extra_postargs) ++ self.spawn( ++ self.compiler_so + cc_args + [src, '-o', obj] + extra_postargs) except DistutilsExecError as msg: raise CompileError(msg) -@@ -279,9 +288,13 @@ class Mingw32CCompiler(CygwinCCompiler): - self.set_executables(compiler='%s -O -Wall' % self.cc, - compiler_so='%s -mdll -O -Wall' % self.cc, - compiler_cxx='%s -O -Wall' % self.cxx, -+ compiler_so_cxx='%s -mdll -O -Wall' % self.cxx, - linker_exe='%s' % self.cc, - linker_so='%s %s' -- % (self.linker_dll, shared_option)) -+ % (self.linker_dll, shared_option), -+ linker_exe_cxx='%s' % self.cxx, -+ linker_so_cxx='%s %s' -+ % (self.linker_dll_cxx, shared_option)) +@@ -323,9 +331,12 @@ class Mingw32CCompiler(CygwinCCompiler): + self.set_executables( + compiler='%s -O -Wall' % self.cc, + compiler_so='%s -mdll -O -Wall' % self.cc, ++ compiler_so_cxx='%s -mdll -O -Wall' % self.cxx, + compiler_cxx='%s -O -Wall' % self.cxx, + linker_exe='%s' % self.cc, + linker_so='%s %s' % (self.linker_dll, shared_option), ++ linker_exe_cxx='%s' % self.cxx, ++ linker_so_cxx='%s %s' % (self.linker_dll_cxx, shared_option) + ) # Maybe we should also append -mthreads, but then the finished - # dlls need another dll (mingwm10.dll see Mingw32 docs) diff --git a/setuptools/_distutils/sysconfig.py b/setuptools/_distutils/sysconfig.py -index 9fad3835..889e2595 100644 +index e41d51ee..f7ded14b 100644 --- a/setuptools/_distutils/sysconfig.py +++ b/setuptools/_distutils/sysconfig.py -@@ -216,9 +216,11 @@ def customize_compiler(compiler): - _osx_support.customize_compiler(_config_vars) - _config_vars['CUSTOMIZED_OSX_COMPILER'] = 'True' +@@ -280,6 +280,7 @@ def customize_compiler(compiler): + cflags, + ccshared, + ldshared, ++ ldcxxshared, + shlib_suffix, + ar, + ar_flags, +@@ -289,11 +290,14 @@ def customize_compiler(compiler): + 'CFLAGS', + 'CCSHARED', + 'LDSHARED', ++ 'LDCXXSHARED', + 'SHLIB_SUFFIX', + 'AR', + 'ARFLAGS', + ) -- (cc, cxx, cflags, ccshared, ldshared, shlib_suffix, ar, ar_flags) = \ -- get_config_vars('CC', 'CXX', 'CFLAGS', -- 'CCSHARED', 'LDSHARED', 'SHLIB_SUFFIX', 'AR', 'ARFLAGS') -+ (cc, cxx, cflags, ccshared, ldshared, ldcxxshared, shlib_suffix, ar, ar_flags) = \ -+ get_config_vars('CC', 'CXX', 'CFLAGS', 'CCSHARED', 'LDSHARED', 'LDCXXSHARED', -+ 'SHLIB_SUFFIX', 'AR', 'ARFLAGS') -+ + cxxflags = cflags - ++ if 'CC' in os.environ: newcc = os.environ['CC'] -@@ -232,19 +234,27 @@ def customize_compiler(compiler): + if 'LDSHARED' not in os.environ and ldshared.startswith(cc): +@@ -305,19 +309,27 @@ def customize_compiler(compiler): cxx = os.environ['CXX'] if 'LDSHARED' in os.environ: ldshared = os.environ['LDSHARED'] @@ -81,7 +87,7 @@ index 9fad3835..889e2595 100644 if 'CPP' in os.environ: cpp = os.environ['CPP'] else: - cpp = cc + " -E" # not always + cpp = cc + " -E" # not always if 'LDFLAGS' in os.environ: ldshared = ldshared + ' ' + os.environ['LDFLAGS'] + ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS'] @@ -101,7 +107,7 @@ index 9fad3835..889e2595 100644 if 'AR' in os.environ: ar = os.environ['AR'] if 'ARFLAGS' in os.environ: -@@ -253,13 +263,17 @@ def customize_compiler(compiler): +@@ -326,13 +338,17 @@ def customize_compiler(compiler): archiver = ar + ' ' + ar_flags cc_cmd = cc + ' ' + cflags @@ -114,61 +120,46 @@ index 9fad3835..889e2595 100644 + compiler_cxx=cxx_cmd, + compiler_so_cxx=cxx_cmd + ' ' + ccshared, linker_so=ldshared, - linker_exe=cc, + linker_so_cxx=ldcxxshared, + linker_exe=cc, + linker_exe_cxx=cxx, - archiver=archiver) + archiver=archiver, + ) - if 'RANLIB' in os.environ and compiler.executables.get('ranlib', None): diff --git a/setuptools/_distutils/unixccompiler.py b/setuptools/_distutils/unixccompiler.py -index 715408f5..6125a1eb 100644 +index 4be74fdf..66f95aef 100644 --- a/setuptools/_distutils/unixccompiler.py +++ b/setuptools/_distutils/unixccompiler.py -@@ -110,14 +110,17 @@ class UnixCCompiler(CCompiler): - # are pretty generic; they will probably have to be set by an outsider - # (eg. using information discovered by the sysconfig about building - # Python extensions). -- executables = {'preprocessor' : None, -- 'compiler' : ["cc"], -- 'compiler_so' : ["cc"], -- 'compiler_cxx' : ["cc"], -- 'linker_so' : ["cc", "-shared"], -- 'linker_exe' : ["cc"], -- 'archiver' : ["ar", "-cr"], -- 'ranlib' : None, -+ executables = {'preprocessor' : None, -+ 'compiler' : ["cc"], -+ 'compiler_so' : ["cc"], -+ 'compiler_cxx' : ["c++"], -+ 'compiler_so_cxx' : ["c++"], -+ 'linker_so' : ["cc", "-shared"], -+ 'linker_exe' : ["cc"], -+ 'linker_so_cxx' : ["c++", "-shared"], -+ 'linker_exe_cxx' : ["c++"], -+ 'archiver' : ["ar", "-cr"], -+ 'ranlib' : None, - } +@@ -112,9 +112,12 @@ class UnixCCompiler(CCompiler): + 'preprocessor': None, + 'compiler': ["cc"], + 'compiler_so': ["cc"], +- 'compiler_cxx': ["cc"], ++ 'compiler_cxx': ["c++"], ++ 'compiler_so_cxx': ["c++"], + 'linker_so': ["cc", "-shared"], ++ 'linker_so_cxx': ["c++", "-shared"], + 'linker_exe': ["cc"], ++ 'linker_exe_cxx': ["c++", "-shared"], + 'archiver': ["ar", "-cr"], + 'ranlib': None, + } +@@ -174,8 +177,13 @@ class UnixCCompiler(CCompiler): - if sys.platform[:6] == "darwin": -@@ -169,9 +172,15 @@ class UnixCCompiler(CCompiler): def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts): - compiler_so = compiler_fixup( - self.compiler_so, cc_args + extra_postargs) -+ compiler_so_cxx = compiler_fixup( -+ self.compiler_so_cxx, cc_args + extra_postargs) + compiler_so = compiler_fixup(self.compiler_so, cc_args + extra_postargs) ++ compiler_so_cxx = compiler_fixup(self.compiler_so_cxx, cc_args + extra_postargs) try: -- self.spawn(compiler_so + cc_args + [src, '-o', obj] + -- extra_postargs) +- self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs) + if self.detect_language(src) == 'c++': + self.spawn(compiler_so_cxx + cc_args + [ src, '-o', obj] + -+ extra_postargs) ++ extra_postargs) + else: -+ self.spawn(compiler_so + cc_args + [src, '-o', obj] + -+ extra_postargs) ++ self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs) except DistutilsExecError as msg: raise CompileError(msg) -@@ -233,7 +242,8 @@ class UnixCCompiler(CCompiler): +@@ -243,7 +251,8 @@ class UnixCCompiler(CCompiler): # building an executable or linker_so (with shared options) # when building a shared library. building_exe = target_desc == CCompiler.EXECUTABLE From ef671f9b3b20361e9e40e219df112ec8347f104c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 14 Jul 2022 20:59:27 +0200 Subject: [PATCH 070/701] python3Packages.setuptools-rust: 1.3.0 -> 1.4.1 https://github.com/PyO3/setuptools-rust/releases/tag/v1.4.1 https://github.com/PyO3/setuptools-rust/releases/tag/v1.4.0 --- pkgs/development/python-modules/setuptools-rust/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/setuptools-rust/default.nix b/pkgs/development/python-modules/setuptools-rust/default.nix index 10f46fecf6f4..04284a703b3c 100644 --- a/pkgs/development/python-modules/setuptools-rust/default.nix +++ b/pkgs/development/python-modules/setuptools-rust/default.nix @@ -12,12 +12,12 @@ buildPythonPackage rec { pname = "setuptools-rust"; - version = "1.3.0"; + version = "1.4.1"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-lYxb9Ktkg9Wdq4iFOBIYccxQBjVKQvsPvVCs8Dyq0d4="; + sha256 = "sha256-GP+FCDH1juIdV4OCXJn61jLaIeR2RelCf9fewEgCnnY="; }; nativeBuildInputs = [ setuptools-scm ]; From 9e68ab7b83d76635fb39fb38653990670853a921 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 14 Jul 2022 20:45:47 +0200 Subject: [PATCH 071/701] python3Packages.docutils: 0.18.1 -> 0.19 --- pkgs/development/python-modules/docutils/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/docutils/default.nix b/pkgs/development/python-modules/docutils/default.nix index 3cd680e062f0..930077939818 100644 --- a/pkgs/development/python-modules/docutils/default.nix +++ b/pkgs/development/python-modules/docutils/default.nix @@ -8,11 +8,12 @@ buildPythonPackage rec { pname = "docutils"; - version = "0.18.1"; + version = "0.19"; + format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-Z5mHyvNhp1OdduWEy+3cMR467pN4d8hzRvMd68Y+nQY="; + hash = "sha256-M5laZ1PDC39Xf+v8LFBBH+xqrH9//rfEz+WZEHLc+eY="; }; # Only Darwin needs LANG, but we could set it in general. From f5a52761724eaf521f0e2c0ba7a482dcd9f4a621 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 14 Jul 2022 20:56:01 +0200 Subject: [PATCH 072/701] python3Packages.pytest: 7.1.1 -> 7.1.2 https://github.com/pytest-dev/pytest/releases/tag/7.1.2 --- pkgs/development/python-modules/pytest/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pytest/default.nix b/pkgs/development/python-modules/pytest/default.nix index 8c40c835feb0..779ad9fe92f9 100644 --- a/pkgs/development/python-modules/pytest/default.nix +++ b/pkgs/development/python-modules/pytest/default.nix @@ -23,12 +23,12 @@ buildPythonPackage rec { pname = "pytest"; - version = "7.1.1"; + version = "7.1.2"; format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "sha256-hBEyyu9rGtF6mv3kbcT2z6WaBflVWq5RUfc73yggymM="; + sha256 = "sha256-oGoEJUU4ZKJwvEXnH3gzMKdCje+0Iw+15qcx/eBuzUU="; }; nativeBuildInputs = [ @@ -83,7 +83,7 @@ buildPythonPackage rec { # - files are not needed after tests are finished pytestRemoveBytecodePhase () { # suffix is defined at: - # https://github.com/pytest-dev/pytest/blob/7.1.1/src/_pytest/assertion/rewrite.py#L51-L53 + # https://github.com/pytest-dev/pytest/blob/7.1.2/src/_pytest/assertion/rewrite.py#L51-L53 find $out -name "*-pytest-*.py[co]" -delete } preDistPhases+=" pytestRemoveBytecodePhase" From fe12670469e6a22fbc284d25a8636c12e655c7a7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 15 Jul 2022 00:13:44 +0200 Subject: [PATCH 073/701] python3Packages.pytest: extract test into passthru Necessary To escape infinite recursion with hypothesis. --- .../python-modules/pytest/default.nix | 38 ++++++------------ .../python-modules/pytest/tests.nix | 40 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 7 +--- 3 files changed, 53 insertions(+), 32 deletions(-) create mode 100644 pkgs/development/python-modules/pytest/tests.nix diff --git a/pkgs/development/python-modules/pytest/default.nix b/pkgs/development/python-modules/pytest/default.nix index 779ad9fe92f9..1523326de0bf 100644 --- a/pkgs/development/python-modules/pytest/default.nix +++ b/pkgs/development/python-modules/pytest/default.nix @@ -1,5 +1,6 @@ { lib , buildPythonPackage +, callPackage , pythonOlder , fetchPypi , isPyPy @@ -15,10 +16,6 @@ , pluggy , py , tomli - -# tests -, hypothesis -, pygments }: buildPythonPackage rec { @@ -31,6 +28,11 @@ buildPythonPackage rec { sha256 = "sha256-oGoEJUU4ZKJwvEXnH3gzMKdCje+0Iw+15qcx/eBuzUU="; }; + outputs = [ + "out" + "testout" + ]; + nativeBuildInputs = [ setuptools-scm ]; @@ -44,30 +46,14 @@ buildPythonPackage rec { tomli ]; - checkInputs = [ - hypothesis - pygments - ]; - - doCheck = !isPyPy; # https://github.com/pytest-dev/pytest/issues/3460 - - # Ignored file https://github.com/pytest-dev/pytest/pull/5605#issuecomment-522243929 - # test_missing_required_plugins will emit deprecation warning which is treated as error - checkPhase = '' - runHook preCheck - $out/bin/py.test -x testing/ \ - --ignore=testing/test_junitxml.py \ - --ignore=testing/test_argcomplete.py \ - -k "not test_collect_pyargs_with_testpaths and not test_missing_required_plugins" - - # tests leave behind unreproducible pytest binaries in the output directory, remove: - find $out/lib -name "*-pytest-${version}.pyc" -delete - # specifically testing/test_assertion.py and testing/test_assertrewrite.py leave behind those: - find $out/lib -name "*opt-2.pyc" -delete - - runHook postCheck + 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() { diff --git a/pkgs/development/python-modules/pytest/tests.nix b/pkgs/development/python-modules/pytest/tests.nix new file mode 100644 index 000000000000..76581b1f3d77 --- /dev/null +++ b/pkgs/development/python-modules/pytest/tests.nix @@ -0,0 +1,40 @@ +{ buildPythonPackage +, isPyPy +, pytest +, hypothesis +, pygments +}: + +buildPythonPackage rec { + pname = "pytest-tests"; + inherit (pytest) version; + + src = pytest.testout; + + dontBuild = true; + dontInstall = true; + + checkInputs = [ + hypothesis + pygments + ]; + + doCheck = !isPyPy; # https://github.com/pytest-dev/pytest/issues/3460 + + # Ignored file https://github.com/pytest-dev/pytest/pull/5605#issuecomment-522243929 + # test_missing_required_plugins will emit deprecation warning which is treated as error + checkPhase = '' + runHook preCheck + ${pytest.out}/bin/py.test -x testing/ \ + --ignore=testing/test_junitxml.py \ + --ignore=testing/test_argcomplete.py \ + -k "not test_collect_pyargs_with_testpaths and not test_missing_required_plugins" + + # tests leave behind unreproducible pytest binaries in the output directory, remove: + find $out/lib -name "*-pytest-${version}.pyc" -delete + # specifically testing/test_assertion.py and testing/test_assertrewrite.py leave behind those: + find $out/lib -name "*opt-2.pyc" -delete + + runHook postCheck + ''; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b5d8bf26e986..7d84acea30af 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8294,12 +8294,7 @@ in { pytesseract = callPackage ../development/python-modules/pytesseract { }; - pytest = callPackage ../development/python-modules/pytest { - # hypothesis tests require pytest that causes dependency cycle - hypothesis = self.hypothesis.override { - doCheck = false; - }; - }; + pytest = callPackage ../development/python-modules/pytest { }; pytest-aio = callPackage ../development/python-modules/pytest-aio { }; From 2742ea65c666c3b0abdc3b70f2dbe9760bb5a56c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 15 Jul 2022 00:12:17 +0200 Subject: [PATCH 074/701] python3Packages.pytest-asyncio: extract tests into passthru Necessary to escape infinite recursion with hypothesis. --- .../python-modules/pytest-asyncio/default.nix | 20 +++++++------ .../python-modules/pytest-asyncio/tests.nix | 28 +++++++++++++++++++ 2 files changed, 40 insertions(+), 8 deletions(-) create mode 100644 pkgs/development/python-modules/pytest-asyncio/tests.nix diff --git a/pkgs/development/python-modules/pytest-asyncio/default.nix b/pkgs/development/python-modules/pytest-asyncio/default.nix index 8c368c50e32c..4ab6093947c4 100644 --- a/pkgs/development/python-modules/pytest-asyncio/default.nix +++ b/pkgs/development/python-modules/pytest-asyncio/default.nix @@ -1,5 +1,6 @@ { lib , buildPythonPackage +, callPackage , fetchFromGitHub , flaky , hypothesis @@ -23,6 +24,11 @@ buildPythonPackage rec { hash = "sha256-eopKlDKiTvGmqcqw44MKlhvSKswKZd/VDYRpZbuyOqM="; }; + outputs = [ + "out" + "testout" + ]; + SETUPTOOLS_SCM_PRETEND_VERSION = version; nativeBuildInputs = [ @@ -33,15 +39,13 @@ buildPythonPackage rec { pytest ]; - checkInputs = [ - flaky - hypothesis - pytestCheckHook - ]; + postInstall = '' + mkdir $testout + cp -R tests $testout/tests + ''; - disabledTestPaths = [ - "tests/trio" # pytest-trio causes infinite recursion - ]; + doCheck = false; + passthru.tests.pytest = callPackage ./tests.nix {}; pythonImportsCheck = [ "pytest_asyncio" diff --git a/pkgs/development/python-modules/pytest-asyncio/tests.nix b/pkgs/development/python-modules/pytest-asyncio/tests.nix new file mode 100644 index 000000000000..17e60e4369bd --- /dev/null +++ b/pkgs/development/python-modules/pytest-asyncio/tests.nix @@ -0,0 +1,28 @@ +{ buildPythonPackage +, flaky +, hypothesis +, pytest-asyncio +, pytest-trio +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "pytest-asyncio-tests"; + inherit (pytest-asyncio) version; + + src = pytest-asyncio.testout; + + dontBuild = true; + dontInstall = true; + + propagatedBuildInputs = [ + pytest-asyncio + ]; + + checkInputs = [ + flaky + hypothesis + pytest-trio + pytestCheckHook + ]; +} From d516874a41b502f295ed0c17c1e35c5b5b7df3c1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 15 Jul 2022 00:14:50 +0200 Subject: [PATCH 075/701] python3Packages.hypothesis: 6.46.10 -> 6.50.1 --- pkgs/development/python-modules/hypothesis/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/hypothesis/default.nix b/pkgs/development/python-modules/hypothesis/default.nix index c92b655fabd5..1e8afe9e543a 100644 --- a/pkgs/development/python-modules/hypothesis/default.nix +++ b/pkgs/development/python-modules/hypothesis/default.nix @@ -1,8 +1,8 @@ { lib , buildPythonPackage -, pythonAtLeast , fetchFromGitHub , attrs +, exceptiongroup , pexpect , doCheck ? true , pytestCheckHook @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "hypothesis"; - version = "6.46.10"; + version = "6.50.1"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "HypothesisWorks"; repo = "hypothesis"; rev = "hypothesis-python-${version}"; - hash = "sha256-eQ7Ns0k1hOVw8/xiINMei6GbQqDHXrBl+1v8YQeFO9Q="; + hash = "sha256-G7OXlYaCPBfdXtmX/f/6i2LRCZZk5yvzhLc6sissuRo="; }; postUnpack = "sourceRoot=$sourceRoot/hypothesis-python"; @@ -30,6 +30,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ attrs sortedcontainers + ] ++ lib.optionals (pythonOlder "3.11") [ + exceptiongroup ]; checkInputs = [ From dab5a2ca786d2ef5c0d35e4c628db42f86da8d8e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 15 Jul 2022 00:30:03 +0200 Subject: [PATCH 076/701] python3Packages.pytest-mock: 3.8.1 -> 3.8.2 --- pkgs/development/python-modules/pytest-mock/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytest-mock/default.nix b/pkgs/development/python-modules/pytest-mock/default.nix index 8992694dca15..ed25a10d3a4e 100644 --- a/pkgs/development/python-modules/pytest-mock/default.nix +++ b/pkgs/development/python-modules/pytest-mock/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "pytest-mock"; - version = "3.8.1"; + version = "3.8.2"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-LG11bV07+Y4ugHl6lZyn+B9Hnn0fX1cWEbD91tF0UkA="; + hash = "sha256-d/A/RVQ5JVhwApXgWu0LEJaiDUpgpPPdzeWLDDHI/KI="; }; nativeBuildInputs = [ setuptools-scm ]; From a93740e9ba0a211e35fd19ef6aed8516799ab0b6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 15 Jul 2022 12:50:02 +0200 Subject: [PATCH 077/701] python3Packages.numpy: 1.21.6 -> 1.23.1 --- pkgs/development/python-modules/numpy/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/numpy/default.nix b/pkgs/development/python-modules/numpy/default.nix index a163ef6449a9..68add2cdc26c 100644 --- a/pkgs/development/python-modules/numpy/default.nix +++ b/pkgs/development/python-modules/numpy/default.nix @@ -6,6 +6,7 @@ , gfortran , hypothesis , pytest +, typing-extensions , blas , lapack , writeTextFile @@ -44,15 +45,15 @@ in buildPythonPackage rec { # Attention! v1.22.0 breaks scipy and by extension scikit-learn, so # build both to verify they don't break. # https://github.com/scipy/scipy/issues/15414 - version = "1.21.6"; + version = "1.23.1"; format = "pyproject.toml"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - extension = "zip"; - sha256 = "sha256-7LVSUROXBmaf3sL/BzyY746ahEc+UecWIRtBqg8Y5lY="; + extension = "tar.gz"; + hash = "sha256-10jvNJv+8uEZS1naN+1aKcGeqNfmNCAZkhuiuk/YtiQ="; }; patches = lib.optionals python.hasDistutilsCxxPatch [ @@ -83,6 +84,7 @@ in buildPythonPackage rec { checkInputs = [ pytest hypothesis + typing-extensions ]; checkPhase = '' From 09943a0c2cf054a3455a11e79da3fcd43861d5a0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 15 Jul 2022 13:26:19 +0200 Subject: [PATCH 078/701] python3Packages.scipy: 1.8.0 -> 1.8.1 --- pkgs/development/python-modules/scipy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/scipy/default.nix b/pkgs/development/python-modules/scipy/default.nix index d92dcc60f89d..4b6342691d43 100644 --- a/pkgs/development/python-modules/scipy/default.nix +++ b/pkgs/development/python-modules/scipy/default.nix @@ -15,11 +15,11 @@ buildPythonPackage rec { pname = "scipy"; - version = "1.8.0"; + version = "1.8.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-MdTy1rckvJqY5Se1hJuKflib8epjDDOqVj7akSyf8L0="; + sha256 = "sha256-nj+xsOiW8UqFqpoo1fdV2q7rVMiXt0bfelXMsCs0DzM="; }; nativeBuildInputs = [ cython gfortran pythran ]; From 41b3e0bf31c49bc1bfcc5fd77e6d255f32114ee9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 15 Jul 2022 18:40:32 +0200 Subject: [PATCH 079/701] python3Packages.m2r: patch docutils 0.19 compat --- pkgs/development/python-modules/m2r/default.nix | 1 + .../python-modules/m2r/docutils-0.19-compat.patch | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/development/python-modules/m2r/docutils-0.19-compat.patch diff --git a/pkgs/development/python-modules/m2r/default.nix b/pkgs/development/python-modules/m2r/default.nix index 526f2b128678..b3077edcc5d4 100644 --- a/pkgs/development/python-modules/m2r/default.nix +++ b/pkgs/development/python-modules/m2r/default.nix @@ -22,6 +22,7 @@ buildPythonPackage rec { url = "https://github.com/miyakogi/m2r/commit/58ee9cabdadf5e3deb13037f3052238f0f2bffcd.patch"; sha256 = "sha256-CN3PWmnk7xsn1wngRHuEWmDTP3HtVNxkFv0xzD2Zjlo="; }) + ./docutils-0.19-compat.patch ]; postPatch = '' diff --git a/pkgs/development/python-modules/m2r/docutils-0.19-compat.patch b/pkgs/development/python-modules/m2r/docutils-0.19-compat.patch new file mode 100644 index 000000000000..9392702b982e --- /dev/null +++ b/pkgs/development/python-modules/m2r/docutils-0.19-compat.patch @@ -0,0 +1,15 @@ +diff --git a/m2r.py b/m2r.py +index a4e43c2..fb9e588 100644 +--- a/m2r.py ++++ b/m2r.py +@@ -10,8 +10,8 @@ from argparse import ArgumentParser, Namespace + + from docutils import statemachine, nodes, io, utils + from docutils.parsers import rst +-from docutils.core import ErrorString +-from docutils.utils import SafeString, column_width ++from docutils.utils.error_reporting import ErrorString, SafeString ++from docutils.utils import column_width + import mistune + + if sys.version_info < (3, ): From 27668c5709f8e68760f521c0d91943dafeeea939 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 15 Jul 2022 18:40:58 +0200 Subject: [PATCH 080/701] python3Packages.scikit-learn: 1.0.2 -> 1.1.1 --- pkgs/development/python-modules/scikit-learn/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/scikit-learn/default.nix b/pkgs/development/python-modules/scikit-learn/default.nix index 82a85d709413..6a97bcd46846 100644 --- a/pkgs/development/python-modules/scikit-learn/default.nix +++ b/pkgs/development/python-modules/scikit-learn/default.nix @@ -19,12 +19,12 @@ buildPythonPackage rec { pname = "scikit-learn"; - version = "1.0.2"; + version = "1.1.1"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-tYcJWaVIS2FPJtMcpMF1JLGwMXUiGZ3JhcO0JW4DB2c="; + sha256 = "sha256-Pne3Ho5kT4bItb5/HChe9ZfeTDhJYTie4+nKNsRFslY="; }; buildInputs = [ From 599d078a2866dd2b48ad64d74f49c90e5e245275 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 15 Jul 2022 18:57:59 +0200 Subject: [PATCH 081/701] python3Packages.pandas: 1.4.2 -> 1.4.3 --- pkgs/development/python-modules/pandas/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pandas/default.nix b/pkgs/development/python-modules/pandas/default.nix index dad1d4499ef7..2c4f20478339 100644 --- a/pkgs/development/python-modules/pandas/default.nix +++ b/pkgs/development/python-modules/pandas/default.nix @@ -27,12 +27,12 @@ buildPythonPackage rec { pname = "pandas"; - version = "1.4.2"; + version = "1.4.3"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-krwfxYXxRjyoJ7RVNZV4FbfeshjFSbfBhALDIsdUmhI="; + sha256 = "sha256-L/d4hGjnWRdXTwgM1GgbJ+GnvzZGH+lotJqHtaVNAHw="; }; nativeBuildInputs = [ cython ]; From b9a02149bb76b475f572c767e781d65988d025ce Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 15 Jul 2022 19:49:53 +0200 Subject: [PATCH 082/701] python3Packages.astroid: 2.11.5 -> 2.11.7 https://github.com/PyCQA/astroid/releases/tag/v2.11.7 https://github.com/PyCQA/astroid/releases/tag/v2.11.6 --- pkgs/development/python-modules/astroid/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/astroid/default.nix b/pkgs/development/python-modules/astroid/default.nix index dc28b10d7b9d..6cde2e755030 100644 --- a/pkgs/development/python-modules/astroid/default.nix +++ b/pkgs/development/python-modules/astroid/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "astroid"; - version = "2.11.5"; # Check whether the version is compatible with pylint + version = "2.11.7"; # Check whether the version is compatible with pylint disabled = pythonOlder "3.6.2"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "PyCQA"; repo = pname; rev = "v${version}"; - sha256 = "sha256-GKda3hNdOrsd11pi+6NpYodW4TAgSvqbv2hF4GaIvtM="; + sha256 = "sha256-HpniGxKf+daMh/sxP9T9UriYRrUFWqk7kDa8r+EqtVI="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; From c01db367136472469fe93c910626b6f8b6d6a69b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 15 Jul 2022 23:47:17 +0200 Subject: [PATCH 083/701] python3Packages.pylint: 2.14.1 -> 2.14.4 --- pkgs/development/python-modules/pylint/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pylint/default.nix b/pkgs/development/python-modules/pylint/default.nix index 5fa39298cb5f..4cd15deab5c7 100644 --- a/pkgs/development/python-modules/pylint/default.nix +++ b/pkgs/development/python-modules/pylint/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "pylint"; - version = "2.14.1"; + version = "2.14.4"; format = "setuptools"; disabled = pythonOlder "3.7.2"; @@ -29,7 +29,7 @@ buildPythonPackage rec { owner = "PyCQA"; repo = pname; rev = "v${version}"; - sha256 = "sha256-rtyqHRDywv3l8bDgEjQlsh8lvwWbLswOPujFakaLWOw="; + sha256 = "sha256-NrfEIcPo2QJ78faQyfsQply8Zil1VZwV54GtV1aXbhc="; }; nativeBuildInputs = [ @@ -85,6 +85,8 @@ buildPythonPackage rec { "test_generate_toml_config" "test_help_msg" "test_output_of_callback_options" + # Failed: DID NOT WARN. No warnings of type (,) were emitted. The list of emitted warnings is: []. + "test_save_and_load_not_a_linter_stats" ] ++ lib.optionals stdenv.isDarwin [ "test_parallel_execution" "test_py3k_jobs_option" From 96a1286ea8a0edf0955367d346f4a70d505be6a5 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 15 Jul 2022 19:53:25 +0200 Subject: [PATCH 084/701] python3Packages.cryptography: 37.0.2 -> 37.0.4 https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst\#3704---2022-07-05 --- pkgs/development/python-modules/cryptography/default.nix | 6 +++--- pkgs/development/python-modules/cryptography/vectors.nix | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/cryptography/default.nix b/pkgs/development/python-modules/cryptography/default.nix index 08314f71308e..1442b784cb37 100644 --- a/pkgs/development/python-modules/cryptography/default.nix +++ b/pkgs/development/python-modules/cryptography/default.nix @@ -27,19 +27,19 @@ let in buildPythonPackage rec { pname = "cryptography"; - version = "37.0.2"; # Also update the hash in vectors.nix + version = "37.0.4"; # Also update the hash in vectors.nix disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-8iStJTzJzqdWj0kHcAfSJj76VzlqLy94EUBm/VS1xo4="; + hash = "sha256-Y/nBfA4kdMy+vJMCzi8HtVs7P8shHe0YpC1XZPXBCoI="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; sourceRoot = "${pname}-${version}/${cargoRoot}"; name = "${pname}-${version}"; - sha256 = "sha256-qvrxvneoBXjP96AnUPyrtfmCnZo+IriHR5HbtWQ5Gk8="; + hash = "sha256-f8r6QclTwkgK20CNe9i65ZOqvSUeDc4Emv6BFBhh1hI="; }; cargoRoot = "src/rust"; diff --git a/pkgs/development/python-modules/cryptography/vectors.nix b/pkgs/development/python-modules/cryptography/vectors.nix index d2c2beb9aba6..3059d01a4091 100644 --- a/pkgs/development/python-modules/cryptography/vectors.nix +++ b/pkgs/development/python-modules/cryptography/vectors.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "cryptography_vectors"; inherit version; - sha256 = "sha256-fGXT3lF1b0GBQt9gVBfsLG6WHDZPcMyKEDAwiJ1aMhk="; + hash = "sha256-WmFABRDiiTelZUtAxupOPlk8Wq8MIIHFuRLw58+IPqg="; }; # No tests included From b628b6efac94233621a6b2907666cccac9cb3fed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 23 Jun 2022 11:19:40 +0200 Subject: [PATCH 085/701] python310Packages.uvicorn: 0.17.6 -> 0.18.1 --- pkgs/development/python-modules/uvicorn/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/uvicorn/default.nix b/pkgs/development/python-modules/uvicorn/default.nix index cc9f884f7cb9..84eb48e0f219 100644 --- a/pkgs/development/python-modules/uvicorn/default.nix +++ b/pkgs/development/python-modules/uvicorn/default.nix @@ -2,7 +2,6 @@ , buildPythonPackage , callPackage , fetchFromGitHub -, asgiref , click , h11 , httptools @@ -18,14 +17,14 @@ buildPythonPackage rec { pname = "uvicorn"; - version = "0.17.6"; + version = "0.18.1"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "encode"; repo = pname; rev = version; - hash = "sha256-iJlAU7zZl9X3FcQlJoJ7KlETZOx6WsE9FcpCK4Cm/Fo="; + hash = "sha256-FvdrwBWlBcALiFFAQlsdf2EyExUqsRDER4a+eyVofN0="; }; outputs = [ @@ -34,7 +33,6 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ - asgiref click h11 httptools From eb09880cbb8798ed7105adc03d11118e519225e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 25 Jun 2022 21:30:44 +0200 Subject: [PATCH 086/701] platformio: relax uvicorn --- pkgs/development/embedded/platformio/core.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/development/embedded/platformio/core.nix b/pkgs/development/embedded/platformio/core.nix index 8a775b825152..1b8a6bd896f9 100644 --- a/pkgs/development/embedded/platformio/core.nix +++ b/pkgs/development/embedded/platformio/core.nix @@ -143,8 +143,7 @@ with python.pkgs; buildPythonApplication rec { --subst-var-by SPDX_LICENSE_LIST_DATA '${spdx-license-list-data.json}' substituteInPlace setup.py \ - --replace "wsproto==1.0.*" "wsproto" \ - --replace "zeroconf==0.38.*" "zeroconf" + --replace 'uvicorn==%s" % ("0.17.*"' 'uvicorn==%s" % ("0.18.*"' ''; meta = with lib; { From 968ff229bd32fac67aca88aa4051613a79ca91a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 29 Jun 2022 20:23:34 +0200 Subject: [PATCH 087/701] python310Packages.uvicorn: 0.18.1 -> 0.18.2 --- pkgs/development/python-modules/uvicorn/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/uvicorn/default.nix b/pkgs/development/python-modules/uvicorn/default.nix index 84eb48e0f219..e8b2520393ca 100644 --- a/pkgs/development/python-modules/uvicorn/default.nix +++ b/pkgs/development/python-modules/uvicorn/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "uvicorn"; - version = "0.18.1"; + version = "0.18.2"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "encode"; repo = pname; rev = version; - hash = "sha256-FvdrwBWlBcALiFFAQlsdf2EyExUqsRDER4a+eyVofN0="; + hash = "sha256-nxtDqYh2OmDtoV10CEBGYQrQBf+Xtuf5k9yR6UfCgYc="; }; outputs = [ From 5f413aa5807b95954ef9237f297954b2cb978606 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 15 Jul 2022 23:06:11 +0200 Subject: [PATCH 088/701] awsebcli: drop requests override, relax constraint Passing the trustme dependency into requests checkInputs has become an infinite recursion since the latest hypothesis update. It is unclear what the dependency chain is that causes this, but there is little need in overriding requests, since its API is mostly very stable. --- pkgs/tools/virtualization/awsebcli/default.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/pkgs/tools/virtualization/awsebcli/default.nix b/pkgs/tools/virtualization/awsebcli/default.nix index 7c892339fede..bf9842f96732 100644 --- a/pkgs/tools/virtualization/awsebcli/default.nix +++ b/pkgs/tools/virtualization/awsebcli/default.nix @@ -20,15 +20,6 @@ let jmespath = changeVersion super.jmespath.overridePythonAttrs "0.10.0" "b85d0567b8666149a93172712e68920734333c0ce7e89b78b3e987f71e5ed4f9"; colorama = changeVersion super.colorama.overridePythonAttrs "0.4.3" "189n8hpijy14jfan4ha9f5n06mnl33cxz7ay92wjqgkr639s0vg9"; future = changeVersion super.future.overridePythonAttrs "0.16.0" "1nzy1k4m9966sikp0qka7lirh8sqrsyainyf8rk97db7nwdfv773"; - requests = super.requests.overridePythonAttrs (oldAttrs: rec { - version = "2.26.0"; - checkInputs = oldAttrs.checkInputs ++ [ super.trustme ]; - src = oldAttrs.src.override { - inherit version; - hash = "sha256-uKpY+M95P/2HgtPYyxnmbvNverpDU+7IWedGeLAbB6c="; - }; - } - ); wcwidth = changeVersion super.wcwidth.overridePythonAttrs "0.1.9" "1wf5ycjx8s066rdvr0fgz4xds9a8zhs91c4jzxvvymm1c8l8cwzf"; semantic-version = changeVersion super.semantic-version.overridePythonAttrs "2.8.5" "d2cb2de0558762934679b9a104e82eca7af448c9f4974d1f3eeccff651df8a54"; pyyaml = super.pyyaml.overridePythonAttrs (oldAttrs: rec { @@ -58,7 +49,9 @@ with localPython.pkgs; buildPythonApplication rec { preConfigure = '' - substituteInPlace setup.py --replace "six>=1.11.0,<1.15.0" "six" + substituteInPlace setup.py \ + --replace "six>=1.11.0,<1.15.0" "six" \ + --replace "requests>=2.20.1,<=2.26" "requests" ''; buildInputs = [ From bc63ba0d5ab45652a67dafbd4ed3c39fd5d0db7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 16 Jul 2022 00:10:29 +0200 Subject: [PATCH 089/701] python310Packages.flask: 2.1.2 -> 2.1.3 --- pkgs/development/python-modules/flask/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/flask/default.nix b/pkgs/development/python-modules/flask/default.nix index e4ded57576e5..760c3ee671ae 100644 --- a/pkgs/development/python-modules/flask/default.nix +++ b/pkgs/development/python-modules/flask/default.nix @@ -13,12 +13,13 @@ }: buildPythonPackage rec { - version = "2.1.2"; - pname = "Flask"; + pname = "flask"; + version = "2.1.3"; src = fetchPypi { - inherit pname version; - sha256 = "sha256-MV3tLd+KYoFWftsnOTAQ/jQGGIuvv+ZaMznVeH2J5Hc="; + pname = "Flask"; + inherit version; + sha256 = "sha256-FZcuUBffBXXD1sCQuhaLbbkCWeYgrI1+qBOjlrrVtss="; }; propagatedBuildInputs = [ From af6f861b8eaac59b6607cb53f7a955a7f1d04a05 Mon Sep 17 00:00:00 2001 From: Kerstin Humm Date: Mon, 11 Jul 2022 16:19:21 +0200 Subject: [PATCH 090/701] python3Packages.traitlets: 5.1.1 -> 5.3.0 --- pkgs/development/python-modules/traitlets/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/traitlets/default.nix b/pkgs/development/python-modules/traitlets/default.nix index 0b96ba37c156..0a32f931d132 100644 --- a/pkgs/development/python-modules/traitlets/default.nix +++ b/pkgs/development/python-modules/traitlets/default.nix @@ -8,18 +8,21 @@ , decorator , pythonOlder , six +, hatchling }: buildPythonPackage rec { pname = "traitlets"; - version = "5.1.1"; + version = "5.3.0"; + format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-BZ9FbFp8HIK5jC6MeZ85ybgSj20NRpQe4RjarOnrcMc="; + sha256 = "sha256-C7nx+fAXqo7Bh9ixsqemYmoqHYdxFrq6UqEpv6Ek+OI="; }; + nativeBuildInputs = [ hatchling ]; checkInputs = [ glibcLocales pytest mock ]; propagatedBuildInputs = [ ipython_genutils decorator six ]; From c9589a96eedc19c6db1aabd1c6a9d934aaf41f1e Mon Sep 17 00:00:00 2001 From: Kerstin Humm Date: Mon, 11 Jul 2022 16:14:24 +0200 Subject: [PATCH 091/701] python3Packages.nbclient: 0.6.3 -> 0.6.6 --- pkgs/development/python-modules/nbclient/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nbclient/default.nix b/pkgs/development/python-modules/nbclient/default.nix index 84fe03be605b..59cbd65b48f3 100644 --- a/pkgs/development/python-modules/nbclient/default.nix +++ b/pkgs/development/python-modules/nbclient/default.nix @@ -17,7 +17,7 @@ let nbclient = buildPythonPackage rec { pname = "nbclient"; - version = "0.6.3"; + version = "0.6.6"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -26,7 +26,7 @@ let nbclient = buildPythonPackage rec { owner = "jupyter"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-ofyJNJeNkXbZ9qHLTuzJ13PgEXU9lDQ9NkT4nG/R8Ic="; + hash = "sha256-Rs4Jk4OtexB/NKM1Jo4cV87hBxXDlnX9X+4KO+pGb0E="; }; propagatedBuildInputs = [ async_generator traitlets nbformat nest-asyncio jupyter-client ]; From 9e8501bd82bc0312eb88893d12b8f27901c86a18 Mon Sep 17 00:00:00 2001 From: rembo10 Date: Thu, 23 Jun 2022 12:23:50 +0530 Subject: [PATCH 092/701] python3Packages.semantic-version: 2.9.0 -> 2.10.0 --- pkgs/development/python-modules/semantic-version/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/semantic-version/default.nix b/pkgs/development/python-modules/semantic-version/default.nix index d3ca44596193..131cf230ef78 100644 --- a/pkgs/development/python-modules/semantic-version/default.nix +++ b/pkgs/development/python-modules/semantic-version/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "semantic-version"; - version = "2.9.0"; + version = "2.10.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "semantic_version"; inherit version; - sha256 = "sha256-q/VIc1U+Xgem/U1fZTt4H1rkEpekk2ZrWdzyFABqErI="; + sha256 = "sha256-vau20zaZjLs3jUuds6S1ah4yNXAdwF6iaQ2amX7VBBw="; }; checkInputs = [ From d07b2d20dd54dd33c828cc5a80d1160a3b6a9c61 Mon Sep 17 00:00:00 2001 From: linsui Date: Fri, 8 Jul 2022 13:43:19 +0800 Subject: [PATCH 093/701] cheroot: remove pyopenssl dep Co-authored-by: Sandro --- pkgs/development/python-modules/cheroot/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/cheroot/default.nix b/pkgs/development/python-modules/cheroot/default.nix index 5535f577bcff..da5870f7d500 100644 --- a/pkgs/development/python-modules/cheroot/default.nix +++ b/pkgs/development/python-modules/cheroot/default.nix @@ -6,7 +6,6 @@ , jaraco_text , more-itertools , portend -, pyopenssl , pypytools , pytest-mock , pytestCheckHook @@ -17,7 +16,6 @@ , setuptools-scm , setuptools-scm-git-archive , six -, trustme }: buildPythonPackage rec { @@ -45,14 +43,12 @@ buildPythonPackage rec { checkInputs = [ jaraco_text portend - pyopenssl pypytools pytest-mock pytestCheckHook requests requests-toolbelt requests-unixsocket - trustme ]; # Disable doctest plugin because times out @@ -79,6 +75,8 @@ buildPythonPackage rec { # avoid attempting to use 3 packages not available on nixpkgs # (jaraco.apt, jaraco.context, yg.lockfile) "cheroot/test/test_wsgi.py" + # requires pyopenssl + "cheroot/test/test_ssl.py" ]; pythonImportsCheck = [ From 3cfff64a5809f11b71418f11930a713603051160 Mon Sep 17 00:00:00 2001 From: linsui Date: Fri, 8 Jul 2022 13:43:49 +0800 Subject: [PATCH 094/701] cherrypy: remove pyopenssl dep Co-authored-by: Sandro --- pkgs/development/python-modules/cherrypy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/cherrypy/default.nix b/pkgs/development/python-modules/cherrypy/default.nix index 6690a913beb2..9b58d33d501f 100644 --- a/pkgs/development/python-modules/cherrypy/default.nix +++ b/pkgs/development/python-modules/cherrypy/default.nix @@ -8,7 +8,6 @@ , objgraph , path , portend -, pyopenssl , pytest-forked , pytest-services , pytestCheckHook @@ -92,7 +91,6 @@ buildPythonPackage rec { json = [ simplejson ]; memcached_session = [ python-memcached ]; routes_dispatcher = [ routes ]; - ssl = [ pyopenssl ]; # not packaged yet xcgi = [ /* flup */ ]; }; From 259be5e98495b3ffcda862625e5901d2c8f5a559 Mon Sep 17 00:00:00 2001 From: linsui Date: Fri, 8 Jul 2022 13:44:55 +0800 Subject: [PATCH 095/701] httpretty: remove unused check deps and use pytest Co-authored-by: Sandro --- .../python-modules/httpretty/default.nix | 33 ++++++------------- 1 file changed, 10 insertions(+), 23 deletions(-) diff --git a/pkgs/development/python-modules/httpretty/default.nix b/pkgs/development/python-modules/httpretty/default.nix index 67ece594071c..a47d531e332b 100644 --- a/pkgs/development/python-modules/httpretty/default.nix +++ b/pkgs/development/python-modules/httpretty/default.nix @@ -1,19 +1,11 @@ { lib , buildPythonPackage , fetchPypi -, tornado -, requests -, httplib2 , sure -, nose -, nose-exclude -, coverage -, rednose -, nose-randomly , six -, mock , pytest , freezegun +, pytestCheckHook }: buildPythonPackage rec { @@ -31,25 +23,20 @@ buildPythonPackage rec { propagatedBuildInputs = [ six ]; - checkInputs = [ nose sure coverage mock rednose pytest - # Following not declared in setup.py - nose-randomly requests tornado httplib2 nose-exclude freezegun + checkInputs = [ + sure + freezegun + pytestCheckHook ]; - checkPhase = '' - nosetests tests/unit # functional tests cause trouble requiring /etc/protocol - ''; + disabledTestPaths = [ + "tests/bugfixes" + "tests/functional" + "tests/pyopenssl" + ]; __darwinAllowLocalNetworking = true; - # Those flaky tests are failing intermittently on all platforms - NOSE_EXCLUDE = lib.concatStringsSep "," [ - "tests.functional.test_httplib2.test_callback_response" - "tests.functional.test_requests.test_streaming_responses" - "tests.functional.test_httplib2.test_callback_response" - "tests.functional.test_requests.test_httpretty_should_allow_adding_and_overwritting_by_kwargs_u2" - ]; - meta = with lib; { homepage = "https://httpretty.readthedocs.org/"; description = "HTTP client request mocking tool"; From 05ccfd2c53826937700316ff7ddaf8924cc4eb16 Mon Sep 17 00:00:00 2001 From: linsui Date: Fri, 8 Jul 2022 13:45:38 +0800 Subject: [PATCH 096/701] requests-toolbelt: remove pyopenssl dep Co-authored-by: Sandro --- .../python-modules/requests-toolbelt/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/requests-toolbelt/default.nix b/pkgs/development/python-modules/requests-toolbelt/default.nix index 0417154a4a31..af6788d173fc 100644 --- a/pkgs/development/python-modules/requests-toolbelt/default.nix +++ b/pkgs/development/python-modules/requests-toolbelt/default.nix @@ -26,7 +26,6 @@ buildPythonPackage rec { checkInputs = [ betamax mock - pyopenssl pytestCheckHook ]; @@ -37,6 +36,16 @@ buildPythonPackage rec { url = "https://github.com/requests/toolbelt/commit/7188b06330e5260be20bce8cbcf0d5ae44e34eaf.patch"; sha256 = "sha256-pRkG77sNglG/KsRX6JaPgk4QxmmSBXypFRp/vNA3ot4="; }) + # Make pyopenssl optional + (fetchpatch { + url = "https://github.com/requests/toolbelt/commit/c7c1f8626b73e5715e6ecc1de0833fabdfd67323.patch"; + sha256 = "sha256-OhE3nyYyKKRHs9rCq8EJYebwaYyjWjbvbtL79MIMMRc="; + }) + # Make pyopenssl optional + (fetchpatch { + url = "https://github.com/requests/toolbelt/commit/2453f32f1c995e7b19294750a4177bc32326826e.patch"; + sha256 = "sha256-qmKHp+aVeazZt8X+sZeYfZCB56SE0OvFvWCXRZtkCew="; + }) ]; disabledTests = [ From 0e0fdbef578ab307b94e04afadecddacf843153c Mon Sep 17 00:00:00 2001 From: linsui Date: Fri, 8 Jul 2022 13:51:22 +0800 Subject: [PATCH 097/701] vscode-extensions.ms-python.python: 2022.0.1814523869 -> 2022.11.11881005 --- .../editors/vscode/extensions/default.nix | 4 +- .../vscode/extensions/python/default.nix | 144 ++++-------------- .../extensions/python/extract-nuget.nix | 15 -- 3 files changed, 28 insertions(+), 135 deletions(-) delete mode 100644 pkgs/applications/editors/vscode/extensions/python/extract-nuget.nix diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 551d898cdf56..fa8353459d3c 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -1709,9 +1709,7 @@ let }; }; - ms-python.python = callPackage ./python { - extractNuGet = callPackage ./python/extract-nuget.nix { }; - }; + ms-python.python = callPackage ./python { }; msjsdiag.debugger-for-chrome = buildVscodeMarketplaceExtension { mktplcRef = { diff --git a/pkgs/applications/editors/vscode/extensions/python/default.nix b/pkgs/applications/editors/vscode/extensions/python/default.nix index 6b1232016171..8ca353c8479a 100644 --- a/pkgs/applications/editors/vscode/extensions/python/default.nix +++ b/pkgs/applications/editors/vscode/extensions/python/default.nix @@ -1,134 +1,44 @@ -{ lib, stdenv, fetchurl, fetchpatch, vscode-utils, extractNuGet -, icu, curl, openssl, liburcu, lttng-ust, autoPatchelfHook -, python3, musl -, pythonUseFixed ? false # When `true`, the python default setting will be fixed to specified. - # Use version from `PATH` for default setting otherwise. - # Defaults to `false` as we expect it to be project specific most of the time. -, ctagsUseFixed ? true, ctags # When `true`, the ctags default setting will be fixed to specified. - # Use version from `PATH` for default setting otherwise. - # Defaults to `true` as usually not defined on a per projet basis. +{ lib +, vscode-utils +, icu +, python3 + # When `true`, the python default setting will be fixed to specified. + # Use version from `PATH` for default setting otherwise. + # Defaults to `false` as we expect it to be project specific most of the time. +, pythonUseFixed ? false }: -assert ctagsUseFixed -> null != ctags; - -let - liburcu-0-12 = liburcu.overrideAttrs (oldAttrs: rec { - version = "0.12.2"; - src = fetchurl { - url = "https://lttng.org/files/urcu/userspace-rcu-${version}.tar.bz2"; - sha256 = "0yx69kbx9zd6ayjzvwvglilhdnirq4f1x1sdv33jy8bc9wgc3vsf"; - }; - }); - - lttng-ust-2-10 = (lttng-ust.override { - liburcu = liburcu-0-12; - }).overrideAttrs (oldAttrs: rec { - version = "2.10.5"; - src = fetchurl { - url = "https://lttng.org/files/lttng-ust/lttng-ust-${version}.tar.bz2"; - sha256 = "0ddwk0nl28bkv2xb78gz16a2bvlpfbjmzwfbgwf5p1cq46dyvy86"; - }; - patches = (oldAttrs.patches or []) ++ [ - # Pull upstream fix for -fno-common toolchain. Without it build fails on - # upstream gcc-10 as: - # ld: libustsnprintf.a(libustsnprintf_la-core.o):snprintf/core.c:23: multiple definition of - # `ust_loglevel'; ustctl.o:liblttng-ust-ctl/ustctl.c:80: first defined here - (fetchpatch { - name = "fno-common.patch"; - url = "https://github.com/lttng/lttng-ust/commit/21a934df4c683e73e0a66a9afca33573fcf9d789.patch"; - sha256 = "122lw9rdmr80gmz7814235ibqs47c6pzvg0ryh01805x0cymx74z"; - }) - ]; - }); - - pythonDefaultsTo = if pythonUseFixed then "${python3}/bin/python" else "python"; - ctagsDefaultsTo = if ctagsUseFixed then "${ctags}/bin/ctags" else "ctags"; - - # The arch tag comes from 'PlatformName' defined here: - # https://github.com/Microsoft/vscode-python/blob/master/src/client/activation/types.ts - arch = - if stdenv.isLinux && stdenv.isx86_64 then "linux-x64" - else if stdenv.isDarwin then "osx-x64" - else throw "Only x86_64 Linux and Darwin are supported."; - - languageServerSha256 = { - linux-x64 = "1pmj5pb4xylx4gdx4zgmisn0si59qx51n2m1bh7clv29q6biw05n"; - osx-x64 = "0ishiy1z9dghj4ryh95vy8rw0v7q4birdga2zdb4a8am31wmp94b"; - }.${arch}; - - # version is languageServerVersion in the package.json - languageServer = extractNuGet rec { - name = "Python-Language-Server"; - version = "0.5.30"; - - src = fetchurl { - url = "https://pvsc.azureedge.net/python-language-server-stable/${name}-${arch}.${version}.nupkg"; - sha256 = languageServerSha256; - }; - }; -in vscode-utils.buildVscodeMarketplaceExtension rec { +vscode-utils.buildVscodeMarketplaceExtension { mktplcRef = { name = "python"; publisher = "ms-python"; - version = "2022.0.1814523869"; + version = "2022.11.11881005"; + sha256 = "sha256-8NH/aWIAwSpVRi3cvBCpvO8MVzIoRaXxADmWp6DuUb8="; }; - vsix = fetchurl { - name = "${mktplcRef.publisher}-${mktplcRef.name}.zip"; - url = "https://github.com/microsoft/vscode-python/releases/download/${mktplcRef.version}/ms-python-release.vsix"; - sha256 = "sha256-JDaimcOUDo9GuFA3mhbbGLwqZE9ejk8pWYc+9PrRhVk="; - }; + buildInputs = [ icu ]; - buildInputs = [ - icu - curl - openssl - ] ++ lib.optionals stdenv.isLinux [ - lttng-ust-2-10 - musl - ]; + nativeBuildInputs = [ python3.pkgs.wrapPython ]; - nativeBuildInputs = [ - python3.pkgs.wrapPython - ] ++ lib.optionals stdenv.isLinux [ - autoPatchelfHook - ]; - - pythonPath = with python3.pkgs; [ - setuptools + propagatedBuildInputs = with python3.pkgs; [ + debugpy + isort + jedi-language-server ]; postPatch = '' + # remove bundled python deps and use libs from nixpkgs + rm -r pythonFiles/lib + mkdir -p pythonFiles/lib/python/ + ln -s ${python3.pkgs.debugpy}/lib/*/site-packages/debugpy pythonFiles/lib/python/ + buildPythonPath "$propagatedBuildInputs" + for i in pythonFiles/*.py; do + patchPythonScript "$i" + done + '' + lib.optionalString pythonUseFixed '' # Patch `packages.json` so that nix's *python* is used as default value for `python.pythonPath`. substituteInPlace "./package.json" \ - --replace "\"default\": \"python\"" "\"default\": \"${pythonDefaultsTo}\"" - - # Patch `packages.json` so that nix's *ctags* is used as default value for `python.workspaceSymbols.ctagsPath`. - substituteInPlace "./package.json" \ - --replace "\"default\": \"ctags\"" "\"default\": \"${ctagsDefaultsTo}\"" - - # Similar cleanup to what's done in the `debugpy` python package. - # This prevent our autopatchelf logic to bark on unsupported binaries (`attach_x86.so` - # was problematic) but also should make our derivation less heavy. - ( - cd pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_attach_to_process - declare kept_aside="${{ - "x86_64-linux" = "attach_linux_amd64.so"; - "aarch64-darwin" = "attach_x86_64.dylib"; - "x86_64-darwin" = "attach_x86_64.dylib"; - }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}")}" - mv "$kept_aside" "$kept_aside.hidden" - rm *.so *.dylib *.dll *.exe *.pdb - mv "$kept_aside.hidden" "$kept_aside" - ) - ''; - - postInstall = '' - mkdir -p "$out/$installPrefix/languageServer.${languageServer.version}" - cp -R --no-preserve=ownership ${languageServer}/* "$out/$installPrefix/languageServer.${languageServer.version}" - chmod -R +wx "$out/$installPrefix/languageServer.${languageServer.version}" - - patchPythonScript "$out/$installPrefix/pythonFiles/lib/python/isort/main.py" + --replace "\"default\": \"python\"" "\"default\": \"${python3.interpreter}\"" ''; meta = with lib; { diff --git a/pkgs/applications/editors/vscode/extensions/python/extract-nuget.nix b/pkgs/applications/editors/vscode/extensions/python/extract-nuget.nix deleted file mode 100644 index 1e70cabe0358..000000000000 --- a/pkgs/applications/editors/vscode/extensions/python/extract-nuget.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ stdenv, unzip }: -{ name, version, src, ... }: - -stdenv.mkDerivation { - inherit name version src; - - nativeBuildInputs = [ unzip ]; - dontBuild = true; - unpackPhase = "unzip $src"; - installPhase = '' - mkdir -p "$out" - chmod -R +w . - find . -mindepth 1 -maxdepth 1 | xargs cp -a -t "$out" - ''; -} From ca32f8782e75c86a01a23d36bdd26e0cbefb0933 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 16 Jul 2022 01:58:31 +0200 Subject: [PATCH 098/701] python310Packages.rich: 12.4.4 -> 12.5.1 --- pkgs/development/python-modules/rich/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/rich/default.nix b/pkgs/development/python-modules/rich/default.nix index 805f3cf6e9a3..168915a4caf1 100644 --- a/pkgs/development/python-modules/rich/default.nix +++ b/pkgs/development/python-modules/rich/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonPackage , fetchFromGitHub , pythonOlder @@ -12,7 +13,7 @@ buildPythonPackage rec { pname = "rich"; - version = "12.4.4"; + version = "12.5.1"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -20,7 +21,7 @@ buildPythonPackage rec { owner = "Textualize"; repo = pname; rev = "v${version}"; - sha256 = "sha256-DW6cKJ5bXZdHGzgbYzTS+ryjy71dU9Lcy+egMXL30F8="; + sha256 = "sha256-FjzvFx+A4DS2XeKBZ2DGRqudvH22AUSQJnIxKs2O0AU="; }; nativeBuildInputs = [ poetry-core ]; @@ -38,12 +39,17 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTests = lib.optionals stdenv.isDarwin [ + # darwin console duplicates 3 of 4 lines + "test_rich_console_ex" + ]; + pythonImportsCheck = [ "rich" ]; meta = with lib; { description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal"; homepage = "https://github.com/Textualize/rich"; license = licenses.mit; - maintainers = with maintainers; [ ris ]; + maintainers = with maintainers; [ ris jyooru ]; }; } From a6f320529ce6c0a70b67e49a8cf286d028883483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 16 Jul 2022 02:33:05 +0200 Subject: [PATCH 099/701] python310Packages.jsonschema: 4.6.1 -> 4.7.2 --- pkgs/development/python-modules/jsonschema/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jsonschema/default.nix b/pkgs/development/python-modules/jsonschema/default.nix index 176334a0ed7e..944f35b96422 100644 --- a/pkgs/development/python-modules/jsonschema/default.nix +++ b/pkgs/development/python-modules/jsonschema/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "jsonschema"; - version = "4.6.1"; + version = "4.7.2"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-7CgC5qN1F/CdR9m6EHlHWJrh0l/1V7kl2DoyH8KqXTs="; + sha256 = "sha256-c3ZPRh1h65egV8kpNoYQoTTR0f/9hYrP6Ihk7pTx8dM="; }; postPatch = '' From a21497ad68c0920f89b8018addad5b85c0f3e34a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:55 +0200 Subject: [PATCH 100/701] python3Packages.absl-py: 1.0.0 -> 1.1.0 --- pkgs/development/python-modules/absl-py/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/absl-py/default.nix b/pkgs/development/python-modules/absl-py/default.nix index 60c3bcc4e9ce..402fab32f55a 100644 --- a/pkgs/development/python-modules/absl-py/default.nix +++ b/pkgs/development/python-modules/absl-py/default.nix @@ -8,11 +8,11 @@ buildPythonPackage rec { pname = "absl-py"; - version = "1.0.0"; + version = "1.1.0"; src = fetchPypi { inherit pname version; - sha256 = "ac511215c01ee9ae47b19716599e8ccfa746f2e18de72bdf641b79b22afa27ea"; + sha256 = "sha256-OqOfiYMpwhVv9SXfppznCeQtd6qxi/SRdxnW8mCqagg="; }; propagatedBuildInputs = [ From da0b2a52924c866e7f7a4cc6b5106c3000b0fb82 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:55 +0200 Subject: [PATCH 101/701] python3Packages.acoustics: 0.2.4.post0 -> 0.2.6 --- pkgs/development/python-modules/acoustics/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/acoustics/default.nix b/pkgs/development/python-modules/acoustics/default.nix index e888d1241a50..f81f382b956e 100644 --- a/pkgs/development/python-modules/acoustics/default.nix +++ b/pkgs/development/python-modules/acoustics/default.nix @@ -12,13 +12,13 @@ buildPythonPackage rec { pname = "acoustics"; - version = "0.2.4.post0"; + version = "0.2.6"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "a162625e5e70ed830fab8fab0ddcfe35333cb390cd24b0a827bcefc5bbcae97d"; + sha256 = "sha256-0CvMhCUc+i7dPiHH+IXdlj+OjFh/l1wvnU4dmxQrzFI="; }; propagatedBuildInputs = [ From c79efddf40b4a1a53de0f04ee8158966e2f9f3aa Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:55 +0200 Subject: [PATCH 102/701] python3Packages.aiohomekit: 0.7.20 -> 1.1.0 --- pkgs/development/python-modules/aiohomekit/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/aiohomekit/default.nix b/pkgs/development/python-modules/aiohomekit/default.nix index aa312fb7d0bf..cff17a065efe 100644 --- a/pkgs/development/python-modules/aiohomekit/default.nix +++ b/pkgs/development/python-modules/aiohomekit/default.nix @@ -1,5 +1,7 @@ { lib , buildPythonPackage +, aiocoap +, bleak , chacha20poly1305-reuseable , commentjson , cryptography @@ -13,16 +15,16 @@ buildPythonPackage rec { pname = "aiohomekit"; - version = "0.7.20"; + version = "1.1.0"; format = "pyproject"; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "Jc2k"; repo = pname; rev = "refs/tags/${version}"; - sha256 = "sha256-g7N+CIBJCMnW4FjN502SahhSpPS1p7AXZvduteHu+Z4="; + sha256 = "sha256-tHCkWNWcEsxoznaB8nysEMSx8g6cceNFP+gVB2jqG9g="; }; nativeBuildInputs = [ @@ -30,6 +32,8 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ + aiocoap + bleak chacha20poly1305-reuseable commentjson cryptography From 8afd6cd6e822f0b0d5a9ee1eae314db16d19d16f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:55 +0200 Subject: [PATCH 103/701] python3Packages.aiounittest: 1.4.1 -> 1.4.2 --- pkgs/development/python-modules/aiounittest/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/aiounittest/default.nix b/pkgs/development/python-modules/aiounittest/default.nix index 6b736b416ee9..d2f9ad916904 100644 --- a/pkgs/development/python-modules/aiounittest/default.nix +++ b/pkgs/development/python-modules/aiounittest/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "aiounittest"; - version = "1.4.1"; + version = "1.4.2"; disabled = isPy27; src = fetchFromGitHub { owner = "kwarunek"; repo = pname; - rev = version; - sha256 = "sha256-FixGF1JLJVqTgLaWugbeu8f+SDjpHSdSLoGklYBup4M="; + rev = "refs/tags/${version}"; + sha256 = "sha256-7lDOI1SHPpRZLTHRTmfbKlZH18T73poJdFyVmb+HKms="; }; propagatedBuildInputs = [ From cbcac3a1a2536b6811413c96fae8fba2fd18d9a4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:56 +0200 Subject: [PATCH 104/701] python3Packages.alembic: 1.7.7 -> 1.8.1 --- pkgs/development/python-modules/alembic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/alembic/default.nix b/pkgs/development/python-modules/alembic/default.nix index ea8f4d4d1318..aefe80a3b0b3 100644 --- a/pkgs/development/python-modules/alembic/default.nix +++ b/pkgs/development/python-modules/alembic/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "alembic"; - version = "1.7.7"; + version = "1.8.1"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-SWEkgXPq186KIe+z3jePE7g5jmYw+rDrJY3HSoryTFg="; + sha256 = "sha256-zQteRbFLcGQmuDPwY2m5ptXuA/gm7DI4cjzoyq9uX/o="; }; propagatedBuildInputs = [ From fc76fdd0f378b48bceba18b5af2a2ef6c5b3a8b6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:56 +0200 Subject: [PATCH 105/701] python3Packages.amazon-ion: 0.9.1 -> 0.9.2 --- .../python-modules/amazon-ion/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/amazon-ion/default.nix b/pkgs/development/python-modules/amazon-ion/default.nix index e8e63f41b62e..0e97eda4701f 100644 --- a/pkgs/development/python-modules/amazon-ion/default.nix +++ b/pkgs/development/python-modules/amazon-ion/default.nix @@ -1,6 +1,6 @@ { lib , buildPythonPackage -, fetchPypi +, fetchFromGitHub , jsonconversion , six , pytestCheckHook @@ -9,15 +9,18 @@ buildPythonPackage rec { pname = "amazon-ion"; - version = "0.9.1"; + version = "0.9.2"; format = "setuptools"; disabled = pythonOlder "3.7"; - src = fetchPypi { - pname = "amazon.ion"; - inherit version; - hash = "sha256-Moq1e7LmI0L7DHg6UNYvseEDbqdL23aCwL38wDm3yCA="; + # test vectors require git submodule + src = fetchFromGitHub { + owner = "amzn"; + repo = "ion-python"; + rev = "v${version}"; + fetchSubmodules = true; + hash = "sha256-BLlKxm63KsmMFajS4uJne/LPNXboOfy4uVm8HqO9Wfo="; }; postPatch = '' From 94244738319fca5077616115b32a433d53ca5e25 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:56 +0200 Subject: [PATCH 106/701] python3Packages.ansi2html: 1.7.0 -> 1.8.0 --- pkgs/development/python-modules/ansi2html/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ansi2html/default.nix b/pkgs/development/python-modules/ansi2html/default.nix index 1f45968974cb..6489832c43a9 100644 --- a/pkgs/development/python-modules/ansi2html/default.nix +++ b/pkgs/development/python-modules/ansi2html/default.nix @@ -2,14 +2,14 @@ buildPythonPackage rec { pname = "ansi2html"; - version = "1.7.0"; + version = "1.8.0"; format = "pyproject"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "sha256-aTFr6MaKyRxVgtOXwokOacmTzHzaUgYqx+Rfy2YNjtw="; + sha256 = "sha256-OLgqKYSCofomE/D5yb6z23Ko+DLurFjrLke/Ms039tU="; }; nativeBuildInputs = [ setuptools-scm ]; From 030dc026e832c1e14ba98844ae83670962b0079f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:56 +0200 Subject: [PATCH 107/701] python3Packages.ansible-doctor: 1.4.0 -> 1.4.1 --- pkgs/development/python-modules/ansible-doctor/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/ansible-doctor/default.nix b/pkgs/development/python-modules/ansible-doctor/default.nix index b70521d3d79c..bf5021556521 100644 --- a/pkgs/development/python-modules/ansible-doctor/default.nix +++ b/pkgs/development/python-modules/ansible-doctor/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "ansible-doctor"; - version = "1.4.0"; + version = "1.4.1"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -25,8 +25,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "thegeeklab"; repo = "ansible-doctor"; - rev = "v${version}"; - hash = "sha256-onRur31Sa95nsXUYFJdAHySm4nIXqP01nT70IFPwLCo="; + rev = "refs/tags/v${version}"; + hash = "sha256-kfBEV3PXU+C7FD9xiBMvdamb3b2KXp+Qi23/xUnoXHM="; }; nativeBuildInputs = [ From 65904b4f7ed4d08888c0ac14691ee4c899687e63 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:56 +0200 Subject: [PATCH 108/701] python3Packages.ansible-later: 2.0.14 -> 2.0.16 --- pkgs/development/python-modules/ansible-later/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ansible-later/default.nix b/pkgs/development/python-modules/ansible-later/default.nix index 5e7f717634a2..757289391ae9 100644 --- a/pkgs/development/python-modules/ansible-later/default.nix +++ b/pkgs/development/python-modules/ansible-later/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "ansible-later"; - version = "2.0.14"; + version = "2.0.16"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "thegeeklab"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-iY+5p6LNrlCTGi61cm2DJdyt8SmAwYqKmXNXescjAVQ="; + hash = "sha256-AlLy8rqqNrJtoI01OHq8W1Oi8iN8RiBdtq2sZ7zlTyM="; }; nativeBuildInputs = [ From 7c5b10841f0d714bbe63cadd7945a869e00e2c78 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:56 +0200 Subject: [PATCH 109/701] python3Packages.ansible-runner: 2.1.3 -> 2.2.1 --- pkgs/development/python-modules/ansible-runner/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ansible-runner/default.nix b/pkgs/development/python-modules/ansible-runner/default.nix index ded3205f47b6..fcff683c1def 100644 --- a/pkgs/development/python-modules/ansible-runner/default.nix +++ b/pkgs/development/python-modules/ansible-runner/default.nix @@ -19,12 +19,12 @@ buildPythonPackage rec { pname = "ansible-runner"; - version = "2.1.3"; + version = "2.2.1"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-2m5dD+gGDL5LnY7QbDYiGdu4GYu0C49WU29GZY2bnBo="; + hash = "sha256-zZtssRdAEbTi4KWZPU0E2SjN5f4iqJk67UQ4STOHwYI="; }; nativeBuildInputs = [ From 5c46e00eb7d89e26b17d68dae268a20c1d9aa076 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:56 +0200 Subject: [PATCH 110/701] python3Packages.anyascii: 0.3.0 -> 0.3.1 --- pkgs/development/python-modules/anyascii/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/anyascii/default.nix b/pkgs/development/python-modules/anyascii/default.nix index b03b59d339ed..b34a711f6a9e 100644 --- a/pkgs/development/python-modules/anyascii/default.nix +++ b/pkgs/development/python-modules/anyascii/default.nix @@ -7,13 +7,13 @@ buildPythonPackage rec { pname = "anyascii"; - version = "0.3.0"; + version = "0.3.1"; format = "setuptools"; disabled = pythonOlder "3.3"; src = fetchPypi { inherit pname version; - sha256 = "sha256-JPJ0Mftkxsk6MxJftm+MugB6UmK8H6q+r+2l9LtwtZM="; + sha256 = "sha256-3t9XcoIG4obJHu18dZUFpeRcjNATZ91Awvcki7FcEfY="; }; checkInputs = [ From a70989643dc4071bad529c538ba4ee06f4f461e4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:56 +0200 Subject: [PATCH 111/701] python3Packages.apache-airflow: 2.2.4 -> 2.3.3 --- pkgs/development/python-modules/apache-airflow/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/apache-airflow/default.nix b/pkgs/development/python-modules/apache-airflow/default.nix index 9a3bb02a5c44..d6257e537bd5 100644 --- a/pkgs/development/python-modules/apache-airflow/default.nix +++ b/pkgs/development/python-modules/apache-airflow/default.nix @@ -65,13 +65,13 @@ , mkYarnPackage }: let - version = "2.2.4"; + version = "2.3.3"; airflow-src = fetchFromGitHub rec { owner = "apache"; repo = "airflow"; - rev = version; - sha256 = "sha256-JCcEgCq1sB8lBaeJy7QQbWU00sGAh5vUmJAptF8M9qo="; + rev = "refs/tags/${version}"; + sha256 = "sha256-N+6ljfSo6+UvSAnvDav6G0S49JZ1VJwxmaiKPV3/DjA="; }; # airflow bundles a web interface, which is built using webpack by an undocumented shell script in airflow's source tree. From 3bfa89f878a5011a2f664d9d8f5360fb16ff0c0f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:56 +0200 Subject: [PATCH 112/701] python3Packages.apipkg: 2.1.1 -> 3.0.1 --- .../python-modules/apipkg/default.nix | 58 ++++++++++--------- 1 file changed, 32 insertions(+), 26 deletions(-) diff --git a/pkgs/development/python-modules/apipkg/default.nix b/pkgs/development/python-modules/apipkg/default.nix index 1b6528ab3009..3179f9be6f3a 100644 --- a/pkgs/development/python-modules/apipkg/default.nix +++ b/pkgs/development/python-modules/apipkg/default.nix @@ -1,41 +1,47 @@ -{ lib, buildPythonPackage, fetchPypi -, pytest, setuptools-scm, isPy3k }: +{ lib +, buildPythonPackage +, fetchFromGitHub +, hatch-vcs +, hatchling +, pytestCheckHook +}: buildPythonPackage rec { pname = "apipkg"; - version = "2.1.1"; + version = "3.0.1"; + format = "pyproject"; - src = fetchPypi { - inherit pname version; - sha256 = "sha256-zKNAIkFKE5duM6HjjWoJBWfve2jQNy+SPGmaj4wIivw="; + src = fetchFromGitHub { + owner = "pytest-dev"; + repo = pname; + rev = "v${version}"; + hash = "sha256-gf84SzfuKLGYfI88IzPRJCqMZWwowUR10FgIbwXjwuY="; }; - nativeBuildInputs = [ setuptools-scm ]; - checkInputs = [ pytest ]; + SETUPTOOLS_SCM_PRETEND_VERSION = version; - # Fix pytest 4 support. See: https://github.com/pytest-dev/apipkg/issues/14 - postPatch = '' - substituteInPlace "test_apipkg.py" \ - --replace "py.test.ensuretemp('test_apipkg')" "py.path.local('test_apipkg')" - ''; + nativeBuildInputs = [ + hatch-vcs + hatchling + ]; - # Failing tests on Python 3 - # https://github.com/pytest-dev/apipkg/issues/17 - checkPhase = let - disabledTests = lib.optionals isPy3k [ - "test_error_loading_one_element" - "test_aliasmodule_proxy_methods" - "test_eagerload_on_bython" - ]; - testExpression = lib.optionalString (disabledTests != []) - "-k 'not ${lib.concatStringsSep " and not " disabledTests}'"; - in '' - py.test ${testExpression} - ''; + checkInputs = [ + pytestCheckHook + ]; + + pytestFlagsArray = [ + "test_apipkg.py" + ]; + + pythonImportsCheck = [ + "apipkg" + ]; meta = with lib; { + changelog = "https://github.com/pytest-dev/apipkg/blob/main/CHANGELOG"; description = "Namespace control and lazy-import mechanism"; homepage = "https://github.com/pytest-dev/apipkg"; license = licenses.mit; + maintainers = with maintainers; [ ]; }; } From dab05809030737be12ab919fd500cc6a65c120e8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:56 +0200 Subject: [PATCH 113/701] python3Packages.appnope: 0.1.2 -> 0.1.3 --- pkgs/development/python-modules/appnope/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/appnope/default.nix b/pkgs/development/python-modules/appnope/default.nix index e4f1262a6c60..b83b1b54bb80 100644 --- a/pkgs/development/python-modules/appnope/default.nix +++ b/pkgs/development/python-modules/appnope/default.nix @@ -5,11 +5,11 @@ buildPythonPackage rec { pname = "appnope"; - version = "0.1.2"; + version = "0.1.3"; src = fetchPypi { inherit pname version; - sha256 = "dd83cd4b5b460958838f6eb3000c660b1f9caf2a5b1de4264e941512f603258a"; + sha256 = "sha256-Ar2RxN6Gn7seHFCq/ECYgnp6VKsvOdncumyVR+2SDiQ="; }; meta = { From 252527436da8ee36dd06e096e1e28eca93a0ebe6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:57 +0200 Subject: [PATCH 114/701] python3Packages.apsw: 3.38.1-r1 -> 3.38.5-r1 --- pkgs/development/python-modules/apsw/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/apsw/default.nix b/pkgs/development/python-modules/apsw/default.nix index dda3fe6a6836..e4b4a94bf832 100644 --- a/pkgs/development/python-modules/apsw/default.nix +++ b/pkgs/development/python-modules/apsw/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "apsw"; - version = "3.38.1-r1"; + version = "3.38.5-r1"; format = "setuptools"; disabled = isPyPy; @@ -17,8 +17,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "rogerbinns"; repo = "apsw"; - rev = version; - hash = "sha256-pbb6wCu1T1mPlgoydB1Y1AKv+kToGkdVUjiom2vTqf4="; + rev = "refs/tags/${version}"; + hash = "sha256-pPviSrONGgWZUREMENPt34bpHggR00Kl6DrB40JWm+w="; }; buildInputs = [ From 75354a0e9e3de3df6ca6067c5400a3247dbaf33f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:57 +0200 Subject: [PATCH 115/701] python3Packages.astropy: 5.0.3 -> 5.1 --- pkgs/development/python-modules/astropy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/astropy/default.nix b/pkgs/development/python-modules/astropy/default.nix index 56d0cc766ad0..fbf40096daef 100644 --- a/pkgs/development/python-modules/astropy/default.nix +++ b/pkgs/development/python-modules/astropy/default.nix @@ -19,7 +19,7 @@ let pname = "astropy"; - version = "5.0.3"; + version = "5.1"; in buildPythonPackage { inherit pname version; @@ -29,7 +29,7 @@ buildPythonPackage { src = fetchPypi { inherit pname version; - sha256 = "sha256-GxZOxV63HH8Pil8zVDOcWkLWEpg1ayFOT7n/JWqGgUc="; + sha256 = "sha256-HbGyx+3fx3PKZvozvQeyXVucO17uK5NODKJ3+lsbe34="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; From d94ac1de1cca662a87af2dbb1170c25ca068208a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:57 +0200 Subject: [PATCH 116/701] python3Packages.asyncpg: 0.25.0 -> 0.26.0 --- pkgs/development/python-modules/asyncpg/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/asyncpg/default.nix b/pkgs/development/python-modules/asyncpg/default.nix index 7d28810380f0..0a3ef8f119e0 100644 --- a/pkgs/development/python-modules/asyncpg/default.nix +++ b/pkgs/development/python-modules/asyncpg/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "asyncpg"; - version = "0.25.0"; + version = "0.26.0"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-Y/jmppczsoVJfChVRko03mV/LMzSWurutQcYcuk4JUA="; + hash = "sha256-d+aEok/uF7o+SHypgtAlntF7rhr2gAb0zyhLI7og6iw="; }; checkInputs = [ From 479ff1e9d5df00c3268abe0b2b197d3470a2afec Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:57 +0200 Subject: [PATCH 117/701] python3Packages.atenpdu: 0.3.3 -> 0.3.4 --- pkgs/development/python-modules/atenpdu/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/atenpdu/default.nix b/pkgs/development/python-modules/atenpdu/default.nix index 4eed27b3cfd5..d2f4cc0af8ce 100644 --- a/pkgs/development/python-modules/atenpdu/default.nix +++ b/pkgs/development/python-modules/atenpdu/default.nix @@ -6,11 +6,11 @@ buildPythonPackage rec { pname = "atenpdu"; - version = "0.3.3"; + version = "0.3.4"; src = fetchPypi { inherit pname version; - sha256 = "sha256-/duY1hS+RU/UAdcQoHF1+c99XaN74jj/0Hj/86U0kmo="; + sha256 = "sha256-vvq8InmJUgvm/PpvZutpsBR3Fj1gR+xrkgfEGlw04Ek="; }; propagatedBuildInputs = [ pysnmp ]; From 4abaa07e13ae746a77efe54f7aa935df1c71cbe8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:57 +0200 Subject: [PATCH 118/701] python3Packages.atomicwrites: 1.4.0 -> 1.4.1 --- pkgs/development/python-modules/atomicwrites/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/atomicwrites/default.nix b/pkgs/development/python-modules/atomicwrites/default.nix index 5335c044cd27..dbf094d54bc0 100644 --- a/pkgs/development/python-modules/atomicwrites/default.nix +++ b/pkgs/development/python-modules/atomicwrites/default.nix @@ -2,11 +2,11 @@ buildPythonPackage rec { pname = "atomicwrites"; - version = "1.4.0"; + version = "1.4.1"; src = fetchPypi { inherit pname version; - sha256 = "ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a"; + sha256 = "sha256-gbLJBxpJNnp/dwFw5e7Iy2ZWfPu8jHPSDOXKSo1xzxE="; }; # Tests depend on pytest but atomicwrites is a dependency of pytest From 3dec3ae3c756c2b0fcdd29294e77bbfb1c903064 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:57 +0200 Subject: [PATCH 119/701] python3Packages.auth0-python: 3.22.0 -> 3.23.1 --- pkgs/development/python-modules/auth0-python/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/auth0-python/default.nix b/pkgs/development/python-modules/auth0-python/default.nix index c6886dc8bed7..7aa062be6c95 100644 --- a/pkgs/development/python-modules/auth0-python/default.nix +++ b/pkgs/development/python-modules/auth0-python/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "auth0-python"; - version = "3.22.0"; + version = "3.23.1"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-05yJbF6eXz+vJx+plY5gqzRRYL2SjDnF7gSfX6WIS4E="; + sha256 = "sha256-sXEWg6zrwMs8pCSloJtLL3o7ZAXTTiMXEgI7sDaogr4="; }; propagatedBuildInputs = [ From 44733cf01c6d27425ed7aa58121fc5fe3d3cf17c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:57 +0200 Subject: [PATCH 120/701] python3Packages.authlib: 0.15.5 -> 1.0.1 --- pkgs/development/python-modules/authlib/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/authlib/default.nix b/pkgs/development/python-modules/authlib/default.nix index c55a6e412730..c023c8d6920f 100644 --- a/pkgs/development/python-modules/authlib/default.nix +++ b/pkgs/development/python-modules/authlib/default.nix @@ -8,14 +8,14 @@ }: buildPythonPackage rec { - version = "0.15.5"; + version = "1.0.1"; pname = "authlib"; src = fetchFromGitHub { owner = "lepture"; repo = "authlib"; - rev = "v${version}"; - sha256 = "1893mkzrlfxpxrgv10y134y8c3ni5hb0qvb0wsc76d2k4mci5j3n"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-2uzb3rhEDMgH2QZ0yUdI1c4qLJT5XIDmOV/1mV/5lnc="; }; propagatedBuildInputs = [ cryptography requests ]; From 2e5f80c6f856269286eafcc2173dee478282c363 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:57 +0200 Subject: [PATCH 121/701] python3Packages.autobahn: 22.5.1 -> 22.6.1 --- pkgs/development/python-modules/autobahn/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/autobahn/default.nix b/pkgs/development/python-modules/autobahn/default.nix index 10925ebac25e..57e09385f8a6 100644 --- a/pkgs/development/python-modules/autobahn/default.nix +++ b/pkgs/development/python-modules/autobahn/default.nix @@ -48,14 +48,14 @@ buildPythonPackage rec { pname = "autobahn"; - version = "22.5.1"; + version = "22.6.1"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-NKpVabC0QZ+MJ3eSxgDcJRjEkwkox04iee+LiNi4o+o="; + sha256 = "sha256-+2PpRtXC3Q32gIUehOZWJKSUzofJmfKklE5PLYG/RJg="; }; postPatch = '' From 0e92dcedcefaf73d53e66ccd06eee329018688bb Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:57 +0200 Subject: [PATCH 122/701] python3Packages.awscrt: 0.13.13 -> 0.13.14 --- pkgs/development/python-modules/awscrt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/awscrt/default.nix b/pkgs/development/python-modules/awscrt/default.nix index 13d57c6f85e8..ef179d27f0bd 100644 --- a/pkgs/development/python-modules/awscrt/default.nix +++ b/pkgs/development/python-modules/awscrt/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "awscrt"; - version = "0.13.13"; + version = "0.13.14"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-4kCn5tydt56L22UvWQvhLcLVr31UH+oMfdjhtL9U/eI="; + hash = "sha256-K2x0Up3H6kIWcYeWvVegd1CkTjq8RoM0AOm0SX5u6wQ="; }; buildInputs = lib.optionals stdenv.isDarwin [ From 0b7ef2dcbd6db3b6a9b7aefaa8e9fabd4efab677 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:58 +0200 Subject: [PATCH 123/701] python3Packages.aws-sam-translator: 1.46.0 -> 1.47.0 --- .../python-modules/aws-sam-translator/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/aws-sam-translator/default.nix b/pkgs/development/python-modules/aws-sam-translator/default.nix index 1f0a38584d5a..edd0e9426506 100644 --- a/pkgs/development/python-modules/aws-sam-translator/default.nix +++ b/pkgs/development/python-modules/aws-sam-translator/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "aws-sam-translator"; - version = "1.46.0"; + version = "1.47.0"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -22,8 +22,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "aws"; repo = "serverless-application-model"; - rev = "v${version}"; - sha256 = "sha256-SLGxpRbTuK+Lxww45dfHIMwwxV5vhlnYyG4WqG45aNg="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-FYEJ+mMxb8+OXUVeyLbAqOnujNi/wNhvAl4Lh4ZeE0I="; }; propagatedBuildInputs = [ From 42389b3827853ff283e869ff003abbadebb1f8c6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:58 +0200 Subject: [PATCH 124/701] python3Packages.aws-xray-sdk: 2.9.0 -> 2.10.0 --- pkgs/development/python-modules/aws-xray-sdk/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aws-xray-sdk/default.nix b/pkgs/development/python-modules/aws-xray-sdk/default.nix index 7a9722be28ce..fd8ed21cd085 100644 --- a/pkgs/development/python-modules/aws-xray-sdk/default.nix +++ b/pkgs/development/python-modules/aws-xray-sdk/default.nix @@ -12,11 +12,11 @@ buildPythonPackage rec { pname = "aws-xray-sdk"; - version = "2.9.0"; + version = "2.10.0"; src = fetchPypi { inherit pname version; - sha256 = "b0cd972db218d4d8f7b53ad806fc6184626b924c4997ae58fc9f2a8cd1281568"; + sha256 = "sha256-mxSST9BijPkpNgVYZGVTVAA/CxrMPhw//eZAPQeZ3Xo="; }; propagatedBuildInputs = [ From a4d9a1867c72335974505af5528bc54a991a1478 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:58 +0200 Subject: [PATCH 125/701] python3Packages.azure-mgmt-appconfiguration: 2.0.0 -> 2.1.0 --- .../python-modules/azure-mgmt-appconfiguration/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-appconfiguration/default.nix b/pkgs/development/python-modules/azure-mgmt-appconfiguration/default.nix index 45147a94b2ab..650b54c9dd15 100644 --- a/pkgs/development/python-modules/azure-mgmt-appconfiguration/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-appconfiguration/default.nix @@ -6,13 +6,13 @@ }: buildPythonPackage rec { - version = "2.0.0"; + version = "2.1.0"; pname = "azure-mgmt-appconfiguration"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "97e990ec6a5a3acafc7fc1add8ff1a160ebb2052792931352fd7cf1d90f1f956"; + sha256 = "sha256-6s3KfWOlzkoq7uxuDbFMYmW22rOYHtgQgYQ6RMFQiQ8="; extension = "zip"; }; From cd58438d1067ff77f221bccde48e2f5fc0cdf1bb Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:58 +0200 Subject: [PATCH 126/701] python3Packages.azure-mgmt-compute: 27.1.0 -> 27.2.0 --- .../development/python-modules/azure-mgmt-compute/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-compute/default.nix b/pkgs/development/python-modules/azure-mgmt-compute/default.nix index 400ed795aeaf..6c0f36d92eee 100644 --- a/pkgs/development/python-modules/azure-mgmt-compute/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-compute/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "azure-mgmt-compute"; - version = "27.1.0"; + version = "27.2.0"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; extension = "zip"; - hash = "sha256-ixTWYs1hecmvuXrMbW1hXFsH9/nd7HjPUMSl3seXy7E="; + hash = "sha256-5caVUxZvt+7L/1LDfcD/SiUwvFVF1KXdS6mDIVrSKJ0="; }; propagatedBuildInputs = [ From 6bc4b5745273d03fa75f7d7ca2485cf1fbd63341 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:58 +0200 Subject: [PATCH 127/701] python3Packages.azure-mgmt-consumption: 9.0.0 -> 10.0.0 --- .../python-modules/azure-mgmt-consumption/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-consumption/default.nix b/pkgs/development/python-modules/azure-mgmt-consumption/default.nix index aa9d27e680ef..0f8adb56ad34 100644 --- a/pkgs/development/python-modules/azure-mgmt-consumption/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-consumption/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "azure-mgmt-consumption"; - version = "9.0.0"; + version = "10.0.0"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "76f9566390721226add96c9d3020ab986d3e5fd81e3143c098f57262c6ce4a51"; + sha256 = "sha256-BqCGQ2wXN/d6uGiU1R9Zc7bg+l7fVlWOTCllieurkTA="; }; propagatedBuildInputs = [ From c6a86180e5f2613178c6513646f4dac66ebfae05 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:58 +0200 Subject: [PATCH 128/701] python3Packages.azure-mgmt-core: 1.3.0 -> 1.3.1 --- pkgs/development/python-modules/azure-mgmt-core/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-core/default.nix b/pkgs/development/python-modules/azure-mgmt-core/default.nix index 0a65dbfb7ec8..2a4b00432f19 100644 --- a/pkgs/development/python-modules/azure-mgmt-core/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-core/default.nix @@ -6,13 +6,13 @@ }: buildPythonPackage rec { - version = "1.3.0"; + version = "1.3.1"; pname = "azure-mgmt-core"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "3ffb7352b39e5495dccc2d2b47254f4d82747aff4735e8bf3267c335b0c9bb40"; + sha256 = "sha256-yJ6/GMInvJih7sypVGC4p+IwWQ1FbI+pwtWs3GcPeAg="; }; propagatedBuildInputs = [ From d0178e5bf9b55c8192a457f6294971aa6a1f50e1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:58 +0200 Subject: [PATCH 129/701] python3Packages.azure-mgmt-datafactory: 2.6.0 -> 2.7.0 --- .../python-modules/azure-mgmt-datafactory/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-datafactory/default.nix b/pkgs/development/python-modules/azure-mgmt-datafactory/default.nix index 9f05ce07d78e..c6907efc9977 100644 --- a/pkgs/development/python-modules/azure-mgmt-datafactory/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-datafactory/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "azure-mgmt-datafactory"; - version = "2.6.0"; + version = "2.7.0"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; extension = "zip"; - hash = "sha256-mvZw+GOnOuDNDb4k8PY38IHBvSekYCDdIGUcGCJwWss="; + hash = "sha256-g7av5MFy4QNg+81PqDGznHXUZsHhnaauaJV/B6GMy4A="; }; propagatedBuildInputs = [ From 717a0f1a7fabd251ea2d9d353c7aa95b3656ee55 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:58 +0200 Subject: [PATCH 130/701] python3Packages.azure-mgmt-extendedlocation: 1.0.0 -> 1.1.0 --- .../python-modules/azure-mgmt-extendedlocation/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-extendedlocation/default.nix b/pkgs/development/python-modules/azure-mgmt-extendedlocation/default.nix index 40e5cbab3bf2..32e4bc0ebb75 100644 --- a/pkgs/development/python-modules/azure-mgmt-extendedlocation/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-extendedlocation/default.nix @@ -6,12 +6,12 @@ buildPythonPackage rec { pname = "azure-mgmt-extendedlocation"; - version = "1.0.0"; + version = "1.1.0"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "e2388407dc27b93dec3314bfa64210d3514b98a4f961c410321fb4292b9b3e9a"; + sha256 = "sha256-jRo6EFP8Dg3i9U8HLfjED9QFfWbdg+X3o9PSf4eus9o="; }; propagatedBuildInputs = [ From 16b650042445106ac2d2014a813daefed302a2bf Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:58 +0200 Subject: [PATCH 131/701] python3Packages.azure-mgmt-imagebuilder: 1.0.0 -> 1.1.0 --- .../python-modules/azure-mgmt-imagebuilder/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-imagebuilder/default.nix b/pkgs/development/python-modules/azure-mgmt-imagebuilder/default.nix index 005f5ca8f0c0..b00b49694328 100644 --- a/pkgs/development/python-modules/azure-mgmt-imagebuilder/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-imagebuilder/default.nix @@ -6,13 +6,13 @@ }: buildPythonPackage rec { - version = "1.0.0"; + version = "1.1.0"; pname = "azure-mgmt-imagebuilder"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "634e398de9a23e712aa27a4a59f9ea5d5091d1dfcfed5ac977230918872c4430"; + sha256 = "sha256-2EWfTsl5y3Sw4P8d5X7TKxYmO4PagUTNv/SFKdjY2Ss="; extension = "zip"; }; From 9b292eb50de20bf89fa21632b4518ee367d688cf Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:58 +0200 Subject: [PATCH 132/701] python3Packages.azure-mgmt-media: 9.0.0 -> 10.0.0 --- pkgs/development/python-modules/azure-mgmt-media/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-media/default.nix b/pkgs/development/python-modules/azure-mgmt-media/default.nix index eb1bed0b547d..57ccffcf997f 100644 --- a/pkgs/development/python-modules/azure-mgmt-media/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-media/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "azure-mgmt-media"; - version = "9.0.0"; + version = "10.0.0"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; extension = "zip"; - hash = "sha256-TI7l8sSQ2QUgPqiE3Cu/F67Wna+KHbQS3fuIjOb95ZM="; + hash = "sha256-KKUeibEAUqKsjjjqpzYBFaQUGniY3rbe+lfCnL0+lpY="; }; propagatedBuildInputs = [ From 64582d0d9d560c95138e3ad1f434f46336f4d0b6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:59 +0200 Subject: [PATCH 133/701] python3Packages.azure-mgmt-msi: 6.0.1 -> 6.1.0 --- pkgs/development/python-modules/azure-mgmt-msi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-msi/default.nix b/pkgs/development/python-modules/azure-mgmt-msi/default.nix index d36a1b985c71..45a57d1c68a0 100644 --- a/pkgs/development/python-modules/azure-mgmt-msi/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-msi/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "azure-mgmt-msi"; - version = "6.0.1"; + version = "6.1.0"; disabled = pythonOlder "3.6"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "sha256-PPkQmUoBkJ8Su7h9G2/t8dVy/PT3uCYZjlf70fnY2vU="; + sha256 = "sha256-lS8da3Al1z1pMLDBf6ZtWc1UFUVgkN1qpKTxt4VXdlQ="; }; propagatedBuildInputs = [ From 23a1652a3da61630be06fdb4b7585beaa465c930 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:59 +0200 Subject: [PATCH 134/701] python3Packages.azure-mgmt-web: 6.1.0 -> 7.0.0 --- pkgs/development/python-modules/azure-mgmt-web/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-web/default.nix b/pkgs/development/python-modules/azure-mgmt-web/default.nix index cd19e88e9bd0..ddaa89d916eb 100644 --- a/pkgs/development/python-modules/azure-mgmt-web/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-web/default.nix @@ -11,12 +11,12 @@ buildPythonPackage rec { pname = "azure-mgmt-web"; - version = "6.1.0"; + version = "7.0.0"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "c26635089276515b0488fcf014aab50a0446f54800c6e0e5583cc493ac8d738f"; + sha256 = "sha256-WvyNgfiliEt6qawqy8Le8eifhxusMkoZbf6YcyY1SBA="; }; propagatedBuildInputs = [ From ddea87095e9b7b2137985579f84cd93c9175b166 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:59 +0200 Subject: [PATCH 135/701] python3Packages.b2sdk: 1.14.1 -> 1.17.3 --- pkgs/development/python-modules/b2sdk/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/b2sdk/default.nix b/pkgs/development/python-modules/b2sdk/default.nix index 2adc8b784f10..5c3c8c8c682c 100644 --- a/pkgs/development/python-modules/b2sdk/default.nix +++ b/pkgs/development/python-modules/b2sdk/default.nix @@ -4,6 +4,7 @@ , fetchPypi , importlib-metadata , logfury +, pyfakefs , pytestCheckHook , pytest-lazy-fixture , pytest-mock @@ -15,14 +16,14 @@ buildPythonPackage rec { pname = "b2sdk"; - version = "1.14.1"; + version = "1.17.3"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-fYOeyhKm9mRT61NcQVaXFKeRC8AS9lfIZMO/s6iFaeg="; + hash = "sha256-pyPjjdQ8wzvQitlchGlfNTPwqs0PH6xgplSPUWpjtwM="; }; nativeBuildInputs = [ @@ -42,6 +43,7 @@ buildPythonPackage rec { pytestCheckHook pytest-lazy-fixture pytest-mock + pyfakefs ]; postPatch = '' @@ -51,6 +53,11 @@ buildPythonPackage rec { --replace 'arrow>=0.8.0,<1.0.0' 'arrow' ''; + disabledTestPaths = [ + # requires aws s3 auth + "test/integration/test_download.py" + ]; + disabledTests = [ # Test requires an API key "test_raw_api" From a82e28f1b5a6f761645da122235d2298b80257ee Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:59 +0200 Subject: [PATCH 136/701] python3Packages.backoff: 1.11.1 -> 2.1.2 --- pkgs/development/python-modules/backoff/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/backoff/default.nix b/pkgs/development/python-modules/backoff/default.nix index c7d1d5373fb1..9671b7b5a267 100644 --- a/pkgs/development/python-modules/backoff/default.nix +++ b/pkgs/development/python-modules/backoff/default.nix @@ -1,21 +1,21 @@ -{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, poetry, pytest-asyncio, }: +{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, poetry, pytest-asyncio, responses }: buildPythonPackage rec { pname = "backoff"; - version = "1.11.1"; + version = "2.1.2"; src = fetchFromGitHub { owner = "litl"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-87IMcLaoCn0Vns8Ub/AFmv0gXtS0aPZX0cSt7+lOPm4="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-eKd1g3UxXlpSlNlik80RKXRaw4mZyvAWl3i2GNuZ3hI="; }; format = "pyproject"; nativeBuildInputs = [ poetry ]; - checkInputs = [ pytestCheckHook pytest-asyncio ]; + checkInputs = [ pytestCheckHook pytest-asyncio responses ]; meta = with lib; { description = "Function decoration for backoff and retry"; From 48cf8c5d514230814f652bef224a6a68f7261c8f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:59 +0200 Subject: [PATCH 137/701] python3Packages.basemap: 1.3.2 -> 1.3.3 --- .../python-modules/basemap/default.nix | 58 ++++++++++++++----- 1 file changed, 42 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/basemap/default.nix b/pkgs/development/python-modules/basemap/default.nix index 6d8dd8a3943b..b0a1aac746ff 100644 --- a/pkgs/development/python-modules/basemap/default.nix +++ b/pkgs/development/python-modules/basemap/default.nix @@ -2,39 +2,66 @@ , buildPythonPackage , fetchFromGitHub , pythonAtLeast +, basemap-data +, cython +, geos , numpy , matplotlib , pillow -, setuptools , pyproj , pyshp -, six -, pkgs +, python +, setuptools }: buildPythonPackage rec { pname = "basemap"; - version = "1.3.2"; + version = "1.3.3"; src = fetchFromGitHub { owner = "matplotlib"; repo = "basemap"; - rev = "v${version}"; - sha256 = "sha256-onNdOQL4i6GTcuCRel5yanJ2EQ5iYClp+imuBObXF2I="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-ObRQ5GsYx3k7fLaaK5Z4Td54rW/Nnx5+2zm8KLCIZl8="; }; - propagatedBuildInputs = [ numpy matplotlib pillow pyproj pyshp six ]; - buildInputs = [ setuptools pkgs.geos ]; + sourceRoot = "source/packages/basemap"; - # Standard configurePhase from `buildPythonPackage` seems to break the setup.py script - configurePhase = '' - export GEOS_DIR=${pkgs.geos} + postPatch = '' + substituteInPlace requirements.txt \ + --replace "numpy >= 1.21, < 1.23" "numpy >= 1.21, < 1.24" \ + --replace "pyshp >= 1.2, < 2.2" "pyshp >= 1.2, < 2.4" ''; - # The 'check' target is not supported by the `setup.py` script. - # TODO : do the post install checks (`cd examples && ${python.interpreter} run_all.py`) + nativeBuildInputs = [ + cython + geos + setuptools + ]; + + propagatedBuildInputs = [ + basemap-data + numpy + matplotlib + pillow # undocumented optional dependency + pyproj + pyshp + ]; + + # Standard configurePhase from `buildPythonPackage` seems to break the setup.py script + preBuild = '' + export GEOS_DIR=${geos} + ''; + + # test have various problems including requiring internet connection, permissions issues, problems with latest version of pillow doCheck = false; + checkPhase = '' + cd ../../examples + export HOME=$TEMPDIR + ${python.interpreter} run_all.py + ''; + meta = with lib; { homepage = "https://matplotlib.org/basemap/"; description = "Plot data on map projections with matplotlib"; @@ -43,8 +70,7 @@ buildPythonPackage rec { coastlines, lakes, rivers and political boundaries. See http://matplotlib.github.com/basemap/users/examples.html for examples of what it can do. ''; - license = with licenses; [ mit gpl2 ]; - broken = pythonAtLeast "3.9"; + maintainers = with maintainers; [ ]; + license = with licenses; [ mit lgpl21 ]; }; - } From 3e4bcc32fb70b092bb76e2a027dc35f96126f862 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:59 +0200 Subject: [PATCH 138/701] python3Packages.bcrypt: 3.2.0 -> 3.2.2 --- pkgs/development/python-modules/bcrypt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bcrypt/default.nix b/pkgs/development/python-modules/bcrypt/default.nix index 13fb25d03714..592b5b22d47d 100644 --- a/pkgs/development/python-modules/bcrypt/default.nix +++ b/pkgs/development/python-modules/bcrypt/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "bcrypt"; - version = "3.2.0"; + version = "3.2.2"; format = "pyproject"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "5b93c1726e50a93a033c36e5ca7fdcd29a5c7395af50a6892f5d9e7c6cfbfb29"; + sha256 = "sha256-QzxBDCF3BXcF2iqfLNAd0VdJOyp6wUyFk6FrPatra/s="; }; nativeBuildInputs = [ From 6a74fee081eb9eb4d3c2a24391c5925b213ce419 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:59 +0200 Subject: [PATCH 139/701] python3Packages.bibtexparser: 1.2.0 -> 1.3.0 --- pkgs/development/python-modules/bibtexparser/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/bibtexparser/default.nix b/pkgs/development/python-modules/bibtexparser/default.nix index 2c24578f4581..d8bfe8e9a668 100644 --- a/pkgs/development/python-modules/bibtexparser/default.nix +++ b/pkgs/development/python-modules/bibtexparser/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "bibtexparser"; - version = "1.2.0"; + version = "1.3.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -17,8 +17,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "sciunto-org"; repo = "python-${pname}"; - rev = "v${version}"; - hash = "sha256-M9fDI28Yq0uUHPx51wiuRPmRTLkjVqj7ixapbSftnJc="; + rev = "refs/tags/v${version}"; + hash = "sha256-Z+opmknmgyFwvKJyvrv3MMpo23etZCn4bxGTpG5d/dY="; }; propagatedBuildInputs = [ From 3805f9638c105ec5ba6d257d60062105c13dc0dd Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:59 +0200 Subject: [PATCH 140/701] python3Packages.bids-validator: 1.9.3 -> 1.9.5 --- pkgs/development/python-modules/bids-validator/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bids-validator/default.nix b/pkgs/development/python-modules/bids-validator/default.nix index 05dd93ffa032..88a0a4adea42 100644 --- a/pkgs/development/python-modules/bids-validator/default.nix +++ b/pkgs/development/python-modules/bids-validator/default.nix @@ -4,12 +4,12 @@ }: buildPythonPackage rec { - version = "1.9.3"; + version = "1.9.5"; pname = "bids-validator"; src = fetchPypi { inherit pname version; - sha256 = "sha256-ATJi4eCWV0i3Z8AsgV/DtiCn8Qzi2cMDtId5jXCoDL0="; + sha256 = "sha256-izjda65OYnwaPX30JqdCL5fFh5IW5eJeAIrP4l9I3kE="; }; # needs packages which are not available in nixpkgs From 2e63bb9ccbd20eeab2682b913fcb79a16edabcc8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:59 +0200 Subject: [PATCH 141/701] python3Packages.biliass: 1.3.4 -> 1.3.5 --- pkgs/development/python-modules/biliass/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/biliass/default.nix b/pkgs/development/python-modules/biliass/default.nix index fe2cd731a1ce..617b87bc12f1 100644 --- a/pkgs/development/python-modules/biliass/default.nix +++ b/pkgs/development/python-modules/biliass/default.nix @@ -7,12 +7,12 @@ buildPythonPackage rec { pname = "biliass"; - version = "1.3.4"; + version = "1.3.5"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-kktK+6rLwYhkG7LiTBlgBbiIN8apweg4l8pJSTjKQU4="; + sha256 = "sha256-kgoQUX2l5YENEozcnfluwvcAO1ZSxlfHPVIa9ABW6IU="; }; propagatedBuildInputs = [ protobuf ]; From 755bd2cbc7673c1b8b795fb55a9ee93922e13c08 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:59 +0200 Subject: [PATCH 142/701] python3Packages.billiard: 3.6.4.0 -> 4.0.0 --- pkgs/development/python-modules/billiard/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/billiard/default.nix b/pkgs/development/python-modules/billiard/default.nix index a2aaa1027c5d..303d334936c6 100644 --- a/pkgs/development/python-modules/billiard/default.nix +++ b/pkgs/development/python-modules/billiard/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "billiard"; - version = "3.6.4.0"; + version = "4.0.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "0ismj2p8c66ykpss94rs0bfra5agxxmljz8r3gaq79r8valfb799"; + sha256 = "sha256-NE2aHX063fFx6yxZbJ6Y0e/4Gw4D8fk5iTmjUYyiY6k="; }; checkInputs = [ From 3b6abb970583ed4dab0dc3be36b13181da8be46a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:58:59 +0200 Subject: [PATCH 143/701] python3Packages.bimmer-connected: 0.10.0 -> 0.10.1 --- pkgs/development/python-modules/bimmer-connected/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bimmer-connected/default.nix b/pkgs/development/python-modules/bimmer-connected/default.nix index 5f494308ecf9..a9ca9833a55f 100644 --- a/pkgs/development/python-modules/bimmer-connected/default.nix +++ b/pkgs/development/python-modules/bimmer-connected/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "bimmer-connected"; - version = "0.10.0"; + version = "0.10.1"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "bimmerconnected"; repo = "bimmer_connected"; rev = "refs/tags/${version}"; - hash = "sha256-R7QmxSUbVsvb+MRTYlihxuM05WLYASRSfUs09fl7l1k="; + hash = "sha256-RgF9uQREFOLvAUtoXixywSfQExu6W3qw0JCqVw9Nl9w="; }; nativeBuildInputs = [ From 29629b3b066e69a825df178c7b7d37d45824622f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:00 +0200 Subject: [PATCH 144/701] python3Packages.bip_utils: 2.2.1 -> 2.5.1 --- pkgs/development/python-modules/bip_utils/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/bip_utils/default.nix b/pkgs/development/python-modules/bip_utils/default.nix index 932d887754ec..737dad3550cc 100644 --- a/pkgs/development/python-modules/bip_utils/default.nix +++ b/pkgs/development/python-modules/bip_utils/default.nix @@ -8,15 +8,15 @@ buildPythonPackage rec { pname = "bip_utils"; - version = "2.2.1"; + version = "2.5.1"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "ebellocchia"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-p2JOZAJxQ/nPZ7vjnB24hA3kz3Io4D3HTP/8mqS/XCc="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-lH8hd+JA1FhGH60MYIIuwHjr/4wFbYeuw/hd60kr1xc="; }; propagatedBuildInputs = [ ecdsa pysha3 ]; From e49bca53bc699946adc47316cfeff6441e5c0096 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:00 +0200 Subject: [PATCH 145/701] python3Packages.bitstruct: 8.14.1 -> 8.15.1 --- pkgs/development/python-modules/bitstruct/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bitstruct/default.nix b/pkgs/development/python-modules/bitstruct/default.nix index 5867e695b816..4602e650b7f3 100644 --- a/pkgs/development/python-modules/bitstruct/default.nix +++ b/pkgs/development/python-modules/bitstruct/default.nix @@ -6,14 +6,14 @@ buildPythonPackage rec { pname = "bitstruct"; - version = "8.14.1"; + version = "8.15.1"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-04ExvUR7avW49GTEh4eXyHpdnaHJW5NX4HHEJP3l8FU="; + hash = "sha256-b6atv7jzuMtowhsTqmXSPrLDrDJBmrkm8/0f/3F6kSU="; }; pythonImportsCheck = [ From 69f29168566d62d611bb04ab1604266b94200045 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:00 +0200 Subject: [PATCH 146/701] python3Packages.bleach: 5.0.0 -> 5.0.1 --- pkgs/development/python-modules/bleach/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bleach/default.nix b/pkgs/development/python-modules/bleach/default.nix index fce105163a54..06cefc9bbb0d 100644 --- a/pkgs/development/python-modules/bleach/default.nix +++ b/pkgs/development/python-modules/bleach/default.nix @@ -11,12 +11,12 @@ buildPythonPackage rec { pname = "bleach"; - version = "5.0.0"; + version = "5.0.1"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-xtbMBUvcnIO0i4CD4jbl8A8jhChmbSzi4IPqpf1WhWU="; + hash = "sha256-DQMlXEfrm9Lyaqm7fyEHcy5+j+GVyi9kcJ/POwpKCFw="; }; propagatedBuildInputs = [ From 4246b8e0c7047cbe52670b63c117eb5d99e4d4d2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:00 +0200 Subject: [PATCH 147/701] python3Packages.blebox-uniapi: 1.3.3 -> 2.0.2 --- pkgs/development/python-modules/blebox-uniapi/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/blebox-uniapi/default.nix b/pkgs/development/python-modules/blebox-uniapi/default.nix index 6d7c79bf6a0a..5f695e0922e4 100644 --- a/pkgs/development/python-modules/blebox-uniapi/default.nix +++ b/pkgs/development/python-modules/blebox-uniapi/default.nix @@ -11,13 +11,13 @@ buildPythonPackage rec { pname = "blebox-uniapi"; - version = "1.3.3"; + version = "2.0.2"; src = fetchFromGitHub { owner = "blebox"; repo = "blebox_uniapi"; - rev = "v${version}"; - sha256 = "0qvv2697yhqjmgvh37h8wgz3a77n61kqmxvsk4pf47wn43hks15c"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-0Yiooy7YSUFjqqcyH2fPQ6AWuR0EJxfRRZTw/6JGcMA="; }; postPatch = '' From 11b17f457275afe44d56f7afef96c3c4c0885c18 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:00 +0200 Subject: [PATCH 148/701] python3Packages.blis: 0.7.7 -> 0.9.0 --- pkgs/development/python-modules/blis/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/blis/default.nix b/pkgs/development/python-modules/blis/default.nix index be41b2acb87c..290e1928414f 100644 --- a/pkgs/development/python-modules/blis/default.nix +++ b/pkgs/development/python-modules/blis/default.nix @@ -9,11 +9,11 @@ buildPythonPackage rec { pname = "blis"; - version = "0.7.7"; + version = "0.9.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-XUqB+UONt6GayOZK1BMx9lplnqjzuxiJqcIIjP2f4QQ="; + sha256 = "sha256-aZ4coUlnFjcLS5tSfFjYQr+JKGPY2UTNoy+HIO08tCk="; }; nativeBuildInputs = [ From 196c5a36cd3fc92ff7352f65424afdefb53b8a54 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:00 +0200 Subject: [PATCH 149/701] python3Packages.bokeh: 2.4.2 -> 2.4.3 --- pkgs/development/python-modules/bokeh/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bokeh/default.nix b/pkgs/development/python-modules/bokeh/default.nix index 9017cbed0d6d..75ca944830f1 100644 --- a/pkgs/development/python-modules/bokeh/default.nix +++ b/pkgs/development/python-modules/bokeh/default.nix @@ -33,11 +33,11 @@ buildPythonPackage rec { pname = "bokeh"; # update together with panel which is not straightforward - version = "2.4.2"; + version = "2.4.3"; src = fetchPypi { inherit pname version; - sha256 = "f0a4b53364ed3b7eb936c5cb1a4f4132369e394c7ae0a8ef420459410958033d"; + sha256 = "sha256-7zOAEWGvN5Zlq3o0aE8iCYYeOu/VyAOiH7u5nZSHSwM="; }; patches = [ From 5f02b3ece85ac811276693953de47329b3229828 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:00 +0200 Subject: [PATCH 150/701] python3Packages.boltztrap2: 22.4.1 -> 22.6.1 --- pkgs/development/python-modules/boltztrap2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/boltztrap2/default.nix b/pkgs/development/python-modules/boltztrap2/default.nix index ad28d461faff..ae467123e9bc 100644 --- a/pkgs/development/python-modules/boltztrap2/default.nix +++ b/pkgs/development/python-modules/boltztrap2/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "boltztrap2"; - version = "22.4.1"; + version = "22.6.1"; format = "setuptools"; disabled = pythonOlder "3.5"; @@ -23,7 +23,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "BoltzTraP2"; inherit version; - hash = "sha256-lGwKHWAslCmb9bVQELHD6kAay+dnieiNsSAfAyNFLPM="; + hash = "sha256-zEKRsNg5P+KKQCeB49TiiSXRmusvr1zwssHhppZdkfA="; }; dontUseCmakeConfigure = true; From 587220102b9515790266e21c5c94888de7ed76a7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:00 +0200 Subject: [PATCH 151/701] python3Packages.boto3: 1.21.30 -> 1.24.31 --- pkgs/development/python-modules/boto3/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/boto3/default.nix b/pkgs/development/python-modules/boto3/default.nix index d849d49b64f8..67ac93a7dcd2 100644 --- a/pkgs/development/python-modules/boto3/default.nix +++ b/pkgs/development/python-modules/boto3/default.nix @@ -13,11 +13,11 @@ buildPythonPackage rec { pname = "boto3"; - version = "1.21.30"; # N.B: if you change this, change botocore and awscli to a matching version + version = "1.24.31"; # N.B: if you change this, change botocore and awscli to a matching version src = fetchPypi { inherit pname version; - sha256 = "sha256-8K+PTvX+Y1PHlM08zmJ9Rpphi1is58p1pjz9cZ32Fc4="; + sha256 = "sha256-3gZzRpQsbRcwtRN4M4ViBRm4spNfWw7i5m1WX/tXzhI="; }; propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ]; From 214c58cb4fff25801fabd63d7d79a8d1a18a998c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:00 +0200 Subject: [PATCH 152/701] python3Packages.botocore: 1.24.33 -> 1.27.31 --- pkgs/development/python-modules/botocore/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/botocore/default.nix b/pkgs/development/python-modules/botocore/default.nix index 6774189043c9..fa5c26d115c7 100644 --- a/pkgs/development/python-modules/botocore/default.nix +++ b/pkgs/development/python-modules/botocore/default.nix @@ -12,11 +12,11 @@ buildPythonPackage rec { pname = "botocore"; - version = "1.24.33"; # N.B: if you change this, change boto3 and awscli to a matching version + version = "1.27.31"; # N.B: if you change this, change boto3 and awscli to a matching version src = fetchPypi { inherit pname version; - sha256 = "sha256-6l/RgAggMKbDP6Gb8BHXKXDz7SPP/xtBQTBp4yV2gQM="; + sha256 = "sha256-sMx5+1o3oOK2vv6G79AnuSEB2Bnx/cVs//OfLrI58jI="; }; propagatedBuildInputs = [ From 6957d6c40735c710e1fa182d8d334f083d75625c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:00 +0200 Subject: [PATCH 153/701] python3Packages.branca: 0.4.2 -> 0.5.0 --- pkgs/development/python-modules/branca/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/branca/default.nix b/pkgs/development/python-modules/branca/default.nix index 4251c88058cd..e82c5ce78379 100644 --- a/pkgs/development/python-modules/branca/default.nix +++ b/pkgs/development/python-modules/branca/default.nix @@ -10,11 +10,11 @@ buildPythonPackage rec { pname = "branca"; - version = "0.4.2"; + version = "0.5.0"; src = fetchPypi { inherit pname version; - sha256 = "c111453617b17ab2bda60a4cd71787d6f2b59c85cdf71ab160a737606ac66c31"; + sha256 = "sha256-5vL366fdNozu+PY4Irhn9eEdTTq90Jmnh9ue0rcGWuE="; }; checkInputs = [ pytest selenium ]; From fb0720dfa324e62f44b731148cdc776395f9e4a4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:01 +0200 Subject: [PATCH 154/701] python3Packages.carbon: 1.1.8 -> 1.1.10 --- pkgs/development/python-modules/carbon/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/carbon/default.nix b/pkgs/development/python-modules/carbon/default.nix index b30df5ec5383..a15d2a5f11b9 100644 --- a/pkgs/development/python-modules/carbon/default.nix +++ b/pkgs/development/python-modules/carbon/default.nix @@ -3,11 +3,11 @@ buildPythonPackage rec { pname = "carbon"; - version = "1.1.8"; + version = "1.1.10"; src = fetchPypi { inherit pname version; - sha256 = "95918c4b14e1c525d9499554d5e03b349f87e0c2bc17ec5c64d18679a30b69f1"; + sha256 = "sha256-wTtbqRHMWBcM2iFN95yzwCf/BQ+EK0vp5MXT4mKX3lw="; }; # Carbon-s default installation is /opt/graphite. This env variable ensures From d1a374548c0e4e55981729a3eb1440c693dcdab0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:01 +0200 Subject: [PATCH 155/701] python3Packages.catalogue: 2.0.7 -> 2.1.0 --- pkgs/development/python-modules/catalogue/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/catalogue/default.nix b/pkgs/development/python-modules/catalogue/default.nix index e47e77b9eb49..ecdd74f9d37b 100644 --- a/pkgs/development/python-modules/catalogue/default.nix +++ b/pkgs/development/python-modules/catalogue/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "catalogue"; - version = "2.0.7"; + version = "2.1.0"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-U10zrnnr0hyimFUdhdoYaui44d82sPsCRtp3QWPsLWs="; + sha256 = "sha256-oczi8XOKMd6yqiSz5Kieb7PoUlVcGDsOzaiivMHq7y4="; }; propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ From 4fc678a1499f9d0291ec02cc3b76fbf948f54b37 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:01 +0200 Subject: [PATCH 156/701] python3Packages.cffi: 1.15.0 -> 1.15.1 --- pkgs/development/python-modules/cffi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cffi/default.nix b/pkgs/development/python-modules/cffi/default.nix index 22d2e87cd276..7691d9b7d59b 100644 --- a/pkgs/development/python-modules/cffi/default.nix +++ b/pkgs/development/python-modules/cffi/default.nix @@ -4,11 +4,11 @@ if isPyPy then null else buildPythonPackage rec { pname = "cffi"; - version = "1.15.0"; + version = "1.15.1"; src = fetchPypi { inherit pname version; - sha256 = "920f0d66a896c2d99f0adbb391f990a84091179542c205fa53ce5787aff87954"; + sha256 = "sha256-1AC/uaN7E1ElPLQCZxzqfom97MKU6AFqcH9tHYrJNPk="; }; outputs = [ "out" "dev" ]; From ba4bed6b8c58392d5e7cce0d9916a8c665374c56 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:01 +0200 Subject: [PATCH 157/701] python3Packages.cfn-lint: 0.58.2 -> 0.61.2 --- pkgs/development/python-modules/cfn-lint/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/cfn-lint/default.nix b/pkgs/development/python-modules/cfn-lint/default.nix index 1c5b96ea48cd..238f5e83630e 100644 --- a/pkgs/development/python-modules/cfn-lint/default.nix +++ b/pkgs/development/python-modules/cfn-lint/default.nix @@ -19,13 +19,13 @@ buildPythonPackage rec { pname = "cfn-lint"; - version = "0.58.2"; + version = "0.61.2"; src = fetchFromGitHub { owner = "aws-cloudformation"; repo = "cfn-python-lint"; - rev = "v${version}"; - sha256 = "sha256-ArpvP4tbRf1fK8BPokRXqS3YyaFiOLBrR8uQHko5iKo="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-282h1fBWhAfwqCuP+dU3ajn0gQtmOcPNTMKZ0a2+vHU="; }; postPatch = '' From ca5112ceff69441243a7f8f5fbfff054ee6b022f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:01 +0200 Subject: [PATCH 158/701] python3Packages.chainer: 7.8.1 -> 7.8.1.post1 --- pkgs/development/python-modules/chainer/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/chainer/default.nix b/pkgs/development/python-modules/chainer/default.nix index 1585d6d5e895..55a316ceab99 100644 --- a/pkgs/development/python-modules/chainer/default.nix +++ b/pkgs/development/python-modules/chainer/default.nix @@ -5,14 +5,14 @@ buildPythonPackage rec { pname = "chainer"; - version = "7.8.1"; + version = "7.8.1.post1"; disabled = !isPy3k; # python2.7 abandoned upstream src = fetchFromGitHub { owner = "chainer"; repo = "chainer"; - rev = "v${version}"; - sha256 = "1n07zjzc4g92m1sbgxvnansl0z00y4jnhma2mw06vnahs7s9nrf6"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-epwnExmyCWmwaOz+mJnAl1peEeHLBdQGC62BlLfSTQQ="; }; propagatedBuildInputs = [ From 4775efd1f48bd2df2e41aeea2b4137f6c2b51daf Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:01 +0200 Subject: [PATCH 159/701] python3Packages.chardet: 4.0.0 -> 5.0.0 --- pkgs/development/python-modules/chardet/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/chardet/default.nix b/pkgs/development/python-modules/chardet/default.nix index 7753d6ccfdeb..b5cca5110e7c 100644 --- a/pkgs/development/python-modules/chardet/default.nix +++ b/pkgs/development/python-modules/chardet/default.nix @@ -8,12 +8,12 @@ buildPythonPackage rec { pname = "chardet"; - version = "4.0.0"; + version = "5.0.0"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-DW9ToV20Eg8rCMlPEefZPSyRHuEYtrMKBOw+6DEBefo="; + sha256 = "sha256-A2jfK/14tfwgVyu06bt/tT4sCU9grpmTM56GcdCvuKo="; }; checkInputs = [ @@ -21,6 +21,11 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTests = [ + # flaky; https://github.com/chardet/chardet/issues/256 + "test_detect_all_and_detect_one_should_agree" + ]; + pythonImportsCheck = [ "chardet" ]; meta = with lib; { From 1d01cc396d57b37e99463dc6c845ab77dc4f6cf8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:01 +0200 Subject: [PATCH 160/701] python3Packages.charset-normalizer: 2.0.12 -> 2.1.0 --- .../python-modules/charset-normalizer/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/charset-normalizer/default.nix b/pkgs/development/python-modules/charset-normalizer/default.nix index d406ea15fbd3..9661700a2858 100644 --- a/pkgs/development/python-modules/charset-normalizer/default.nix +++ b/pkgs/development/python-modules/charset-normalizer/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "charset-normalizer"; - version = "2.0.12"; + version = "2.1.0"; format = "setuptools"; disabled = pythonOlder "3.5"; @@ -15,8 +15,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Ousret"; repo = "charset_normalizer"; - rev = version; - hash = "sha256-d5vWnZtFR669l1Meg4ZSsYIyBlJZya7SpXJMx2AP8NU="; + rev = "refs/tags/${version}"; + hash = "sha256-ntNMHjkQJqzSElEeyFmPIjUh6ZxQkTktPipfPHiJ/Vc="; }; checkInputs = [ From 38b7c639b8729a05dff1e5f290ddd989717bb217 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:01 +0200 Subject: [PATCH 161/701] python3Packages.chart-studio: 5.6.0 -> 5.9.0 --- pkgs/development/python-modules/chart-studio/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/chart-studio/default.nix b/pkgs/development/python-modules/chart-studio/default.nix index 30a620b5ad6f..440739226970 100644 --- a/pkgs/development/python-modules/chart-studio/default.nix +++ b/pkgs/development/python-modules/chart-studio/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "chart-studio"; - version = "5.6.0"; + version = "5.9.0"; # chart-studio was split from plotly src = fetchFromGitHub { owner = "plotly"; repo = "plotly.py"; - rev = "v${version}"; - sha256 = "sha256-mf4QASdvO7doV5pKAAEzaKJP66w29osBlbLrJuopUvA="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-o14uP7czY4DDTFDabOk7aTF3mMPmBrPg1/fkoIUlab8="; }; sourceRoot = "source/packages/python/chart-studio"; From 7870a6919d0f49aada6e4348938f6dbe6014b474 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:01 +0200 Subject: [PATCH 162/701] python3Packages.cherrypy: 18.6.1 -> 18.7.0 --- .../python-modules/cherrypy/default.nix | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/cherrypy/default.nix b/pkgs/development/python-modules/cherrypy/default.nix index 9b58d33d501f..bf963ce16aa1 100644 --- a/pkgs/development/python-modules/cherrypy/default.nix +++ b/pkgs/development/python-modules/cherrypy/default.nix @@ -23,7 +23,7 @@ buildPythonPackage rec { pname = "cherrypy"; - version = "18.6.1"; + version = "18.7.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -31,9 +31,18 @@ buildPythonPackage rec { src = fetchPypi { pname = "CherryPy"; inherit version; - hash = "sha256-8z6HKG57PjCeBOciXY5JOC2dd3PmCSJB1/YTiTxWNJU="; + hash = "sha256-cpRS95jKdWOQBG7zGAQ8roZKRoFN6vPmvTTclZrxmN4="; }; + postPatch = '' + # Disable doctest plugin because times out + substituteInPlace pytest.ini \ + --replace "--doctest-modules" "-vvv" \ + --replace "-p pytest_cov" "" \ + --replace "--no-cov-on-fail" "" + sed -i "/--cov/d" pytest.ini + ''; + nativeBuildInputs = [ setuptools-scm ]; @@ -55,13 +64,6 @@ buildPythonPackage rec { requests-toolbelt ]; - preCheck = '' - # Disable doctest plugin because times out - substituteInPlace pytest.ini \ - --replace "--doctest-modules" "-vvv" - sed -i "/--cov/d" pytest.ini - ''; - pytestFlagsArray = [ "-W" "ignore::DeprecationWarning" @@ -73,6 +75,9 @@ buildPythonPackage rec { # daemonize and autoreload tests have issue with sockets within sandbox "daemonize" "Autoreload" + + "test_antistampede" + "test_file_stream" ] ++ lib.optionals stdenv.isDarwin [ "test_block" ]; From 78bd5e627943e91eb6a84ceefcc50d3c9b1a9b09 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:02 +0200 Subject: [PATCH 163/701] python3Packages.chex: 0.1.2 -> 0.1.3 --- pkgs/development/python-modules/chex/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/chex/default.nix b/pkgs/development/python-modules/chex/default.nix index a06cb4ec84bb..98598e4acf15 100644 --- a/pkgs/development/python-modules/chex/default.nix +++ b/pkgs/development/python-modules/chex/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "chex"; - version = "0.1.2"; + version = "0.1.3"; format = "setuptools"; src = fetchFromGitHub { owner = "deepmind"; repo = pname; - rev = "v${version}"; - hash = "sha256-NtZYOHByKBcKmhRaNULwaQqxfoPRmgbtJ3cFHNfy4E8="; + rev = "refs/tags/v${version}"; + hash = "sha256-oIdRh0WKzdvyCfcamKRDiMsV51b6rdmNYcELjDQKGX4="; }; propagatedBuildInputs = [ From 3ef7621167df207d13fbe288b78cb9f8573bc465 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:02 +0200 Subject: [PATCH 164/701] python3Packages.chiapos: 1.0.9 -> 1.0.10 --- pkgs/development/python-modules/chiapos/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/chiapos/default.nix b/pkgs/development/python-modules/chiapos/default.nix index 54aa1efeefc1..11452dee2ea5 100644 --- a/pkgs/development/python-modules/chiapos/default.nix +++ b/pkgs/development/python-modules/chiapos/default.nix @@ -16,12 +16,12 @@ buildPythonPackage rec { pname = "chiapos"; - version = "1.0.9"; + version = "1.0.10"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-emEHIR74RiIDK04etO/6G7tjzTufOVl4rLRWbEsQit0="; + sha256 = "sha256-2SqWdGzSXs53PafXnCvTGQXNJqD+5gdJnaYi2O2ABLg="; }; patches = [ From 851fb03ffe05ebc265dba4c233ca4ce7cfebee7d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:02 +0200 Subject: [PATCH 165/701] python3Packages.cloudsmith-api: 1.42.3 -> 1.61.3 --- pkgs/development/python-modules/cloudsmith-api/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cloudsmith-api/default.nix b/pkgs/development/python-modules/cloudsmith-api/default.nix index 032035506005..1d5a2047a7c3 100644 --- a/pkgs/development/python-modules/cloudsmith-api/default.nix +++ b/pkgs/development/python-modules/cloudsmith-api/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "cloudsmith-api"; - version = "1.42.3"; + version = "1.61.3"; format = "wheel"; src = fetchPypi { pname = "cloudsmith_api"; inherit format version; - sha256 = "sha256-P0QuKkyFk3jvYJwtul0/eUTrDyj2QKAjU/Ac+4VCYYk="; + sha256 = "sha256-Y8CnbX9rhtk8sebJKo5kyqFwCkJgBjz3dgm58VHRPhY="; }; propagatedBuildInputs = [ From 830b0bd9c23e6447e4daed581adfd9cfe44cfdf2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:02 +0200 Subject: [PATCH 166/701] python3Packages.cma: 3.2.1 -> 3.2.2 --- pkgs/development/python-modules/cma/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/cma/default.nix b/pkgs/development/python-modules/cma/default.nix index c0480f2fa714..a6e3d442675f 100644 --- a/pkgs/development/python-modules/cma/default.nix +++ b/pkgs/development/python-modules/cma/default.nix @@ -7,13 +7,13 @@ buildPythonPackage rec { pname = "cma"; - version = "3.2.1"; + version = "3.2.2"; src = fetchFromGitHub { owner = "CMA-ES"; repo = "pycma"; - rev = "r${version}"; - sha256 = "sha256-wLUD8HMJusUeCwwp37D/W7yJuJQcDfRwVGVKwBS6sR8="; + rev = "refs/tags/r${version}"; + sha256 = "sha256-STF7jtLqI2KiWvvI9/reRjP1XyW8l4/qy9uAPpE9mTs="; }; propagatedBuildInputs = [ From f72be33834c26cc88137e75f4492c3e8d7b5ae7a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:02 +0200 Subject: [PATCH 167/701] python3Packages.cmd2: 2.4.0 -> 2.4.2 --- pkgs/development/python-modules/cmd2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cmd2/default.nix b/pkgs/development/python-modules/cmd2/default.nix index 79cd6187ddb2..ada33a8594ef 100644 --- a/pkgs/development/python-modules/cmd2/default.nix +++ b/pkgs/development/python-modules/cmd2/default.nix @@ -17,13 +17,13 @@ buildPythonPackage rec { pname = "cmd2"; - version = "2.4.0"; + version = "2.4.2"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-CQkJq2yOzuQIE87HWeYd1ucMgiehqOlggvXysNOUvHc="; + sha256 = "sha256-Bz5VXAWFOw9pZfPQMym6vfnjil8s6gKOYaZM1+63StU="; }; LC_ALL = "en_US.UTF-8"; From b6df93f2ac849ac54a6c5855cb99f6af026bbb22 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:02 +0200 Subject: [PATCH 168/701] python3Packages.colorama: 0.4.4 -> 0.4.5 --- pkgs/development/python-modules/colorama/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/colorama/default.nix b/pkgs/development/python-modules/colorama/default.nix index f362bbd30b3c..76f9063ab9a4 100644 --- a/pkgs/development/python-modules/colorama/default.nix +++ b/pkgs/development/python-modules/colorama/default.nix @@ -2,11 +2,11 @@ buildPythonPackage rec { pname = "colorama"; - version = "0.4.4"; + version = "0.4.5"; src = fetchPypi { inherit pname version; - sha256 = "5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b"; + sha256 = "sha256-5sa0M0/FCYimOdm5iqQpoLV9puF7mkTwRR+TC2lnt6Q="; }; # No tests in archive From aa7ae6204a69f87c24167607d67735308e73ea7c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:02 +0200 Subject: [PATCH 169/701] python3Packages.confluent-kafka: 1.8.2 -> 1.9.0 --- pkgs/development/python-modules/confluent-kafka/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/confluent-kafka/default.nix b/pkgs/development/python-modules/confluent-kafka/default.nix index 0143ffd1aa30..2da762f26d7d 100644 --- a/pkgs/development/python-modules/confluent-kafka/default.nix +++ b/pkgs/development/python-modules/confluent-kafka/default.nix @@ -1,12 +1,12 @@ { lib, buildPythonPackage, fetchPypi, isPy3k, rdkafka, requests, avro3k, avro ? null, futures ? null, enum34 ? null }: buildPythonPackage rec { - version = "1.8.2"; + version = "1.9.0"; pname = "confluent-kafka"; src = fetchPypi { inherit pname version; - sha256 = "b79e836c3554bc51c6837a8a0152f7521c9bf31342f5b8e21eba6b28044fa585"; + sha256 = "sha256-L4cARHNxjRl29XyeIzB8IW2vjL1H/6cRXvDOSJY8nGk="; }; buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ enum34 avro futures ]) ; From cb9e7069cfaf9089a01f69d1deb31767028723c8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:02 +0200 Subject: [PATCH 170/701] python3Packages.coqui-trainer: 0.0.12 -> 0.0.13 --- pkgs/development/python-modules/coqui-trainer/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/coqui-trainer/default.nix b/pkgs/development/python-modules/coqui-trainer/default.nix index b7b08325e0b4..da8255a3b5a3 100644 --- a/pkgs/development/python-modules/coqui-trainer/default.nix +++ b/pkgs/development/python-modules/coqui-trainer/default.nix @@ -17,7 +17,7 @@ let pname = "coqui-trainer"; - version = "0.0.12"; + version = "0.0.13"; in buildPythonPackage { inherit pname version; @@ -26,8 +26,8 @@ buildPythonPackage { src = fetchFromGitHub { owner = "coqui-ai"; repo = "Trainer"; - rev = "v${version}"; - hash = "sha256-MSB3XbQALEKQi6Jtr/d2K8cIqyZryebYEcewGG48HV0="; + rev = "refs/tags/v${version}"; + hash = "sha256-tRm/TElGjVTgCrI80wCt4F1hO82CsDPz2ynJzQKmbIs="; }; propagatedBuildInputs = [ From 999303884625cc0cf2bb042b08c32102b854182f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:02 +0200 Subject: [PATCH 171/701] python3Packages.coverage: 6.3.2 -> 6.4.2 --- pkgs/development/python-modules/coverage/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/coverage/default.nix b/pkgs/development/python-modules/coverage/default.nix index 8019fc949665..6893458d5cc7 100644 --- a/pkgs/development/python-modules/coverage/default.nix +++ b/pkgs/development/python-modules/coverage/default.nix @@ -7,13 +7,13 @@ buildPythonPackage rec { pname = "coverage"; - version = "6.3.2"; + version = "6.4.2"; # uses f strings disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; - sha256 = "sha256-A+KngmCGuR7zRf8YdC7p/Eemg5zNUXBh74+hl25lLOk="; + sha256 = "sha256-bDzP6Jw28+W5g3ue5QdHIxAWTzUsn+MyEgt2TJ1grb4="; }; # No tests in archive From 47a2e8da9780e3958bf2d85c24d8d3a510c97bb8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:02 +0200 Subject: [PATCH 172/701] python3Packages.crate: 0.26.0 -> 0.27.1 --- .../python-modules/crate/default.nix | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/crate/default.nix b/pkgs/development/python-modules/crate/default.nix index c4a698c5250a..a7d7dc3ec603 100644 --- a/pkgs/development/python-modules/crate/default.nix +++ b/pkgs/development/python-modules/crate/default.nix @@ -11,12 +11,12 @@ buildPythonPackage rec { pname = "crate"; - version = "0.26.0"; + version = "0.27.1"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "6f650c2efe250b89bf35f8fe3211eb37ebc8d76f7a9c09bd73db3076708fa2fc"; + sha256 = "sha256-YYzn13yaTTVt4mxbE8wbymGrisraMRRHodydawSy/Uc="; }; propagatedBuildInputs = [ @@ -30,20 +30,19 @@ buildPythonPackage rec { ]; disabledTests = [ - "RequestsCaBundleTest" + # network access + "test_layer_from_uri" + ]; + + disabledTestPaths = [ + # imports setuptools.ssl_support, which doesn't exist anymore + "src/crate/client/test_http.py" ]; - disabledTestPaths = lib.optionals stdenv.isDarwin [ "src/crate/client/test_http.py" ]; meta = with lib; { homepage = "https://github.com/crate/crate-python"; description = "A Python client library for CrateDB"; license = licenses.asl20; maintainers = with maintainers; [ doronbehar ]; - # 2021-07-12 (@layus): Please unbreak when an update fixes compatibility - # with the version of SQLAlchemy in nixpkgs - # And also re-enable tests in pythonPackages.agate-sql. - # The version string below is intentionally split, so nixpkgs-update does - # not change it. That would make this warning pretty useless. - broken = assert version == "0.2"+"6.0"; true; }; } From 7f95279713329e051f0b1169616422071cad79d8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:03 +0200 Subject: [PATCH 173/701] python3Packages.croniter: 1.3.4 -> 1.3.5 --- pkgs/development/python-modules/croniter/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/croniter/default.nix b/pkgs/development/python-modules/croniter/default.nix index 1b122f9b5e41..8f21b00697c0 100644 --- a/pkgs/development/python-modules/croniter/default.nix +++ b/pkgs/development/python-modules/croniter/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "croniter"; - version = "1.3.4"; + version = "1.3.5"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-MWk2WRaDS+ZUwsrFfqFNcQ50L464pfzoBPbOVI2oC/I="; + hash = "sha256-dZL8DooA2Cr5jfonaLdZg7b7TCrcj20NfJMacVt87+4="; }; propagatedBuildInputs = [ From ea92ebea4d5f1d46d2d841e396d7b13e97d2a39d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:03 +0200 Subject: [PATCH 174/701] python3Packages.cssselect2: 0.5.0 -> 0.6.0 --- pkgs/development/python-modules/cssselect2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cssselect2/default.nix b/pkgs/development/python-modules/cssselect2/default.nix index 987e84ffcee2..5904f80ac2a2 100644 --- a/pkgs/development/python-modules/cssselect2/default.nix +++ b/pkgs/development/python-modules/cssselect2/default.nix @@ -9,13 +9,13 @@ buildPythonPackage rec { pname = "cssselect2"; - version = "0.5.0"; + version = "0.6.0"; format = "pyproject"; disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; - sha256 = "sha256-2Yp7vdjrxGCTJ5GV1mmjNZvVoj+QwZ6CwZ2e7vMz5hc="; + sha256 = "sha256-W11t6oGl6wyco58RbIV43UE3eAYMlMH1EZY3FhiQkyU="; }; postPatch = '' From 1a57272550588c88c9732792e3937d58c7f0b791 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:03 +0200 Subject: [PATCH 175/701] python3Packages.cupy: 10.3.1 -> 10.6.0 --- pkgs/development/python-modules/cupy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cupy/default.nix b/pkgs/development/python-modules/cupy/default.nix index cdd11e5010be..f4bb93610266 100644 --- a/pkgs/development/python-modules/cupy/default.nix +++ b/pkgs/development/python-modules/cupy/default.nix @@ -9,12 +9,12 @@ let inherit (cudaPackages) cudatoolkit cudnn cutensor nccl; in buildPythonPackage rec { pname = "cupy"; - version = "10.3.1"; + version = "10.6.0"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "sha256-c8BOKI1AWU+zN8lhliRus55PUAgvFm+TlxKToYn7jWc="; + sha256 = "sha256-9jWpfd4l4LSptJewdQaaurm/huHcKv48+XOZDCLTJV8="; }; # See https://docs.cupy.dev/en/v10.2.0/reference/environment.html. Seting both From 0201bcb6c6345a93264ad9db3abca4b734b8cbd2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:03 +0200 Subject: [PATCH 176/701] python3Packages.cx_Freeze: 6.10 -> 6.11.1 --- pkgs/development/python-modules/cx_freeze/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cx_freeze/default.nix b/pkgs/development/python-modules/cx_freeze/default.nix index bce1a33a36fa..454e2e8f2ccf 100644 --- a/pkgs/development/python-modules/cx_freeze/default.nix +++ b/pkgs/development/python-modules/cx_freeze/default.nix @@ -2,11 +2,11 @@ buildPythonPackage rec { pname = "cx_Freeze"; - version = "6.10"; + version = "6.11.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-5bcb9XuYgawUL76+riyLDTKUtW9uSKtkAyMh47Giuic="; + sha256 = "sha256-jzowyeM5TykGVeNG07RgkQZWswrGNHqHSZu1rTZcbnw="; }; disabled = pythonOlder "3.5"; From b1aa3457abc05bf5d6f1ef210ce1fd2a1687e960 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:03 +0200 Subject: [PATCH 177/701] python3Packages.cypherpunkpay: 1.0.15 -> 1.0.16 --- pkgs/development/python-modules/cypherpunkpay/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/cypherpunkpay/default.nix b/pkgs/development/python-modules/cypherpunkpay/default.nix index 3c72f2e073ed..8ef0f4cac78c 100644 --- a/pkgs/development/python-modules/cypherpunkpay/default.nix +++ b/pkgs/development/python-modules/cypherpunkpay/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "cypherpunkpay"; - version = "1.0.15"; + version = "1.0.16"; format = "pyproject"; src = fetchFromGitHub { owner = "CypherpunkPay"; repo = "CypherpunkPay"; - rev = "v${version}"; - sha256 = "sha256-W2f4jtEqopDXiXx0pklZrjOmVhpx2kDdTJRPm2Ka0Cg="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-X0DB0PVwR0gRnt3jixFzglWAOPKBMvqTOG6pK6OJ03w="; }; postPatch = '' From 63676d7caff1e1e7d6eb236a0678926a6f5d1b7e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:03 +0200 Subject: [PATCH 178/701] python3Packages.cytoolz: 0.11.2 -> 0.12.0 --- pkgs/development/python-modules/cytoolz/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cytoolz/default.nix b/pkgs/development/python-modules/cytoolz/default.nix index 9b1b9ecb8da6..42305b455799 100644 --- a/pkgs/development/python-modules/cytoolz/default.nix +++ b/pkgs/development/python-modules/cytoolz/default.nix @@ -3,6 +3,7 @@ , fetchPypi , isPyPy , pytestCheckHook +, cython , toolz , python , isPy27 @@ -10,14 +11,16 @@ buildPythonPackage rec { pname = "cytoolz"; - version = "0.11.2"; + version = "0.12.0"; disabled = isPy27 || isPyPy; src = fetchPypi { inherit pname version; - sha256 = "ea23663153806edddce7e4153d1d407d62357c05120a4e8485bddf1bd5ab22b4"; + sha256 = "sha256-wQWwX4XgP7zWAkQ3WWjmLkT+eYwVo1Mcki1TEBjSJBI="; }; + nativeBuildInputs = [ cython ]; + propagatedBuildInputs = [ toolz ]; # tests are located in cytoolz/tests, however we can't import cytoolz From 18bd313e88465f0f955624990120a661d6028b31 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:03 +0200 Subject: [PATCH 179/701] python3Packages.dask-gateway: 0.9.0 -> 2022.6.1 --- pkgs/development/python-modules/dask-gateway/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dask-gateway/default.nix b/pkgs/development/python-modules/dask-gateway/default.nix index 81aa8de8bcfc..5f2634a17480 100644 --- a/pkgs/development/python-modules/dask-gateway/default.nix +++ b/pkgs/development/python-modules/dask-gateway/default.nix @@ -9,11 +9,11 @@ buildPythonPackage rec { pname = "dask-gateway"; # update dask-gateway lock step with dask-gateway-server - version = "0.9.0"; + version = "2022.6.1"; src = fetchPypi { inherit pname version; - sha256 = "743f3b88dabe7d1503ac08aadf399eb9205df786b12c5175ea2e10c6ded7df22"; + sha256 = "sha256-i0OFXjvDg+D4Sdyg6rluP0k6/Ecr+VZn+RiIEQONQX0="; }; propagatedBuildInputs = [ From a24423aa14dae91351201aac2c0c88584f4eaad3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:03 +0200 Subject: [PATCH 180/701] python3Packages.dask-jobqueue: 0.7.3 -> 0.7.4 --- pkgs/development/python-modules/dask-jobqueue/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dask-jobqueue/default.nix b/pkgs/development/python-modules/dask-jobqueue/default.nix index 430047cb790c..cc56413eea39 100644 --- a/pkgs/development/python-modules/dask-jobqueue/default.nix +++ b/pkgs/development/python-modules/dask-jobqueue/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "dask-jobqueue"; - version = "0.7.3"; + version = "0.7.4"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-aC18wOazGbarg6eomGgMEunHfdx33zgLQAQSkPVdTnk="; + hash = "sha256-XoQwazgJuFvhoEezhhGu2YvIp+VFAe7dhGIEVnuQ5kM="; }; propagatedBuildInputs = [ From 5494a5a9e69b4961be429eeb6fe678ce05ba64bf Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:03 +0200 Subject: [PATCH 181/701] python3Packages.databricks-cli: 0.16.4 -> 0.17.0 --- pkgs/development/python-modules/databricks-cli/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/databricks-cli/default.nix b/pkgs/development/python-modules/databricks-cli/default.nix index 25fd92871012..22cbd96cae00 100644 --- a/pkgs/development/python-modules/databricks-cli/default.nix +++ b/pkgs/development/python-modules/databricks-cli/default.nix @@ -1,5 +1,6 @@ { lib, buildPythonPackage, fetchPypi , click +, oauthlib , requests , tabulate , six @@ -9,11 +10,11 @@ buildPythonPackage rec { pname = "databricks-cli"; - version = "0.16.4"; + version = "0.17.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-GBiQaBg7YY31bJft0W8Iq7WXhX98wPgPFHdNwuZ7WQY="; + sha256 = "sha256-SvoX2nPG6TygnF/fJPo1UpZYVLu8PxQoz00n7bdRtyw="; }; checkInputs = [ @@ -26,6 +27,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ click + oauthlib requests tabulate six From 7f9d245894e08c457bcb1eba379ea8f91baaedf1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:03 +0200 Subject: [PATCH 182/701] python3Packages.databricks-connect: 9.1.17 -> 10.4.6 --- .../development/python-modules/databricks-connect/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/databricks-connect/default.nix b/pkgs/development/python-modules/databricks-connect/default.nix index e9fcda9deda5..7a494e55d8c6 100644 --- a/pkgs/development/python-modules/databricks-connect/default.nix +++ b/pkgs/development/python-modules/databricks-connect/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "databricks-connect"; - version = "9.1.17"; + version = "10.4.6"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-QBGeXZ8zvRRjmKGs0vyBWTvcug3PF/BFV2asYTqsScw="; + sha256 = "sha256-Dezqn6rZysRhDQFUuTgXdoJL9dn21Bx2QlryBG9MtR0="; }; sourceRoot = "."; From 068bb5b0f289138ce1e62748439366d0f0565304 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:04 +0200 Subject: [PATCH 183/701] python3Packages.datasets: 1.18.3 -> 2.3.2 --- pkgs/development/python-modules/datasets/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/datasets/default.nix b/pkgs/development/python-modules/datasets/default.nix index aa3cd42e5086..2c73d62de7df 100644 --- a/pkgs/development/python-modules/datasets/default.nix +++ b/pkgs/development/python-modules/datasets/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "datasets"; - version = "1.18.3"; + version = "2.3.2"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -28,10 +28,15 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "huggingface"; repo = pname; - rev = version; - hash = "sha256-2x6DpsDcVF2O5iJKeMEGw/aJwZPc7gSGaK2947c3B6s="; + rev = "refs/tags/${version}"; + hash = "sha256-VBYCDEOK5KyYuvlybr37LgOchlEUAl/aqiC+J6WQbSA="; }; + postPatch = '' + substituteInPlace setup.py \ + --replace "responses<0.19" "responses" + ''; + propagatedBuildInputs = [ aiohttp dill From 58ae81109bcd9673a819a831d274deedb2cb5a0e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:04 +0200 Subject: [PATCH 184/701] python3Packages.ddt: 1.4.4 -> 1.5.0 --- pkgs/development/python-modules/ddt/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/ddt/default.nix b/pkgs/development/python-modules/ddt/default.nix index bc5964c73769..f419a717f083 100644 --- a/pkgs/development/python-modules/ddt/default.nix +++ b/pkgs/development/python-modules/ddt/default.nix @@ -9,23 +9,28 @@ buildPythonPackage rec { pname = "ddt"; - version = "1.4.4"; + version = "1.5.0"; src = fetchPypi { inherit pname version; - sha256 = "8de39a69730442dc835e4d33f9d2e33043ff91151c8d18086959ee556febb9f8"; + sha256 = "sha256-2q1rxfx2GeWqfu1sOU4Fv4KUYWChPl3y4m3hdsuvNH4="; }; - checkInputs = [ six pyyaml mock pytestCheckHook ]; - propagatedBuildInputs = lib.optionals (!isPy3k) [ enum34 ]; + checkInputs = [ six pyyaml mock pytestCheckHook ]; + + preCheck = '' + # pytest can't import one file even with PYTHONPATH set + rm test/test_named_data.py + ''; + meta = with lib; { description = "Data-Driven/Decorated Tests, a library to multiply test cases"; homepage = "https://github.com/txels/ddt"; + maintainers = with maintainers; [ ]; license = licenses.mit; }; - } From 1edc56aceef2aa77f5b70d471fd6d93bc97c69dc Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:04 +0200 Subject: [PATCH 185/701] python3Packages.debugpy: 1.6.0 -> 1.6.2 --- pkgs/development/python-modules/debugpy/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/debugpy/default.nix b/pkgs/development/python-modules/debugpy/default.nix index 04b78d6c8023..5be044690e0f 100644 --- a/pkgs/development/python-modules/debugpy/default.nix +++ b/pkgs/development/python-modules/debugpy/default.nix @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "debugpy"; - version = "1.6.0"; + version = "1.6.2"; format = "setuptools"; src = fetchFromGitHub { owner = "Microsoft"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-WfZz2SimOTpG8CWNUic8NSp4Qd2JTXk+7JSUEPhuQ6Q="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-jcokiAZ2WwyIvsXNIUzvMIrRttR76RwDSE7gk0xHExc="; }; patches = [ From 2b016b02f6765f056aee0d81ee5a0f27da401263 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:04 +0200 Subject: [PATCH 186/701] python3Packages.dill: 0.3.4 -> 0.3.5.1 --- pkgs/development/python-modules/dill/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/dill/default.nix b/pkgs/development/python-modules/dill/default.nix index ac5741742781..9167e629d573 100644 --- a/pkgs/development/python-modules/dill/default.nix +++ b/pkgs/development/python-modules/dill/default.nix @@ -1,20 +1,18 @@ { lib , buildPythonPackage , fetchFromGitHub -, isPy27 , pytestCheckHook }: buildPythonPackage rec { pname = "dill"; - version = "0.3.4"; - doCheck = !isPy27; + version = "0.3.5.1"; src = fetchFromGitHub { owner = "uqfoundation"; repo = pname; - rev = "${pname}-${version}"; - sha256 = "0x702gh50wb3n820p2p9w49cn4a354y207pllwc7snfxprv6hypm"; + rev = "refs/tags/dill-${version}"; + sha256 = "sha256-gWE7aQodblgHjUqGAzOJGgxJ4qx9wHo/DU4KRE6JMWo="; }; checkInputs = [ @@ -27,13 +25,16 @@ buildPythonPackage rec { "tests/test_diff.py" "tests/test_module.py" "tests/test_objects.py" + "tests/test_session.py" ]; disabledTests = [ "test_class_objects" - "test_method_decorator" "test_importable" + "test_method_decorator" "test_the_rest" + # test exception catching needs updating, can probably be removed with next update + "test_recursive_function" ]; pythonImportsCheck = [ "dill" ]; From 8fc8d62be8dc22f143abb0f912e1000d01f30e86 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:04 +0200 Subject: [PATCH 187/701] python3Packages.distributed: 2022.5.2 -> 2022.7.0 --- pkgs/development/python-modules/distributed/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/distributed/default.nix b/pkgs/development/python-modules/distributed/default.nix index 426ee1107909..646899d36cf8 100644 --- a/pkgs/development/python-modules/distributed/default.nix +++ b/pkgs/development/python-modules/distributed/default.nix @@ -21,16 +21,21 @@ buildPythonPackage rec { pname = "distributed"; - version = "2022.5.2"; + version = "2022.7.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-BEqsUfpk/Z4WsaLEMVIg0oHw5cwbBfTT03hSQm8efLY="; + hash = "sha256-5oq6i+PiDl0RIKvKyEGQn/GAIXCKhBKvpY/xU8T6sKw="; }; + postPatch = '' + substituteInPlace requirements.txt \ + --replace "tornado >= 6.0.3, <6.2" "tornado >= 6.0.3" + ''; + propagatedBuildInputs = [ click cloudpickle From a3349806df71afc18ff31b8c4ef8261449837e34 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:04 +0200 Subject: [PATCH 188/701] python3Packages.django_compressor: 3.1 -> 4.0 --- pkgs/development/python-modules/django_compressor/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/django_compressor/default.nix b/pkgs/development/python-modules/django_compressor/default.nix index 82684b52374a..f71582418449 100644 --- a/pkgs/development/python-modules/django_compressor/default.nix +++ b/pkgs/development/python-modules/django_compressor/default.nix @@ -3,11 +3,11 @@ buildPythonPackage rec { pname = "django_compressor"; - version = "3.1"; + version = "4.0"; src = fetchPypi { inherit pname version; - sha256 = "c4a87bf65f9a534cfaf1c321a000a229c24e50c6d62ba6ab089482db42e819d9"; + sha256 = "sha256-HbkbbQQpNjami9Eyjce7kNY2sClfZ7HMbU+hArn9JfY="; }; postPatch = '' substituteInPlace setup.py \ From f67697fd5137465706556d7a65363ddd3206d9a8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:04 +0200 Subject: [PATCH 189/701] python3Packages.django-dynamic-preferences: 1.12.0 -> 1.13.0 --- .../python-modules/django-dynamic-preferences/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/django-dynamic-preferences/default.nix b/pkgs/development/python-modules/django-dynamic-preferences/default.nix index c9a0f10947ea..10cb2d132aa8 100644 --- a/pkgs/development/python-modules/django-dynamic-preferences/default.nix +++ b/pkgs/development/python-modules/django-dynamic-preferences/default.nix @@ -4,11 +4,11 @@ buildPythonPackage rec { pname = "django-dynamic-preferences"; - version = "1.12.0"; + version = "1.13.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-zYmHz45N024BmtPoolxYm8S0EMpKZs38vlwlpRenwK0="; + sha256 = "sha256-t7E8kTtbb24FyICv6uGpGxR6W8EfuVB5FR2cyItgalA="; }; propagatedBuildInputs = [ six django persisting-theory ]; From a8224fbbe76cfd20866734c053828815aca9855a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:04 +0200 Subject: [PATCH 190/701] python3Packages.django-environ: 0.8.1 -> 0.9.0 --- pkgs/development/python-modules/django_environ/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/django_environ/default.nix b/pkgs/development/python-modules/django_environ/default.nix index 633d3e7286eb..4fa1b0e8cef8 100644 --- a/pkgs/development/python-modules/django_environ/default.nix +++ b/pkgs/development/python-modules/django_environ/default.nix @@ -7,11 +7,11 @@ buildPythonPackage rec { pname = "django-environ"; - version = "0.8.1"; + version = "0.9.0"; src = fetchPypi { inherit pname version; - sha256 = "6f0bc902b43891656b20486938cba0861dc62892784a44919170719572a534cb"; + sha256 = "sha256-v/U4FTMFYyjJrAL3F5C9W/HOqBsb7rZI8ouByeg+CiE="; }; # The testsuite fails to modify the base environment From cac26f05aab1839df2e3f66f5c38685efe1d62bd Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:04 +0200 Subject: [PATCH 191/701] python3Packages.django-haystack: 3.1.1 -> 3.2.1 --- pkgs/development/python-modules/django-haystack/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/django-haystack/default.nix b/pkgs/development/python-modules/django-haystack/default.nix index 0f0f4a0a1174..b391fcac495e 100644 --- a/pkgs/development/python-modules/django-haystack/default.nix +++ b/pkgs/development/python-modules/django-haystack/default.nix @@ -20,13 +20,13 @@ buildPythonPackage rec { pname = "django-haystack"; - version = "3.1.1"; + version = "3.2.1"; format = "setuptools"; disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; - sha256 = "6d05756b95d7d5ec1dbd4668eb999ced1504b47f588e2e54be53b1404c516a82"; + sha256 = "sha256-l+MZeu/CJf5AW28XYAolNL+CfLTWdDEwwgvBoG9yk6Q="; }; postPatch = '' From aa205afb137d14511638b2a68a2559e45d46e537 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:05 +0200 Subject: [PATCH 192/701] python3Packages.django-hijack: 3.2.0 -> 3.2.1 --- pkgs/development/python-modules/django-hijack/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/django-hijack/default.nix b/pkgs/development/python-modules/django-hijack/default.nix index 78cce76ca5b0..326db4e3232a 100644 --- a/pkgs/development/python-modules/django-hijack/default.nix +++ b/pkgs/development/python-modules/django-hijack/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "django-hijack"; - version = "3.2.0"; + version = "3.2.1"; # the wheel comes with pre-built assets, allowing us to avoid fighting # with npm/webpack/gettext to build them ourselves. @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "django_hijack"; dist = "py3"; python = "py3"; - sha256 = "1ixn7ppmbq1bgqahwv3z57hk80ql7sxpwl8jms7y8w5z1h91cn86"; + sha256 = "sha256-sHI3ULJH5bH2n2AKQLHVEkBAYfM5GOC/+0qpKDFOods="; }; propagatedBuildInputs = [ django django_compat ]; From ddefa1f49aa60d712e6ce0228d8cc97142041af5 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:05 +0200 Subject: [PATCH 193/701] python3Packages.django-maintenance-mode: 0.16.2 -> 0.16.3 --- .../python-modules/django-maintenance-mode/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/django-maintenance-mode/default.nix b/pkgs/development/python-modules/django-maintenance-mode/default.nix index 86bcc85eb0ae..fb16843b4034 100644 --- a/pkgs/development/python-modules/django-maintenance-mode/default.nix +++ b/pkgs/development/python-modules/django-maintenance-mode/default.nix @@ -2,13 +2,13 @@ buildPythonPackage rec { pname = "django-maintenance-mode"; - version = "0.16.2"; + version = "0.16.3"; src = fetchFromGitHub { owner = "fabiocaccamo"; repo = pname; - rev = version; - sha256 = "0krcq04pf4g50q88l7q1wc53jgkhjmvif3acghfqq8c3s2y7mbz7"; + rev = "refs/tags/${version}"; + sha256 = "sha256-G08xQpLQxnt7JbtIo06z0NlRAMbca3UWbo4aXQR/Wy0="; }; checkInputs = [ pytest ]; From c0fa301b00ece72f8cd14adcb26c287c31b7c45e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:05 +0200 Subject: [PATCH 194/701] python3Packages.djangorestframework-simplejwt: 5.1.0 -> 5.2.0 --- .../python-modules/djangorestframework-simplejwt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix b/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix index d84a542d0bba..7a24ba5a8454 100644 --- a/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix +++ b/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix @@ -10,12 +10,12 @@ buildPythonPackage rec { pname = "djangorestframework-simplejwt"; - version = "5.1.0"; + version = "5.2.0"; src = fetchPypi { pname = "djangorestframework_simplejwt"; inherit version; - sha256 = "sha256-dTI1KKe5EIQ7h5GUdG8OvDSBxK2fNU3i3RYhYGYvuVo="; + sha256 = "sha256-pgsJr7J9ka0deskEzGMr1Szs6tjzifD6FTLOsPt1enQ="; }; nativeBuildInputs = [ From af41adb402ac95e80cd2ec29a75315f74a36af48 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:05 +0200 Subject: [PATCH 195/701] python3Packages.dogpile-cache: 1.1.7 -> 1.1.8 --- pkgs/development/python-modules/dogpile-cache/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dogpile-cache/default.nix b/pkgs/development/python-modules/dogpile-cache/default.nix index f5fde969a862..c367556b4ecb 100644 --- a/pkgs/development/python-modules/dogpile-cache/default.nix +++ b/pkgs/development/python-modules/dogpile-cache/default.nix @@ -11,13 +11,13 @@ buildPythonPackage rec { pname = "dogpile-cache"; - version = "1.1.7"; + version = "1.1.8"; disabled = pythonOlder "3.6"; src = fetchPypi { pname = "dogpile.cache"; inherit version; - sha256 = "sha256-IItZCpn6omXG4dEcLOnKZqsLgaU6zXL1aoJe7dI+5cg="; + sha256 = "sha256-2ETou2OMxPVEpMiag039Nv6TVAC3GhbL10Tr37cg/U4="; }; preCheck = '' From 70de50515205151198a464af5a75b3f62eeb4ba6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:05 +0200 Subject: [PATCH 196/701] python3Packages.doit: 0.35.0 -> 0.36.0 --- pkgs/development/python-modules/doit/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/doit/default.nix b/pkgs/development/python-modules/doit/default.nix index 71cc9f69654c..2ade1982ec27 100644 --- a/pkgs/development/python-modules/doit/default.nix +++ b/pkgs/development/python-modules/doit/default.nix @@ -2,6 +2,7 @@ , stdenv , fetchPypi , buildPythonPackage +, importlib-metadata , isPy3k , mock , pytestCheckHook @@ -13,17 +14,18 @@ buildPythonPackage rec { pname = "doit"; - version = "0.35.0"; + version = "0.36.0"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "sha256-cVoyLIdMTLhiOU46DWn/MlcrUln1cDb7/cEFPEwB00g="; + sha256 = "sha256-cdB8zJUUyyL+WdmJmVd2ZeqrV+FvZE0EM2rgtLriNLw="; }; propagatedBuildInputs = [ cloudpickle + importlib-metadata toml ] ++ lib.optional stdenv.isLinux pyinotify ++ lib.optional stdenv.isDarwin macfsevents; From 99634fac8473e64e676664a8b4745ab0fa921bd3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:05 +0200 Subject: [PATCH 197/701] python3Packages.drf-yasg: 1.20.0 -> 1.21.0 --- pkgs/development/python-modules/drf-yasg/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/drf-yasg/default.nix b/pkgs/development/python-modules/drf-yasg/default.nix index 4b55a08f842d..28520e814cb6 100644 --- a/pkgs/development/python-modules/drf-yasg/default.nix +++ b/pkgs/development/python-modules/drf-yasg/default.nix @@ -14,16 +14,16 @@ buildPythonPackage rec { pname = "drf-yasg"; - version = "1.20.0"; + version = "1.21.0"; src = fetchPypi { inherit pname version; - sha256 = "d50f197c7f02545d0b736df88c6d5cf874f8fea2507ad85ad7de6ae5bf2d9e5a"; + sha256 = "sha256-Lyh3plukEn1+7t+pp3oJbbLjdDvRIddFACmXtBfA2Go="; }; postPatch = '' # https://github.com/axnsan12/drf-yasg/pull/710 - substituteInPlace requirements/base.txt --replace packaging "" + sed -i "/packaging/d" requirements/base.txt ''; nativeBuildInputs = [ From 8f9af348e60548437265a1d5fbff74159d37e536 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:05 +0200 Subject: [PATCH 198/701] python3Packages.duckdb-engine: 0.1.11 -> 0.2.0 --- .../python-modules/duckdb-engine/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/duckdb-engine/default.nix b/pkgs/development/python-modules/duckdb-engine/default.nix index ef4bc5845929..234f014a7af1 100644 --- a/pkgs/development/python-modules/duckdb-engine/default.nix +++ b/pkgs/development/python-modules/duckdb-engine/default.nix @@ -8,10 +8,12 @@ , ipython-sql , poetry-core , sqlalchemy +, typing-extensions }: + buildPythonPackage rec { pname = "duckdb-engine"; - version = "0.1.11"; + version = "0.2.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -19,15 +21,15 @@ buildPythonPackage rec { src = fetchFromGitHub { repo = "duckdb_engine"; owner = "Mause"; - rev = "refs/tags/${version}"; - hash = "sha256-tjyaV9DmiP2XrKxSCX2qKo7T7GNZtT3y5d1yQLdVuSE="; + rev = "refs/tags/v${version}"; + hash = "sha256-UoTGFsno92iejBGvCsJ/jnhKJ41K9eTGwC7DomAp7IE="; }; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ duckdb sqlalchemy ]; - checkInputs = [ pytestCheckHook hypothesis ipython-sql ]; + checkInputs = [ pytestCheckHook hypothesis ipython-sql typing-extensions ]; pythonImportsCheck = [ "duckdb_engine" ]; From c9a62edcbbde06f3ec86bb60828434a5bb528d5a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:05 +0200 Subject: [PATCH 199/701] python3Packages.dulwich: 0.20.44 -> 0.20.45 --- pkgs/development/python-modules/dulwich/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dulwich/default.nix b/pkgs/development/python-modules/dulwich/default.nix index 85b837d102eb..d95fef43fad0 100644 --- a/pkgs/development/python-modules/dulwich/default.nix +++ b/pkgs/development/python-modules/dulwich/default.nix @@ -17,7 +17,7 @@ }: buildPythonPackage rec { - version = "0.20.44"; + version = "0.20.45"; pname = "dulwich"; format = "setuptools"; @@ -25,7 +25,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-EOjXN2PdMMhqmaFa3ov886uP6WUyzfSX6MsdEYMjUrg="; + hash = "sha256-cHEN2coqRCGQx+UGiS2wdMMYrHYuIh91KbjONIAgQbc="; }; LC_ALL = "en_US.UTF-8"; From f8219c956727c6fcc13d536641f13884d6cd5c6d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:05 +0200 Subject: [PATCH 200/701] python3Packages.dvc-render: 0.0.7 -> 0.0.8 --- .../python-modules/dvc-render/default.nix | 27 ++++++++++++------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/dvc-render/default.nix b/pkgs/development/python-modules/dvc-render/default.nix index adb19cf85029..4b4397029dac 100644 --- a/pkgs/development/python-modules/dvc-render/default.nix +++ b/pkgs/development/python-modules/dvc-render/default.nix @@ -2,17 +2,18 @@ , buildPythonPackage , fetchFromGitHub , funcy +, matplotlib +, tabulate , pytestCheckHook , pytest-mock , pytest-test-utils , pythonOlder , setuptools-scm -, tabulate }: buildPythonPackage rec { pname = "dvc-render"; - version = "0.0.7"; + version = "0.0.8"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -21,7 +22,7 @@ buildPythonPackage rec { owner = "iterative"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-QUrXUfvxQ2XZPTWXXuYBJpzFGNb8KeqpMh47WdCQu04="; + hash = "sha256-pn1dmCyDxbMgXwUj9o//X3FZ/x0jz5ZKdTcEuKkeJ1s="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; @@ -30,16 +31,24 @@ buildPythonPackage rec { setuptools-scm ]; - propagatedBuildInputs = [ - funcy - tabulate - ]; + passthru.optional-dependencies = { + table = [ + tabulate + ]; + markdown = [ + tabulate + matplotlib + ]; + }; checkInputs = [ + funcy pytestCheckHook pytest-mock pytest-test-utils - ]; + ] + ++ passthru.optional-dependencies.table + ++ passthru.optional-dependencies.markdown; pythonImportsCheck = [ "dvc_render" @@ -47,7 +56,7 @@ buildPythonPackage rec { meta = with lib; { description = "Library for rendering DVC plots"; - homepage = "https://github.com/iterative/dvclive"; + homepage = "https://github.com/iterative/dvc-render"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; From 44368f46ca5405c5f13ca0b02aedb0781e9dfc01 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:06 +0200 Subject: [PATCH 201/701] python3Packages.dynalite-devices: 0.46 -> 0.47 --- .../development/python-modules/dynalite-devices/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/dynalite-devices/default.nix b/pkgs/development/python-modules/dynalite-devices/default.nix index 3ee79ae44804..45db94a02f0e 100644 --- a/pkgs/development/python-modules/dynalite-devices/default.nix +++ b/pkgs/development/python-modules/dynalite-devices/default.nix @@ -8,13 +8,13 @@ buildPythonPackage rec { pname = "dynalite-devices"; - version = "0.46"; + version = "0.47"; src = fetchFromGitHub { owner = "ziv1234"; repo = "python-dynalite-devices"; - rev = "v${version}"; # https://github.com/ziv1234/python-dynalite-devices/issues/2 - hash = "sha256-Fju2JpFkQBCbOln7r3L+crv82TI2SkdPJ1oaK7PEifo="; + rev = "refs/tags/v${version}"; # https://github.com/ziv1234/python-dynalite-devices/issues/2 + hash = "sha256-kJo4e5vhgWzijLUhQd9VBVk1URpg9SXhOA60dJYashM="; }; postPatch = '' From fcf9c1489c4ddf3d92a6976af9ca8992573759ff Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:06 +0200 Subject: [PATCH 202/701] python3Packages.ecdsa: 0.17.0 -> 0.18.0 --- pkgs/development/python-modules/ecdsa/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ecdsa/default.nix b/pkgs/development/python-modules/ecdsa/default.nix index 15d034bae406..ce3d5bd4ce66 100644 --- a/pkgs/development/python-modules/ecdsa/default.nix +++ b/pkgs/development/python-modules/ecdsa/default.nix @@ -7,11 +7,11 @@ buildPythonPackage rec { pname = "ecdsa"; - version = "0.17.0"; + version = "0.18.0"; src = fetchPypi { inherit pname version; - sha256 = "b9f500bb439e4153d0330610f5d26baaf18d17b8ced1bc54410d189385ea68aa"; + sha256 = "sha256-GQNIBBVZ4hsiodZc7khSgsoRpvgdUD/duE1QF+ntHkk="; }; propagatedBuildInputs = [ six ]; From eb35cbf79ad1048c5c7b7f9a07a0f178fadb92a4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:06 +0200 Subject: [PATCH 203/701] python3Packages.email-validator: 1.1.3 -> 1.2.1 --- .../development/python-modules/email-validator/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/email-validator/default.nix b/pkgs/development/python-modules/email-validator/default.nix index bdd830810fb3..cb553c4fd5f6 100644 --- a/pkgs/development/python-modules/email-validator/default.nix +++ b/pkgs/development/python-modules/email-validator/default.nix @@ -8,13 +8,13 @@ buildPythonPackage rec { pname = "email-validator"; - version = "1.1.3"; + version = "1.2.1"; src = fetchFromGitHub { owner = "JoshData"; repo = "python-${pname}"; - rev = "v${version}"; - sha256 = "19n6p75m96kwg38bpfsa7ksj26aki02p5pr5f36q8wv3af84s61c"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-Avsqaev3LMoymU06y+u8MMv38ZI2cWk5tc/MkO+9oyA="; }; propagatedBuildInputs = [ @@ -32,6 +32,7 @@ buildPythonPackage rec { "test_deliverability_found" "test_deliverability_fails" "test_deliverability_dns_timeout" + "test_email_example_reserved_domain" "test_main_single_good_input" "test_main_multi_input" "test_main_input_shim" From 3920fde6f0624bb9b6652f416b713d4528ef4434 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:06 +0200 Subject: [PATCH 204/701] python3Packages.emoji: 1.7.0 -> 2.0.0 --- pkgs/development/python-modules/emoji/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/emoji/default.nix b/pkgs/development/python-modules/emoji/default.nix index 84a709ac5392..ce1a57bc33ab 100644 --- a/pkgs/development/python-modules/emoji/default.nix +++ b/pkgs/development/python-modules/emoji/default.nix @@ -6,13 +6,13 @@ buildPythonPackage rec { pname = "emoji"; - version = "1.7.0"; + version = "2.0.0"; src = fetchFromGitHub { owner = "carpedm20"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-vKQ51RP7uy57vP3dOnHZRSp/Wz+YDzeLUR8JnIELE/I="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-8Wm0yqCnscUc5da4c2hLOQsFMcr3XVe8FArX9wllo8Q="; }; checkInputs = [ From 1b4c744327c5d3538466b97d82c8b4895ebf37e3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:06 +0200 Subject: [PATCH 205/701] python3Packages.epson-projector: 0.4.2 -> 0.4.6 --- pkgs/development/python-modules/epson-projector/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/epson-projector/default.nix b/pkgs/development/python-modules/epson-projector/default.nix index 756472222d8e..7dbe665ede8e 100644 --- a/pkgs/development/python-modules/epson-projector/default.nix +++ b/pkgs/development/python-modules/epson-projector/default.nix @@ -8,12 +8,12 @@ buildPythonPackage rec { pname = "epson-projector"; - version = "0.4.2"; + version = "0.4.6"; src = fetchPypi { pname = "epson_projector"; inherit version; - sha256 = "4ade1c7a0f7008d23b08bd886c8790c44cf7d60453d1eb5a8077c92aaf790d30"; + sha256 = "sha256-F8Dvk5OtlPbFyIedJb+zM2iN9eT0jDQEs06xbL3rlVs="; }; propagatedBuildInputs = [ From 7fc1cf74c11575864bc75af2e39f92fc77671254 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:06 +0200 Subject: [PATCH 206/701] python3Packages.eradicate: 2.0.0 -> 2.1.0 --- pkgs/development/python-modules/eradicate/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/eradicate/default.nix b/pkgs/development/python-modules/eradicate/default.nix index 45f0599ea2d7..757dad33c096 100644 --- a/pkgs/development/python-modules/eradicate/default.nix +++ b/pkgs/development/python-modules/eradicate/default.nix @@ -2,11 +2,11 @@ buildPythonPackage rec { pname = "eradicate"; - version = "2.0.0"; + version = "2.1.0"; src = fetchPypi { inherit pname version; - sha256 = "27434596f2c5314cc9b31410c93d8f7e8885747399773cd088d3adea647a60c8"; + sha256 = "sha256-qsc4SrJbG/IcTAEt6bS/g5iUWhTJjJEVRbLqUKtVgBQ="; }; meta = with lib; { From 478d154afb0c9e2b8e5a3f745d23b24109ef9ef4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:06 +0200 Subject: [PATCH 207/701] python3Packages.ExifRead: 2.3.2 -> 3.0.0 --- pkgs/development/python-modules/exifread/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/exifread/default.nix b/pkgs/development/python-modules/exifread/default.nix index 16c5441803ea..1e4ba3c17695 100644 --- a/pkgs/development/python-modules/exifread/default.nix +++ b/pkgs/development/python-modules/exifread/default.nix @@ -5,11 +5,11 @@ buildPythonPackage rec { pname = "ExifRead"; - version = "2.3.2"; + version = "3.0.0"; src = fetchPypi { inherit pname version; - sha256 = "a0f74af5040168d3883bbc980efe26d06c89f026dc86ba28eb34107662d51766"; + sha256 = "sha256-CsWjZBadvfK9YvlPXAc5cKtmlKMWYXf15EixDJQ+LKQ="; }; meta = with lib; { From 67257c62f1c7bd14f92e3258cb670361490d83fd Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:06 +0200 Subject: [PATCH 208/701] python3Packages.faker: 13.3.4 -> 13.15.0 --- pkgs/development/python-modules/faker/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/faker/default.nix b/pkgs/development/python-modules/faker/default.nix index 7ca49a484342..a464d0372b51 100644 --- a/pkgs/development/python-modules/faker/default.nix +++ b/pkgs/development/python-modules/faker/default.nix @@ -12,12 +12,12 @@ buildPythonPackage rec { pname = "faker"; - version = "13.3.4"; + version = "13.15.0"; src = fetchPypi { pname = "Faker"; inherit version; - hash = "sha256-GIlhBl+1x46mOfQhdvVRAPcskMOjF5rGyVXEvXErBRE="; + hash = "sha256-oSb6ZvVOZaZ/kT3MaYydAj3vcneIJTa94paPyscBv9U="; }; propagatedBuildInputs = [ From 7c0ea4f0bc891832b2c1ecd90adc4baa2699ea68 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:06 +0200 Subject: [PATCH 209/701] python3Packages.filetype: 1.0.13 -> 1.1.0 --- pkgs/development/python-modules/filetype/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/filetype/default.nix b/pkgs/development/python-modules/filetype/default.nix index 1a85a61f6426..0feaa5595f90 100644 --- a/pkgs/development/python-modules/filetype/default.nix +++ b/pkgs/development/python-modules/filetype/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "filetype"; - version = "1.0.13"; + version = "1.1.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-ahBHYv6T11XJYqqWyz2TCkj5GgdhBHEmxe6tIVPjOwM="; + hash = "sha256-r+SgAClgH2bSObcmiAZcx8IZ3sHJJ5lPkLgl6eU9j5M="; }; checkInputs = [ @@ -30,6 +30,8 @@ buildPythonPackage rec { "test_guess_memoryview" "test_guess_extension_memoryview" "test_guess_mime_memoryview" + # https://github.com/h2non/filetype.py/issues/128 + "test_guess_zstd" ]; disabledTestPaths = [ From b742863f127e71dcf6041dd0f98731aa7aeb0e45 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:07 +0200 Subject: [PATCH 210/701] python3Packages.findpython: 0.1.6 -> 0.2.0 --- pkgs/development/python-modules/findpython/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/findpython/default.nix b/pkgs/development/python-modules/findpython/default.nix index 6c4f5daf6486..46b2d93bf6b4 100644 --- a/pkgs/development/python-modules/findpython/default.nix +++ b/pkgs/development/python-modules/findpython/default.nix @@ -15,7 +15,7 @@ let pname = "findpython"; - version = "0.1.6"; + version = "0.2.0"; in buildPythonPackage { inherit pname version; @@ -25,7 +25,7 @@ buildPythonPackage { src = fetchPypi { inherit pname version; - hash = "sha256-n9YYXNy5a6pxCTCER++0k7LH8aj1aeEorxTXJrKmnhg="; + hash = "sha256-wgme4LcfwnFLZPaP0fQLwO5H9J3+lUf7ZNfLzAL+CHE="; }; nativeBuildInputs = [ From 62dda1ad7192cb3c2ebad1ddba92d096f7b5a1e9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:07 +0200 Subject: [PATCH 211/701] python3Packages.flask-appbuilder: 4.0.0 -> 4.1.3 --- pkgs/development/python-modules/flask-appbuilder/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/flask-appbuilder/default.nix b/pkgs/development/python-modules/flask-appbuilder/default.nix index 9b0e993b1eb3..8d79b6b7c8b1 100644 --- a/pkgs/development/python-modules/flask-appbuilder/default.nix +++ b/pkgs/development/python-modules/flask-appbuilder/default.nix @@ -27,7 +27,7 @@ buildPythonPackage rec { pname = "flask-appbuilder"; - version = "4.0.0"; + version = "4.1.3"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -43,7 +43,7 @@ buildPythonPackage rec { # https://github.com/dpgaspar/Flask-AppBuilder/pull/1734 name = "flask-appbuilder-wtf3.patch"; url = "https://github.com/dpgaspar/Flask-AppBuilder/commit/bccb3d719cd3ceb872fe74a9ab304d74664fbf43.patch"; - sha256 = "1rsci0ynb7y6k53j164faggjr2g6l5v78w7953qbxcy8f55sb2fv"; + sha256 = "sha256-8NaTr0RcnsVik/AB4g8QL+FkcRlgkkASFe8fXIvFt/A="; excludes = [ "requirements.txt" "setup.py" From 5845ae797395332b89eff676fe4b6ffb0e54c6ba Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:07 +0200 Subject: [PATCH 212/701] python3Packages.Flask-Caching: 1.11.1 -> 2.0.0 --- .../python-modules/flask-caching/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/flask-caching/default.nix b/pkgs/development/python-modules/flask-caching/default.nix index 6e78841ab8c3..6a7f51e81fe6 100644 --- a/pkgs/development/python-modules/flask-caching/default.nix +++ b/pkgs/development/python-modules/flask-caching/default.nix @@ -11,14 +11,20 @@ buildPythonPackage rec { pname = "Flask-Caching"; - version = "1.11.1"; + version = "2.0.0"; + format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "28af189e97defb9e39b43ebe197b54a58aaee81bdeb759f46d969c26d7aa7810"; + sha256 = "sha256-MwDvzNo1nWnODmgkuQy1cf+JWjkHwxJmwDQsykvEA0A="; }; + postPatch = '' + substituteInPlace setup.py \ + --replace "Flask <= 2.1.2" "Flask <= 2.2" + ''; + propagatedBuildInputs = [ cachelib flask From d9117fb872c8c20998fadfc5464a4b0c67faf02e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:07 +0200 Subject: [PATCH 213/701] python3Packages.flask-swagger-ui: 3.36.0 -> 4.11.1 --- pkgs/development/python-modules/flask-swagger-ui/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/flask-swagger-ui/default.nix b/pkgs/development/python-modules/flask-swagger-ui/default.nix index d238ba5acb75..e68f69e248e5 100644 --- a/pkgs/development/python-modules/flask-swagger-ui/default.nix +++ b/pkgs/development/python-modules/flask-swagger-ui/default.nix @@ -2,11 +2,11 @@ buildPythonPackage rec { pname = "flask-swagger-ui"; - version = "3.36.0"; + version = "4.11.1"; src = fetchPypi { inherit pname version; - sha256 = "f329752a65b2940ada8eeb57bce613f7c0a12856a9c31063bb9e33798554c9ed"; + sha256 = "sha256-o3AZmngNZ4sy448b4Q1Nge+g7mPp/i+3Zv8aS2w32sg="; }; doCheck = false; # there are no tests From b23817c73145ae1dd7bae85f0dbd8df34d560ca2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:07 +0200 Subject: [PATCH 214/701] python3Packages.flax: 0.4.1 -> 0.5.2 --- pkgs/development/python-modules/flax/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/flax/default.nix b/pkgs/development/python-modules/flax/default.nix index 1cd68790479f..5eda127fb1c0 100644 --- a/pkgs/development/python-modules/flax/default.nix +++ b/pkgs/development/python-modules/flax/default.nix @@ -14,13 +14,13 @@ buildPythonPackage rec { pname = "flax"; - version = "0.4.1"; + version = "0.5.2"; src = fetchFromGitHub { owner = "google"; repo = pname; - rev = "v${version}"; - sha256 = "0j5ngdndm9nm49gcda7m36qzwk5lcbi4jnij9fi96vld54ip6f6v"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-t24JZ08EmvuAINZC26OQI1icklUhUkfz6ZRKPr2COAw="; }; buildInputs = [ jaxlib ]; From f82a54ab891eea15f9597053ac4fbf70241d507e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:07 +0200 Subject: [PATCH 215/701] python3Packages.flower: 1.0.0 -> 1.1.0 --- pkgs/development/python-modules/flower/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/flower/default.nix b/pkgs/development/python-modules/flower/default.nix index c8c9b7f4b19d..14bb7ae6cb46 100644 --- a/pkgs/development/python-modules/flower/default.nix +++ b/pkgs/development/python-modules/flower/default.nix @@ -12,12 +12,12 @@ buildPythonPackage rec { pname = "flower"; - version = "1.0.0"; + version = "1.1.0"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "1gcczr04g7wx99h7pxxx1p9n50sbyi0zxrzy7f7m0sf5apxw85rf"; + sha256 = "sha256-+SDKKQLXU5/BgKsV5R8dkYNV5cwj2oVP+dWcbloXJbY="; }; postPatch = '' From af1931527c67413c459ddaff8c43223a41be2039 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:07 +0200 Subject: [PATCH 216/701] python3Packages.fontmake: 3.3.0 -> 3.4.0 --- pkgs/development/python-modules/fontmake/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fontmake/default.nix b/pkgs/development/python-modules/fontmake/default.nix index a075d64406ee..87fc01f83df9 100644 --- a/pkgs/development/python-modules/fontmake/default.nix +++ b/pkgs/development/python-modules/fontmake/default.nix @@ -12,11 +12,11 @@ buildPythonPackage rec { pname = "fontmake"; - version = "3.3.0"; + version = "3.4.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-lD7MvZdr9CeWdoZtD3+8stVJTeQN5/AQ4miA/I2TFoE="; + sha256 = "sha256-g/JTmYE078qAFcTVCumVvGj65LbnDsCIUsFfqVlihTk="; extension = "zip"; }; From 8f557351e903d4c7655c694b1c5dd8234a61c120 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:07 +0200 Subject: [PATCH 217/701] python3Packages.fonttools: 4.33.3 -> 4.34.4 --- pkgs/development/python-modules/fonttools/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/fonttools/default.nix b/pkgs/development/python-modules/fonttools/default.nix index 88789f6b57f3..cfcabbddc289 100644 --- a/pkgs/development/python-modules/fonttools/default.nix +++ b/pkgs/development/python-modules/fonttools/default.nix @@ -24,15 +24,15 @@ buildPythonPackage rec { pname = "fonttools"; - version = "4.33.3"; + version = "4.34.4"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = pname; repo = pname; - rev = version; - sha256 = "MUIZGnYwlfTat9655AOYgK5r6AvHj/xXghUvOZR8HIM="; + rev = "refs/tags/${version}"; + sha256 = "sha256-GwbcrDsfxs5qRQJozhK/+n3W3NlO39g7pzxL9iIiDfU="; }; nativeBuildInputs = [ setuptools-scm ]; From 4b9c71f4a5c23360410f27c7573eb01a6e48ff11 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:07 +0200 Subject: [PATCH 218/701] python3Packages.frozendict: 2.3.1 -> 2.3.2 --- pkgs/development/python-modules/frozendict/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/frozendict/default.nix b/pkgs/development/python-modules/frozendict/default.nix index fe0c4b23354c..d236a6e15e5b 100644 --- a/pkgs/development/python-modules/frozendict/default.nix +++ b/pkgs/development/python-modules/frozendict/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "frozendict"; - version = "2.3.1"; + version = "2.3.2"; format = "setuptools"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "sha256-vJHGkjPrkWu268QJiLbYSXNXcCQO/JxgvkW0q5GcG94="; + sha256 = "sha256-f6xFQvChP75wTbSUL0G6Or/+xa+LEAAllz5Z3/agnQ0="; }; pythonImportsCheck = [ From 94281bdbae705deca2a2cb72ff676f0a28198928 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:08 +0200 Subject: [PATCH 219/701] python3Packages.functorch: 0.1.1 -> 0.2.0 --- pkgs/development/python-modules/functorch/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/functorch/default.nix b/pkgs/development/python-modules/functorch/default.nix index e7f4e29fe94a..53860d2c2b49 100644 --- a/pkgs/development/python-modules/functorch/default.nix +++ b/pkgs/development/python-modules/functorch/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "functorch"; - version = "0.1.1"; + version = "0.2.0"; format = "setuptools"; src = fetchFromGitHub { owner = "pytorch"; repo = pname; - rev = "v${version}"; - hash = "sha256-FidM04Q3hkGEDr4dthJv0MWtGiRfnWxJoyzu7Wl3SD8="; + rev = "refs/tags/v${version}"; + hash = "sha256-33skKk5aAIHn+1149ifolXPA+tpQ+WROAZvwPeGBbrA="; }; # Somewhat surprisingly pytorch is actually necessary for the build process. From e4973d047433ccc88017847b2154d8d0de19e405 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:08 +0200 Subject: [PATCH 220/701] python3Packages.generic: 1.0.1 -> 1.1.0 --- pkgs/development/python-modules/generic/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/generic/default.nix b/pkgs/development/python-modules/generic/default.nix index 87dca630a1b8..98e601140d49 100644 --- a/pkgs/development/python-modules/generic/default.nix +++ b/pkgs/development/python-modules/generic/default.nix @@ -2,25 +2,30 @@ , buildPythonPackage , pythonOlder , fetchPypi +, exceptiongroup , poetry-core }: buildPythonPackage rec { pname = "generic"; - version = "1.0.1"; + version = "1.1.0"; disabled = pythonOlder "3.7"; format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "sha256-ex93I+ofo5lP6qoolZwzjxSspeqJimY3vpB32RLJ00k="; + sha256 = "sha256-/947oEvZSD5mjRD9qcuzKAFativTmaeejXxQ322UD+A="; }; nativeBuildInputs = [ poetry-core ]; + propagatedBuildInputs = [ + exceptiongroup + ]; + pythonImportsCheck = [ "generic" ]; meta = with lib; { From 8e17408336ac978580c4ae5b90377c43d8cd214e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:08 +0200 Subject: [PATCH 221/701] python3Packages.GeoAlchemy2: 0.11.1 -> 0.12.1 --- pkgs/development/python-modules/geoalchemy2/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/geoalchemy2/default.nix b/pkgs/development/python-modules/geoalchemy2/default.nix index 9260bb6e3c39..dc2b3dbd4de1 100644 --- a/pkgs/development/python-modules/geoalchemy2/default.nix +++ b/pkgs/development/python-modules/geoalchemy2/default.nix @@ -5,18 +5,19 @@ , setuptools-scm , shapely , sqlalchemy +, alembic , psycopg2 , pytestCheckHook }: buildPythonPackage rec { pname = "GeoAlchemy2"; - version = "0.11.1"; + version = "0.12.1"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-+SoPrdtbdDhNu/PHAAQzNYzo4HoYD+HWwoQ+qgQ3/wg="; + sha256 = "sha256-7566ebZ/9LxyCw4ZkUEIZvx9sBODewVaGyy2UYuZTYA="; }; nativeBuildInputs = [ @@ -30,6 +31,7 @@ buildPythonPackage rec { ]; checkInputs = [ + alembic psycopg2 pytestCheckHook ]; @@ -48,6 +50,7 @@ buildPythonPackage rec { "tests/gallery/test_type_decorator.py" "tests/test_functional.py" "tests/test_functional_postgresql.py" + "tests/test_alembic_migrations.py" ]; pythonImportsCheck = [ From 6517a4f6e48465b635dfd09de00a4716211fe557 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:08 +0200 Subject: [PATCH 222/701] python3Packages.geographiclib: 1.52 -> 2.0 --- pkgs/development/python-modules/geographiclib/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/geographiclib/default.nix b/pkgs/development/python-modules/geographiclib/default.nix index 0526a584a41b..12a542af509d 100644 --- a/pkgs/development/python-modules/geographiclib/default.nix +++ b/pkgs/development/python-modules/geographiclib/default.nix @@ -2,15 +2,17 @@ , buildPythonPackage , fetchPypi , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "geographiclib"; - version = "1.52"; + version = "2.0"; + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-rEANZyuJVLAwa8qJCwiLuLoqdX3IEzzKC4ePNLM7J0A="; + sha256 = "sha256-9/Qchdw+HC09k17IZmDcOyyEjIPhf5qeUbqdUUahWFk="; }; checkInputs = [ @@ -23,5 +25,6 @@ buildPythonPackage rec { homepage = "https://geographiclib.sourceforge.io"; description = "Algorithms for geodesics (Karney, 2013) for solving the direct and inverse problems for an ellipsoid of revolution"; license = licenses.mit; + maintainers = with maintainers; [ ]; }; } From 86e3bfe5f8d7e886a3ec01ad9945bdba8043d9e4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:08 +0200 Subject: [PATCH 223/701] python3Packages.geventhttpclient: 1.5.3 -> 1.5.5 --- .../python-modules/geventhttpclient/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/geventhttpclient/default.nix b/pkgs/development/python-modules/geventhttpclient/default.nix index 4a349106ac3f..50c8b60487ae 100644 --- a/pkgs/development/python-modules/geventhttpclient/default.nix +++ b/pkgs/development/python-modules/geventhttpclient/default.nix @@ -8,18 +8,19 @@ , pytestCheckHook , pythonOlder , six +, urllib3 }: buildPythonPackage rec { pname = "geventhttpclient"; - version = "1.5.3"; + version = "1.5.5"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-2A7J/0K3IZ8zVYGFSZ0LQ2VZf8Vf+IYge0X1Yy4Jl4A="; + hash = "sha256-H0+XP7n2r+TO7BOdXV2BmbVzM3Gm0uzAZeJXyBAgU5s="; }; propagatedBuildInputs = [ @@ -32,10 +33,11 @@ buildPythonPackage rec { checkInputs = [ dpkt pytestCheckHook + urllib3 ]; disabledTests = [ - # socket.gaierror: [Errno -2] Name or service not known + # socket.gaierror: [Errno -3] Temporary failure in name resolution "test_client_simple" "test_client_without_leading_slas" "test_request_with_headers" @@ -50,8 +52,8 @@ buildPythonPackage rec { ]; meta = with lib; { - homepage = "https://github.com/gwik/geventhttpclient"; - description = "HTTP client library for gevent"; + homepage = "https://github.com/geventhttpclient/geventhttpclient"; + description = "High performance, concurrent HTTP client library using gevent"; license = licenses.mit; maintainers = with maintainers; [ koral ]; }; From ccb6e6113cad920d089355606737bdec6b5eec77 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:08 +0200 Subject: [PATCH 224/701] python3Packages.gigalixir: 1.2.5 -> 1.2.6 --- pkgs/development/python-modules/gigalixir/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/gigalixir/default.nix b/pkgs/development/python-modules/gigalixir/default.nix index 68283546e544..ab05ccfc3b30 100644 --- a/pkgs/development/python-modules/gigalixir/default.nix +++ b/pkgs/development/python-modules/gigalixir/default.nix @@ -18,14 +18,14 @@ buildPythonApplication rec { pname = "gigalixir"; - version = "1.2.5"; + version = "1.2.6"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-P70xsI/zwsoSgK1XCPzJSI5NQ58M431kmgo5gHXbaNw="; + hash = "sha256-a2kU5vUSiOg0yFvGLxE2Edgyrar7psBD4NPEmDsP3IY="; }; propagatedBuildInputs = [ From 1cd71848df70be585dce211b7f86f506ce7e632f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:08 +0200 Subject: [PATCH 225/701] python3Packages.glean-parser: 5.1.2 -> 6.1.1 --- .../python-modules/glean-parser/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/glean-parser/default.nix b/pkgs/development/python-modules/glean-parser/default.nix index 535fd9750748..9f80204e7360 100644 --- a/pkgs/development/python-modules/glean-parser/default.nix +++ b/pkgs/development/python-modules/glean-parser/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "glean-parser"; - version = "5.1.2"; + version = "6.1.1"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -23,13 +23,13 @@ buildPythonPackage rec { src = fetchPypi { pname = "glean_parser"; inherit version; - hash = "sha256-PjOMNUnrz0kDfYEXv5Ni/9RIHn4Yylle6NJOK1Rb3SY="; + hash = "sha256-vEGleqQytNYyy/DfHwqxrHIOMCj4sZTavfuxyDc5O30="; }; postPatch = '' substituteInPlace setup.py \ --replace "pytest-runner" "" \ - --replace "MarkupSafe==2.0.1" "MarkupSafe" + --replace "MarkupSafe>=1.1.1,<=2.0.1" "MarkupSafe>=1.1.1" ''; nativeBuildInputs = [ @@ -50,9 +50,15 @@ buildPythonPackage rec { pytestCheckHook ]; + preCheck = '' + export HOME=$TMPDIR + ''; + disabledTests = [ - # https://bugzilla.mozilla.org/show_bug.cgi?id=1741668 + # Network access "test_validate_ping" + # Fails since yamllint 1.27.x + "test_yaml_lint" ]; pythonImportsCheck = [ From dc5131ef10d3167bbb832ba7ef0a9f443e218637 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:08 +0200 Subject: [PATCH 226/701] python3Packages.glean-sdk: 44.0.0 -> 50.1.2 --- pkgs/development/python-modules/glean-sdk/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/glean-sdk/default.nix b/pkgs/development/python-modules/glean-sdk/default.nix index 2f569758b4ac..c363d2150db2 100644 --- a/pkgs/development/python-modules/glean-sdk/default.nix +++ b/pkgs/development/python-modules/glean-sdk/default.nix @@ -16,19 +16,19 @@ buildPythonPackage rec { pname = "glean-sdk"; - version = "44.0.0"; + version = "50.1.2"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-gzLsBwq3wrFde5cEb5+oFLW4KrwoiZpr22JbJhNr1yk="; + hash = "sha256-avTIinFBSoCHeCiX7EoS4ucBK6FyFC1SuAFpSdxwPUk="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - sha256 = "sha256-lWFv8eiA3QHp5bhcg4qon/dvKUbFbtH1Q2oXGkk0Me0="; + hash = "sha256:10k8684665iawf1yswx39s4cj6c5d37j4d7jgbn0fcm08qlkfzxi"; }; nativeBuildInputs = [ From 112373c620d6998c1665caef1d6f1afb0519ac30 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:08 +0200 Subject: [PATCH 227/701] python3Packages.glyphslib: 6.0.4 -> 6.0.6 --- pkgs/development/python-modules/glyphslib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/glyphslib/default.nix b/pkgs/development/python-modules/glyphslib/default.nix index 2d6b19bea35d..d4748b6b119a 100644 --- a/pkgs/development/python-modules/glyphslib/default.nix +++ b/pkgs/development/python-modules/glyphslib/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "glyphslib"; - version = "6.0.4"; + version = "6.0.6"; format = "pyproject"; src = fetchPypi { pname = "glyphsLib"; inherit version; - sha256 = "sha256-PT66n1WEO5FNcwov8GaXT1YNrAi22X4HN7iVNkuehKI="; + sha256 = "sha256-F4ev+o6vwDjV2H3z+DrwQZ7VLc1cSIjCWhgY7pcse1M="; }; nativeBuildInputs = [ setuptools-scm ]; From 66894c078b04678ad16be9bf4459fc0aa045f424 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:08 +0200 Subject: [PATCH 228/701] python3Packages.goobook: 3.5.1 -> 3.5.2 --- pkgs/development/python-modules/goobook/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/goobook/default.nix b/pkgs/development/python-modules/goobook/default.nix index 42e2b84783f5..e196f0ec09d8 100644 --- a/pkgs/development/python-modules/goobook/default.nix +++ b/pkgs/development/python-modules/goobook/default.nix @@ -5,12 +5,12 @@ buildPythonPackage rec { pname = "goobook"; - version = "3.5.1"; + version = "3.5.2"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "6e69aeaf69112d116302f0c42ca1904f3b6efd17f15cefc12c866206160293be"; + sha256 = "sha256-i24Hh10iXFUiWVgokMs7f8ZpIVN/ZEF421tfa2ByQ4c="; }; nativeBuildInputs = [ docutils installShellFiles ]; From ce29e81fafb753d7627fd666e756f7b7d179781e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:09 +0200 Subject: [PATCH 229/701] python3Packages.google-api-core: 2.8.1 -> 2.8.2 --- pkgs/development/python-modules/google-api-core/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-api-core/default.nix b/pkgs/development/python-modules/google-api-core/default.nix index 6fc435be4992..50b58e5a3f15 100644 --- a/pkgs/development/python-modules/google-api-core/default.nix +++ b/pkgs/development/python-modules/google-api-core/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "google-api-core"; - version = "2.8.1"; + version = "2.8.2"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-lYAkxqo0YLCPNXQSMQdqTdmkyBmmo51E2pYn/r6LKPA="; + sha256 = "sha256-BvckTGQDIrUIsSWQO7VwG+urzogy+Fq6kzXsALPQLtw="; }; propagatedBuildInputs = [ From c43a9fa0c3b2d3e302ca5d85e57b2bb20a76a16e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:09 +0200 Subject: [PATCH 230/701] python3Packages.google-api-python-client: 2.42.0 -> 2.53.0 --- .../python-modules/google-api-python-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 bce1897eac56..1997d88821b3 100644 --- a/pkgs/development/python-modules/google-api-python-client/default.nix +++ b/pkgs/development/python-modules/google-api-python-client/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "google-api-python-client"; - version = "2.42.0"; + version = "2.53.0"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-e/WLZltjXQattHeXqaT3NILnOeAu0DbNlg3HwYM2H2c="; + sha256 = "sha256-kEs9aH4otT9N3iNrReRDxjh+FzYU6ZGD3FuKzb03DRg="; }; propagatedBuildInputs = [ From 47601eb438e2f73df74601bded2c027b2d35c7dd Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:09 +0200 Subject: [PATCH 231/701] python3Packages.googleapis-common-protos: 1.56.2 -> 1.56.4 --- .../python-modules/googleapis-common-protos/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/googleapis-common-protos/default.nix b/pkgs/development/python-modules/googleapis-common-protos/default.nix index 2cb706bc02dd..2c35387b124d 100644 --- a/pkgs/development/python-modules/googleapis-common-protos/default.nix +++ b/pkgs/development/python-modules/googleapis-common-protos/default.nix @@ -7,11 +7,11 @@ buildPythonPackage rec { pname = "googleapis-common-protos"; - version = "1.56.2"; + version = "1.56.4"; src = fetchPypi { inherit pname version; - sha256 = "sha256-sJtW9UYwcMIVN1PvEj8H0uSSNeiRSOmyRZ7I7S9o19M="; + sha256 = "sha256-wlhzxHJ5OHz9y9r6NhSYh5AdNiAstkWg5PKWhr9uRBc="; }; propagatedBuildInputs = [ grpc protobuf ]; From d75b4ed48a1477cdab55929d79ec176b3a623861 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:09 +0200 Subject: [PATCH 232/701] python3Packages.google-auth: 2.6.6 -> 2.9.1 --- .../python-modules/google-auth/default.nix | 52 +++++++++++++++---- 1 file changed, 42 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/google-auth/default.nix b/pkgs/development/python-modules/google-auth/default.nix index d228e40e1a00..f1aba037ee01 100644 --- a/pkgs/development/python-modules/google-auth/default.nix +++ b/pkgs/development/python-modules/google-auth/default.nix @@ -2,46 +2,78 @@ , lib , buildPythonPackage , fetchPypi -, pytestCheckHook , cachetools +, pyasn1-modules +, rsa +, six +, aiohttp , cryptography +, pyopenssl +, pyu2f +, requests +, aioresponses +, asynctest , flask , freezegun +, grpcio , mock , oauth2client -, pyasn1-modules -, pyu2f +, pytest-asyncio , pytest-localserver +, pytestCheckHook , responses -, rsa +, urllib3 }: buildPythonPackage rec { pname = "google-auth"; - version = "2.6.6"; + version = "2.9.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-G6STjgMrc961HlnEZWoA4JOc8LERJXUJnxNrq7RWMxI="; + sha256 = "sha256-FCkvo0KfK7HpmGJVTN4e5zDWhA664GeBTT0V2FScCIg="; }; propagatedBuildInputs = [ cachetools pyasn1-modules rsa - pyu2f + six ]; + passthru.optional-dependencies = { + aiohttp = [ + aiohttp + requests + ]; + enterprise_cert = [ + cryptography + pyopenssl + ]; + pyopenssl = [ + pyopenssl + ]; + reauth = [ + pyu2f + ]; + }; + checkInputs = [ - cryptography + aioresponses + asynctest flask freezegun + grpcio mock oauth2client - pytestCheckHook + pytest-asyncio pytest-localserver + pytestCheckHook responses - ]; + urllib3 + ] ++ passthru.optional-dependencies.aiohttp + ++ passthru.optional-dependencies.enterprise_cert + ++ passthru.optional-dependencies.reauth; pythonImportsCheck = [ "google.auth" From 756a86d86ad512eeb33ac495774451423cecf935 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:09 +0200 Subject: [PATCH 233/701] python3Packages.google-auth-oauthlib: 0.5.1 -> 0.5.2 --- .../python-modules/google-auth-oauthlib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-auth-oauthlib/default.nix b/pkgs/development/python-modules/google-auth-oauthlib/default.nix index 449a07ea40cb..d5e7848b3e46 100644 --- a/pkgs/development/python-modules/google-auth-oauthlib/default.nix +++ b/pkgs/development/python-modules/google-auth-oauthlib/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "google-auth-oauthlib"; - version = "0.5.1"; + version = "0.5.2"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-MFlrgk/GgI/ayi8EjkmYzED7SzWZ6upm0o3HCFs2xbg="; + sha256 = "sha256-1emKcSAzMGmfkqJrwIhHqS6MOxuNgqAh8a80Fk2xQ64="; }; propagatedBuildInputs = [ From be9d56e99076756fa816d0637e686653fc58d76f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:09 +0200 Subject: [PATCH 234/701] python3Packages.google-cloud-bigquery: 3.1.0 -> 3.2.0 --- .../python-modules/google-cloud-bigquery/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-bigquery/default.nix b/pkgs/development/python-modules/google-cloud-bigquery/default.nix index 94cebca1a0ac..27db85ab488c 100644 --- a/pkgs/development/python-modules/google-cloud-bigquery/default.nix +++ b/pkgs/development/python-modules/google-cloud-bigquery/default.nix @@ -21,12 +21,12 @@ buildPythonPackage rec { pname = "google-cloud-bigquery"; - version = "3.1.0"; + version = "3.2.0"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-0tbK940cEz5//ZsLfi198fmy9wPeN3SXuW2adM/o7AI="; + sha256 = "sha256-l/tDBuMky4aQnOMqmUToHSH7yyingMXN8BtuTUfUwyI="; }; postPatch = '' From 472f014ac6d1bfbd487434162e9e06a26bcce683 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:09 +0200 Subject: [PATCH 235/701] python3Packages.google-cloud-core: 2.3.0 -> 2.3.1 --- pkgs/development/python-modules/google-cloud-core/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-core/default.nix b/pkgs/development/python-modules/google-cloud-core/default.nix index c446c7a6d2ea..54dd6cb837a3 100644 --- a/pkgs/development/python-modules/google-cloud-core/default.nix +++ b/pkgs/development/python-modules/google-cloud-core/default.nix @@ -8,11 +8,11 @@ buildPythonPackage rec { pname = "google-cloud-core"; - version = "2.3.0"; + version = "2.3.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-/apinmF0tBd8LVbrirHd2HZhBk0KPpuwa2Lk1+I0Rmk="; + sha256 = "sha256-NDNDWcsEGHvcgN3PYT5GLf16Oqu8P+TRGFF6tLkwPVM="; }; propagatedBuildInputs = [ google-api-core ]; From d03aa8d6108acbec77a98e11c60d3a79396f842a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:09 +0200 Subject: [PATCH 236/701] python3Packages.google-cloud-datastore: 2.7.2 -> 2.8.0 --- .../python-modules/google-cloud-datastore/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-datastore/default.nix b/pkgs/development/python-modules/google-cloud-datastore/default.nix index d521bbd2cabc..133a59300215 100644 --- a/pkgs/development/python-modules/google-cloud-datastore/default.nix +++ b/pkgs/development/python-modules/google-cloud-datastore/default.nix @@ -13,11 +13,11 @@ buildPythonPackage rec { pname = "google-cloud-datastore"; - version = "2.7.2"; + version = "2.8.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-8o6OeewuiptrlkVNm2I7fwtqPAt+nNOHveIUEWDjyN0="; + sha256 = "sha256-/zqsy+xrgmjsSrybBpwCfphTGGVp2AOp+ANsYPSrVfA="; }; propagatedBuildInputs = [ From 353b078a3733a6b238e914e445ff6e7e733a88d3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:09 +0200 Subject: [PATCH 237/701] python3Packages.google-cloud-iam: 2.6.2 -> 2.8.0 --- pkgs/development/python-modules/google-cloud-iam/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-iam/default.nix b/pkgs/development/python-modules/google-cloud-iam/default.nix index c1d6152297fb..bf2af25a42bd 100644 --- a/pkgs/development/python-modules/google-cloud-iam/default.nix +++ b/pkgs/development/python-modules/google-cloud-iam/default.nix @@ -12,12 +12,12 @@ buildPythonPackage rec { pname = "google-cloud-iam"; - version = "2.6.2"; + version = "2.8.0"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-IOl5ZWekpiikOOMQ/afryiP+0lPLt4idSmVARRJj8LE="; + sha256 = "sha256-3SBQKRr/dpNqksC7wLNCz4Oda/i90BAZLcxN9oMYOsA="; }; propagatedBuildInputs = [ google-api-core libcst proto-plus ]; From 7964e60fdf3250ba5c891b3f7c11f5c9d4c6c3f9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:09 +0200 Subject: [PATCH 238/701] python3Packages.google-cloud-kms: 2.11.2 -> 2.12.0 --- pkgs/development/python-modules/google-cloud-kms/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-kms/default.nix b/pkgs/development/python-modules/google-cloud-kms/default.nix index 6a55519f79e9..0d6732392a10 100644 --- a/pkgs/development/python-modules/google-cloud-kms/default.nix +++ b/pkgs/development/python-modules/google-cloud-kms/default.nix @@ -12,11 +12,11 @@ buildPythonPackage rec { pname = "google-cloud-kms"; - version = "2.11.2"; + version = "2.12.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-X95xD/L18dXPYxCbvxIPjaOolMSDr7vpyQnzb5oMFEQ="; + sha256 = "sha256-ySlCL0Ukppob6Iuu2+fVQjPDsAnmK1Yvbd2I8+DVylk="; }; propagatedBuildInputs = [ grpc-google-iam-v1 google-api-core libcst proto-plus ]; From 9505ee68a09bc8bc028c59524e6c2ef86ec00026 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:10 +0200 Subject: [PATCH 239/701] python3Packages.google-cloud-testutils: 1.3.1 -> 1.3.3 --- .../python-modules/google-cloud-testutils/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-testutils/default.nix b/pkgs/development/python-modules/google-cloud-testutils/default.nix index c5d02926f507..c2bd3f0a1466 100644 --- a/pkgs/development/python-modules/google-cloud-testutils/default.nix +++ b/pkgs/development/python-modules/google-cloud-testutils/default.nix @@ -2,11 +2,11 @@ buildPythonPackage rec { pname = "google-cloud-testutils"; - version = "1.3.1"; + version = "1.3.3"; src = fetchPypi { inherit pname version; - sha256 = "sha256-X85NRgGZt7+OpL4poOyS+UWec4fuABiTxEYyFpkUpqs="; + sha256 = "sha256-bRjvNNmvsBy0sR4C0DoC/n7A9ez6AfXUJrXZiHKkz0g="; }; propagatedBuildInputs = [ click google-auth packaging six ]; From 3b8e5214bef2c812c8d28a0d1787826a64b011ad Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:10 +0200 Subject: [PATCH 240/701] python3Packages.gql: 3.1.0 -> 3.4.0 --- pkgs/development/python-modules/gql/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/gql/default.nix b/pkgs/development/python-modules/gql/default.nix index 679d0fbdb7cb..0c8b2bd9378a 100644 --- a/pkgs/development/python-modules/gql/default.nix +++ b/pkgs/development/python-modules/gql/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "gql"; - version = "3.1.0"; + version = "3.4.0"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -28,8 +28,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "graphql-python"; repo = pname; - rev = "v${version}"; - hash = "sha256-ZtrT+zeoP9KXdaCDKOUrjEwe7dN0+IwA20FDe5ja7l8="; + rev = "refs/tags/v${version}"; + hash = "sha256-yr8IyAwZ6y2MPTe6bHRW+CIp19R3ZJWHuqdN5qultnQ="; }; propagatedBuildInputs = [ From 1f40a05b389755e2e26eb8cd5624e1ad64fccdef Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:10 +0200 Subject: [PATCH 241/701] python3Packages.graphql-core: 3.2.0 -> 3.2.1 --- pkgs/development/python-modules/graphql-core/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/graphql-core/default.nix b/pkgs/development/python-modules/graphql-core/default.nix index 75583cdbfe39..a5893d87c0cb 100644 --- a/pkgs/development/python-modules/graphql-core/default.nix +++ b/pkgs/development/python-modules/graphql-core/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "graphql-core"; - version = "3.2.0"; + version = "3.2.1"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -17,8 +17,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "graphql-python"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-71Z+5nVvg+aozJAKmBGJg5Gqq1OIVH7Xv33Q82IHhXg="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-LLvfjlio0UmTwR2ZRpsoKTJoWHOEk740QE6K+5GNlrk="; }; checkInputs = [ From cd6116b1b9b05fed4a63e57a9c07c632ecff2838 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:10 +0200 Subject: [PATCH 242/701] python3Packages.green: 3.4.1 -> 3.4.2 --- pkgs/development/python-modules/green/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/green/default.nix b/pkgs/development/python-modules/green/default.nix index ccff2f21e1f9..103bcd2a526c 100644 --- a/pkgs/development/python-modules/green/default.nix +++ b/pkgs/development/python-modules/green/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "green"; - version = "3.4.1"; + version = "3.4.2"; format = "setuptools"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "5dda2d2a277012227011f8f21523d70a550ebe5d47cc890fa16b9fcd9a91da53"; + sha256 = "sha256-Jbmes0KDoYVbLzDJHSuNwB22ystzFBZkAXkce8CWwiE="; }; patches = [ From bb609c18817442d39a88edfbbef59cadd547b1dc Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:10 +0200 Subject: [PATCH 243/701] python3Packages.gridnet: 4.0.0 -> 4.1.0 --- pkgs/development/python-modules/gridnet/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/gridnet/default.nix b/pkgs/development/python-modules/gridnet/default.nix index 1288471c6b29..5c55b8c6c55f 100644 --- a/pkgs/development/python-modules/gridnet/default.nix +++ b/pkgs/development/python-modules/gridnet/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "gridnet"; - version = "4.0.0"; + version = "4.1.0"; disabled = pythonOlder "3.9"; @@ -21,8 +21,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "klaasnicolaas"; repo = "python-gridnet"; - rev = "v${version}"; - hash = "sha256-Ihs8qUx50tAUcRBsVArRhzoLcQUi1vbYh8sPyK75AEk="; + rev = "refs/tags/v${version}"; + hash = "sha256-/UBZVbDRZMYHDrgifpYSTygAQTBiqgZ0tRGncE3GeT4="; }; postPatch = '' From d795398635a696f3168b1f7461637d51bf602a42 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:10 +0200 Subject: [PATCH 244/701] python3Packages.gruut: 2.2.3 -> 2.3.4 --- pkgs/development/python-modules/gruut/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/gruut/default.nix b/pkgs/development/python-modules/gruut/default.nix index ccaf7b6f0389..f36c9daa12d8 100644 --- a/pkgs/development/python-modules/gruut/default.nix +++ b/pkgs/development/python-modules/gruut/default.nix @@ -36,14 +36,14 @@ let in buildPythonPackage rec { pname = "gruut"; - version = "2.2.3"; + version = "2.3.4"; format = "setuptools"; src = fetchFromGitHub { owner = "rhasspy"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-B5fPUW4YaMzDDXxncfrWwxGdUizuaxnPImNMf1ZZJ/I="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-DD7gnvH9T2R6E19+exWE7Si+XEpfh0Iy5FYbycjgzgM="; }; postPatch = '' From ad25b70375176c61ead6769a56eedb67706033c3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:10 +0200 Subject: [PATCH 245/701] python3Packages.h5py: 3.6.0 -> 3.7.0 --- pkgs/development/python-modules/h5py/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/h5py/default.nix b/pkgs/development/python-modules/h5py/default.nix index 36b1322a88b3..cd78af010aae 100644 --- a/pkgs/development/python-modules/h5py/default.nix +++ b/pkgs/development/python-modules/h5py/default.nix @@ -8,13 +8,13 @@ let mpi = hdf5.mpi; mpiSupport = hdf5.mpiSupport; in buildPythonPackage rec { - version = "3.6.0"; + version = "3.7.0"; pname = "h5py"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "8752d2814a92aba4e2b2a5922d2782d0029102d99caaf3c201a566bc0b40db29"; + sha256 = "sha256-P883iEODxdpkhGq1EBkHIAJ9ygdo3vNN2Ny2Wdvly/M="; }; # avoid strict pinning of numpy From 6180d22daa4e48a0080ba386ea0a023d952276f6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:11 +0200 Subject: [PATCH 246/701] python3Packages.hap-python: 4.4.0 -> 4.5.0 --- .../python-modules/hap-python/default.nix | 25 +++++++++++-------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/hap-python/default.nix b/pkgs/development/python-modules/hap-python/default.nix index 63a2e941f0fa..6756aae4d372 100644 --- a/pkgs/development/python-modules/hap-python/default.nix +++ b/pkgs/development/python-modules/hap-python/default.nix @@ -1,11 +1,11 @@ { lib , buildPythonPackage , base36 +, chacha20poly1305-reuseable , cryptography -, curve25519-donna -, ecdsa , fetchFromGitHub , h11 +, orjson , pyqrcode , pytest-asyncio , pytest-timeout @@ -16,31 +16,36 @@ buildPythonPackage rec { pname = "hap-python"; - version = "4.4.0"; + version = "4.5.0"; + format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "ikalchev"; repo = "HAP-python"; - rev = "v${version}"; - sha256 = "sha256-dSiI2W4U4FYwMRBInpxb/wkQLKxPzLHIkLPNgiZEhUA="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-/XJvCL9hMIrOUwGPcrvSrJ6SZ/E6BQy+isFFlAniIM4="; }; propagatedBuildInputs = [ - base36 + chacha20poly1305-reuseable cryptography - curve25519-donna - ecdsa h11 - pyqrcode + orjson zeroconf ]; + passthru.optional-dependencies.QRCode = [ + base36 + pyqrcode + ]; + checkInputs = [ pytest-asyncio pytest-timeout pytestCheckHook - ]; + ] + ++ passthru.optional-dependencies.QRCode; disabledTestPaths = [ # Disable tests requiring network access From c3a1ca7151093a866771bf3ea453cd2c65d6c98d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:11 +0200 Subject: [PATCH 247/701] python3Packages.hatchling: 1.0.0 -> 1.5.0 --- pkgs/development/python-modules/hatchling/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/hatchling/default.nix b/pkgs/development/python-modules/hatchling/default.nix index d2d212f5417f..684703e6b780 100644 --- a/pkgs/development/python-modules/hatchling/default.nix +++ b/pkgs/development/python-modules/hatchling/default.nix @@ -20,7 +20,7 @@ let pname = "hatchling"; - version = "1.0.0"; + version = "1.5.0"; in buildPythonPackage { inherit pname version; @@ -28,7 +28,7 @@ buildPythonPackage { src = fetchPypi { inherit pname version; - sha256 = "d235a5fa8aff89e8d9d6d4033594aa4c3bc00ec5e31d3e80c153bfcf951b4f98"; + sha256 = "sha256-nKQJpBFAzGYhZGgLeK3NO6d7I6lFmEvZlw0R/jjoajg="; }; # listed in backend/src/hatchling/ouroboros.py From cfd9bf147b43d27ee46a25d87620406201889a98 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:11 +0200 Subject: [PATCH 248/701] python3Packages.hiyapyco: 0.4.16 -> 0.5.0 --- pkgs/development/python-modules/hiyapyco/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/hiyapyco/default.nix b/pkgs/development/python-modules/hiyapyco/default.nix index 79693747cfac..5ecad9656783 100644 --- a/pkgs/development/python-modules/hiyapyco/default.nix +++ b/pkgs/development/python-modules/hiyapyco/default.nix @@ -7,13 +7,13 @@ buildPythonPackage rec { pname = "hiyapyco"; - version = "0.4.16"; + version = "0.5.0"; src = fetchFromGitHub { owner = "zerwes"; repo = pname; - rev = "release-${version}"; - sha256 = "1ams9dp05yhgbg6255wrjgchl2mqg0s34d8b8prvql9lsh59s1fj"; + rev = "refs/tags/release-${version}"; + sha256 = "sha256-v+q7MOJvRc8rzBzwf27jmuIHpZeYGDK7VbzB98qnhrQ="; }; propagatedBuildInputs = [ From 476d443121c1fcb615f0bccbb70322faccf5d188 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:11 +0200 Subject: [PATCH 249/701] python3Packages.hydra: 1.1.1 -> 1.2.0 --- pkgs/development/python-modules/hydra/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/hydra/default.nix b/pkgs/development/python-modules/hydra/default.nix index 362b0c51d0cc..830118185bcb 100644 --- a/pkgs/development/python-modules/hydra/default.nix +++ b/pkgs/development/python-modules/hydra/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "hydra"; - version = "1.1.1"; + version = "1.2.0"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -20,8 +20,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "facebookresearch"; repo = pname; - rev = "v${version}"; - sha256 = "sha256:1svzysrjg47gb6lxx66fzd8wbhpbbsppprpbqssf5aqvhxgay3qk"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-4r0ZWW9SGl35Oupf0ejwL/s6Nas6RoSN2egiBrvFZIA="; }; nativeBuildInputs = [ From beb251a1d00d46ed282ce7ad886c36bb5035721b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:11 +0200 Subject: [PATCH 250/701] python3Packages.hyrule: 0.1 -> 0.2 --- pkgs/development/python-modules/hyrule/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/hyrule/default.nix b/pkgs/development/python-modules/hyrule/default.nix index 46ed096486b0..201809d4538c 100644 --- a/pkgs/development/python-modules/hyrule/default.nix +++ b/pkgs/development/python-modules/hyrule/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "hyrule"; - version = "0.1"; + version = "0.2"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -16,8 +16,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "hylang"; repo = pname; - rev = version; - sha256 = "sha256-sqS5vOcbln+Vfv/Ji/8rJ4GTQpXIuhgf+MukjV0Kkuw="; + rev = "refs/tags/${version}"; + sha256 = "sha256-/YHgJq+C5+yc+44s76OR0WELUm8KHL2xxtJmGDTChCM="; }; propagatedBuildInputs = [ From 1896e87ea80d1406305e04f600b82c7ed612c178 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:11 +0200 Subject: [PATCH 251/701] python3Packages.ifaddr: 0.1.7 -> 0.2.0 --- pkgs/development/python-modules/ifaddr/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ifaddr/default.nix b/pkgs/development/python-modules/ifaddr/default.nix index 82b00d550950..319b080c3472 100644 --- a/pkgs/development/python-modules/ifaddr/default.nix +++ b/pkgs/development/python-modules/ifaddr/default.nix @@ -5,12 +5,12 @@ }: buildPythonPackage rec { - version = "0.1.7"; + version = "0.2.0"; pname = "ifaddr"; src = fetchPypi { inherit pname version; - sha256 = "1f9e8a6ca6f16db5a37d3356f07b6e52344f6f9f7e806d618537731669eb1a94"; + sha256 = "sha256-zAy/yqv3ZdRFlYJfuWqZuxLHlxa3O0QzDqOO4rDErtQ="; }; checkInputs = [ From 5fa9557dec1e5ac33795f6c3d8d19d0792b510c3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:11 +0200 Subject: [PATCH 252/701] python3Packages.ignite: 0.4.8 -> 0.4.9 --- pkgs/development/python-modules/ignite/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/ignite/default.nix b/pkgs/development/python-modules/ignite/default.nix index 897b5975c90c..695dfb57832c 100644 --- a/pkgs/development/python-modules/ignite/default.nix +++ b/pkgs/development/python-modules/ignite/default.nix @@ -14,13 +14,13 @@ buildPythonPackage rec { pname = "ignite"; - version = "0.4.8"; + version = "0.4.9"; src = fetchFromGitHub { owner = "pytorch"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-S4wL1RyQ6aDW16wbSl+86VhSJ2S9oanYhNtPQdBtdrA="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-KBEoMV9lwlEra4DiGDLgPb85+HrnK4Qiy3XYDa9hO3s="; }; checkInputs = [ pytestCheckHook matplotlib mock pytest-xdist torchvision ]; From f4f6ce94c25b3db08978e43f3dd3cac9e225f396 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:11 +0200 Subject: [PATCH 253/701] python3Packages.imageio: 2.19.2 -> 2.19.3 --- pkgs/development/python-modules/imageio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/imageio/default.nix b/pkgs/development/python-modules/imageio/default.nix index 7c3fd87b4afd..f657f73a7e41 100644 --- a/pkgs/development/python-modules/imageio/default.nix +++ b/pkgs/development/python-modules/imageio/default.nix @@ -16,11 +16,11 @@ buildPythonPackage rec { pname = "imageio"; - version = "2.19.2"; + version = "2.19.3"; disabled = isPy27; src = fetchPypi { - sha256 = "sha256-RuHnQSiDfSoevIdHa39zl4tpoSj6I4vJibYlqYGb2bM="; + sha256 = "sha256-DJ34DkLy7mi+qSAB5/z2EqoUmRDv4EDrdX9c4yMlCuE="; inherit pname version; }; From a9fb44523578304d5588ca323a0ddcc385bf0d96 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:11 +0200 Subject: [PATCH 254/701] python3Packages.imageio-ffmpeg: 0.4.5 -> 0.4.7 --- pkgs/development/python-modules/imageio-ffmpeg/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/imageio-ffmpeg/default.nix b/pkgs/development/python-modules/imageio-ffmpeg/default.nix index 6998ff330afc..2fa5f47d5837 100644 --- a/pkgs/development/python-modules/imageio-ffmpeg/default.nix +++ b/pkgs/development/python-modules/imageio-ffmpeg/default.nix @@ -9,13 +9,13 @@ buildPythonPackage rec { pname = "imageio-ffmpeg"; - version = "0.4.5"; + version = "0.4.7"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "f2ea4245a2adad25dedf98d343159579167e549ac8c4691cef5eff980e20c139"; + sha256 = "sha256-egiDj5fzY+N8pBghuGT9P9yZqx/iQhBAx4619Wqecj4="; }; patches = [ From 3ed4b8cf78d163ff4a4d5d3943d587285e5e9b33 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:12 +0200 Subject: [PATCH 255/701] python3Packages.imagesize: 1.3.0 -> 1.4.1 --- pkgs/development/python-modules/imagesize/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/imagesize/default.nix b/pkgs/development/python-modules/imagesize/default.nix index 0fbe88a520fe..0f06d36df4f2 100644 --- a/pkgs/development/python-modules/imagesize/default.nix +++ b/pkgs/development/python-modules/imagesize/default.nix @@ -5,11 +5,11 @@ buildPythonPackage rec { pname = "imagesize"; - version = "1.3.0"; + version = "1.4.1"; src = fetchPypi { inherit pname version; - sha256 = "cd1750d452385ca327479d45b64d9c7729ecf0b3969a58148298c77092261f9d"; + sha256 = "sha256-aRUERK/7nLDVzFqSs2dvCy+3zZrjnpR6XhGja0SXzUo="; }; meta = with lib; { From 23c0e823b79d23aed2010207bb9fa84c05b440f8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:12 +0200 Subject: [PATCH 256/701] python3Packages.imbalanced-learn: 0.9.0 -> 0.9.1 --- pkgs/development/python-modules/imbalanced-learn/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/imbalanced-learn/default.nix b/pkgs/development/python-modules/imbalanced-learn/default.nix index b1e5e9197522..8a53e856b330 100644 --- a/pkgs/development/python-modules/imbalanced-learn/default.nix +++ b/pkgs/development/python-modules/imbalanced-learn/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "imbalanced-learn"; - version = "0.9.0"; + version = "0.9.1"; disabled = isPy27; # scikit-learn>=0.21 doesn't work on python2 src = fetchPypi { inherit pname version; - sha256 = "836a4c137cc3c10310d4f6cd5ec34600ff488d7f8c243a997c3f9b551c91d0b2"; + sha256 = "sha256-ThT3rmB4tauEO3PDebKsULIHRGQV2cJDjIhdbLWv2WI="; }; propagatedBuildInputs = [ scikit-learn ]; From fc49f363b32665d180ebccdff59570fa189f2fb4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:12 +0200 Subject: [PATCH 257/701] python3Packages.imdbpy: 2021.4.18 -> 2022.7.9 --- pkgs/development/python-modules/imdbpy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/imdbpy/default.nix b/pkgs/development/python-modules/imdbpy/default.nix index ab4d2a5ce0c1..f966a3f8d3c2 100644 --- a/pkgs/development/python-modules/imdbpy/default.nix +++ b/pkgs/development/python-modules/imdbpy/default.nix @@ -7,12 +7,12 @@ buildPythonPackage rec { pname = "imdbpy"; - version = "2021.4.18"; + version = "2022.7.9"; src = fetchPypi { pname = "IMDbPY"; inherit version; - sha256 = "af57f03638ba3b8ab3d696bfef0eeaf6414385c85f09260aba0a16b32174853f"; + sha256 = "sha256-gKXt+KhxE/8ipE0A/XbUIsQs/uzU6oIL4zdTuPJL9OY="; }; propagatedBuildInputs = [ From ce199e184981e5e3e7e11c128b8becf4dcc94ef6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:12 +0200 Subject: [PATCH 258/701] python3Packages.importlib-metadata: 4.11.3 -> 4.12.0 --- .../development/python-modules/importlib-metadata/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/importlib-metadata/default.nix b/pkgs/development/python-modules/importlib-metadata/default.nix index 26612ff924e6..9e4176a5b1ba 100644 --- a/pkgs/development/python-modules/importlib-metadata/default.nix +++ b/pkgs/development/python-modules/importlib-metadata/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "importlib-metadata"; - version = "4.11.3"; + version = "4.12.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "importlib_metadata"; inherit version; - hash = "sha256-6kxZfr83FC+Ce485KZV54xaFwx06Q4tZ9GlAav0PJTk="; + hash = "sha256-Y3JFuLqytlAvy8dSzEt6b2JDuwKzHFwmFWrRA9PUVnA="; }; nativeBuildInputs = [ From ffabc48c30140192359760e63bc5d2c1da38540d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:12 +0200 Subject: [PATCH 259/701] python3Packages.importlib-resources: 5.6.0 -> 5.8.0 --- .../python-modules/importlib-resources/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/importlib-resources/default.nix b/pkgs/development/python-modules/importlib-resources/default.nix index 61fb5be068d3..2eb41c4c504d 100644 --- a/pkgs/development/python-modules/importlib-resources/default.nix +++ b/pkgs/development/python-modules/importlib-resources/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "importlib-resources"; - version = "5.6.0"; + version = "5.8.0"; format = "pyproject"; disabled = isPy27; src = fetchPypi { pname = "importlib_resources"; inherit version; - sha256 = "sha256-G5MjjL8jtM3jQkDdgyHZnpvy60vJHAyZsohig+e6rYU="; + sha256 = "sha256-VoyfFssgT53syNbSSlcu7qJ9rLtM7p5rA6gCVzZ2l1E="; }; nativeBuildInputs = [ From 6f3b154c0e8b399573898d6279b9ac863930b4c3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:12 +0200 Subject: [PATCH 260/701] python3Packages.inflect: 5.4.0 -> 5.6.2 --- pkgs/development/python-modules/inflect/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/inflect/default.nix b/pkgs/development/python-modules/inflect/default.nix index a6c549b61f1b..bb98c5bd679f 100644 --- a/pkgs/development/python-modules/inflect/default.nix +++ b/pkgs/development/python-modules/inflect/default.nix @@ -8,12 +8,13 @@ buildPythonPackage rec { pname = "inflect"; - version = "5.4.0"; + version = "5.6.2"; disabled = isPy27; + format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "sha256-tY1YxOc//KmyXgdcHE/Jyt7LtcmdfNnzze3ac+zoPBw="; + sha256 = "sha256-qtx+1zko9eAUEpeUu6wDBYzKNdCpc6X8TrRcf6JgBfk="; }; nativeBuildInputs = [ setuptools-scm ]; From 095e6c4e2b7fefc7bf718a50de7f6c7e3c2e8ede Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:12 +0200 Subject: [PATCH 261/701] python3Packages.influxdb-client: 1.27.0 -> 1.30.0 --- pkgs/development/python-modules/influxdb-client/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/influxdb-client/default.nix b/pkgs/development/python-modules/influxdb-client/default.nix index 226d43b2bc4c..8442136e772e 100644 --- a/pkgs/development/python-modules/influxdb-client/default.nix +++ b/pkgs/development/python-modules/influxdb-client/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "influxdb-client"; - version = "1.27.0"; + version = "1.30.0"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -22,8 +22,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "influxdata"; repo = "influxdb-client-python"; - rev = "v${version}"; - hash = "sha256-M0Ob3HjIhlYSIWXGM54NXiEMSCmZzNLLNsCRyxAcjMc="; + rev = "refs/tags/v${version}"; + hash = "sha256-YGKFvRy76/klXhJ8Cdgqv9YqCq4E6XIiwWXl8W9fRX4="; }; propagatedBuildInputs = [ From 9be24d492b18eb1bb2d89df1ff5d09b39a9c4e11 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:12 +0200 Subject: [PATCH 262/701] python3Packages.ipydatawidgets: 4.2.0 -> 4.3.1.post1 --- pkgs/development/python-modules/ipydatawidgets/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ipydatawidgets/default.nix b/pkgs/development/python-modules/ipydatawidgets/default.nix index d74dbad18be6..6203d9a03ca8 100644 --- a/pkgs/development/python-modules/ipydatawidgets/default.nix +++ b/pkgs/development/python-modules/ipydatawidgets/default.nix @@ -14,13 +14,13 @@ buildPythonPackage rec { pname = "ipydatawidgets"; - version = "4.2.0"; + version = "4.3.1.post1"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "d0e4b58b59b508165e8562b8f5d1dbfcd739855847ec0477bd9185a5e9b7c5bc"; + sha256 = "sha256-aYGrzNmmupSuf2FuGBqabaPrFUM+VrtfFAQeXBEaJR8="; }; nativeBuildInputs = [ From df60e8e592daa5f138e2805659ed43692ed7b3f6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:12 +0200 Subject: [PATCH 263/701] python3Packages.ipykernel: 6.12.1 -> 6.15.1 --- .../development/python-modules/ipykernel/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/ipykernel/default.nix b/pkgs/development/python-modules/ipykernel/default.nix index d7302eaaecb2..e3f981964b65 100644 --- a/pkgs/development/python-modules/ipykernel/default.nix +++ b/pkgs/development/python-modules/ipykernel/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , callPackage , fetchPypi +, hatchling , pythonOlder , ipython , jupyter-client @@ -13,20 +14,25 @@ buildPythonPackage rec { pname = "ipykernel"; - version = "6.12.1"; + version = "6.15.1"; + format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-CGj1VhcpreREAR+Mp9NQLcnyf39E4g8dX+5+Hytxg6E="; + sha256 = "sha256-N6zDJUyqig2vzd3cjchjpgrRtGSHtoruNh2aFb2pgRI="; }; # debugpy is optional, see https://github.com/ipython/ipykernel/pull/767 postPatch = '' - sed -i "/debugpy/d" setup.py + sed -i "/debugpy/d" pyproject.toml ''; + nativeBuildInputs = [ + hatchling + ]; + propagatedBuildInputs = [ ipython jupyter-client From 90967ab4f37ecd9c436c8116f2ec1f468259601a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:13 +0200 Subject: [PATCH 264/701] python3Packages.ipyparallel: 8.2.1 -> 8.4.1 --- pkgs/development/python-modules/ipyparallel/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ipyparallel/default.nix b/pkgs/development/python-modules/ipyparallel/default.nix index b5d0b56bc061..b4d5ab074533 100644 --- a/pkgs/development/python-modules/ipyparallel/default.nix +++ b/pkgs/development/python-modules/ipyparallel/default.nix @@ -19,11 +19,11 @@ buildPythonPackage rec { pname = "ipyparallel"; - version = "8.2.1"; + version = "8.4.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-8mdHPFL8aohsa4Fq2xVb7Asne8fSJPs/q+uDg05zPHI="; + sha256 = "sha256-Zwu+BXVTgXQuHqARd9xCj/jz6Urx8NVkLJ0Z83yoKJs="; }; buildInputs = [ nose ]; From 96d86ea9769160924efa558e5ee829afad381d26 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:13 +0200 Subject: [PATCH 265/701] python3Packages.ipywidgets: 7.7.0 -> 7.7.1 --- pkgs/development/python-modules/ipywidgets/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ipywidgets/default.nix b/pkgs/development/python-modules/ipywidgets/default.nix index 8894fbaf21ff..62737e74785a 100644 --- a/pkgs/development/python-modules/ipywidgets/default.nix +++ b/pkgs/development/python-modules/ipywidgets/default.nix @@ -12,12 +12,12 @@ buildPythonPackage rec { pname = "ipywidgets"; - version = "7.7.0"; + version = "7.7.1"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-q0pVloVaiLg3YZIcdocH1l5YRwaBObwXKd3+g0cDVCo="; + hash = "sha256-Xy+ht6+uGvMsiAiMmCitl43pPd2jk9ftQU5VP+6T3Ks="; }; propagatedBuildInputs = [ From f2869cd8f4d0151920a4b06a8f8d73722516d1be Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:13 +0200 Subject: [PATCH 266/701] python3Packages.irc: 20.0.0 -> 20.1.0 --- pkgs/development/python-modules/irc/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/irc/default.nix b/pkgs/development/python-modules/irc/default.nix index 15747d3f70d1..88e7efbc230e 100644 --- a/pkgs/development/python-modules/irc/default.nix +++ b/pkgs/development/python-modules/irc/default.nix @@ -5,20 +5,18 @@ buildPythonPackage rec { pname = "irc"; - version = "20.0.0"; + version = "20.1.0"; + format = "pyproject"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "59acb8d69d61a0cbd290e77e6ff10a8c7f2201fb8c7b7d5a195b5883d0c40b0a"; + sha256 = "sha256-tvc3ky3UeR87GOMZ3nt9rwLSKFpr6iY9EB9NjlU4B+w="; }; - doCheck = false; - - pythonImportsCheck = [ "irc" ]; - nativeBuildInputs = [ setuptools-scm ]; + propagatedBuildInputs = [ six importlib-metadata @@ -30,10 +28,14 @@ buildPythonPackage rec { jaraco_collections ]; + doCheck = false; + + pythonImportsCheck = [ "irc" ]; + meta = with lib; { description = "IRC (Internet Relay Chat) protocol library for Python"; homepage = "https://github.com/jaraco/irc"; license = licenses.mit; - maintainers = []; + maintainers = with maintainers; []; }; } From d3b07e4801226bb74b86c127e2be1b0e09019e26 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:13 +0200 Subject: [PATCH 267/701] python3Packages.iterm2: 2.1 -> 2.6 --- pkgs/development/python-modules/iterm2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/iterm2/default.nix b/pkgs/development/python-modules/iterm2/default.nix index 1742fc08e1e4..96c8fcfb3c14 100644 --- a/pkgs/development/python-modules/iterm2/default.nix +++ b/pkgs/development/python-modules/iterm2/default.nix @@ -5,11 +5,11 @@ buildPythonPackage rec { pname = "iterm2"; - version = "2.1"; + version = "2.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-oEXDW+ar3S0gJn2DdaOyq6GDE9dJaghQEpPBCfTL2Kw="; + sha256 = "sha256-rKvnr0C48mTkjbGyHhvNzgJ97p5mJ7F4wU8ZMPYV/rM="; }; propagatedBuildInputs = [ protobuf websockets ]; From f1c11ecfc844bdf13841f890edb3d09891579a07 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:13 +0200 Subject: [PATCH 268/701] python3Packages.jaraco.collections: 3.5.1 -> 3.5.2 --- .../jaraco_collections/default.nix | 42 ++++++++++++++----- 1 file changed, 32 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/jaraco_collections/default.nix b/pkgs/development/python-modules/jaraco_collections/default.nix index d45d354b38e7..686095d3b1c0 100644 --- a/pkgs/development/python-modules/jaraco_collections/default.nix +++ b/pkgs/development/python-modules/jaraco_collections/default.nix @@ -1,23 +1,45 @@ -{ buildPythonPackage, fetchPypi, setuptools-scm -, six, jaraco_classes, jaraco_text +{ lib +, buildPythonPackage +, fetchPypi +, setuptools-scm +, jaraco_classes +, jaraco_text }: buildPythonPackage rec { pname = "jaraco.collections"; - version = "3.5.1"; + version = "3.5.2"; + format = "pyproject"; + src = fetchPypi { inherit pname version; - sha256 = "b04f00bd4b3c4fc4ba5fe1baf8042c0efd192b13e386830ea23fff77bb69dc88"; + sha256 = "sha256-ByuT6zX55IUISFdVU05mo07xzISvKR/Sfzm0TUwN0sM="; }; + postPatch = '' + # break dependency cycle + sed -i "/'jaraco.text',/d" setup.cfg + ''; + + nativeBuildInputs = [ + setuptools-scm + ]; + + propagatedBuildInputs = [ + jaraco_classes + jaraco_text + ]; + pythonNamespaces = [ "jaraco" ]; doCheck = false; - buildInputs = [ setuptools-scm ]; - propagatedBuildInputs = [ six jaraco_classes jaraco_text ]; - # break dependency cycle - patchPhase = '' - sed -i "/'jaraco.text',/d" setup.py - ''; + pythonImportsCheck = [ "jaraco.collections" ]; + + meta = with lib; { + description = "Models and classes to supplement the stdlib 'collections' module"; + homepage = "https://github.com/jaraco/jaraco.collections"; + license = licenses.mit; + maintainers = with maintainers; [ ]; + }; } From 23864b8f518c4103d47f32962d7ba155e6c02916 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:13 +0200 Subject: [PATCH 269/701] python3Packages.jaraco-context: 4.1.1 -> 4.1.2 --- .../python-modules/jaraco-context/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/jaraco-context/default.nix b/pkgs/development/python-modules/jaraco-context/default.nix index 7be059359259..4b097fd5b096 100644 --- a/pkgs/development/python-modules/jaraco-context/default.nix +++ b/pkgs/development/python-modules/jaraco-context/default.nix @@ -7,16 +7,16 @@ buildPythonPackage rec { pname = "jaraco-context"; - version = "4.1.1"; - format = "setuptools"; + version = "4.1.2"; + format = "pyproject"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "jaraco"; repo = "jaraco.context"; - rev = "v${version}"; - sha256 = "O9Lwv2d/qbiXxIVCp6FLmVKaz0MzAUkoUd0jAyIvgJc="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-gfrDZW4d3X/QjUBN8DFSvKRLZge3pnZ6KkI7S7Nz3W0="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; @@ -34,7 +34,6 @@ buildPythonPackage rec { pythonImportsCheck = [ "jaraco.context" ]; - meta = with lib; { description = "Python module for context management"; homepage = "https://github.com/jaraco/jaraco.context"; From b484ec11043e0d7493f373bc490830e05879e444 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:13 +0200 Subject: [PATCH 270/701] python3Packages.jaraco.functools: 3.5.0 -> 3.5.1 --- .../jaraco_functools/default.nix | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/jaraco_functools/default.nix b/pkgs/development/python-modules/jaraco_functools/default.nix index 73aa7708cf25..de4b8c5ce489 100644 --- a/pkgs/development/python-modules/jaraco_functools/default.nix +++ b/pkgs/development/python-modules/jaraco_functools/default.nix @@ -1,27 +1,36 @@ -{ lib, buildPythonPackage, fetchPypi +{ lib +, buildPythonPackage +, fetchPypi +, more-itertools , setuptools-scm -, more-itertools, backports_functools_lru_cache }: +}: buildPythonPackage rec { pname = "jaraco.functools"; - version = "3.5.0"; + version = "3.5.1"; + format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "31e0e93d1027592b7b0bec6ad468db850338981ebee76ba5e212e235f4c7dda0"; + sha256 = "sha256-0K3PkXEKCFPv6fI6ePrVhr9n31cvDW2OD6NtKJrhwdk="; }; nativeBuildInputs = [ setuptools-scm ]; - propagatedBuildInputs = [ more-itertools backports_functools_lru_cache ]; + propagatedBuildInputs = [ + more-itertools + ]; doCheck = false; pythonNamespaces = [ "jaraco" ]; + pythonImportsCheck = [ "jaraco.functools" ]; + meta = with lib; { description = "Additional functools in the spirit of stdlib's functools"; homepage = "https://github.com/jaraco/jaraco.functools"; license = licenses.mit; + maintainers = with maintainers; [ ]; }; } From 6a2ba659cb1ae2e34a456e18ddbbb986029843a6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:13 +0200 Subject: [PATCH 271/701] python3Packages.jaraco.text: 3.7.0 -> 3.8.1 --- pkgs/development/python-modules/jaraco_text/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/jaraco_text/default.nix b/pkgs/development/python-modules/jaraco_text/default.nix index e1e82df89ea3..2bdf376ffe23 100644 --- a/pkgs/development/python-modules/jaraco_text/default.nix +++ b/pkgs/development/python-modules/jaraco_text/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "jaraco.text"; - version = "3.7.0"; - format = "setuptools"; + version = "3.8.1"; + format = "pyproject"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-p/nMG0Sl8wlqIWy9EwtlDHprLJ+ABbAArpfzKSOafAA="; + sha256 = "sha256-RQlXw/j7mlU9nT5gc4czqxxcwns2pGM0KtuTfppwqz4="; }; pythonNamespaces = [ From 876b0840955e6e917cc72625576b8bed888ba65b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:13 +0200 Subject: [PATCH 272/701] python3Packages.jedi-language-server: 0.36.0 -> 0.36.1 --- .../python-modules/jedi-language-server/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jedi-language-server/default.nix b/pkgs/development/python-modules/jedi-language-server/default.nix index 31e45176218c..138390983e05 100644 --- a/pkgs/development/python-modules/jedi-language-server/default.nix +++ b/pkgs/development/python-modules/jedi-language-server/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "jedi-language-server"; - version = "0.36.0"; + version = "0.36.1"; format = "pyproject"; src = fetchFromGitHub { owner = "pappasam"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-PTLzZu3CZincY4zxN+/GUryTzWre595W+kztgCXTueo="; + sha256 = "sha256-gwaFveFzdkiMvvmdyLLQ/9JthrM6n/+y1XkDQnYp8Y8="; }; nativeBuildInputs = [ From d439f928dfd4815cb59790a0f87b2daa006b9206 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:14 +0200 Subject: [PATCH 273/701] python3Packages.jira: 3.1.1 -> 3.3.0 --- pkgs/development/python-modules/jira/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/jira/default.nix b/pkgs/development/python-modules/jira/default.nix index c6b1386adec0..b867bf81b485 100644 --- a/pkgs/development/python-modules/jira/default.nix +++ b/pkgs/development/python-modules/jira/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "jira"; - version = "3.1.1"; + version = "3.3.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -23,8 +23,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "pycontribs"; repo = pname; - rev = version; - hash = "sha256-1g7yNKRR7Ua2rjfiE1c94LKAQGVCX0gSeqTc2Pn7QhM="; + rev = "refs/tags/${version}"; + hash = "sha256-KRfyXWSnWmkt/SYmrpxG60KytEooMWNhHg8TrvFeATc="; }; nativeBuildInputs = [ From 73ad57882e2f5e37f2865ef1f049f4802950ec17 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:14 +0200 Subject: [PATCH 274/701] python3Packages.jmespath: 1.0.0 -> 1.0.1 --- .../python-modules/jmespath/default.nix | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/jmespath/default.nix b/pkgs/development/python-modules/jmespath/default.nix index 18c2f46216f2..ca365b79b32d 100644 --- a/pkgs/development/python-modules/jmespath/default.nix +++ b/pkgs/development/python-modules/jmespath/default.nix @@ -1,26 +1,29 @@ { lib , buildPythonPackage , fetchPypi -, ply -, nose +, hypothesis +, pytestCheckHook }: buildPythonPackage rec { pname = "jmespath"; - version = "1.0.0"; + version = "1.0.1"; + format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-pJDigO3R9X1t6IY2mS0Ftx6X1pomoZ8Fjs99MER0v14="; + sha256 = "sha256-kCYbIG1t79WP3V6F9Hi/YzopAXmJBr4q04kVDFxg7b4="; }; - buildInputs = [ nose ]; - propagatedBuildInputs = [ ply ]; + checkInputs = [ + hypothesis + pytestCheckHook + ]; meta = with lib; { - homepage = "https://github.com/boto/jmespath"; + homepage = "https://github.com/jmespath/jmespath.py"; description = "JMESPath allows you to declaratively specify how to extract elements from a JSON document"; - license = "BSD"; + license = licenses.mit; + maintainers = with maintainers; [ ]; }; - } From dd54aeedabf97ccb63ce86e2b798e59ba3b65a99 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:14 +0200 Subject: [PATCH 275/701] python3Packages.JPype1: 1.3.0 -> 1.4.0 --- pkgs/development/python-modules/JPype1/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/JPype1/default.nix b/pkgs/development/python-modules/JPype1/default.nix index 16ef7a71d1b8..698a4165455d 100644 --- a/pkgs/development/python-modules/JPype1/default.nix +++ b/pkgs/development/python-modules/JPype1/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "JPype1"; - version = "1.3.0"; + version = "1.4.0"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "4fc27dba89750cb0c9d692466341ce60c0fe86a16051091cb5347a37cf884151"; + sha256 = "sha256-DF9mXuPm4xwn6dLUjdEr9OtP5oWII+ahEgGgNSdMz+E="; }; propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ From f62bf073f49eaf5020edf14c82e70a1a5e7af81b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:14 +0200 Subject: [PATCH 276/701] python3Packages.jsondiff: 1.3.1 -> 2.0.0 --- pkgs/development/python-modules/jsondiff/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jsondiff/default.nix b/pkgs/development/python-modules/jsondiff/default.nix index fe41d0dd8540..b6d6401b455f 100644 --- a/pkgs/development/python-modules/jsondiff/default.nix +++ b/pkgs/development/python-modules/jsondiff/default.nix @@ -5,11 +5,11 @@ buildPythonPackage rec { pname = "jsondiff"; - version = "1.3.1"; + version = "2.0.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-BM+uvUpeVziUirYVcQ3D7pjvvfhRJV/Tl3xMLuWecxI="; + sha256 = "sha256-J5WETvB17IorjThcTVn16kiwjnGA/OPLJ4e+DbALH7Q="; }; postPatch = '' From a0fe49ef8736ede9e2749c54edec3bf923bd118c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:14 +0200 Subject: [PATCH 277/701] python3Packages.jsonpickle: 2.1.0 -> 2.2.0 --- pkgs/development/python-modules/jsonpickle/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jsonpickle/default.nix b/pkgs/development/python-modules/jsonpickle/default.nix index 1ffbbdd5e895..969869f86b52 100644 --- a/pkgs/development/python-modules/jsonpickle/default.nix +++ b/pkgs/development/python-modules/jsonpickle/default.nix @@ -9,11 +9,11 @@ buildPythonPackage rec { pname = "jsonpickle"; - version = "2.1.0"; + version = "2.2.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-hGhM/FM4pTQXPI3WmAnkDyhl0L4fiit6+EZeW5aNz6k="; + sha256 = "sha256-eycpGLBVQYLlPcNA3dYtm3+QL+x+ewViDATzzO9Hmg4="; }; checkInputs = [ pytest ]; From 62cfd1c65fb4785445e6302c493158695d5bbc46 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:14 +0200 Subject: [PATCH 278/701] python3Packages.jsonpointer: 2.2 -> 2.3 --- pkgs/development/python-modules/jsonpointer/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jsonpointer/default.nix b/pkgs/development/python-modules/jsonpointer/default.nix index 2bd41e0815b4..504b7f7035a6 100644 --- a/pkgs/development/python-modules/jsonpointer/default.nix +++ b/pkgs/development/python-modules/jsonpointer/default.nix @@ -5,11 +5,11 @@ buildPythonPackage rec { pname = "jsonpointer"; - version = "2.2"; + version = "2.3"; src = fetchPypi { inherit pname version; - sha256 = "f09f8deecaaa5aea65b5eb4f67ca4e54e1a61f7a11c75085e360fe6feb6a48bf"; + sha256 = "sha256-l8ulFSbIKSgiGP65nasbHmvfjv0cQ9ydV74JPA1pyZo="; }; meta = with lib; { From dcd8af0f8b98a0e00cb0ee39ad9522fd940a323e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:14 +0200 Subject: [PATCH 279/701] python3Packages.jug: 2.2.0 -> 2.2.1 --- pkgs/development/python-modules/jug/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jug/default.nix b/pkgs/development/python-modules/jug/default.nix index 1dea4743cdb1..6e3f053e6d3e 100644 --- a/pkgs/development/python-modules/jug/default.nix +++ b/pkgs/development/python-modules/jug/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "jug"; - version = "2.2.0"; + version = "2.2.1"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "Jug"; inherit version; - hash = "sha256-2Y9xRr5DyV9UqG6tiq9rYET2Z7LaPXfzwYKKGwR3OSs="; + hash = "sha256-7yWVhvY5dAkmo29xjIUsJVy5oY43K7rcy4itGM+RIFk="; }; propagatedBuildInputs = [ From 046ae7a6874caca7abfdacc002bea703686f4471 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:14 +0200 Subject: [PATCH 280/701] python3Packages.jupyter_client: 7.2.1 -> 7.3.4 --- .../python-modules/jupyter-client/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jupyter-client/default.nix b/pkgs/development/python-modules/jupyter-client/default.nix index 2670fc163f6c..6df956de5208 100644 --- a/pkgs/development/python-modules/jupyter-client/default.nix +++ b/pkgs/development/python-modules/jupyter-client/default.nix @@ -3,6 +3,7 @@ , fetchPypi , entrypoints , jupyter_core +, hatchling , nest-asyncio , python-dateutil , pyzmq @@ -14,13 +15,18 @@ buildPythonPackage rec { pname = "jupyter_client"; - version = "7.2.1"; + version = "7.3.4"; + format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "sha256-qhdyeekyBdBoHsDi4hDaAbIsWhRkpWq9RVrcrGTw3pE="; + sha256 = "sha256-qppsMgVLKQN0+V9zuwyukUVcWN+4T2XIWRkSuPZebVY="; }; + nativeBuildInputs = [ + hatchling + ]; + propagatedBuildInputs = [ entrypoints jupyter_core From 9f75ab78ea51b57182ab91bc5c47de52e63c2183 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:14 +0200 Subject: [PATCH 281/701] python3Packages.jupyter_console: 6.4.3 -> 6.4.4 --- pkgs/development/python-modules/jupyter_console/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jupyter_console/default.nix b/pkgs/development/python-modules/jupyter_console/default.nix index 5a3176b462c6..8943ba8adc0b 100644 --- a/pkgs/development/python-modules/jupyter_console/default.nix +++ b/pkgs/development/python-modules/jupyter_console/default.nix @@ -12,12 +12,12 @@ buildPythonPackage rec { pname = "jupyter_console"; - version = "6.4.3"; + version = "6.4.4"; disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; - sha256 = "sha256-VfMmJrC+ZHqF4yF93Nsi22nvx56LQDuXceuezGlgGbU="; + sha256 = "sha256-Fy9TNeMdYA32FhOpe38DUvLIJQu9EJLvLWWPdySfifs="; }; propagatedBuildInputs = [ From 599a5b1295588bd861aff19732b5bd49d72807aa Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:14 +0200 Subject: [PATCH 282/701] python3Packages.jupyterlab-git: 0.36.0 -> 0.37.1 --- pkgs/development/python-modules/jupyterlab-git/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jupyterlab-git/default.nix b/pkgs/development/python-modules/jupyterlab-git/default.nix index 9f36e03d4885..606e2226d22e 100644 --- a/pkgs/development/python-modules/jupyterlab-git/default.nix +++ b/pkgs/development/python-modules/jupyterlab-git/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "jupyterlab-git"; - version = "0.36.0"; + version = "0.37.1"; disabled = pythonOlder "3.6"; src = fetchPypi { pname = "jupyterlab_git"; inherit version; - sha256 = "sha256-K+h1ra9PsqKlSSPnc1jgSODICv3FoEdwqBGYWQYs6wE="; + sha256 = "sha256-vOM2y8XrjmKtVtI6h4/DUrHzSLJuZXIm0C7//gMh+5o="; }; nativeBuildInputs = [ From 861fd706ff0971445c49ff6e0752c74655883b44 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:14 +0200 Subject: [PATCH 283/701] python3Packages.jupyterlab_server: 2.12.0 -> 2.15.0 --- pkgs/development/python-modules/jupyterlab_server/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jupyterlab_server/default.nix b/pkgs/development/python-modules/jupyterlab_server/default.nix index e3693b450d76..3c9636ed7524 100644 --- a/pkgs/development/python-modules/jupyterlab_server/default.nix +++ b/pkgs/development/python-modules/jupyterlab_server/default.nix @@ -17,12 +17,12 @@ buildPythonPackage rec { pname = "jupyterlab_server"; - version = "2.12.0"; + version = "2.15.0"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-AOD0tMOZ9Vk4Mj6hDPktkVKI/hJ1PjXRBp9soItyq78="; + sha256 = "sha256-qRxRXg55caj3w8mDS3SIV/faxQL5NgS/KDmHmR/Zh+8="; }; postPatch = '' From f5ad1e2f57b3f7c16b1078e0271cd1ad64085858 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:15 +0200 Subject: [PATCH 284/701] python3Packages.jupyter-packaging: 0.12.0 -> 0.12.2 --- .../python-modules/jupyter-packaging/default.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/jupyter-packaging/default.nix b/pkgs/development/python-modules/jupyter-packaging/default.nix index bb2837d28fc8..ae700d9a8068 100644 --- a/pkgs/development/python-modules/jupyter-packaging/default.nix +++ b/pkgs/development/python-modules/jupyter-packaging/default.nix @@ -2,26 +2,36 @@ , buildPythonPackage , fetchPypi , deprecation +, hatchling , pythonOlder , packaging , pytestCheckHook +, pytest-timeout , tomlkit }: buildPythonPackage rec { pname = "jupyter-packaging"; - version = "0.12.0"; + version = "0.12.2"; disabled = pythonOlder "3.7"; + format = "pyproject"; src = fetchPypi { pname = "jupyter_packaging"; inherit version; - sha256 = "sha256-snRV1grck6e6ouC484a+gbkyu048ARYEbfntIwzT+qw="; + sha256 = "sha256-C5nq7PVrnR2Z57y2Yy2RSo6laY2kCyOLqJIno0FX3jI="; }; + nativeBuildInputs = [ + hatchling + ]; + propagatedBuildInputs = [ deprecation packaging tomlkit ]; - checkInputs = [ pytestCheckHook ]; + checkInputs = [ + pytestCheckHook + pytest-timeout + ]; preCheck = '' export HOME=$(mktemp -d) From f9f69a783fd11ed0b6fcc5bd1723de821fd0736e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:15 +0200 Subject: [PATCH 285/701] python3Packages.jupyter_server: 1.17.1 -> 1.18.1 --- pkgs/development/python-modules/jupyter_server/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jupyter_server/default.nix b/pkgs/development/python-modules/jupyter_server/default.nix index 96dc7e82bcab..657e7a9ce300 100644 --- a/pkgs/development/python-modules/jupyter_server/default.nix +++ b/pkgs/development/python-modules/jupyter_server/default.nix @@ -30,12 +30,12 @@ buildPythonPackage rec { pname = "jupyter_server"; - version = "1.17.1"; + version = "1.18.1"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "a36781656645ae17b12819a49ace377c045bf633823b3e4cd4b0c88c01e7711b"; + sha256 = "sha256-K3L8WVvMrikiYKrYFXoOrY2ixwPsauG7ezbbrQ4mfqc="; }; propagatedBuildInputs = [ From 6ea7de3cf03f7b53b6a8ce7d1ec215a9f6e07bfe Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:15 +0200 Subject: [PATCH 286/701] python3Packages.jupyter-server-mathjax: 0.2.5 -> 0.2.6 --- .../python-modules/jupyter-server-mathjax/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jupyter-server-mathjax/default.nix b/pkgs/development/python-modules/jupyter-server-mathjax/default.nix index 6b3ac52767d7..73797f8fd0d8 100644 --- a/pkgs/development/python-modules/jupyter-server-mathjax/default.nix +++ b/pkgs/development/python-modules/jupyter-server-mathjax/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "jupyter-server-mathjax"; - version = "0.2.5"; + version = "0.2.6"; src = fetchPypi { inherit version; pname = "jupyter_server_mathjax"; - sha256 = "sha256-ZNlsjm3+btunN5ArLcOi3AWPF1FndsJfTTDKJGF+57M="; + sha256 = "sha256-ux5rbcBobB/jhqIrWIYWPbVIiTqZwoEMNjmenEyiOUM="; }; nativeBuildInputs = [ From daac281f4a2088f2168c7dcabd7fbb86e8c351fc Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:15 +0200 Subject: [PATCH 287/701] python3Packages.jupyter-sphinx: 0.3.2 -> 0.4.0 --- pkgs/development/python-modules/jupyter-sphinx/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jupyter-sphinx/default.nix b/pkgs/development/python-modules/jupyter-sphinx/default.nix index 56cd051ecf4c..7355cb927641 100644 --- a/pkgs/development/python-modules/jupyter-sphinx/default.nix +++ b/pkgs/development/python-modules/jupyter-sphinx/default.nix @@ -10,12 +10,12 @@ buildPythonPackage rec { pname = "jupyter-sphinx"; - version = "0.3.2"; + version = "0.4.0"; src = fetchPypi { inherit version; pname = "jupyter_sphinx"; - sha256 = "37fc9408385c45326ac79ca0452fbd7ae2bf0e97842d626d2844d4830e30aaf2"; + sha256 = "sha256-DBGjjxNDE48sUFHA00xMVF9EgBdMG9QcAlb+gm4LqlU="; }; propagatedBuildInputs = [ nbconvert nbformat sphinx ipywidgets ]; From 94869f3b2ea52ee36a7d998659a52ae086027574 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:15 +0200 Subject: [PATCH 288/701] python3Packages.kajiki: 0.9.0 -> 0.9.1 --- pkgs/development/python-modules/kajiki/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/kajiki/default.nix b/pkgs/development/python-modules/kajiki/default.nix index 76289816a2a8..5a2829de0520 100644 --- a/pkgs/development/python-modules/kajiki/default.nix +++ b/pkgs/development/python-modules/kajiki/default.nix @@ -9,11 +9,11 @@ buildPythonPackage rec { pname = "kajiki"; - version = "0.9.0"; + version = "0.9.1"; src = fetchPypi { inherit pname version; - sha256 = "f0d6dfa27eb2b6c0d2a28ae21d69dceb5363cc0432f4045bcc98aac42a662ccb"; + sha256 = "sha256-Qe/FTQ6YrHiVklP3HFG9HsT7Yny6we2+Ithcj2UFdp4="; }; propagatedBuildInputs = [ babel pytz nine ]; From 408b56de38c7996650e93adb995086fb639aba3e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:15 +0200 Subject: [PATCH 289/701] python3Packages.karton-dashboard: 1.2.1 -> 1.3.0 --- .../development/python-modules/karton-dashboard/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/karton-dashboard/default.nix b/pkgs/development/python-modules/karton-dashboard/default.nix index 5b67123ee278..2e103d0b088f 100644 --- a/pkgs/development/python-modules/karton-dashboard/default.nix +++ b/pkgs/development/python-modules/karton-dashboard/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "karton-dashboard"; - version = "1.2.1"; + version = "1.3.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -18,8 +18,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "CERT-Polska"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-C1wtpHyuTlNS6Se1rR0RGUl3xht4aphAtddKlIsOAkI="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-thjAgK5EgevkFdKooljrrejwJorT6Lea9QSF0cZhxmw="; }; propagatedBuildInputs = [ From 212d0b767b5653bc129df23533b2fe385cd1f0c0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:15 +0200 Subject: [PATCH 290/701] python3Packages.keras: 2.8.0 -> 2.9.0 --- pkgs/development/python-modules/keras/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/keras/default.nix b/pkgs/development/python-modules/keras/default.nix index dbdebefdb5a0..edb928e682b7 100644 --- a/pkgs/development/python-modules/keras/default.nix +++ b/pkgs/development/python-modules/keras/default.nix @@ -6,12 +6,12 @@ buildPythonPackage rec { pname = "keras"; - version = "2.8.0"; + version = "2.9.0"; format = "wheel"; src = fetchPypi { inherit format pname version; - sha256 = "sha256-dE053GV33NgP9KTUFUnpK3fWoX4O3VikMdMGVuKbyU4="; + sha256 = "sha256-VZESVvic/JNDyfvkth7EWi0z2Jcpy+GrncrPiwe4tqs="; }; checkInputs = [ From a6f10aab441d59257506e376d0e0f2ea2acece6b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:15 +0200 Subject: [PATCH 291/701] python3Packages.keyring: 23.6.0 -> 23.7.0 --- pkgs/development/python-modules/keyring/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/keyring/default.nix b/pkgs/development/python-modules/keyring/default.nix index 72ebfec8f758..743220e89ee7 100644 --- a/pkgs/development/python-modules/keyring/default.nix +++ b/pkgs/development/python-modules/keyring/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "keyring"; - version = "23.6.0"; + version = "23.7.0"; disabled = pythonOlder "3.7"; format = "pyproject"; src = fetchPypi { inherit pname version; - hash = "sha256-OsAMJuTJNznhkQMJGpmGqfeWZaeM8VpN8dun6prI2i8="; + hash = "sha256-eC4c0RMukb9Fn80kO88lsyYBXBrAsZjkQI+R+meRBis="; }; nativeBuildInputs = [ From dd9b24328a515ac3b27f6c37aea64940ba037fb5 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:15 +0200 Subject: [PATCH 292/701] python3Packages.keyrings.alt: 4.1.0 -> 4.1.1 --- .../python-modules/keyrings-alt/default.nix | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/pkgs/development/python-modules/keyrings-alt/default.nix b/pkgs/development/python-modules/keyrings-alt/default.nix index a45be02b55b2..45a85f0fd8fd 100644 --- a/pkgs/development/python-modules/keyrings-alt/default.nix +++ b/pkgs/development/python-modules/keyrings-alt/default.nix @@ -1,32 +1,38 @@ -{ lib, buildPythonPackage, fetchPypi, pythonOlder, isPy27, six -, pytest, backports_unittest-mock, keyring, setuptools-scm +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder +, isPy27 +, six + +, pytestCheckHook +, keyring +, setuptools-scm }: buildPythonPackage rec { pname = "keyrings.alt"; - version = "4.1.0"; + version = "4.1.1"; + format = "pyproject"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "52ccb61d6f16c10f32f30d38cceef7811ed48e086d73e3bae86f0854352c4ab2"; + sha256 = "sha256-6HFSuVYvqCK1Ew7jECVRK02m5tsNrzjIcFZtCLhK3tY="; }; - postPatch = '' - substituteInPlace pytest.ini \ - --replace "--flake8" "" - ''; + nativeBuildInputs = [ + setuptools-scm + ]; - nativeBuildInputs = [ setuptools-scm ]; - propagatedBuildInputs = [ six ]; + propagatedBuildInputs = [ + six + ]; - checkInputs = [ pytest keyring ] ++ lib.optional (pythonOlder "3.3") backports_unittest-mock; - - # heavily relies on importing tests from keyring package - doCheck = false; - checkPhase = '' - py.test - ''; + checkInputs = [ + pytestCheckHook + keyring + ]; pythonImportsCheck = [ "keyrings.alt" From 934ca944fe44f85c376d8d65b8a5d48efdaba607 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:15 +0200 Subject: [PATCH 293/701] python3Packages.keystoneauth1: 4.6.0 -> 5.0.0 --- pkgs/development/python-modules/keystoneauth1/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/keystoneauth1/default.nix b/pkgs/development/python-modules/keystoneauth1/default.nix index 258b3a56180f..cc10ec96686c 100644 --- a/pkgs/development/python-modules/keystoneauth1/default.nix +++ b/pkgs/development/python-modules/keystoneauth1/default.nix @@ -24,11 +24,11 @@ buildPythonPackage rec { pname = "keystoneauth1"; - version = "4.6.0"; + version = "5.0.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-Bm8a3diRFM1qG5yzVVyOqn0BNnPuEDS9/lBgaIBKngU="; + sha256 = "sha256-brtfBEyd/SYwh6Mo1R1HmUfR3ckMCdr0GR333HEzQyM="; }; postPatch = '' From e4aa0ae3f5ecec316081a895fda6f02c7f721e48 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:16 +0200 Subject: [PATCH 294/701] python3Packages.kiwisolver: 1.4.2 -> 1.4.4 --- pkgs/development/python-modules/kiwisolver/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/kiwisolver/default.nix b/pkgs/development/python-modules/kiwisolver/default.nix index b968fa3a50aa..e51324989e66 100644 --- a/pkgs/development/python-modules/kiwisolver/default.nix +++ b/pkgs/development/python-modules/kiwisolver/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "kiwisolver"; - version = "1.4.2"; + version = "1.4.4"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-f2BtkbiogWvkdlE6d/0wq+ZiJwOb1vi0BsNIywJH3Mk="; + hash = "sha256-1BmXUZ/LpKHkbrSi/jG8EvD/lXsrgbrCjbJHRPMz6VU="; }; NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin [ From 7aef49209f5d0b414f24e4bc0cd663561d3abf3b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:16 +0200 Subject: [PATCH 295/701] python3Packages.labelbox: 3.15.0 -> 3.24.1 --- pkgs/development/python-modules/labelbox/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/labelbox/default.nix b/pkgs/development/python-modules/labelbox/default.nix index 27f05d83aa05..9b0b241c5ed1 100644 --- a/pkgs/development/python-modules/labelbox/default.nix +++ b/pkgs/development/python-modules/labelbox/default.nix @@ -19,14 +19,14 @@ buildPythonPackage rec { pname = "labelbox"; - version = "3.15.0"; + version = "3.24.1"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "Labelbox"; repo = "labelbox-python"; - rev = "v.${version}"; - sha256 = "sha256-pJkDC/2EDPWbIw9WqV9kdYmr4X6apXtholzd0IYjgDg="; + rev = "refs/tags/v.${version}"; + sha256 = "sha256-pcIbCtVOr6pwodgNv8aGZ+k2Z9cQPCQm1UBJWJAlj/o="; }; propagatedBuildInputs = [ From e0db42893ad301b8aead9f71e5a005e6cd61bc8e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:16 +0200 Subject: [PATCH 296/701] python3Packages.libcst: 0.4.3 -> 0.4.7 --- pkgs/development/python-modules/libcst/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/libcst/default.nix b/pkgs/development/python-modules/libcst/default.nix index 7d6c185d1cc2..d763c52d8191 100644 --- a/pkgs/development/python-modules/libcst/default.nix +++ b/pkgs/development/python-modules/libcst/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "libcst"; - version = "0.4.3"; + version = "0.4.7"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -25,15 +25,15 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "instagram"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-Lm62rVL5f+fu4KzOQMroM0Eu27l5v2dkGtRiIVPFNhg="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-YrGajxs8t8PU4XRkFlhwtxoa9pzpKPXq8ZvN/uqftlE="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; sourceRoot = "source/${cargoRoot}"; name = "${pname}-${version}"; - hash = "sha256-i5BYYiILadKEPIJOaWdG1lZNSHfNQnwmc5j0D1jg/kc="; + hash = "sha256-V/WHZVvh8HtD8IUNk3V4e8/E2A8DebqY5i/lS1X6x3o="; }; cargoRoot = "native"; From 18fe7d9978acfd6b66aea5b71ceac0abf667b066 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:16 +0200 Subject: [PATCH 297/701] python3Packages.libevdev: 0.10 -> 0.11 --- pkgs/development/python-modules/libevdev/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/libevdev/default.nix b/pkgs/development/python-modules/libevdev/default.nix index 494e887c79bc..2807804b77d9 100644 --- a/pkgs/development/python-modules/libevdev/default.nix +++ b/pkgs/development/python-modules/libevdev/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "libevdev"; - version = "0.10"; + version = "0.11"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "sha256-9LM2Ftr6qmQYysCxso+XJSthwJdOU01J+yL8ZWbtwRM="; + sha256 = "sha256-6coAak3ySIpgvZp0ABHulI2BkEviNk8BflYBaVCPVg8="; }; patches = [ From 0f88de5ff2958c7813aaecae6d86fcfa0937baf2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:16 +0200 Subject: [PATCH 298/701] python3Packages.librosa: 0.9.1 -> 0.9.2 --- pkgs/development/python-modules/librosa/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/librosa/default.nix b/pkgs/development/python-modules/librosa/default.nix index 21a58e7e9817..d12087e59f3f 100644 --- a/pkgs/development/python-modules/librosa/default.nix +++ b/pkgs/development/python-modules/librosa/default.nix @@ -14,11 +14,11 @@ buildPythonPackage rec { pname = "librosa"; - version = "0.9.1"; + version = "0.9.2"; src = fetchPypi { inherit pname version; - sha256 = "sha256-ftXW4/RUbl48KEBpH53cVoePkUo1pQBg31/KKybUthQ="; + sha256 = "sha256-W1drXv3OQo6QvJiL3VqVPRKnJ+X5MfMNdMU7Y6u+PIk="; }; propagatedBuildInputs = [ joblib matplotlib six scikit-learn decorator audioread resampy soundfile pooch ]; From 170720f0c3515d1135520c04dda5133cff738f36 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:16 +0200 Subject: [PATCH 299/701] python3Packages.limnoria: 2022.4.22 -> 2022.6.23 --- pkgs/development/python-modules/limnoria/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/limnoria/default.nix b/pkgs/development/python-modules/limnoria/default.nix index b0672c012a97..2291a4ffcc7d 100644 --- a/pkgs/development/python-modules/limnoria/default.nix +++ b/pkgs/development/python-modules/limnoria/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "limnoria"; - version = "2022.4.22"; + version = "2022.6.23"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-NKRxt25uvMBvSpY8vk4Vr56NmnW2VTpOLBHUzM2j/yc="; + hash = "sha256-f5xrLeIl1KbHBx8csUNKPWLX1tMiMitPULnoW4+vCtI="; }; propagatedBuildInputs = [ From ac7adb464e0425e7d463b41ecd1e8f55451ca34b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:16 +0200 Subject: [PATCH 300/701] python3Packages.line-profiler: 3.4.0 -> 3.5.1 --- pkgs/development/python-modules/line_profiler/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/line_profiler/default.nix b/pkgs/development/python-modules/line_profiler/default.nix index 76aa30f06980..ba92bf09e0b5 100644 --- a/pkgs/development/python-modules/line_profiler/default.nix +++ b/pkgs/development/python-modules/line_profiler/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "line-profiler"; - version = "3.4.0"; + version = "3.5.1"; disabled = pythonOlder "3.6" || isPyPy; src = fetchPypi { pname = "line_profiler"; inherit version; - sha256 = "b6b0a8100a2829358e31ef7c6f427b1dcf2b1d8e5d38b55b219719ecf758aee5"; + sha256 = "sha256-d0ACCL+9XUNBk4qaOk+1GU9a9/wjstSWyRN1X4MQ6Lg="; }; nativeBuildInputs = [ From a98ea5b4799f2b508dbda988c0fe007c71b2a8a5 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:16 +0200 Subject: [PATCH 301/701] python3Packages.liquidctl: 1.8.1 -> 1.10.0 --- pkgs/development/python-modules/liquidctl/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/liquidctl/default.nix b/pkgs/development/python-modules/liquidctl/default.nix index ddf73ee56b86..37347331b587 100644 --- a/pkgs/development/python-modules/liquidctl/default.nix +++ b/pkgs/development/python-modules/liquidctl/default.nix @@ -14,14 +14,15 @@ buildPythonPackage rec { pname = "liquidctl"; - version = "1.8.1"; + version = "1.10.0"; disabled = pythonOlder "3.6"; + format = "pyproject"; src = fetchFromGitHub { owner = pname; repo = pname; - rev = "v${version}"; - sha256 = "0cl1xg3rqpn4yjflwcz667pwfjnbq0g41pkg2nak7x9mxqnbdk70"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-2mXWih3LchJ/YsjuwHwWse7SNJYx1vxtovl8vasKV4w="; }; nativeBuildInputs = [ installShellFiles ]; From 3285f69cb441e1c8ad84edd0668d361f4fa5e04a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:16 +0200 Subject: [PATCH 302/701] python3Packages.llvmlite: 0.38.0 -> 0.38.1 --- pkgs/development/python-modules/llvmlite/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/llvmlite/default.nix b/pkgs/development/python-modules/llvmlite/default.nix index 637a4deb3abb..b928fe59c1cd 100644 --- a/pkgs/development/python-modules/llvmlite/default.nix +++ b/pkgs/development/python-modules/llvmlite/default.nix @@ -12,13 +12,13 @@ buildPythonPackage rec { pname = "llvmlite"; - version = "0.38.0"; + version = "0.38.1"; disabled = isPyPy || !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "a99d166ccf3b116f3b9ed23b9b70ba2415640a9c978f3aaa13fad49c58f4965c"; + sha256 = "sha256-BiKoYwH8+BzFDX7VtL6+mSwDBYDUE6hEOzKO1PTYJWE="; }; nativeBuildInputs = [ llvm ]; From eced7617774b33ac3b6a9702b537bf01c9993ec2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:16 +0200 Subject: [PATCH 303/701] python3Packages.lru-dict: 1.1.7 -> 1.1.8 --- pkgs/development/python-modules/lru-dict/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/lru-dict/default.nix b/pkgs/development/python-modules/lru-dict/default.nix index b075ead34297..36b8c8978954 100644 --- a/pkgs/development/python-modules/lru-dict/default.nix +++ b/pkgs/development/python-modules/lru-dict/default.nix @@ -6,7 +6,7 @@ let pname = "lru-dict"; - version = "1.1.7"; + version = "1.1.8"; in buildPythonPackage { inherit pname version; @@ -14,7 +14,7 @@ buildPythonPackage { src = fetchPypi { inherit pname version; - hash = "sha256-RbgfZ9dTQdRDOrreeZpH6cQqniKhGFMdy15UmGQDLXw="; + hash = "sha256-h4vI70Bz5c+5U9/Bz0WF20HouBTAEGq9400A7g0LMRU="; }; checkInputs = [ From dd551eab9c1a9b8f5cb9c775b1c7c4563a6e988b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:17 +0200 Subject: [PATCH 304/701] python3Packages.lxml: 4.9.0 -> 4.9.1 --- pkgs/development/python-modules/lxml/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/lxml/default.nix b/pkgs/development/python-modules/lxml/default.nix index 08b66f8ff5fb..f0a9d6ff523a 100644 --- a/pkgs/development/python-modules/lxml/default.nix +++ b/pkgs/development/python-modules/lxml/default.nix @@ -8,13 +8,13 @@ buildPythonPackage rec { pname = "lxml"; - version = "4.9.0"; + version = "4.9.1"; src = fetchFromGitHub { owner = pname; repo = pname; - rev = "lxml-${version}"; - sha256 = "sha256-3bPyfsiJGDNB0MPw4OhATRnsM3I8ThZwvPWI+easgNo="; + rev = "refs/tags/lxml-${version}"; + sha256 = "sha256-5MJw3ciXYnfctSNcemJ/QJGKAaYpadvdbFhkc8+pmPM="; }; # setuptoolsBuildPhase needs dependencies to be passed through nativeBuildInputs From 77b53fab35b405d90bd5c2c05ec96b3ae80ff5ea Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:17 +0200 Subject: [PATCH 305/701] python3Packages.python-lz4: 4.0.0 -> 4.0.1 --- pkgs/development/python-modules/lz4/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/lz4/default.nix b/pkgs/development/python-modules/lz4/default.nix index c6966e632f05..aaf4e0aa69bc 100644 --- a/pkgs/development/python-modules/lz4/default.nix +++ b/pkgs/development/python-modules/lz4/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "python-lz4"; - version = "4.0.0"; + version = "4.0.1"; format = "setuptools"; disabled = pythonOlder "3.5"; @@ -24,8 +24,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = pname; repo = pname; - rev = "v${version}"; - sha256 = "sha256-9gp67i2fotvFOpkaQZ82/YKnDEs3DnzXfuNCVRJg88I="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-hQuZkstsB37pFDWmA0W6qGd7rAer1mun7Z6MxMp0ZmE="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; From a3f1b8c2ad99ceccb1f1f995ea4f9e72704423fd Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:17 +0200 Subject: [PATCH 306/701] python3Packages.maestral: 1.5.3 -> 1.6.3 --- pkgs/development/python-modules/maestral/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/maestral/default.nix b/pkgs/development/python-modules/maestral/default.nix index 63cb8db5fd46..d8f34ae0569a 100644 --- a/pkgs/development/python-modules/maestral/default.nix +++ b/pkgs/development/python-modules/maestral/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "maestral"; - version = "1.5.3"; + version = "1.6.3"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "SamSchott"; repo = "maestral"; - rev = "v${version}"; - sha256 = "sha256-Uo3vcYez2qSq162SSKjoCkwygwR5awzDceIq8/h3dao="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-JVzaWwdHAn5JOruLEN9Z2/5eV1oh3J2NQffNI3RqYfA="; }; format = "pyproject"; From f67ac96f9a529bf8a2f6f43c2c41abc676aee37b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:17 +0200 Subject: [PATCH 307/701] python3Packages.magicgui: 0.3.7 -> 0.5.1 --- pkgs/development/python-modules/magicgui/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/magicgui/default.nix b/pkgs/development/python-modules/magicgui/default.nix index e437ee7290b2..d6c6108d52be 100644 --- a/pkgs/development/python-modules/magicgui/default.nix +++ b/pkgs/development/python-modules/magicgui/default.nix @@ -12,15 +12,15 @@ , napari # a reverse-dependency, for tests }: buildPythonPackage rec { pname = "magicgui"; - version = "0.3.7"; + version = "0.5.1"; format = "pyproject"; src = fetchFromGitHub { owner = "napari"; repo = "magicgui"; - rev = "v${version}"; - sha256 = "sha256-LYXNNr5lS3ibQk2NIopZkB8kzC7j3yY8moGMk0Gr+hU="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-fVfBQaaT8/lUGqZRXjOPgvkC01Izb8Sxqn7RCqnW9bo="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; From 79e3992418ed2d2518354a5e28249684f78072ae Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:17 +0200 Subject: [PATCH 308/701] python3Packages.mailsuite: 1.6.1 -> 1.8.0 --- pkgs/development/python-modules/mailsuite/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mailsuite/default.nix b/pkgs/development/python-modules/mailsuite/default.nix index 8d1046387ef0..8e582e9227ec 100644 --- a/pkgs/development/python-modules/mailsuite/default.nix +++ b/pkgs/development/python-modules/mailsuite/default.nix @@ -12,13 +12,13 @@ buildPythonPackage rec { pname = "mailsuite"; - version = "1.6.1"; + version = "1.8.0"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "17bsnfjjzv8hx5h397p5pa92l6cqc53i0zjjz2p7bjj3xqzhs45a"; + sha256 = "sha256-ItGOHnYL5rJvllcU/xAie95f09TnCf4OF4Y9oN65FTY="; }; propagatedBuildInputs = [ From 32b0a497c5be1dfd7dfa054575d505c6cdc59dd0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:17 +0200 Subject: [PATCH 309/701] python3Packages.makefun: 1.13.1 -> 1.14.0 --- pkgs/development/python-modules/makefun/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/makefun/default.nix b/pkgs/development/python-modules/makefun/default.nix index 1d4ae635800c..030ea2df3161 100644 --- a/pkgs/development/python-modules/makefun/default.nix +++ b/pkgs/development/python-modules/makefun/default.nix @@ -7,11 +7,11 @@ buildPythonPackage rec { pname = "makefun"; - version = "1.13.1"; + version = "1.14.0"; src = fetchPypi { inherit pname version; - sha256 = "985bb8b670ffbbb95d2a8aa996d318e6e9a3f26fc6f3ef2da93ebdf8f9c616bf"; + sha256 = "sha256-dwxuRY8e9HMEGFM08daG7iAXVdBhUqh44mRidTQMGB0="; }; postPatch = '' From 54bac49f21ddd505be1a4c8f888d7774ab202040 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:17 +0200 Subject: [PATCH 310/701] python3Packages.Mako: 1.2.0 -> 1.2.1 --- pkgs/development/python-modules/Mako/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/Mako/default.nix b/pkgs/development/python-modules/Mako/default.nix index a74f9988ad7a..8aa3f687dded 100644 --- a/pkgs/development/python-modules/Mako/default.nix +++ b/pkgs/development/python-modules/Mako/default.nix @@ -17,13 +17,13 @@ buildPythonPackage rec { pname = "Mako"; - version = "1.2.0"; + version = "1.2.1"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-mnx+kiuH2zaGIQz0nV12cDOkHUAQsoTnR2gskr3dizk="; + sha256 = "sha256-8FSl/0dDSS8aqezEcXLLM7QrnZk8/8wUbJ3hfnF7Awc="; }; propagatedBuildInputs = [ From 7148dea145adc182eaab467ea31c4776c916745c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:17 +0200 Subject: [PATCH 311/701] python3Packages.markdown-it-py: 2.0.1 -> 2.1.0 --- .../python-modules/markdown-it-py/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/markdown-it-py/default.nix b/pkgs/development/python-modules/markdown-it-py/default.nix index c1a0f58789bd..f4c83d5df348 100644 --- a/pkgs/development/python-modules/markdown-it-py/default.nix +++ b/pkgs/development/python-modules/markdown-it-py/default.nix @@ -2,6 +2,7 @@ , attrs , buildPythonPackage , fetchFromGitHub +, flit-core , linkify-it-py , mdurl , psutil @@ -14,7 +15,7 @@ buildPythonPackage rec { pname = "markdown-it-py"; - version = "2.0.1"; + version = "2.1.0"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -22,10 +23,14 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "executablebooks"; repo = pname; - rev = "v${version}"; - sha256 = "0qrsl4ajhi2263i5q1kivp2s3n7naq3byfbsv11rni18skw3i2a6"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-6UATJho3SuIbLktZtFcDrCTWIAh52E+n5adcgl49un0="; }; + nativeBuildInputs = [ + flit-core + ]; + propagatedBuildInputs = [ attrs linkify-it-py From 8bd35d274201a883180f0971785baa689e762daa Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:17 +0200 Subject: [PATCH 312/701] python3Packages.mautrix: 0.16.3 -> 0.17.3 --- pkgs/development/python-modules/mautrix/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mautrix/default.nix b/pkgs/development/python-modules/mautrix/default.nix index 9fafec281ddf..7b85a17a31a3 100644 --- a/pkgs/development/python-modules/mautrix/default.nix +++ b/pkgs/development/python-modules/mautrix/default.nix @@ -4,11 +4,11 @@ buildPythonPackage rec { pname = "mautrix"; - version = "0.16.3"; + version = "0.17.3"; src = fetchPypi { inherit pname version; - sha256 = "sha256-OpHLh5pCzGooQ5yxAa0+85m/szAafV+l+OfipQcfLtU="; + sha256 = "sha256-j49NrZJMDw8m5ZGP4DXxk7uzF+0BxDjs4coEkMDUP+0="; }; propagatedBuildInputs = [ From b554557cc89bdfc074bcfd7b8b6dfa8e9176485c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:18 +0200 Subject: [PATCH 313/701] python3Packages.memory-allocator: 0.1.2 -> 0.1.3 --- pkgs/development/python-modules/memory-allocator/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/memory-allocator/default.nix b/pkgs/development/python-modules/memory-allocator/default.nix index bee35f94f6e9..921f2962f25d 100644 --- a/pkgs/development/python-modules/memory-allocator/default.nix +++ b/pkgs/development/python-modules/memory-allocator/default.nix @@ -6,12 +6,12 @@ buildPythonPackage rec { pname = "memory-allocator"; - version = "0.1.2"; + version = "0.1.3"; src = fetchPypi { inherit version; pname = "memory_allocator"; - sha256 = "ddf42a2dcc678062f30c63c868335204d46a4ecdf4db0dc43ed4529f1d0ffab9"; + sha256 = "sha256-E4BcKuHAG3SJ+rXo6sk2FmK08sAkEuNlLuzkj/aVMWI="; }; propagatedBuildInputs = [ cython ]; From c8c44bfb1984ecd0b3a74350dc1db7b969898c02 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:18 +0200 Subject: [PATCH 314/701] python3Packages.mezzanine: 5.1.3 -> 6.0.0 --- pkgs/development/python-modules/mezzanine/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mezzanine/default.nix b/pkgs/development/python-modules/mezzanine/default.nix index 6607dc0739de..d4087e12c88d 100644 --- a/pkgs/development/python-modules/mezzanine/default.nix +++ b/pkgs/development/python-modules/mezzanine/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "mezzanine"; - version = "5.1.3"; + version = "6.0.0"; format = "setuptools"; disabled = pythonOlder "3.6" || isPyPy; @@ -29,7 +29,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "Mezzanine"; inherit version; - hash = "sha256-G/Oj5g70tFUhnbSVElVk0s9Ka+MEuPsEgj6blcFBOoY="; + hash = "sha256-R/PB4PFQpVp6jnCasyPszgC294SKjLzq2oMkR2qV86s="; }; buildInputs = [ From 673400b6e5cf9b54f4db39e286bdb265247c00ed Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:18 +0200 Subject: [PATCH 315/701] python3Packages.minio: 7.1.4 -> 7.1.10 --- pkgs/development/python-modules/minio/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/minio/default.nix b/pkgs/development/python-modules/minio/default.nix index 5b142406fab0..e91507379e00 100644 --- a/pkgs/development/python-modules/minio/default.nix +++ b/pkgs/development/python-modules/minio/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "minio"; - version = "7.1.4"; + version = "7.1.10"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -24,8 +24,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "minio"; repo = "minio-py"; - rev = version; - sha256 = "sha256-IzITqo23pRf83SFpnBZdryGHIsxh+7HrLVLM9CT5nQQ="; + rev = "refs/tags/${version}"; + sha256 = "sha256-od+I3rPLyLYbHAadWks5ccRkmAqhwn4+geRKq0qSnAs="; }; propagatedBuildInputs = [ From 50402c9904d61ca60296a8d1a619157ea61bfa1c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:18 +0200 Subject: [PATCH 316/701] python3Packages.mitmproxy: 8.0.0 -> 8.1.1 --- pkgs/development/python-modules/mitmproxy/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/mitmproxy/default.nix b/pkgs/development/python-modules/mitmproxy/default.nix index ea0f5dd1045e..5508f39531a5 100644 --- a/pkgs/development/python-modules/mitmproxy/default.nix +++ b/pkgs/development/python-modules/mitmproxy/default.nix @@ -51,7 +51,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = pname; repo = pname; - rev = "v${version}"; + rev = "refs/tags/v${version}"; sha256 = "sha256-nW/WfiY6uF67qNa95tvNvSv/alP2WmzTk34LEBma/04="; }; From 469da8b1d97410512b26fc19ef6f302cd4f2f20d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:18 +0200 Subject: [PATCH 317/701] python3Packages.mkdocs-material: 8.3.7 -> 8.3.9 --- pkgs/development/python-modules/mkdocs-material/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mkdocs-material/default.nix b/pkgs/development/python-modules/mkdocs-material/default.nix index d4d8f7875e09..fed1eab648e6 100644 --- a/pkgs/development/python-modules/mkdocs-material/default.nix +++ b/pkgs/development/python-modules/mkdocs-material/default.nix @@ -13,7 +13,7 @@ buildPythonApplication rec { pname = "mkdocs-material"; - version = "8.3.7"; + version = "8.3.9"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -22,7 +22,7 @@ buildPythonApplication rec { owner = "squidfunk"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-LOsgWRjKFZ+ZkJkQzDStNNBUh+AwlI8zZcUBz7L/Ook="; + hash = "sha256-Mi5eWznVuyH+69RtS0fUS9YD9mCumTk8HmgLVDKZC+I="; }; propagatedBuildInputs = [ From 62fbcfe9324c91b5a05b11f8cac17ee9b4f48ca9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:18 +0200 Subject: [PATCH 318/701] python3Packages.mlflow: 1.26.1 -> 1.27.0 --- pkgs/development/python-modules/mlflow/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mlflow/default.nix b/pkgs/development/python-modules/mlflow/default.nix index 7f3f97255d96..9016272384ad 100644 --- a/pkgs/development/python-modules/mlflow/default.nix +++ b/pkgs/development/python-modules/mlflow/default.nix @@ -32,14 +32,14 @@ buildPythonPackage rec { pname = "mlflow"; - version = "1.26.1"; + version = "1.27.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-VoBESElY6nG9MU7UICbP2V5kH+6+GFaKMuy/mv6bk9Q="; + hash = "sha256-ah401r4mZyXkHUVHVyqEJdhtZiPhyIiM8/IrkAGb4Ko="; }; propagatedBuildInputs = [ From 392d88ad6e79ac4a9e6093ebe7070d256dfc6867 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:18 +0200 Subject: [PATCH 319/701] python3Packages.mlxtend: 0.19.0 -> 0.20.0 --- pkgs/development/python-modules/mlxtend/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/mlxtend/default.nix b/pkgs/development/python-modules/mlxtend/default.nix index 05fc6b4bb59a..63cc4e3b39ec 100644 --- a/pkgs/development/python-modules/mlxtend/default.nix +++ b/pkgs/development/python-modules/mlxtend/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "mlxtend"; - version = "0.19.0"; + version = "0.20.0"; disabled = isPy27; src = fetchFromGitHub { owner = "rasbt"; repo = pname; - rev = version; - sha256 = "0qawzlzv4zf612n9n03fxnz6gxmzschq0ykh9dgv70l33ihmjbaw"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-ECDO3nc9IEgmZNdSA70BzOODOi0wnisI00F2Dxzdz+M="; }; checkInputs = [ pytestCheckHook ]; From 7d628c805aeec780f17782eed1e22d151f279bea Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:18 +0200 Subject: [PATCH 320/701] python3Packages.mne-python: 0.24.1 -> 1.0.3 --- pkgs/development/python-modules/mne-python/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/mne-python/default.nix b/pkgs/development/python-modules/mne-python/default.nix index c6e9ee01ffed..cfebe532375f 100644 --- a/pkgs/development/python-modules/mne-python/default.nix +++ b/pkgs/development/python-modules/mne-python/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "mne-python"; - version = "0.24.1"; + version = "1.0.3"; disabled = isPy27; @@ -24,8 +24,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "mne-tools"; repo = pname; - rev = "v${version}"; - sha256 = "0n91pj97xmpn0bmlv56q2117szlvvs4b52pjjlm3g8ny4xb3iwr0"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-6eDS/hKqEQqUxJtnfsPhxw9b4p5CC1ifnxVCRBmVVA8="; }; propagatedBuildInputs = [ numpy scipy ]; From a84d66f1c8309722436f3b3c377dbd4984e3a0f9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:18 +0200 Subject: [PATCH 321/701] python3Packages.mocket: 3.10.5 -> 3.10.6 --- pkgs/development/python-modules/mocket/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mocket/default.nix b/pkgs/development/python-modules/mocket/default.nix index bba7b1884176..1e9203f4abe0 100644 --- a/pkgs/development/python-modules/mocket/default.nix +++ b/pkgs/development/python-modules/mocket/default.nix @@ -19,12 +19,12 @@ buildPythonPackage rec { pname = "mocket"; - version = "3.10.5"; + version = "3.10.6"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "sha256-rF6ol5T6wH0nNmaP+lHQL8H+XZz1kl7OEe7NNO4MCtw="; + sha256 = "sha256-pD6WiK3OgDD2Xy9r59KOB9TT/LNiQa/DWRXA+w76oe8="; }; propagatedBuildInputs = [ From 1bfbf1ac870263e7a6e9ae5cf183ccb4d2aaae13 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:18 +0200 Subject: [PATCH 322/701] python3Packages.mongoengine: 0.24.0 -> 0.24.1 --- pkgs/development/python-modules/mongoengine/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/mongoengine/default.nix b/pkgs/development/python-modules/mongoengine/default.nix index 269ebf2ef3cf..ff91a63d792f 100644 --- a/pkgs/development/python-modules/mongoengine/default.nix +++ b/pkgs/development/python-modules/mongoengine/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "mongoengine"; - version = "0.24.0"; + version = "0.24.1"; disabled = isPy27; src = fetchFromGitHub { owner = "MongoEngine"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-BQSB4SGlejARFreeTfqFMzCWvBc6Vvq9EOMLjhAihdI="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-KmCk4YTkwpWePTOOFyp4hGIcxpy/rrfAAC1/Xes/IYk="; }; propagatedBuildInputs = [ From 90f36cedac5a544ff1c898903aea9a74f09071e4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:18 +0200 Subject: [PATCH 323/701] python3Packages.more-itertools: 8.12.0 -> 8.13.0 --- .../python-modules/more-itertools/default.nix | 27 +++++++++++++------ 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/more-itertools/default.nix b/pkgs/development/python-modules/more-itertools/default.nix index 21f0b70f63ac..9f3ce69394fa 100644 --- a/pkgs/development/python-modules/more-itertools/default.nix +++ b/pkgs/development/python-modules/more-itertools/default.nix @@ -1,32 +1,43 @@ { lib , buildPythonPackage , fetchPypi -, nose +, flit-core +, pytestCheckHook , six , stdenv }: - buildPythonPackage rec { pname = "more-itertools"; - version = "8.12.0"; + version = "8.13.0"; + format = "flit"; src = fetchPypi { inherit pname version; - sha256 = "7dc6ad46f05f545f900dd59e8dfb4e84a4827b97b3cfecb175ea0c7d247f6064"; + sha256 = "sha256-pCkBoKWxadkl9vIXzVoZDjLvVDYJBbnDnufbUxO/7A8="; }; - checkInputs = [ nose ]; - propagatedBuildInputs = [ six ]; + nativeBuildInouts = [ + flit-core + ]; + + propagatedBuildInputs = [ + six + ]; + + checkInputs = [ + pytestCheckHook + ]; # iterable = range(10 ** 10) # Is efficiently reversible # OverflowError: Python int too large to convert to C long doCheck = !stdenv.hostPlatform.is32bit; - meta = { + meta = with lib; { homepage = "https://more-itertools.readthedocs.org"; changelog = "https://more-itertools.readthedocs.io/en/stable/versions.html"; description = "Expansion of the itertools module"; - license = lib.licenses.mit; + license = licenses.mit; + maintainers = with maintainers; [ ]; }; } From 441487730163393db6274266d4691c2b3d0e06aa Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:19 +0200 Subject: [PATCH 324/701] python3Packages.moto: 3.1.11 -> 3.1.16 --- pkgs/development/python-modules/moto/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/moto/default.nix b/pkgs/development/python-modules/moto/default.nix index fc0e613b2495..52c0b6a250b2 100644 --- a/pkgs/development/python-modules/moto/default.nix +++ b/pkgs/development/python-modules/moto/default.nix @@ -36,14 +36,14 @@ buildPythonPackage rec { pname = "moto"; - version = "3.1.11"; + version = "3.1.16"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-GwxHL0t0AXdakuY/vPomESoA4Ie59u3aEiAqOcYsYYE="; + sha256 = "sha256-y+itipSfUZdx5dJbZwc4YEdX+2fNR0110UwgZ3WC6B8="; }; propagatedBuildInputs = [ From 0b7fe868a9f33b8f1591bd733dc51b3149039b9e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:19 +0200 Subject: [PATCH 325/701] python3Packages.motor: 2.5.1 -> 3.0.0 --- pkgs/development/python-modules/motor/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/motor/default.nix b/pkgs/development/python-modules/motor/default.nix index b75936817426..030b22a723e2 100644 --- a/pkgs/development/python-modules/motor/default.nix +++ b/pkgs/development/python-modules/motor/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "motor"; - version = "2.5.1"; + version = "3.0.0"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "mongodb"; repo = pname; - rev = version; - sha256 = "sha256-r+HyIEC+Jafn7eMqkAldsZ5hbem+n+P76RJGAymmBks="; + rev = "refs/tags/${version}"; + sha256 = "sha256-xq3EpTncnMskn3aJdLAtD/kKhn/cS2nrLrVliyh2z28="; }; propagatedBuildInputs = [ pymongo ]; From 8f450d8423beef734a6521cfb433ca3c4743845f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:19 +0200 Subject: [PATCH 326/701] python3Packages.multiprocess: 0.70.12.2 -> 0.70.13 --- pkgs/development/python-modules/multiprocess/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/multiprocess/default.nix b/pkgs/development/python-modules/multiprocess/default.nix index 491aa131bb59..8558706485c2 100644 --- a/pkgs/development/python-modules/multiprocess/default.nix +++ b/pkgs/development/python-modules/multiprocess/default.nix @@ -6,14 +6,14 @@ buildPythonPackage rec { pname = "multiprocess"; - version = "0.70.12.2"; + version = "0.70.13"; format = "setuptools"; src = fetchFromGitHub { owner = "uqfoundation"; repo = pname; - rev = "multiprocess-${version}"; - sha256 = "1npikdgj0qriqj384vg22qgq2xqylypk67sx1qfmdzvk6c4iyg0w"; + rev = "refs/tags/multiprocess-${version}"; + sha256 = "sha256-L/PesvaidavDEgJGqBxwcCYtG9TlKSwaxrUMJ+XVFOM="; }; propagatedBuildInputs = [ From 7c55dc3ede490c7640e57d0a7526b842d957e5c4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:19 +0200 Subject: [PATCH 327/701] python3Packages.napari: 0.4.15 -> 0.4.16 --- pkgs/development/python-modules/napari/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/napari/default.nix b/pkgs/development/python-modules/napari/default.nix index 837936f17a0a..a55d45bccce9 100644 --- a/pkgs/development/python-modules/napari/default.nix +++ b/pkgs/development/python-modules/napari/default.nix @@ -28,15 +28,15 @@ , wrapQtAppsHook }: mkDerivationWith buildPythonPackage rec { pname = "napari"; - version = "0.4.15"; + version = "0.4.16"; format = "pyproject"; src = fetchFromGitHub { owner = "napari"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-52TDMU6box7TA26P0F9ZgPr8fyzYM646lPUfOektOuE="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-Fx3DoTIb2ev5wMP/gmprPIoxeF2f+Cbac6pnWB/zTTw="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; From df68d8e1b68a80530956903743de382748a708b0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:19 +0200 Subject: [PATCH 328/701] python3Packages.napari-npe2: 0.3.0 -> 0.5.1 --- pkgs/development/python-modules/napari-npe2/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/napari-npe2/default.nix b/pkgs/development/python-modules/napari-npe2/default.nix index 0fd2c3e5e979..4ca75cf0237c 100644 --- a/pkgs/development/python-modules/napari-npe2/default.nix +++ b/pkgs/development/python-modules/napari-npe2/default.nix @@ -13,7 +13,7 @@ let pname = "napari-npe2"; - version = "0.3.0"; + version = "0.5.1"; in buildPythonPackage { inherit pname version; @@ -23,8 +23,8 @@ buildPythonPackage { src = fetchFromGitHub { owner = "napari"; repo = "npe2"; - rev = "v${version}"; - hash = "sha256-IyDUeztWQ8JWXDo//76iHzAlWWaZP6/0lwCh0eZAZsM="; + rev = "refs/tags/v${version}"; + hash = "sha256-+tTJrtJFUGwOhFzWgA5cFVp458DGuPVkErN/5O2LHk4="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; From 91e79004d17eeb146ec7a66d3ff59ca795735cb6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:19 +0200 Subject: [PATCH 329/701] python3Packages.nbclassic: 0.3.5 -> 0.4.3 --- pkgs/development/python-modules/nbclassic/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/nbclassic/default.nix b/pkgs/development/python-modules/nbclassic/default.nix index 2c062d3ff99e..fc311125c1d0 100644 --- a/pkgs/development/python-modules/nbclassic/default.nix +++ b/pkgs/development/python-modules/nbclassic/default.nix @@ -11,15 +11,15 @@ buildPythonPackage rec { pname = "nbclassic"; - version = "0.3.5"; + version = "0.4.3"; disabled = pythonOlder "3.6"; # tests only on github src = fetchFromGitHub { owner = "jupyterlab"; repo = pname; - rev = "v${version}"; - sha256 = "1d0x7nwsaw5qjw4iaylc2sxlpiq3hlg9sy3i2nh7sn3wckwl76lc"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-5sof5EOqzK7kNHSXp7eJl3ZagZRWF74e08ahqJId2Z8="; }; propagatedBuildInputs = [ jupyter_server notebook ]; From ba7723e98ec402a08f64382c0ff97cd24bdc11fc Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:19 +0200 Subject: [PATCH 330/701] python3Packages.nbformat: 5.2.0 -> 5.4.0 --- pkgs/development/python-modules/nbformat/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/nbformat/default.nix b/pkgs/development/python-modules/nbformat/default.nix index e110934fdd13..e5185aa37f66 100644 --- a/pkgs/development/python-modules/nbformat/default.nix +++ b/pkgs/development/python-modules/nbformat/default.nix @@ -1,7 +1,8 @@ { lib , buildPythonPackage , fetchPypi -, pytest +, fastjsonschema +, pytestCheckHook , glibcLocales , ipython_genutils , traitlets @@ -12,17 +13,17 @@ buildPythonPackage rec { pname = "nbformat"; - version = "5.2.0"; + version = "5.4.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-k98LnGciHTj7lwxI9tNhgZpsOIKZoO8xcbu5Eu3+EyQ="; + sha256 = "sha256-RLpcpqy4DF1aUA8eW4Pt6MvjZNWklcTIz2Cq8bplZQE="; }; LC_ALL="en_US.utf8"; - checkInputs = [ pytest glibcLocales ]; - propagatedBuildInputs = [ ipython_genutils traitlets testpath jsonschema jupyter_core ]; + checkInputs = [ pytestCheckHook glibcLocales ]; + propagatedBuildInputs = [ ipython_genutils traitlets testpath jsonschema jupyter_core fastjsonschema ]; preCheck = '' mkdir tmp From ba828137b095892f163aca6f253d55cf0f6f1b1d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:19 +0200 Subject: [PATCH 331/701] python3Packages.nbsphinx: 0.8.8 -> 0.8.9 --- pkgs/development/python-modules/nbsphinx/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nbsphinx/default.nix b/pkgs/development/python-modules/nbsphinx/default.nix index 38234c1486e1..ebba5c7b3f87 100644 --- a/pkgs/development/python-modules/nbsphinx/default.nix +++ b/pkgs/development/python-modules/nbsphinx/default.nix @@ -12,11 +12,11 @@ buildPythonPackage rec { pname = "nbsphinx"; - version = "0.8.8"; + version = "0.8.9"; src = fetchPypi { inherit pname version; - sha256 = "b5090c824b330b36c2715065a1a179ad36526bff208485a9865453d1ddfc34ec"; + sha256 = "sha256-St6GsqQfj0Hv0+qZ2uhMM2j+i6P4N9UMiBXOlCTFmU8="; }; propagatedBuildInputs = [ From fa7e88d60016a717fc407a0e0e3dea5c71db4c68 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:19 +0200 Subject: [PATCH 332/701] python3Packages.nest_asyncio: 1.5.4 -> 1.5.5 --- pkgs/development/python-modules/nest-asyncio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nest-asyncio/default.nix b/pkgs/development/python-modules/nest-asyncio/default.nix index 384b6db360b9..faa015d85f31 100644 --- a/pkgs/development/python-modules/nest-asyncio/default.nix +++ b/pkgs/development/python-modules/nest-asyncio/default.nix @@ -5,13 +5,13 @@ }: buildPythonPackage rec { - version = "1.5.4"; + version = "1.5.5"; pname = "nest_asyncio"; disabled = !(pythonAtLeast "3.5"); src = fetchPypi { inherit pname version; - sha256 = "f969f6013a16fadb4adcf09d11a68a4f617c6049d7af7ac2c676110169a63abd"; + sha256 = "sha256-5EIpHNlCaYvmGYI6F6hqV1nqvh+GEwhHkN4Yn+nhbWU="; }; # tests not packaged with source dist as of 1.3.2/1.3.2, and From 46b9aa8f3814a1f3a01b5333d848184c5cece76c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:20 +0200 Subject: [PATCH 333/701] python3Packages.netmiko: 4.1.0 -> 4.1.1 --- pkgs/development/python-modules/netmiko/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/netmiko/default.nix b/pkgs/development/python-modules/netmiko/default.nix index 482c298a90e3..9686ae0f0881 100644 --- a/pkgs/development/python-modules/netmiko/default.nix +++ b/pkgs/development/python-modules/netmiko/default.nix @@ -3,11 +3,11 @@ buildPythonPackage rec { pname = "netmiko"; - version = "4.1.0"; + version = "4.1.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-VwUZdHr82WsEprB7rk5d62AwaCxzngftDgjeBZW4OWQ="; + sha256 = "sha256-ZSmxHaFm0wCarBEzp+7bL7r2EQxRm7tLT0j4ZdjarJo="; }; buildInputs = [ setuptools ]; From 01ee8c8dd9e5325798a55953e4351fd3b849d42d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:20 +0200 Subject: [PATCH 334/701] python3Packages.networkx: 2.8.2 -> 2.8.4 --- pkgs/development/python-modules/networkx/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/networkx/default.nix b/pkgs/development/python-modules/networkx/default.nix index 3fb08348c7ff..3acf8cdf6385 100644 --- a/pkgs/development/python-modules/networkx/default.nix +++ b/pkgs/development/python-modules/networkx/default.nix @@ -11,12 +11,12 @@ buildPythonPackage rec { pname = "networkx"; # upgrade may break sage, please test the sage build or ping @timokau on upgrade - version = "2.8.2"; + version = "2.8.4"; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - sha256 = "sha256-rpnJsNNeW0pizxz+oB5bNjPY0C9KDq1paFtufeW4Xqs="; + sha256 = "sha256-XlPwJ8DVZ88fiE27KDIk31JWROQ6/RFF1kydiKNYR2I="; }; propagatedBuildInputs = [ decorator setuptools ]; From 7d0778cc940560e0c15c673eaf0eb1538858bc8c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:20 +0200 Subject: [PATCH 335/701] python3Packages.nilearn: 0.9.0 -> 0.9.1 --- pkgs/development/python-modules/nilearn/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nilearn/default.nix b/pkgs/development/python-modules/nilearn/default.nix index 2494a446a811..121b204d5c32 100644 --- a/pkgs/development/python-modules/nilearn/default.nix +++ b/pkgs/development/python-modules/nilearn/default.nix @@ -3,11 +3,11 @@ buildPythonPackage rec { pname = "nilearn"; - version = "0.9.0"; + version = "0.9.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-+cjjCt71FImRCux3JLVpneF4Qn065jhz2tmyPdMh/nY="; + sha256 = "sha256-3YIbT/KzuH9eSwNOoPlfzkN1rOWG3o7Rfmpme94ZJdc="; }; checkInputs = [ pytestCheckHook ]; From 2b712ba17da5f76d61dd37341c21a0309293188c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:20 +0200 Subject: [PATCH 336/701] python3Packages.nipype: 1.7.0 -> 1.8.3 --- pkgs/development/python-modules/nipype/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nipype/default.nix b/pkgs/development/python-modules/nipype/default.nix index 68a544c9ab07..42d05d24775b 100644 --- a/pkgs/development/python-modules/nipype/default.nix +++ b/pkgs/development/python-modules/nipype/default.nix @@ -49,12 +49,12 @@ in buildPythonPackage rec { pname = "nipype"; - version = "1.7.0"; + version = "1.8.3"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "e689fe2e5049598c9cd3708e8df1cac732fa1a88696f283e3bc0a70fecb8ab51"; + sha256 = "sha256-Z/qa0NotxWFzweFHRm/MbJImivV8AZl68yiQ1jNvcAQ="; }; postPatch = '' From 23afc4d5c140b565f90cc2063ff3db867d43783b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:20 +0200 Subject: [PATCH 337/701] python3Packages.numba-scipy: 0.3.0 -> 0.3.1 --- pkgs/development/python-modules/numba-scipy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/numba-scipy/default.nix b/pkgs/development/python-modules/numba-scipy/default.nix index 69e6861329aa..cd01bce1d135 100644 --- a/pkgs/development/python-modules/numba-scipy/default.nix +++ b/pkgs/development/python-modules/numba-scipy/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "numba-scipy"; - version = "0.3.0"; + version = "0.3.1"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-qJeoWiG1LdtFB9cME1d8xVaC0BXGDJEYjCOEdHvSkmQ="; + hash = "sha256-cApTGH5GJZH/RbkRjKhL3injvixD5kvfaS49FjrPA2U="; }; propagatedBuildInputs = [ From c2b780e5aa9a90fcfde73d683b0bc7db95711e9c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:20 +0200 Subject: [PATCH 338/701] python3Packages.numcodecs: 0.9.1 -> 0.10.0 --- pkgs/development/python-modules/numcodecs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/numcodecs/default.nix b/pkgs/development/python-modules/numcodecs/default.nix index 04e4cd77baf2..438a54127a07 100644 --- a/pkgs/development/python-modules/numcodecs/default.nix +++ b/pkgs/development/python-modules/numcodecs/default.nix @@ -13,12 +13,12 @@ buildPythonPackage rec { pname = "numcodecs"; - version = "0.9.1"; + version = "0.10.0"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "35adbcc746b95e3ac92e949a161811f5aa2602b9eb1ef241b5ea6f09bb220997"; + sha256 = "sha256-LdQlZOd3KpOFkjsCo2Pjzt8FPOkwlKkGRIXn9ppvHJI="; }; nativeBuildInputs = [ From 9eae91b829cbf7dee64bdf48c5b885488d24a2d6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:20 +0200 Subject: [PATCH 339/701] python3Packages.numpydoc: 1.2.1 -> 1.4.0 --- pkgs/development/python-modules/numpydoc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/numpydoc/default.nix b/pkgs/development/python-modules/numpydoc/default.nix index b770ac26fbd7..9eebc8c39a48 100644 --- a/pkgs/development/python-modules/numpydoc/default.nix +++ b/pkgs/development/python-modules/numpydoc/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "numpydoc"; - version = "1.2.1"; + version = "1.4.0"; format = "setuptools"; disabled = isPy27; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname; inherit version; - sha256 = "sha256-fOgm7Q1Uw/3JCXmSqNc6TUWdxGhhE1HGjkRP7ESkWvY="; + sha256 = "sha256-lJTa8cdhL1mQX6CeZcm4qQu6yzgE2R96lOd4gx5vz6U="; }; postPatch = '' From a056535c3e539e705a6a4041812bb1f6b7eee64f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:20 +0200 Subject: [PATCH 340/701] python3Packages.nunavut: 1.7.5 -> 1.8.3 --- pkgs/development/python-modules/nunavut/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nunavut/default.nix b/pkgs/development/python-modules/nunavut/default.nix index 4cfce289917a..117d5cfdd14f 100644 --- a/pkgs/development/python-modules/nunavut/default.nix +++ b/pkgs/development/python-modules/nunavut/default.nix @@ -9,13 +9,13 @@ buildPythonPackage rec { pname = "nunavut"; - version = "1.7.5"; + version = "1.8.3"; disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; - sha256 = "sha256-4wZfj2C6aUNqHaA00KiiXbKOMf/XBSD0N2+9c++e0K8="; + sha256 = "sha256-JI+0IpQWikE6vXfpZHWsVjx3JPaVJ/f4oAjTSNs1Wuk="; }; propagatedBuildInputs = [ From 095e2688292b07a14473459d39fa8d6d8dd2f613 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:20 +0200 Subject: [PATCH 341/701] python3Packages.oci: 2.63.0 -> 2.75.0 --- pkgs/development/python-modules/oci/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/oci/default.nix b/pkgs/development/python-modules/oci/default.nix index 879a317469e2..205cd78757e4 100644 --- a/pkgs/development/python-modules/oci/default.nix +++ b/pkgs/development/python-modules/oci/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "oci"; - version = "2.63.0"; + version = "2.75.0"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -21,8 +21,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "oracle"; repo = "oci-python-sdk"; - rev = "v${version}"; - hash = "sha256-EIn7BRXsVf7R2ij8iK3hrNWnLehxKDBlk96lAhFh0xw="; + rev = "refs/tags/v${version}"; + hash = "sha256-dr95RHM8h2JIqkaey7E9DzbTLfLlCCUL1ZmTIH4mBRw="; }; propagatedBuildInputs = [ From 8bf78749ea879f1bb0a5c3996fb71a2d04c51c01 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:21 +0200 Subject: [PATCH 342/701] python3Packages.omegaconf: 2.1.1 -> 2.2.2 --- pkgs/development/python-modules/omegaconf/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/omegaconf/default.nix b/pkgs/development/python-modules/omegaconf/default.nix index 14fc824f5cd8..71a3d366ebfa 100644 --- a/pkgs/development/python-modules/omegaconf/default.nix +++ b/pkgs/development/python-modules/omegaconf/default.nix @@ -3,15 +3,15 @@ buildPythonPackage rec { pname = "omegaconf"; - version = "2.1.1"; + version = "2.2.2"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "omry"; repo = pname; - rev = "v${version}"; - sha256 = "0hh6pk4q6nb94bz9rwa6cysf3nj50rmqkjh34pqkh28nzg44afjw"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-bUJ80sa2ot2JSkt29eFwSiKL6R1X1+VVeE9dFIy4Mg0="; }; postPatch = '' From 761000dcedb985c798ef08c74ce54deb6d7c989f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:21 +0200 Subject: [PATCH 343/701] python3Packages.onlykey-solo-python: 0.0.28 -> 0.0.32 --- .../python-modules/onlykey-solo-python/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/onlykey-solo-python/default.nix b/pkgs/development/python-modules/onlykey-solo-python/default.nix index d8030a892a56..b3f21afdaddf 100644 --- a/pkgs/development/python-modules/onlykey-solo-python/default.nix +++ b/pkgs/development/python-modules/onlykey-solo-python/default.nix @@ -13,13 +13,19 @@ buildPythonPackage rec { pname = "onlykey-solo-python"; - version = "0.0.28"; + version = "0.0.32"; + format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-Mbi5So2OgeXjg4Fzg7v2gAJuh1Y7ZCYu8Lrha/7PQfY="; + sha256 = "sha256-88DuhgX4FCwzIKzw4RqWgMtjRdf5huVlKEHAAEminuQ="; }; + postPatch = '' + substituteInPlace setup.py \ + --replace "fido2 == 0.9.3" "fido2" + ''; + patches = [ # https://github.com/trustcrypto/onlykey-solo-python/pull/2 (fetchpatch { From d00b846bd35004a840a57b4ddd9a8b467d008562 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:21 +0200 Subject: [PATCH 344/701] python3Packages.onnx: 1.11.0 -> 1.12.0 --- pkgs/development/python-modules/onnx/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/onnx/default.nix b/pkgs/development/python-modules/onnx/default.nix index 377521bb2f87..d5db23bc2b0b 100644 --- a/pkgs/development/python-modules/onnx/default.nix +++ b/pkgs/development/python-modules/onnx/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "onnx"; - version = "1.11.0"; + version = "1.12.0"; format = "setuptools"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "sha256-7KIkx8LI7kByoHQ+SJioSpvfgpe15ZEKJjLkxBgv+yo="; + sha256 = "sha256-E7PnfSdSO52/TzDfyclZRVhZ1eNOkhxE9xLWm4Np7/k="; }; nativeBuildInputs = [ @@ -47,8 +47,8 @@ buildPythonPackage rec { patchShebangs tools/protoc-gen-mypy.py substituteInPlace tools/protoc-gen-mypy.sh.in \ --replace "/bin/bash" "${bash}/bin/bash" - substituteInPlace setup.py \ - --replace "setup_requires.append('pytest-runner')" "" + + sed -i '/pytest-runner/d' setup.py ''; preBuild = '' From 7655f8ea15cc9a0c702708587abcba51cce154c3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:21 +0200 Subject: [PATCH 345/701] python3Packages.openapi-schema-validator: 0.2.3 -> 0.3.0 --- .../python-modules/openapi-schema-validator/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/openapi-schema-validator/default.nix b/pkgs/development/python-modules/openapi-schema-validator/default.nix index ced5f8ed68b8..c32b85190191 100644 --- a/pkgs/development/python-modules/openapi-schema-validator/default.nix +++ b/pkgs/development/python-modules/openapi-schema-validator/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "openapi-schema-validator"; - version = "0.2.3"; + version = "0.3.0"; format = "pyproject"; src = fetchFromGitHub { owner = "p1c2u"; repo = pname; - rev = version; - sha256 = "sha256-rgl2B55dnbpZszr+gWM0FgeXMKfrkDG7HeZBSw5Eles="; + rev = "refs/tags/${version}"; + sha256 = "sha256-Ms00nR3dpJ0hGtHvVa5B29dasYtBP8igxrgMm0NiArc="; }; nativeBuildInputs = [ From b0ffc8069ff047e4ad80f1e6a6f81d0a7c982544 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:21 +0200 Subject: [PATCH 346/701] python3Packages.openpyxl: 3.0.9 -> 3.0.10 --- pkgs/development/python-modules/openpyxl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/openpyxl/default.nix b/pkgs/development/python-modules/openpyxl/default.nix index 83401436bcf7..8afc16f86d43 100644 --- a/pkgs/development/python-modules/openpyxl/default.nix +++ b/pkgs/development/python-modules/openpyxl/default.nix @@ -10,12 +10,12 @@ buildPythonPackage rec { pname = "openpyxl"; - version = "3.0.9"; + version = "3.0.10"; disabled = isPy27; # 2.6.4 was final python2 release src = fetchPypi { inherit pname version; - sha256 = "40f568b9829bf9e446acfffce30250ac1fa39035124d55fc024025c41481c90f"; + sha256 = "sha256-5HgFYnrrz4YO207feYexMJwbNjLzdQU47ZYrvMO9dEk="; }; checkInputs = [ pytest ]; From 343362b0261e50538b5f9985a250f7246ad07430 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:21 +0200 Subject: [PATCH 347/701] python3Packages.optax: 0.1.1 -> 0.1.3 --- pkgs/development/python-modules/optax/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/optax/default.nix b/pkgs/development/python-modules/optax/default.nix index 42541d9078cf..b04c1549b4e1 100644 --- a/pkgs/development/python-modules/optax/default.nix +++ b/pkgs/development/python-modules/optax/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "deepmind"; repo = pname; - rev = "v${version}"; + rev = "refs/tags/v${version}"; hash = "sha256-XAYztMBQpLBHNuNED/iodbwIMJSN/0GxdmTGQ5jD9Ws="; }; From 553e340bd36c4e65479c09c00cd1251e9591d445 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:21 +0200 Subject: [PATCH 348/701] python3Packages.optuna: 2.10.0 -> 2.10.1 --- pkgs/development/python-modules/optuna/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/optuna/default.nix b/pkgs/development/python-modules/optuna/default.nix index 6dde9ededb50..1236a24628ec 100644 --- a/pkgs/development/python-modules/optuna/default.nix +++ b/pkgs/development/python-modules/optuna/default.nix @@ -30,14 +30,14 @@ buildPythonPackage rec { pname = "optuna"; - version = "2.10.0"; + version = "2.10.1"; disabled = isPy27; src = fetchFromGitHub { owner = "optuna"; repo = pname; - rev = "v${version}"; - sha256 = "0fha0pwxq6n3mbpvpz3vk8hh61zqncj5cnq063kzfl5d8rd48vcd"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-HHVEoLCZtEJEfc4xYobQrzRcDDxxeQjgL2Rw2KeVbi0="; }; checkInputs = [ From 770bdbf5441360daa9896e2fbece64edfe4920f3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:21 +0200 Subject: [PATCH 349/701] python3Packages.oslo-config: 8.8.0 -> 9.0.0 --- pkgs/development/python-modules/oslo-config/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/oslo-config/default.nix b/pkgs/development/python-modules/oslo-config/default.nix index f7e09692945a..abdafc4481b3 100644 --- a/pkgs/development/python-modules/oslo-config/default.nix +++ b/pkgs/development/python-modules/oslo-config/default.nix @@ -14,12 +14,12 @@ buildPythonPackage rec { pname = "oslo-config"; - version = "8.8.0"; + version = "9.0.0"; src = fetchPypi { pname = "oslo.config"; inherit version; - sha256 = "sha256-lpM9MBHa4VYIoRYWv7ANlH4i2jywm2/zfd11dqvUdkw="; + sha256 = "sha256-O2tjxDzx4JNEuoULyxHW8rkgEIb76wqXqJUOfqw/JkU="; }; postPatch = '' From e0e6bb3bbe022d85b38a3671481e9e7fccbd1b1d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:21 +0200 Subject: [PATCH 350/701] python3Packages.oslo-db: 11.3.0 -> 12.0.0 --- pkgs/development/python-modules/oslo-db/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/oslo-db/default.nix b/pkgs/development/python-modules/oslo-db/default.nix index c675848f38b1..7a393e69e741 100644 --- a/pkgs/development/python-modules/oslo-db/default.nix +++ b/pkgs/development/python-modules/oslo-db/default.nix @@ -16,12 +16,12 @@ buildPythonPackage rec { pname = "oslo-db"; - version = "11.3.0"; + version = "12.0.0"; src = fetchPypi { pname = "oslo.db"; inherit version; - sha256 = "sha256-CSlZI05V8p+lCgjPcG6LZi4y2nVNrFhjI95TDM/WJnM="; + sha256 = "sha256-EFuxQWOk7GG85z+N8ZADLIdZiJuA8B1ZrsdwR+cN24c="; }; nativeBuildInputs = [ pbr ]; From add113c2ff9462f9a498f89a0107e97d07daace0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:22 +0200 Subject: [PATCH 351/701] python3Packages.oslo-serialization: 4.3.0 -> 5.0.0 --- .../development/python-modules/oslo-serialization/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/oslo-serialization/default.nix b/pkgs/development/python-modules/oslo-serialization/default.nix index e59258dda782..4b33bb06dc10 100644 --- a/pkgs/development/python-modules/oslo-serialization/default.nix +++ b/pkgs/development/python-modules/oslo-serialization/default.nix @@ -11,12 +11,12 @@ buildPythonPackage rec { pname = "oslo-serialization"; - version = "4.3.0"; + version = "5.0.0"; src = fetchPypi { pname = "oslo.serialization"; inherit version; - sha256 = "sha256-OqRy9DSu6LvMByUxK39AmqH6VLvBNJBBJM9JsOhrkRU="; + sha256 = "sha256-KEUyjQ9H3Ioj/tKoIlPpCs/wqnMdvSTzec+OUObMZro="; }; postPatch = '' From 9f0b46976be4fb8f2ca71f54665691b51a69017e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:22 +0200 Subject: [PATCH 352/701] python3Packages.oslo-utils: 4.13.0 -> 6.0.0 --- pkgs/development/python-modules/oslo-utils/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/oslo-utils/default.nix b/pkgs/development/python-modules/oslo-utils/default.nix index 25bc4706f0de..45e400856ba7 100644 --- a/pkgs/development/python-modules/oslo-utils/default.nix +++ b/pkgs/development/python-modules/oslo-utils/default.nix @@ -23,12 +23,12 @@ buildPythonPackage rec { pname = "oslo-utils"; - version = "4.13.0"; + version = "6.0.0"; src = fetchPypi { pname = "oslo.utils"; inherit version; - sha256 = "sha256-RbqKql7QVqjo5GBZ75PVwte5yZvHSA42HPV4Pkfyj7o="; + sha256 = "sha256-CpLiTESWht7CgAlXZr4+uOV/EyXNpMbyEpVBVk5ei6g="; }; postPatch = '' From aa814224326337155ec18436be69a9b22ea79a73 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:22 +0200 Subject: [PATCH 353/701] python3Packages.outcome: 1.1.0 -> 1.2.0 --- pkgs/development/python-modules/outcome/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/outcome/default.nix b/pkgs/development/python-modules/outcome/default.nix index f03307ead147..0150f1f5a2aa 100644 --- a/pkgs/development/python-modules/outcome/default.nix +++ b/pkgs/development/python-modules/outcome/default.nix @@ -5,12 +5,12 @@ buildPythonPackage rec { pname = "outcome"; - version = "1.1.0"; + version = "1.2.0"; disabled = pythonOlder "3.4"; src = fetchPypi { inherit pname version; - sha256 = "e862f01d4e626e63e8f92c38d1f8d5546d3f9cce989263c521b2e7990d186967"; + sha256 = "sha256-b4K9PeRdowPPH3ceyvoWM3UKNYQ2qLtg4Goc63RdJnI="; }; checkInputs = [ pytest ]; From 6c565227086fb880c30086e63e2afff24a8499bf Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:22 +0200 Subject: [PATCH 354/701] python3Packages.OWSLib: 0.25.0 -> 0.26.0 --- pkgs/development/python-modules/owslib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/owslib/default.nix b/pkgs/development/python-modules/owslib/default.nix index 07c6bfedbb2c..a8543b2bad95 100644 --- a/pkgs/development/python-modules/owslib/default.nix +++ b/pkgs/development/python-modules/owslib/default.nix @@ -1,11 +1,11 @@ { lib, buildPythonPackage, fetchPypi, python-dateutil, requests, pytz, pyproj , pytest, pyyaml } : buildPythonPackage rec { pname = "OWSLib"; - version = "0.25.0"; + version = "0.26.0"; src = fetchPypi { inherit pname version; - sha256 = "20d79bce0be10277caa36f3134826bd0065325df0301a55b2c8b1c338d8d8f0a"; + sha256 = "sha256-jEywYzjrZAXCrs7QttCFaCqmHw8uUo8ceI1o3FDflBs="; }; buildInputs = [ pytest ]; From 02b965901f37b6e9b10419f0bf26c29813ad7850 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:22 +0200 Subject: [PATCH 355/701] python3Packages.p1monitor: 1.1.0 -> 2.0.0 --- pkgs/development/python-modules/p1monitor/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/p1monitor/default.nix b/pkgs/development/python-modules/p1monitor/default.nix index 7a8bc9fd050b..d1be6e639b38 100644 --- a/pkgs/development/python-modules/p1monitor/default.nix +++ b/pkgs/development/python-modules/p1monitor/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "p1monitor"; - version = "1.1.0"; + version = "2.0.0"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -20,8 +20,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "klaasnicolaas"; repo = "python-p1monitor"; - rev = "v${version}"; - hash = "sha256-X8by8qVcLEs5xrb4LjNeGomlmERAYYplo3Yqgh9lKrI="; + rev = "refs/tags/v${version}"; + hash = "sha256-0CPOK577tl86orjN9Xou8dPm425Yx1m8x6xfHaZEv10="; }; nativeBuildInputs = [ From 5e0e00dfd147bde2e589bd24f0bb2386f9488b63 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:22 +0200 Subject: [PATCH 356/701] python3Packages.papis: 0.11.1 -> 0.12 --- pkgs/development/python-modules/papis/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/papis/default.nix b/pkgs/development/python-modules/papis/default.nix index d117c8eb8db6..b33f65bad5c4 100644 --- a/pkgs/development/python-modules/papis/default.nix +++ b/pkgs/development/python-modules/papis/default.nix @@ -32,7 +32,7 @@ buildPythonPackage rec { pname = "papis"; - version = "0.11.1"; + version = "0.12"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -40,8 +40,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "papis"; repo = pname; - rev = "v${version}"; - hash = "sha256-hlokGoXBhxkAMbqohztZEWlPBSSAUIAGuHtrF7iXcy0="; + rev = "refs/tags/v${version}"; + hash = "sha256-WKsU/5LXqXiFpWyTZGpvZn4lyANPosbvuhYH3opbBRs="; }; propagatedBuildInputs = [ From 05cc9a6d2ba37567cd317032c766fd3a83e0607f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:22 +0200 Subject: [PATCH 357/701] python3Packages.pathos: 0.2.8 -> 0.2.9 --- pkgs/development/python-modules/pathos/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pathos/default.nix b/pkgs/development/python-modules/pathos/default.nix index 144d5aad60cf..9c6dd6256606 100644 --- a/pkgs/development/python-modules/pathos/default.nix +++ b/pkgs/development/python-modules/pathos/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "pathos"; - version = "0.2.8"; + version = "0.2.9"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -18,8 +18,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "uqfoundation"; repo = pname; - rev = "${pname}-${version}"; - sha256 = "sha256-71hMaG+3FbWMtGqwcDOZ8uit0DsHEoc9H2GXfX7TeoM="; + rev = "refs/tags/pathos-${version}"; + sha256 = "sha256-39D+itH0nkOzmh3Rpg/HXLRj2F1UPsys+iU0ZiodkM0="; }; propagatedBuildInputs = [ From 4ea93748054b09b689893d9e4a27fcaafd16035e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:22 +0200 Subject: [PATCH 358/701] python3Packages.pdftools.pdfposter: 0.7.post1 -> 0.8 --- pkgs/development/python-modules/pdfposter/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pdfposter/default.nix b/pkgs/development/python-modules/pdfposter/default.nix index 00cfea5cc9b0..d1a663dc87d9 100644 --- a/pkgs/development/python-modules/pdfposter/default.nix +++ b/pkgs/development/python-modules/pdfposter/default.nix @@ -2,13 +2,13 @@ buildPythonPackage rec { pname = "pdftools.pdfposter"; - version = "0.7.post1"; + version = "0.8"; propagatedBuildInputs = [ pypdf2 ]; src = fetchPypi { inherit pname version; - sha256 = "0c1avpbr9q53yzq5ar2x485rmp9d0l3z27aham32bg7gplzd7w0j"; + sha256 = "sha256-SYEn54kpO6KQ8ywpgu0+3uL+Ilr1hsfSornWrs2EBqQ="; }; meta = with lib; { From 3f7fd3a0e3e60e80dc8d351f1874e8234daf088e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:22 +0200 Subject: [PATCH 359/701] python3Packages.pdm-pep517: 0.12.5 -> 1.0.2 --- pkgs/development/python-modules/pdm-pep517/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pdm-pep517/default.nix b/pkgs/development/python-modules/pdm-pep517/default.nix index 1b988b1f67ab..9cfe5a5e9244 100644 --- a/pkgs/development/python-modules/pdm-pep517/default.nix +++ b/pkgs/development/python-modules/pdm-pep517/default.nix @@ -8,13 +8,13 @@ buildPythonPackage rec { pname = "pdm-pep517"; - version = "0.12.5"; + version = "1.0.2"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-z9FeVJhXkYa9wKGntu6p+YPnw6fdGip7CtItBdbcUJk="; + sha256 = "sha256-nVoqpYlvNzN1UJeUXsKnUc0Z7jOZMG4JlRQBSx5JrfE="; }; preCheck = '' From 30df32412a80436b5036e2e57b573c71775400ab Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:23 +0200 Subject: [PATCH 360/701] python3Packages.peewee: 3.15.0 -> 3.15.1 --- pkgs/development/python-modules/peewee/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/peewee/default.nix b/pkgs/development/python-modules/peewee/default.nix index 65e1fdd0af5e..86fcd3948a6c 100644 --- a/pkgs/development/python-modules/peewee/default.nix +++ b/pkgs/development/python-modules/peewee/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "peewee"; - version = "3.15.0"; + version = "3.15.1"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -23,8 +23,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "coleifer"; repo = pname; - rev = version; - hash = "sha256-nmqq1RJzHZKp6f0RAxuUAejy04vsupV0IH8dHXM/WVw="; + rev = "refs/tags/${version}"; + hash = "sha256-2rxGOUCITEHuM83qhaKQGK4jSf4r8hcBAGxRImT/rhE="; }; buildInputs = [ From 99496d0f649d162e5a64dd81b43d51784fbcc2ed Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:23 +0200 Subject: [PATCH 361/701] python3Packages.pelican: 4.7.2 -> 4.8.0 --- pkgs/development/python-modules/pelican/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pelican/default.nix b/pkgs/development/python-modules/pelican/default.nix index 9f11251ea8a8..d197e03617d1 100644 --- a/pkgs/development/python-modules/pelican/default.nix +++ b/pkgs/development/python-modules/pelican/default.nix @@ -28,14 +28,14 @@ buildPythonPackage rec { pname = "pelican"; - version = "4.7.2"; + version = "4.8.0"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "getpelican"; repo = pname; - rev = version; - hash = "sha256-ZBGzsyCtFt5uj9mpOpGdTzGJET0iwOAgDTy80P6anRU="; + rev = "refs/tags/${version}"; + hash = "sha256-N8/gxBrRdYPoP8B8nQp/3ma170yhz/KxQaaEhlypGys="; # Remove unicode file names which leads to different checksums on HFS+ # vs. other filesystems because of unicode normalisation. postFetch = '' From a1fe421fcc05c51ed418a39aae1093bfc96ce6cd Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:23 +0200 Subject: [PATCH 362/701] python3Packages.pep8-naming: 0.13.0 -> 0.13.1 --- pkgs/development/python-modules/pep8-naming/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pep8-naming/default.nix b/pkgs/development/python-modules/pep8-naming/default.nix index 8c386dde9a3a..248961d7f040 100644 --- a/pkgs/development/python-modules/pep8-naming/default.nix +++ b/pkgs/development/python-modules/pep8-naming/default.nix @@ -7,11 +7,11 @@ buildPythonPackage rec { pname = "pep8-naming"; - version = "0.13.0"; + version = "0.13.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-nzjm3Phnoft61H9f9ywN2uVEps9k6592ALezwLtZgLU="; + sha256 = "sha256-Ovd82qnHll98haVs1Xk1RVPJu9P98weKd28S21TdaUQ="; }; propagatedBuildInputs = [ From e232ee0324ac1b2ac8633bc92156d8b611b0ae69 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:23 +0200 Subject: [PATCH 363/701] python3Packages.perfplot: 0.10.1 -> 0.10.2 --- pkgs/development/python-modules/perfplot/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/perfplot/default.nix b/pkgs/development/python-modules/perfplot/default.nix index a2bb6baec969..1c8cdf4421bf 100644 --- a/pkgs/development/python-modules/perfplot/default.nix +++ b/pkgs/development/python-modules/perfplot/default.nix @@ -14,15 +14,15 @@ buildPythonPackage rec { pname = "perfplot"; - version = "0.10.1"; + version = "0.10.2"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "nschloe"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-5qZolEJWjhqk1JakcGBWZ1hxeP1cLqcB7IZ3ufjOC/o="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-bu6eYQukhLE8sLkS3PbqTgXOqJFXJYXTcXAhmjaq48g="; }; nativeBuildInputs = [ From 8bc1b4c6c8da881bd32e329b3596d4d2b2753ded Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:23 +0200 Subject: [PATCH 364/701] python3Packages.persisting-theory: 0.2.1 -> 1.0 --- .../persisting-theory/default.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/persisting-theory/default.nix b/pkgs/development/python-modules/persisting-theory/default.nix index 6859b6264a8f..17d210f4006d 100644 --- a/pkgs/development/python-modules/persisting-theory/default.nix +++ b/pkgs/development/python-modules/persisting-theory/default.nix @@ -1,22 +1,26 @@ -{ lib, buildPythonPackage, fetchPypi -, nose +{ lib +, buildPythonPackage +, fetchPypi +, pytestCheckHook }: buildPythonPackage rec { pname = "persisting-theory"; - version = "0.2.1"; + version = "1.0"; src = fetchPypi { inherit pname version; - sha256 = "02hcg7js23yjyw6gwxqzvyv2b1wfjrypk98cfxfgf7s8iz67vzq0"; + sha256 = "sha256-D4QPoiJHvKpRQJTafzsmxgI1lCmrEtLNiL4GtJozYpA="; }; - checkInputs = [ nose ]; + checkInputs = [ + pytestCheckHook + ]; - checkPhase = "nosetests"; + pythonImportsCheck = [ "persisting_theory" ]; meta = with lib; { - homepage = "https://code.eliotberriot.com/eliotberriot/persisting-theory"; + homepage = "https://code.agate.blue/agate/persisting-theory"; description = "Automate data discovering and access inside a list of packages"; license = licenses.bsd3; maintainers = with maintainers; [ mmai ]; From 7bf429a9d40b466edaf2e4a55e8bf750dea515b3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:23 +0200 Subject: [PATCH 365/701] python3Packages.pgspecial: 1.13.1 -> 2.0.1 --- pkgs/development/python-modules/pgspecial/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pgspecial/default.nix b/pkgs/development/python-modules/pgspecial/default.nix index e7b4e62ab575..7e629cc4978e 100644 --- a/pkgs/development/python-modules/pgspecial/default.nix +++ b/pkgs/development/python-modules/pgspecial/default.nix @@ -10,11 +10,11 @@ buildPythonPackage rec { pname = "pgspecial"; - version = "1.13.1"; + version = "2.0.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-1dq5ZpCQgnWRbcLGIu+uIX8ULggWX6NmlJ1By8VlhwE="; + sha256 = "sha256-ZEQ7vJrQm1fQ9Ny7OO/0TVKFO3QYyepS9YV6vhu1NOw="; }; propagatedBuildInputs = [ From ae7339ee5716c2a506d4e373a305580e89442010 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:23 +0200 Subject: [PATCH 366/701] python3Packages.phonemizer: 3.1.1 -> 3.2.1 --- pkgs/development/python-modules/phonemizer/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/phonemizer/default.nix b/pkgs/development/python-modules/phonemizer/default.nix index 3d7d21bbb97c..550a4fefd25a 100644 --- a/pkgs/development/python-modules/phonemizer/default.nix +++ b/pkgs/development/python-modules/phonemizer/default.nix @@ -15,11 +15,11 @@ buildPythonApplication rec { pname = "phonemizer"; - version = "3.1.1"; + version = "3.2.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-PWVK0NLVa0Rx1xyUyQF2/RvUo3/geskn53FcEv0Jr0c="; + sha256 = "sha256-Bo+F+FqKmtxjijeHrqyvcaU+R1eLEtdzwJdDNQDNiSs="; }; postPatch = '' From 7d1cfa2810f73288935602a42aee7f32c0d4da1f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:23 +0200 Subject: [PATCH 367/701] python3Packages.phonopy: 2.13.1 -> 2.15.1 --- pkgs/development/python-modules/phonopy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/phonopy/default.nix b/pkgs/development/python-modules/phonopy/default.nix index 3c45c602ae53..06399b0b6616 100644 --- a/pkgs/development/python-modules/phonopy/default.nix +++ b/pkgs/development/python-modules/phonopy/default.nix @@ -12,11 +12,11 @@ buildPythonPackage rec { pname = "phonopy"; - version = "2.13.1"; + version = "2.15.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-D7pBtcMbxMpt4XJVYDkslRDU4Uyk83AtbIIztUbji6A="; + sha256 = "sha256-iXvAXFtN1wKfasJAGt4FC04Q9Ntr4U2euA61YIdwLz0="; }; propagatedBuildInputs = [ From ab0764388d2b26b755fec4369975728c533d0ae4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:23 +0200 Subject: [PATCH 368/701] python3Packages.pika: 1.2.0 -> 1.3.0 --- .../python-modules/pika/default.nix | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/pika/default.nix b/pkgs/development/python-modules/pika/default.nix index 1c8cae9f041c..a9791de65195 100644 --- a/pkgs/development/python-modules/pika/default.nix +++ b/pkgs/development/python-modules/pika/default.nix @@ -2,7 +2,7 @@ , buildPythonPackage , fetchFromGitHub , gevent -, nose +, nose2 , mock , twisted , tornado @@ -10,33 +10,36 @@ buildPythonPackage rec { pname = "pika"; - version = "1.2.0"; + version = "1.3.0"; + format = "pyproject"; src = fetchFromGitHub { owner = "pika"; repo = "pika"; - rev = version; - sha256 = "sha256-Wog6Wxa8V/zv/bBrFOigZi6KE5qRf82bf1GK2XwvpDI="; + rev = "refs/tags/${version}"; + sha256 = "sha256-iWGqnDj8qhXUOTw8UNC7VHVBNyvMr4Kdk6NubX92KRI="; }; propagatedBuildInputs = [ gevent tornado twisted ]; - checkInputs = [ nose mock ]; + checkInputs = [ nose2 mock ]; postPatch = '' # don't stop at first test failure # don't run acceptance tests because they access the network # don't report test coverage - substituteInPlace setup.cfg \ + substituteInPlace nose2.cfg \ --replace "stop = 1" "stop = 0" \ --replace "tests=tests/unit,tests/acceptance" "tests=tests/unit" \ --replace "with-coverage = 1" "with-coverage = 0" ''; + doCheck = false; # tests require rabbitmq instance, unsure how to skip + checkPhase = '' runHook preCheck - PIKA_TEST_TLS=true nosetests + PIKA_TEST_TLS=true nose2 -v runHook postCheck ''; @@ -45,6 +48,6 @@ buildPythonPackage rec { description = "Pure-Python implementation of the AMQP 0-9-1 protocol"; homepage = "https://pika.readthedocs.org"; license = licenses.bsd3; + maintainers = with maintainers; [ ]; }; - } From fefa0e1c4e5d0610c4080cc0563104960ed9d1bf Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:24 +0200 Subject: [PATCH 369/701] python3Packages.pint: 0.18 -> 0.19.2 --- pkgs/development/python-modules/pint/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pint/default.nix b/pkgs/development/python-modules/pint/default.nix index c5a9148f0e54..b4e68c190946 100644 --- a/pkgs/development/python-modules/pint/default.nix +++ b/pkgs/development/python-modules/pint/default.nix @@ -15,22 +15,21 @@ buildPythonPackage rec { pname = "pint"; - version = "0.18"; + version = "0.19.2"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit version; pname = "Pint"; - sha256 = "sha256-jEvOiEwmkFH+t6vGnb/RhAPAx2SryD2hMuinIi+LqAE="; + sha256 = "sha256-4dSYn/UQs3ja1k+RcR572r5cp411sGoYVprEVGeMS68="; }; - disabled = pythonOlder "3.6"; - nativeBuildInputs = [ setuptools-scm ]; propagatedBuildInputs = [ packaging ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; - # Test suite explicitly requires pytest checkInputs = [ pytestCheckHook pytest-subtests @@ -38,13 +37,17 @@ buildPythonPackage rec { matplotlib uncertainties ]; + dontUseSetuptoolsCheck = true; + preCheck = '' + export HOME=$(mktemp -d) + ''; + meta = with lib; { description = "Physical quantities module"; license = licenses.bsd3; homepage = "https://github.com/hgrecco/pint/"; maintainers = with maintainers; [ costrouc doronbehar ]; }; - } From 5556d6eb0694ab51e0d1d594a1ed51389f7b4074 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:24 +0200 Subject: [PATCH 370/701] python3Packages.pip-tools: 6.6.2 -> 6.8.0 --- pkgs/development/python-modules/pip-tools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pip-tools/default.nix b/pkgs/development/python-modules/pip-tools/default.nix index 41e4edbb6ba9..93eb848a6452 100644 --- a/pkgs/development/python-modules/pip-tools/default.nix +++ b/pkgs/development/python-modules/pip-tools/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "pip-tools"; - version = "6.6.2"; + version = "6.8.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-9jhQOp932Y2afXJYSxUI0/gu0Bm4+rJPTlrQeMG4yV4="; + hash = "sha256-Oeiu5GVEbgInjYDb69QyXR3YYzJI9DITxzol9Y59ilU="; }; nativeBuildInputs = [ From 459e485bff4776ec4b736cf3e1f3f199c319e137 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:24 +0200 Subject: [PATCH 371/701] python3Packages.pipx: 1.0.0 -> 1.1.0 --- pkgs/development/python-modules/pipx/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pipx/default.nix b/pkgs/development/python-modules/pipx/default.nix index 3f461b15a3f2..fb0cef01705c 100644 --- a/pkgs/development/python-modules/pipx/default.nix +++ b/pkgs/development/python-modules/pipx/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "pipx"; - version = "1.0.0"; + version = "1.1.0"; disabled = pythonOlder "3.6"; @@ -19,8 +19,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "pipxproject"; repo = pname; - rev = version; - sha256 = "1sgfrlhci2m83k436dfwfmqjpb8hij6yypm03pm3n8drmr2aaa4s"; + rev = "refs/tags/${version}"; + sha256 = "sha256-6cKKVOgHIoKNfGqvDWK5cwBGBDkgfyRuBRDV6fruBoA="; }; propagatedBuildInputs = [ From d7df10fe4c2dee2f041bce170297bf7796333bca Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:24 +0200 Subject: [PATCH 372/701] python3Packages.pivy: 0.6.6 -> 0.6.7 --- pkgs/development/python-modules/pivy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pivy/default.nix b/pkgs/development/python-modules/pivy/default.nix index d4aee75efe34..44d6094f461a 100644 --- a/pkgs/development/python-modules/pivy/default.nix +++ b/pkgs/development/python-modules/pivy/default.nix @@ -7,8 +7,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "coin3d"; repo = "pivy"; - rev = version; - sha256 = "mU3QRDJd56gGDWqwcxAN3yUCkAkABP/I9gIBMH2MOXA="; + rev = "refs/tags/${version}"; + hash = "sha256-mU3QRDJd56gGDWqwcxAN3yUCkAkABP/I9gIBMH2MOXA="; }; dontUseCmakeConfigure = true; From 670cd91ee7fe7b10bf411bab491705e2082b2c6c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:24 +0200 Subject: [PATCH 373/701] python3Packages.pkginfo: 1.8.2 -> 1.8.3 --- pkgs/development/python-modules/pkginfo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pkginfo/default.nix b/pkgs/development/python-modules/pkginfo/default.nix index 21659f638a74..b3f4f1d450bf 100644 --- a/pkgs/development/python-modules/pkginfo/default.nix +++ b/pkgs/development/python-modules/pkginfo/default.nix @@ -6,12 +6,12 @@ buildPythonPackage rec { pname = "pkginfo"; - version = "1.8.2"; + version = "1.8.3"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-VC4NC2dQ4uIcIBeYA+QKtQWY2AZtUQl6Djgsup6wK/8="; + sha256 = "sha256-qE2kMY3Yb4cKlEeoyYNAqgYha/xvK3vcS4dmmErhhnw="; }; checkInputs = [ From 71ab134bc8a727a26dcd40314cac350d498804fc Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:24 +0200 Subject: [PATCH 374/701] python3Packages.plotly: 5.6.0 -> 5.9.0 --- pkgs/development/python-modules/plotly/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/plotly/default.nix b/pkgs/development/python-modules/plotly/default.nix index fc24a4c2e6f7..79c7784e23bb 100644 --- a/pkgs/development/python-modules/plotly/default.nix +++ b/pkgs/development/python-modules/plotly/default.nix @@ -9,11 +9,11 @@ buildPythonPackage rec { pname = "plotly"; - version = "5.6.0"; + version = "5.9.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-2G5E69449HU9/5gqubXgPPhyqrj99TpAPpme03gVQzE="; + sha256 = "sha256-sFNucrvAs88WmsH9AHWdd6rnuxKuN4zcdcXcNi9d5XY="; }; propagatedBuildInputs = [ From c67f65cbb9c16dc8c54b6f32b9d583010e9ad333 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:24 +0200 Subject: [PATCH 375/701] python3Packages.portalocker: 2.4.0 -> 2.5.1 --- pkgs/development/python-modules/portalocker/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/portalocker/default.nix b/pkgs/development/python-modules/portalocker/default.nix index cd7d6d03bbd4..2d57952de3ec 100644 --- a/pkgs/development/python-modules/portalocker/default.nix +++ b/pkgs/development/python-modules/portalocker/default.nix @@ -5,12 +5,12 @@ }: buildPythonPackage rec { - version = "2.4.0"; + version = "2.5.1"; pname = "portalocker"; src = fetchPypi { inherit pname version; - sha256 = "sha256-pkitdhuOonNwy1kVNQEizYB7gg0hk+1cnMKPFj32N/Q="; + sha256 = "sha256-ro6cwmYNoEv0H6Gg7vfjALteSlhprfsabYVRYytVmys="; }; propagatedBuildInputs = [ From 090e2e27ac3ea31b829677ef4c9d53d8d8786dce Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:24 +0200 Subject: [PATCH 376/701] python3Packages.portpicker: 1.5.0 -> 1.5.2 --- pkgs/development/python-modules/portpicker/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/portpicker/default.nix b/pkgs/development/python-modules/portpicker/default.nix index a0ff0f854973..b88bccfc534b 100644 --- a/pkgs/development/python-modules/portpicker/default.nix +++ b/pkgs/development/python-modules/portpicker/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "portpicker"; - version = "1.5.0"; + version = "1.5.2"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-4TsUgAit6yeTz4tVvNIP3OxPdj8tO/PEX15eXR330ig="; + hash = "sha256-xVaDrXJfXACkG8fbAiUiPovgJLH6Vk0DntM5Dk/Uj7M="; }; propagatedBuildInputs = [ From 199d551365a5d19ff2346c298820f60abb8a175b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:24 +0200 Subject: [PATCH 377/701] python3Packages.potentials: 0.3.3 -> 0.3.4 --- pkgs/development/python-modules/potentials/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/potentials/default.nix b/pkgs/development/python-modules/potentials/default.nix index 2d602746815e..9396a170ba1d 100644 --- a/pkgs/development/python-modules/potentials/default.nix +++ b/pkgs/development/python-modules/potentials/default.nix @@ -20,7 +20,7 @@ }: buildPythonPackage rec { - version = "0.3.3"; + version = "0.3.4"; pname = "potentials"; format = "setuptools"; @@ -28,7 +28,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-kj2RDls5ziCH+AF982h8TplZccwdcna3BQMoBXAbOHE="; + hash = "sha256-yBqU1FN2KlWE2Stg9OMdBLUfIQdbUGWCH4GU6r6HkDI="; }; propagatedBuildInputs = [ From 387515c2b9fefd0940fa6400a76e01b58d7eabc1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:24 +0200 Subject: [PATCH 378/701] python3Packages.powerline: 2.8.2 -> 2.8.3 --- pkgs/development/python-modules/powerline/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/powerline/default.nix b/pkgs/development/python-modules/powerline/default.nix index 292c44cf58fa..de97627f6df4 100644 --- a/pkgs/development/python-modules/powerline/default.nix +++ b/pkgs/development/python-modules/powerline/default.nix @@ -13,14 +13,14 @@ # TODO: bzr support is missing because nixpkgs switched to `breezy` buildPythonPackage rec { - version = "2.8.2"; + version = "2.8.3"; pname = "powerline"; src = fetchFromGitHub { owner = pname; repo = pname; - rev = version; - sha256 = "sha256-6V8ozl5KJQvytfflBmKJlIZQ5m3hkpCzMBtWZ2SzcQ0="; + rev = "refs/tags/${version}"; + sha256 = "sha256-UIx9/IZg6Wv596wHzQb0CO6zwmQXUaFEPKBojo2LXmA="; }; propagatedBuildInputs = [ From ca177f967946a750a3f265cd1940b917ecc9fe8e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:25 +0200 Subject: [PATCH 379/701] python3Packages.prettytable: 3.2.0 -> 3.3.0 --- pkgs/development/python-modules/prettytable/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/prettytable/default.nix b/pkgs/development/python-modules/prettytable/default.nix index 7c4afe4a7284..21e7a455da88 100644 --- a/pkgs/development/python-modules/prettytable/default.nix +++ b/pkgs/development/python-modules/prettytable/default.nix @@ -10,11 +10,11 @@ buildPythonPackage rec { pname = "prettytable"; - version = "3.2.0"; + version = "3.3.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-rn2WxkEAVD3GFmK0CijzsDwPlKUD7RIcb8ongsWBb4E="; + sha256 = "sha256-EY61T9J5QEm4EIk2U7IJUjSd9tO8F2Tn+s2KGAZPqbA="; }; nativeBuildInputs = [ setuptools-scm ]; From 5d961c8e43c3eabcf8f02b09910dd4d187a4b3ba Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:25 +0200 Subject: [PATCH 380/701] python3Packages.prompt-toolkit: 3.0.28 -> 3.0.30 --- pkgs/development/python-modules/prompt-toolkit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/prompt-toolkit/default.nix b/pkgs/development/python-modules/prompt-toolkit/default.nix index be90726e189b..02b188d2fdaa 100644 --- a/pkgs/development/python-modules/prompt-toolkit/default.nix +++ b/pkgs/development/python-modules/prompt-toolkit/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "prompt-toolkit"; - version = "3.0.28"; + version = "3.0.30"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -17,7 +17,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "prompt_toolkit"; inherit version; - sha256 = "sha256-nxzRax6GwpaPJRnX+zHdnWaZFvUVYSwmnRTp7VK1FlA="; + sha256 = "sha256-hZsoPFC95F9fl4Kfd6RnTRwfzYhTk2Txsoo3gFz9icA="; }; propagatedBuildInputs = [ From e4675c6f4dce3916393f300aa1fa0b4b49202ae3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:25 +0200 Subject: [PATCH 381/701] python3Packages.protonvpn-nm-lib: 3.10.0 -> 3.11.0 --- .../development/python-modules/protonvpn-nm-lib/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/protonvpn-nm-lib/default.nix b/pkgs/development/python-modules/protonvpn-nm-lib/default.nix index 2d6ad894fa63..579a1570da7f 100644 --- a/pkgs/development/python-modules/protonvpn-nm-lib/default.nix +++ b/pkgs/development/python-modules/protonvpn-nm-lib/default.nix @@ -19,14 +19,14 @@ buildPythonPackage rec { pname = "protonvpn-nm-lib"; - version = "3.10.0"; + version = "3.11.0"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "ProtonVPN"; repo = pname; - rev = version; - sha256 = "sha256-WVIQ43J01BQzYhEPDHcoAmUvlsaDw0Z7yLQGajVdedU="; + rev = "refs/tags/${version}"; + sha256 = "sha256-kfOLhM0/jzHj+KlDrnCe571Bcmv8TvuAbXMpt3uR2L0="; }; propagatedBuildInputs = [ From 9de1db22d0f9efb7e3e844ac2404e105c47615b0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:25 +0200 Subject: [PATCH 382/701] python3Packages.proxy-py: 2.4.0 -> 2.4.3 --- pkgs/development/python-modules/proxy-py/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/proxy-py/default.nix b/pkgs/development/python-modules/proxy-py/default.nix index c5daba1958f0..bea708129872 100644 --- a/pkgs/development/python-modules/proxy-py/default.nix +++ b/pkgs/development/python-modules/proxy-py/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "proxy-py"; - version = "2.4.0"; + version = "2.4.3"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -22,8 +22,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "abhinavsingh"; repo = "proxy.py"; - rev = "v${version}"; - sha256 = "sha256-VagX7ATVu6AT4POWoG9btizxFeBh9MLXiLpavtfXnyM="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-dA7a9RicBFCSf6IoGX/CdvI8x/xMOFfNtyuvFn9YmHI="; }; nativeBuildInputs = [ From 005e9034337659ee935553937487d181bf085d1f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:25 +0200 Subject: [PATCH 383/701] python3Packages.psd-tools: 1.9.18 -> 1.9.21 --- pkgs/development/python-modules/psd-tools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/psd-tools/default.nix b/pkgs/development/python-modules/psd-tools/default.nix index a642d6ba10d1..ae5c3e0ab1af 100644 --- a/pkgs/development/python-modules/psd-tools/default.nix +++ b/pkgs/development/python-modules/psd-tools/default.nix @@ -6,11 +6,11 @@ buildPythonPackage rec { pname = "psd-tools"; - version = "1.9.18"; + version = "1.9.21"; src = fetchPypi { inherit pname version; - sha256 = "d7e510790512f0bb8150c508531c8681c3d9d0ea63b3ba9b11bbf0952cbd69a8"; + sha256 = "sha256-BlfJnC03W0BEOr2Nav0Tj0fzjwAVlTPjyN0KmxxQMVI="; }; propagatedBuildInputs = [ From d67be060497ae338e3f9d4db091f251ff1b961b1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:25 +0200 Subject: [PATCH 384/701] python3Packages.psygnal: 0.3.3 -> 0.3.5 --- pkgs/development/python-modules/psygnal/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/psygnal/default.nix b/pkgs/development/python-modules/psygnal/default.nix index 4e05dd51b057..00b3b9406617 100644 --- a/pkgs/development/python-modules/psygnal/default.nix +++ b/pkgs/development/python-modules/psygnal/default.nix @@ -13,12 +13,12 @@ }: buildPythonPackage rec { pname = "psygnal"; - version = "0.3.3"; + version = "0.3.5"; src = fetchFromGitHub { owner = "tlambert03"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-BQmcA1gD2i4sxROH+a7gStcNK1mXYVerIZ2y6gn8vI8="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-8X6d0KZ61Uy5B68zuxtaimwnDSldWsVrL19iROS4X78="; }; buildInputs = [ setuptools-scm ]; propagatedBuildInputs = [ typing-extensions ]; From c9038dc649a47adeec14a19a5c433ec16e0e838d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:25 +0200 Subject: [PATCH 385/701] python3Packages.py3status: 3.43 -> 3.45 --- pkgs/development/python-modules/py3status/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/py3status/default.nix b/pkgs/development/python-modules/py3status/default.nix index 73bdc1258628..626de02595e3 100644 --- a/pkgs/development/python-modules/py3status/default.nix +++ b/pkgs/development/python-modules/py3status/default.nix @@ -24,11 +24,11 @@ buildPythonPackage rec { pname = "py3status"; - version = "3.43"; + version = "3.45"; src = fetchPypi { inherit pname version; - sha256 = "sha256-H37Jcd7wZmDiCn7fk0SmlWYj46D3w/B9BdsEwqgEBjw="; + sha256 = "sha256-ksZM2PaeYhluq4nyw6MTFjSb/fQNJha7BRc8/U/7zwg="; }; doCheck = false; From e71e5ced2d0d4874651d7ae3367544519a0cc6d3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:25 +0200 Subject: [PATCH 386/701] python3Packages.pyathena: 2.9.1 -> 2.9.6 --- pkgs/development/python-modules/pyathena/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyathena/default.nix b/pkgs/development/python-modules/pyathena/default.nix index 78a75817bee0..772cedfe5eeb 100644 --- a/pkgs/development/python-modules/pyathena/default.nix +++ b/pkgs/development/python-modules/pyathena/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "pyathena"; - version = "2.9.1"; + version = "2.9.6"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "PyAthena"; inherit version; - hash = "sha256-b1JdJhSe4ezKN4afZexwc/YT7OM9nIXHK7ca6nYRGnY="; + hash = "sha256-KFLmoX9OCUOxn5HuP6ZzrnGMQHO2dCJkDzcKpqCIy5s="; }; propagatedBuildInputs = [ From 101f71385fdafa7b817ff10ea1f48112cf95b950 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:25 +0200 Subject: [PATCH 387/701] python3Packages.pyatmo: 6.2.4 -> 7.0.1 --- pkgs/development/python-modules/pyatmo/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pyatmo/default.nix b/pkgs/development/python-modules/pyatmo/default.nix index 9d75c2b01d85..25d61641f207 100644 --- a/pkgs/development/python-modules/pyatmo/default.nix +++ b/pkgs/development/python-modules/pyatmo/default.nix @@ -2,7 +2,6 @@ , aiohttp , buildPythonPackage , fetchFromGitHub -, freezegun , oauthlib , pytest-asyncio , pytest-mock @@ -12,20 +11,21 @@ , requests-oauthlib , requests-mock , setuptools-scm +, time-machine }: buildPythonPackage rec { pname = "pyatmo"; - version = "6.2.4"; - format = "setuptools"; + version = "7.0.1"; + format = "pyproject"; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "jabesq"; repo = "pyatmo"; - rev = "v${version}"; - sha256 = "sha256-VXkQByaNA02fwBO2yuf7w1ZF/oJwd/h21de1EQlCu2U="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-WrpRLAfViudC0n7AG5es2CM8XbZ0yJqXCY9yod9czb0="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; @@ -42,11 +42,11 @@ buildPythonPackage rec { ]; checkInputs = [ - freezegun pytest-asyncio pytest-mock pytestCheckHook requests-mock + time-machine ]; postPatch = '' From ccbe09dbae0d5bf271a3516f443df01e4aae4b18 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:25 +0200 Subject: [PATCH 388/701] python3Packages.pybids: 0.15.0 -> 0.15.1 --- pkgs/development/python-modules/pybids/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pybids/default.nix b/pkgs/development/python-modules/pybids/default.nix index 4640be0c436d..bddb9fb52200 100644 --- a/pkgs/development/python-modules/pybids/default.nix +++ b/pkgs/development/python-modules/pybids/default.nix @@ -14,12 +14,12 @@ }: buildPythonPackage rec { - version = "0.15.0"; + version = "0.15.1"; pname = "pybids"; src = fetchPypi { inherit pname version; - sha256 = "sha256-Eq+4x7h1uR5QHXfgCEZl+7usc9CBFQClvV36Yyrqbd0="; + sha256 = "sha256-AlNQegTb/qQ+sfdaH3GqsEviEHa/6WwASIgAC4AuOPI="; }; propagatedBuildInputs = [ From 0ee172ff68ca94986cd3218ead9c0646d85badfe Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:26 +0200 Subject: [PATCH 389/701] python3Packages.pycairo: 1.20.1 -> 1.21.0 --- pkgs/development/python-modules/pycairo/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pycairo/default.nix b/pkgs/development/python-modules/pycairo/default.nix index 85edbdb29b44..d58dd9b333c2 100644 --- a/pkgs/development/python-modules/pycairo/default.nix +++ b/pkgs/development/python-modules/pycairo/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "pycairo"; - version = "1.20.1"; + version = "1.21.0"; disabled = pythonOlder "3.6"; @@ -21,8 +21,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "pygobject"; repo = "pycairo"; - rev = "v${version}"; - sha256 = "09aisph7ycgb4xi2xglvrn59i3cyqms8jbb876cl9763g7yqbcr6"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-cwkGN5O15DduCLkFWeh8DPO4lY64iIlCQaUsCBKB8Mw="; }; nativeBuildInputs = [ From 4a671a194c57cfe2f8e8e2ca811c38a2fd22c695 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:26 +0200 Subject: [PATCH 390/701] python3Packages.pycognito: 2022.02.1 -> 2022.05.0 --- pkgs/development/python-modules/pycognito/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pycognito/default.nix b/pkgs/development/python-modules/pycognito/default.nix index ff050c15bfe0..f0399d751cae 100644 --- a/pkgs/development/python-modules/pycognito/default.nix +++ b/pkgs/development/python-modules/pycognito/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "pycognito"; - version = "2022.02.1"; + version = "2022.05.0"; disabled = isPy27; src = fetchFromGitHub { owner = "pvizeli"; repo = pname; - rev = version; - sha256 = "sha256-0PqeZ8yy2MzvIi1xQNosR7V2Ma3tMT0Q/v4OIv7f1Kg="; + rev = "refs/tags/${version}"; + sha256 = "sha256-KPZcfTFZCPV/3tQHOGA99uAyYPkvusCwZrefKwEMAOo="; }; propagatedBuildInputs = [ From c3ceef9161f97329c49d5d0fdbb066fce4d81d6e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:26 +0200 Subject: [PATCH 391/701] python3Packages.pycuda: 2021.1 -> 2022.1 --- pkgs/development/python-modules/pycuda/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pycuda/default.nix b/pkgs/development/python-modules/pycuda/default.nix index 1c443712db76..c0ea080396bd 100644 --- a/pkgs/development/python-modules/pycuda/default.nix +++ b/pkgs/development/python-modules/pycuda/default.nix @@ -24,11 +24,11 @@ let in buildPythonPackage rec { pname = "pycuda"; - version = "2021.1"; + version = "2022.1"; src = fetchPypi { inherit pname version; - sha256 = "ab87312d0fc349d9c17294a087bb9615cffcf966ad7b115f5b051008a48dd6ed"; + sha256 = "sha256-rNkDDZPnbmCxIuM60WvPAbsTRPTDBN7f8c0r/7DzE6M="; }; preConfigure = with lib.versions; '' From 2192d927ae5047cc12fea21191cad704ce28585c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:26 +0200 Subject: [PATCH 392/701] python3Packages.pydantic: 1.9.0 -> 1.9.1 --- pkgs/development/python-modules/pydantic/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pydantic/default.nix b/pkgs/development/python-modules/pydantic/default.nix index 19396b8ee51a..f9993850f1df 100644 --- a/pkgs/development/python-modules/pydantic/default.nix +++ b/pkgs/development/python-modules/pydantic/default.nix @@ -27,7 +27,7 @@ buildPythonPackage rec { pname = "pydantic"; - version = "1.9.0"; + version = "1.9.1"; outputs = [ "out" @@ -40,8 +40,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "samuelcolvin"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-C4WP8tiMRFmkDkQRrvP3yOSM2zN8pHJmX9cdANIckpM="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-jqTtNJQ9lRkxDYGG4vg91qH1jrxRU9orEeUofO+bBpA="; }; postPatch = '' From e5fbcd90a025416fc10ac0049ab25fd729bd7655 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:26 +0200 Subject: [PATCH 393/701] python3Packages.pydata-sphinx-theme: 0.8.1 -> 0.9.0 --- .../python-modules/pydata-sphinx-theme/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pydata-sphinx-theme/default.nix b/pkgs/development/python-modules/pydata-sphinx-theme/default.nix index a19eacc1c194..4305b8aa67c1 100644 --- a/pkgs/development/python-modules/pydata-sphinx-theme/default.nix +++ b/pkgs/development/python-modules/pydata-sphinx-theme/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "pydata-sphinx-theme"; - version = "0.8.1"; + version = "0.9.0"; format = "wheel"; @@ -21,7 +21,7 @@ buildPythonPackage rec { dist = "py3"; python = "py3"; pname = "pydata_sphinx_theme"; - sha256 = "af2c99cb0b43d95247b1563860942ba75d7f1596360594fce510caaf8c4fcc16"; + sha256 = "sha256-sitEKm1kN+Xq8KHwVxaf/LMeqp8Qvn1UgaEl5zXHHBI="; }; propagatedBuildInputs = [ From 396ee1988ae56816b443cd530a3c0838cd5da002 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:26 +0200 Subject: [PATCH 394/701] python3Packages.pydeconz: 98 -> 100 --- pkgs/development/python-modules/pydeconz/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pydeconz/default.nix b/pkgs/development/python-modules/pydeconz/default.nix index a61e45d2c48b..4133346c39ba 100644 --- a/pkgs/development/python-modules/pydeconz/default.nix +++ b/pkgs/development/python-modules/pydeconz/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "pydeconz"; - version = "98"; + version = "100"; format = "setuptools"; disabled = pythonOlder "3.9"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "Kane610"; repo = "deconz"; rev = "refs/tags/v${version}"; - hash = "sha256-hCJRoyDWDxrBrxs2g6mVh7MOe6UMd+S8+ftfWyzWgH8="; + hash = "sha256-8wgvwYSGijxHB+CABHr+jnW87EnJE/67wrJqZgJk0mA="; }; propagatedBuildInputs = [ From f8d961fc683f326b3ed674cf8fd0fe2c5e63aca6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:26 +0200 Subject: [PATCH 395/701] python3Packages.pydmd: 0.4 -> 0.4.0.post2207 --- pkgs/development/python-modules/pydmd/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pydmd/default.nix b/pkgs/development/python-modules/pydmd/default.nix index 68a19afddba7..28d9eeaecd67 100644 --- a/pkgs/development/python-modules/pydmd/default.nix +++ b/pkgs/development/python-modules/pydmd/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "pydmd"; - version = "0.4"; + version = "0.4.0.post2207"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -20,8 +20,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "mathLab"; repo = "PyDMD"; - rev = "v${version}"; - sha256 = "1qwa3dyrrm20x0pzr7rklcw7433fd822n4m8bbbdd7z83xh6xm8g"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-IiHNn8BXOl+eQdxwTrF8PQhDlsMOTj87ugpQ09kDTO4="; }; propagatedBuildInputs = [ From 48838d0ad4ba94c6e93c1a0acb8e5e46f1fe3a8d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:26 +0200 Subject: [PATCH 396/701] python3Packages.pydrive2: 1.10.0 -> 1.10.1 --- pkgs/development/python-modules/pydrive2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pydrive2/default.nix b/pkgs/development/python-modules/pydrive2/default.nix index 2491bc5ff9a7..bb732993499c 100644 --- a/pkgs/development/python-modules/pydrive2/default.nix +++ b/pkgs/development/python-modules/pydrive2/default.nix @@ -10,12 +10,12 @@ buildPythonPackage rec { pname = "pydrive2"; - version = "1.10.0"; + version = "1.10.1"; src = fetchPypi { pname = "PyDrive2"; inherit version; - sha256 = "sha256-970ZtP8e9sC5IvtqxVwNlHJKtTc4euSh3nl3hNd0Y6s="; + sha256 = "sha256-rCnW2h7/Pl8U09oK8Q/wvz0SRIQn7k6Z0vgzZmNFVIM="; }; propagatedBuildInputs = [ From baa63060b3f464f291eb31ca26b4d7b742b34c5f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:26 +0200 Subject: [PATCH 397/701] python3Packages.pyfakefs: 4.5.6 -> 4.6.2 --- pkgs/development/python-modules/pyfakefs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyfakefs/default.nix b/pkgs/development/python-modules/pyfakefs/default.nix index c3c6513f331c..9f9dbe7fd7bf 100644 --- a/pkgs/development/python-modules/pyfakefs/default.nix +++ b/pkgs/development/python-modules/pyfakefs/default.nix @@ -7,13 +7,13 @@ }: buildPythonPackage rec { - version = "4.5.6"; + version = "4.6.2"; pname = "pyfakefs"; disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; - sha256 = "sha256-kU17+ZRAbPvv7gtNRZGPYMFbQGr+k/gZSoBNpaRQqCI="; + sha256 = "sha256-jdnIAgvNCB8llleoadXq+cynuzZzx/A7+uiyi751mbY="; }; postPatch = '' From f4011818002b24fc45cbda82c427323d5c85fb31 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:27 +0200 Subject: [PATCH 398/701] python3Packages.pygame-gui: 0.6.4 -> 064 --- pkgs/development/python-modules/pygame-gui/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pygame-gui/default.nix b/pkgs/development/python-modules/pygame-gui/default.nix index f56591efdadf..7404a5fefcbb 100644 --- a/pkgs/development/python-modules/pygame-gui/default.nix +++ b/pkgs/development/python-modules/pygame-gui/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "pygame-gui"; - version = "0.6.4"; + version = "064"; # nixpkgs-update: no auto update src = fetchFromGitHub { owner = "MyreMylar"; repo = "pygame_gui"; - rev = "v_${lib.replaceStrings ["."] [""] version}"; - sha256 = "13+fK1hYxiMh0T+xbbmHViZjyBoQfRyIDc05fIJ/46U="; + rev = "refs/tags/v_${version}"; + sha256 = "sha256-13+fK1hYxiMh0T+xbbmHViZjyBoQfRyIDc05fIJ/46U="; }; propagatedBuildInputs = [ pygame python-i18n ]; From 5a5ff89ef2e35b13ef8a8f670afbcb1912fd99c0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:27 +0200 Subject: [PATCH 399/701] python3Packages.pyinfra: 2.2 -> 2.3 --- pkgs/development/python-modules/pyinfra/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pyinfra/default.nix b/pkgs/development/python-modules/pyinfra/default.nix index 2c7019a26b7f..632bb090f3f5 100644 --- a/pkgs/development/python-modules/pyinfra/default.nix +++ b/pkgs/development/python-modules/pyinfra/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "pyinfra"; - version = "2.2"; + version = "2.3"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -26,8 +26,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Fizzadar"; repo = pname; - rev = "v${version}"; - hash = "sha256-G0ApoSBs8RRq/sKxyyCB7uCIFNccDMMCqPMIAHuJLCI="; + rev = "refs/tags/v${version}"; + hash = "sha256-aKEbmvxsWOJU4DWkEWxezVqXwaUofMzEphB/Hj1XqHU="; }; propagatedBuildInputs = [ From 0b65877af909b321ea5198e0949b8381dcc11643 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:27 +0200 Subject: [PATCH 400/701] python3Packages.pykdtree: 1.3.4 -> 1.3.5 --- .../development/python-modules/pykdtree/default.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pykdtree/default.nix b/pkgs/development/python-modules/pykdtree/default.nix index 3161548f8b58..b4b442945962 100644 --- a/pkgs/development/python-modules/pykdtree/default.nix +++ b/pkgs/development/python-modules/pykdtree/default.nix @@ -1,19 +1,24 @@ -{ lib, buildPythonPackage, fetchPypi, numpy, nose, openmp }: +{ lib, buildPythonPackage, fetchPypi, numpy, pytestCheckHook, openmp }: buildPythonPackage rec { pname = "pykdtree"; - version = "1.3.4"; + version = "1.3.5"; src = fetchPypi { inherit pname version; - sha256 = "bebe5c608129f2997e88510c00010b9a78581b394924c0e3ecd131d52415165d"; + sha256 = "sha256-c0L3XnMRA+ZT/B9rn9q8JBDPkrbnsGFggEp1eGybV0c="; }; buildInputs = [ openmp ]; propagatedBuildInputs = [ numpy ]; - checkInputs = [ nose ]; + preCheck = '' + # make sure we don't import pykdtree from the source tree + mv pykdtree tests + ''; + + checkInputs = [ pytestCheckHook ]; meta = with lib; { description = "kd-tree implementation for fast nearest neighbour search in Python"; From 0455f822664f1ac080fddfa69c1e6f34413ba78e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:27 +0200 Subject: [PATCH 401/701] python3Packages.pylsp-mypy: 0.5.8 -> 0.6.2 --- pkgs/development/python-modules/pylsp-mypy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pylsp-mypy/default.nix b/pkgs/development/python-modules/pylsp-mypy/default.nix index 5358b18402f2..c9f263ad2b08 100644 --- a/pkgs/development/python-modules/pylsp-mypy/default.nix +++ b/pkgs/development/python-modules/pylsp-mypy/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "pylsp-mypy"; - version = "0.5.8"; + version = "0.6.2"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "Richardk2n"; repo = "pylsp-mypy"; rev = "refs/tags/${version}"; - sha256 = "sha256-Yu1e/8gYFYEZ/IoFo8WnyRNYkCZ9i7NgjEjYBbagWMA="; + sha256 = "sha256-uOfNSdQ1ONybEiYXW6xDHfUH+0HY9bxDlBCNl3xHEn8="; }; disabledTests = [ From d35b70cf8c9b73480a39f5f8a9f298dc3ee5c2a2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:27 +0200 Subject: [PATCH 402/701] python3Packages.pymanopt: 0.2.5 -> 2.0.0 --- pkgs/development/python-modules/pymanopt/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pymanopt/default.nix b/pkgs/development/python-modules/pymanopt/default.nix index 8b1c4f2fd4cd..a9107da6fb5e 100644 --- a/pkgs/development/python-modules/pymanopt/default.nix +++ b/pkgs/development/python-modules/pymanopt/default.nix @@ -9,13 +9,13 @@ buildPythonPackage rec { pname = "pymanopt"; - version = "0.2.5"; + version = "2.0.0"; src = fetchFromGitHub { owner = pname; repo = pname; - rev = version; - sha256 = "0zk775v281375sangc5qkwrkb8yc9wx1g8b1917s4s8wszzkp8k6"; + rev = "refs/tags/${version}"; + sha256 = "sha256-dqyduExNgXIbEFlgkckaPfhLFSVLqPgwAOyBUdowwiQ="; }; propagatedBuildInputs = [ numpy scipy ]; From c529ab4bb7e2fe5c3de61125a0f47a7d8fc10401 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:27 +0200 Subject: [PATCH 403/701] python3Packages.pymavlink: 2.4.29 -> 2.4.31 --- pkgs/development/python-modules/pymavlink/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pymavlink/default.nix b/pkgs/development/python-modules/pymavlink/default.nix index 361f8bff615d..44abf56e7e47 100644 --- a/pkgs/development/python-modules/pymavlink/default.nix +++ b/pkgs/development/python-modules/pymavlink/default.nix @@ -2,11 +2,11 @@ buildPythonPackage rec { pname = "pymavlink"; - version = "2.4.29"; + version = "2.4.31"; src = fetchPypi { inherit pname version; - sha256 = "sha256-0k6DKkb/Izk15JKrSOC0u5wL3vT4x2CelZt112vc/p0="; + sha256 = "sha256-p7cvwMpW1fS9Ml72vsD9L35wqPjtsQHW5lclw5SJ4P0="; }; propagatedBuildInputs = [ future lxml ]; From 50d51b452225c312635dcdca58b62b75f6169fde Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:27 +0200 Subject: [PATCH 404/701] python3Packages.pymdown-extensions: 9.4 -> 9.5 --- .../python-modules/pymdown-extensions/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pymdown-extensions/default.nix b/pkgs/development/python-modules/pymdown-extensions/default.nix index 068c3196952d..08749312580c 100644 --- a/pkgs/development/python-modules/pymdown-extensions/default.nix +++ b/pkgs/development/python-modules/pymdown-extensions/default.nix @@ -38,14 +38,14 @@ let in buildPythonPackage rec { pname = "pymdown-extensions"; - version = "9.4"; + version = "9.5"; format = "pyproject"; src = fetchFromGitHub { owner = "facelessuser"; repo = "pymdown-extensions"; - rev = version; - sha256 = "sha256-9oYLDerz6ZcE4QyLO4mFPuHws8oZoXX8LcSV209MFec="; + rev = "refs/tags/${version}"; + sha256 = "sha256-bgvoY+8bbGoG1A93A+Uan1UDpQmEUu/TJu3FOkXechQ="; }; nativeBuildInputs = [ hatchling ]; From bb32897568cda717953b0655439d47ca3d498b23 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:27 +0200 Subject: [PATCH 405/701] python3Packages.pymongo: 3.12.3 -> 4.1.1 --- pkgs/development/python-modules/pymongo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pymongo/default.nix b/pkgs/development/python-modules/pymongo/default.nix index ba184f68b4b5..9ebe37f4b8da 100644 --- a/pkgs/development/python-modules/pymongo/default.nix +++ b/pkgs/development/python-modules/pymongo/default.nix @@ -6,12 +6,12 @@ buildPythonPackage rec { pname = "pymongo"; - version = "3.12.3"; + version = "4.1.1"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-ConK3ABipeU2ZN3gQ/bAlxcrjBxfAJRJAJUoL/mZWl8="; + sha256 = "sha256-17jyXJsAQ8uvd7i4lYFOM+ejyAeglzd8B+G9SZRgMNU="; }; # Tests call a running mongodb instance From 04b250e1c4b1168d7c4eb7a5e9366c37c3f314f8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:27 +0200 Subject: [PATCH 406/701] python3Packages.pymupdf: 1.19.6 -> 1.20.1 --- pkgs/development/python-modules/pymupdf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pymupdf/default.nix b/pkgs/development/python-modules/pymupdf/default.nix index 24c214fcba34..a516525e3bba 100644 --- a/pkgs/development/python-modules/pymupdf/default.nix +++ b/pkgs/development/python-modules/pymupdf/default.nix @@ -13,12 +13,12 @@ buildPythonPackage rec { pname = "pymupdf"; - version = "1.19.6"; + version = "1.20.1"; src = fetchPypi { pname = "PyMuPDF"; inherit version; - sha256 = "sha256-7z0T4n8Vhdd29qJZfxE6q9KNNrZIuYOnKFCyHFOZqwg="; + sha256 = "sha256-MFwaZLj7L9Rl4nzIvcvw9kIk8Oxtd2Pj9fLKZ4MTZkk="; }; postPatch = '' From 1b5b6285397f1cb2d583770888ffa496a788442c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:28 +0200 Subject: [PATCH 407/701] python3Packages.pyopencl: 2022.1 -> 2022.1.6 --- pkgs/development/python-modules/pyopencl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyopencl/default.nix b/pkgs/development/python-modules/pyopencl/default.nix index 934d5fb81143..7016478cabd4 100644 --- a/pkgs/development/python-modules/pyopencl/default.nix +++ b/pkgs/development/python-modules/pyopencl/default.nix @@ -22,7 +22,7 @@ let if stdenv.isDarwin then [ mesa_drivers.dev ] else [ ocl-icd ]; in buildPythonPackage rec { pname = "pyopencl"; - version = "2022.1"; + version = "2022.1.6"; checkInputs = [ pytest ]; buildInputs = [ opencl-headers pybind11 ] ++ os-specific-buildInputs; @@ -40,7 +40,7 @@ in buildPythonPackage rec { src = fetchPypi { inherit pname version; - sha256 = "sha256-JMbZoKH/dgnz1zZevYd4YWpUM8QmVmwsjjX/qwDvIsQ="; + sha256 = "sha256-+Ih9VOZUWY84VEclQLLrIorFa1aiSRuVvfrI8VvhyUM="; }; # py.test is not needed during runtime, so remove it from `install_requires` From c8dc821a4f217e60f151c4150995a4153f780e8e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:28 +0200 Subject: [PATCH 408/701] python3Packages.pyosmium: 3.2.0 -> 3.3.0 --- pkgs/development/python-modules/pyosmium/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pyosmium/default.nix b/pkgs/development/python-modules/pyosmium/default.nix index bd6b5d701dda..b0cc948f8468 100644 --- a/pkgs/development/python-modules/pyosmium/default.nix +++ b/pkgs/development/python-modules/pyosmium/default.nix @@ -4,15 +4,15 @@ buildPythonPackage rec { pname = "pyosmium"; - version = "3.2.0"; + version = "3.3.0"; disabled = pythonOlder "3.4" || isPyPy; src = fetchFromGitHub { owner = "osmcode"; repo = pname; - rev = "v${version}"; - sha256 = "0s9h1blz4vrgcvdiikbpi2d4cy69kg2s8ki4dzampm1s0pa92if5"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-vXxRXr+hRrA9oPf8wAS4qQT258Vz+KRSqYwwD6HrDxk="; }; nativeBuildInputs = [ cmake ]; From 3721bfc5a05ea5d630f252eea9b0562f149aa7f8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:28 +0200 Subject: [PATCH 409/701] python3Packages.pypandoc: 1.7.5 -> 1.8.1 --- pkgs/development/python-modules/pypandoc/default.nix | 12 +++++++----- .../python-modules/pypandoc/skip-tests.patch | 4 ++-- .../python-modules/pypandoc/static-pandoc-path.patch | 7 ++++--- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/pypandoc/default.nix b/pkgs/development/python-modules/pypandoc/default.nix index 8e46be2697ce..eb7287e4a1b0 100644 --- a/pkgs/development/python-modules/pypandoc/default.nix +++ b/pkgs/development/python-modules/pypandoc/default.nix @@ -1,14 +1,16 @@ -{ lib, substituteAll, buildPythonPackage, fetchPypi +{ lib, substituteAll, buildPythonPackage, fetchFromGitHub , pandoc, texlive }: buildPythonPackage rec { pname = "pypandoc"; - version = "1.7.5"; + version = "1.8.1"; - src = fetchPypi { - inherit pname version; - sha256 = "sha256-gCwmquF7ZBNsbQBpSdjOGDp9TZ+9Ty0FHmb0+59FylA="; + src = fetchFromGitHub { + owner = "NicklasTegner"; + repo = pname; + rev = "v${version}"; + hash = "sha256-1vQmONQFJrjptwVVjw25Wyt59loatjScsdnSax+q/f8="; }; patches = [ diff --git a/pkgs/development/python-modules/pypandoc/skip-tests.patch b/pkgs/development/python-modules/pypandoc/skip-tests.patch index 201c5105c53b..b7788f5d46e5 100644 --- a/pkgs/development/python-modules/pypandoc/skip-tests.patch +++ b/pkgs/development/python-modules/pypandoc/skip-tests.patch @@ -1,8 +1,8 @@ diff --git a/tests.py b/tests.py -index deb50e0..aede281 100755 +index 704f049..ef68728 100755 --- a/tests.py +++ b/tests.py -@@ -179,6 +179,7 @@ class TestPypandoc(unittest.TestCase): +@@ -225,6 +225,7 @@ class TestPypandoc(unittest.TestCase): received = pypandoc.convert_file(file_url, 'rst') self.assertEqualExceptForNewlineEnd(expected, received) diff --git a/pkgs/development/python-modules/pypandoc/static-pandoc-path.patch b/pkgs/development/python-modules/pypandoc/static-pandoc-path.patch index 8f992185d610..cff02b01b35d 100644 --- a/pkgs/development/python-modules/pypandoc/static-pandoc-path.patch +++ b/pkgs/development/python-modules/pypandoc/static-pandoc-path.patch @@ -1,11 +1,12 @@ diff --git a/pypandoc/__init__.py b/pypandoc/__init__.py -index 6d5b79b..65437aa 100644 +index b8f4e9a..295e182 100644 --- a/pypandoc/__init__.py +++ b/pypandoc/__init__.py -@@ -582,4 +582,4 @@ def clean_pandocpath_cache(): +@@ -771,5 +771,5 @@ def clean_pandocpath_cache(): + __pandoc_path = None -__version = None -+__version = "@pandocVersion@" -__pandoc_path = None ++__version = "@pandocVersion@" +__pandoc_path = "@pandoc@" From d22c4a24f17f2d6c25b62198754a86ea66420d67 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:28 +0200 Subject: [PATCH 410/701] python3Packages.PyPDF2: 1.28.4 -> 2.5.0 --- pkgs/development/python-modules/pypdf2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pypdf2/default.nix b/pkgs/development/python-modules/pypdf2/default.nix index d147de042c9f..8eb24dbe3385 100644 --- a/pkgs/development/python-modules/pypdf2/default.nix +++ b/pkgs/development/python-modules/pypdf2/default.nix @@ -8,11 +8,11 @@ buildPythonPackage rec { pname = "PyPDF2"; - version = "1.28.4"; + version = "2.5.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-BM5CzQVweIH+28oxZHRFEYBf6MMGGK5M+yuUDjNo1a0="; + sha256 = "sha256-WAKx9A+nm+G1q57claTn9+czmVidtPDmbKgx9Ennos0="; }; LC_ALL = "en_US.UTF-8"; From e60849e6c208062836f335be339dfb83dd07d49c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:28 +0200 Subject: [PATCH 411/701] python3Packages.pyproj: 3.3.0 -> 3.3.1 --- pkgs/development/python-modules/pyproj/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pyproj/default.nix b/pkgs/development/python-modules/pyproj/default.nix index 815f0fb84c98..bcfb7a0ee1b8 100644 --- a/pkgs/development/python-modules/pyproj/default.nix +++ b/pkgs/development/python-modules/pyproj/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "pyproj"; - version = "3.3.0"; + version = "3.3.1"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "pyproj4"; repo = "pyproj"; - rev = version; - hash = "sha256-crLYNACS9I0WGOdkYCJNoyxeAYsR41ZszzKRZsYHCLY="; + rev = "refs/tags/${version}"; + hash = "sha256-QmpwnOnMjV29Tq+M6FCotDytq6zlhsp0Zgzw3V7nhNQ="; }; # force pyproj to use ${proj} From 6bd198f12c4cbb3c89be62fd50a9ff8bcc22c23a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:28 +0200 Subject: [PATCH 412/701] python3Packages.pyprosegur: 0.0.5 -> 0.0.7 --- pkgs/development/python-modules/pyprosegur/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pyprosegur/default.nix b/pkgs/development/python-modules/pyprosegur/default.nix index d2d510246569..e6d3be82c2c1 100644 --- a/pkgs/development/python-modules/pyprosegur/default.nix +++ b/pkgs/development/python-modules/pyprosegur/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "pyprosegur"; - version = "0.0.5"; + version = "0.0.7"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "dgomes"; repo = pname; - rev = version; - sha256 = "0bpzxm8s548fw6j36brp7bcx9481x2hrypcw3yyg4ihsjhka5qln"; + rev = "refs/tags/${version}"; + sha256 = "sha256-eP8BFEdAJH2qHqqBXPxTaX1OGFggbWb3517G+gBPxhs="; }; propagatedBuildInputs = [ From 523f6e95fdca7fef16e4240188a974746aeeb664 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:28 +0200 Subject: [PATCH 413/701] python3Packages.pyqt-builder: 1.12.2 -> 1.13.0 --- pkgs/development/python-modules/pyqt-builder/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyqt-builder/default.nix b/pkgs/development/python-modules/pyqt-builder/default.nix index fd88e0fe4fe2..89f7102122c2 100644 --- a/pkgs/development/python-modules/pyqt-builder/default.nix +++ b/pkgs/development/python-modules/pyqt-builder/default.nix @@ -2,12 +2,12 @@ buildPythonPackage rec { pname = "pyqt-builder"; - version = "1.12.2"; + version = "1.13.0"; src = fetchPypi { pname = "PyQt-builder"; inherit version; - sha256 = "f62bb688d70e0afd88c413a8d994bda824e6cebd12b612902d1945c5a67edcd7"; + sha256 = "sha256-SHdYDDjOtTIOEps4HQg7CoYBxoFm2LmXB/CPoKFonu8="; }; propagatedBuildInputs = [ packaging sip ]; From 54aa88e8ffffde90d2038f6d6597d017837c6017 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:28 +0200 Subject: [PATCH 414/701] python3Packages.pyrfxtrx: 0.29.0 -> 0.30.0 --- pkgs/development/python-modules/pyrfxtrx/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pyrfxtrx/default.nix b/pkgs/development/python-modules/pyrfxtrx/default.nix index 663440965fd3..3c69d56a6ae1 100644 --- a/pkgs/development/python-modules/pyrfxtrx/default.nix +++ b/pkgs/development/python-modules/pyrfxtrx/default.nix @@ -7,13 +7,13 @@ buildPythonPackage rec { pname = "pyrfxtrx"; - version = "0.29.0"; + version = "0.30.0"; src = fetchFromGitHub { owner = "Danielhiversen"; repo = "pyRFXtrx"; - rev = version; - hash = "sha256-0tdT7UIT9F2z9+ufnzaACVxRybWxFjZObYQCd3hcXTk="; + rev = "refs/tags/${version}"; + hash = "sha256-ntnZITj8upzUzlrSTjQxY9xNTU+gJ2rE9PN35cpWwvM="; }; propagatedBuildInputs = [ From 63f7926cbfd2d7c96b8242d831bf758273d19e83 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:28 +0200 Subject: [PATCH 415/701] python3Packages.pyroute2: 0.6.13 -> 0.7.1 --- .../python-modules/pyroute2-core/default.nix | 37 ------------------ .../pyroute2-ethtool/default.nix | 39 ------------------- .../python-modules/pyroute2-ipdb/default.nix | 39 ------------------- .../python-modules/pyroute2-ipset/default.nix | 39 ------------------- .../python-modules/pyroute2-ndb/default.nix | 39 ------------------- .../pyroute2-nftables/default.nix | 35 ----------------- .../pyroute2-nslink/default.nix | 39 ------------------- .../pyroute2-protocols/default.nix | 39 ------------------- .../python-modules/pyroute2/default.nix | 30 +++++++------- pkgs/top-level/python-aliases.nix | 8 ++++ pkgs/top-level/python-packages.nix | 16 -------- 11 files changed, 21 insertions(+), 339 deletions(-) delete mode 100644 pkgs/development/python-modules/pyroute2-core/default.nix delete mode 100644 pkgs/development/python-modules/pyroute2-ethtool/default.nix delete mode 100644 pkgs/development/python-modules/pyroute2-ipdb/default.nix delete mode 100644 pkgs/development/python-modules/pyroute2-ipset/default.nix delete mode 100644 pkgs/development/python-modules/pyroute2-ndb/default.nix delete mode 100644 pkgs/development/python-modules/pyroute2-nftables/default.nix delete mode 100644 pkgs/development/python-modules/pyroute2-nslink/default.nix delete mode 100644 pkgs/development/python-modules/pyroute2-protocols/default.nix diff --git a/pkgs/development/python-modules/pyroute2-core/default.nix b/pkgs/development/python-modules/pyroute2-core/default.nix deleted file mode 100644 index 76fb24044556..000000000000 --- a/pkgs/development/python-modules/pyroute2-core/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib -, buildPythonPackage -, fetchPypi -, pyroute2-core -, pythonOlder -}: - -buildPythonPackage rec { - pname = "pyroute2-core"; - version = "0.6.13"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; - - src = fetchPypi { - pname = "pyroute2.core"; - inherit version; - hash = "sha256-In39nxmIjd0TQZZoIv/ViA2548iTdQlkGMZg/00aEdA="; - }; - - # pyroute2 sub-modules have no tests - doCheck = false; - - pythonImportsCheck = [ - "pr2modules.common" - "pr2modules.config" - "pr2modules.proxy" - ]; - - meta = with lib; { - description = "Core module for pyroute2"; - homepage = "https://github.com/svinota/pyroute2"; - license = licenses.asl20; - maintainers = with maintainers; [ fab ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/development/python-modules/pyroute2-ethtool/default.nix b/pkgs/development/python-modules/pyroute2-ethtool/default.nix deleted file mode 100644 index f163336028d1..000000000000 --- a/pkgs/development/python-modules/pyroute2-ethtool/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, buildPythonPackage -, fetchPypi -, pyroute2-core -, pythonOlder -}: - -buildPythonPackage rec { - pname = "pyroute2-ethtool"; - version = "0.6.13"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; - - src = fetchPypi { - pname = "pyroute2.ethtool"; - inherit version; - hash = "sha256-Cmh/6g/Nd9kHTHwYujXZufcOQhfr5opofiAECEc6O9Q="; - }; - - propagatedBuildInputs = [ - pyroute2-core - ]; - - # pyroute2 sub-modules have no tests - doCheck = false; - - pythonImportsCheck = [ - "pr2modules.ethtool" - ]; - - meta = with lib; { - description = "Ethtool module for pyroute2"; - homepage = "https://github.com/svinota/pyroute2"; - license = licenses.asl20; - maintainers = with maintainers; [ fab ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/development/python-modules/pyroute2-ipdb/default.nix b/pkgs/development/python-modules/pyroute2-ipdb/default.nix deleted file mode 100644 index a991645d4ce2..000000000000 --- a/pkgs/development/python-modules/pyroute2-ipdb/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, buildPythonPackage -, fetchPypi -, pyroute2-core -, pythonOlder -}: - -buildPythonPackage rec { - pname = "pyroute2-ipdb"; - version = "0.6.13"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; - - src = fetchPypi { - pname = "pyroute2.ipdb"; - inherit version; - hash = "sha256-u7u3XRO+luRUnPcOuU/XCy4XNuowGsa2g/VqoazYTVo="; - }; - - propagatedBuildInputs = [ - pyroute2-core - ]; - - # pyroute2 sub-modules have no tests - doCheck = false; - - pythonImportsCheck = [ - "pr2modules.ipdb" - ]; - - meta = with lib; { - description = "Ipdb module for pyroute2"; - homepage = "https://github.com/svinota/pyroute2"; - license = licenses.asl20; - maintainers = with maintainers; [ fab ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/development/python-modules/pyroute2-ipset/default.nix b/pkgs/development/python-modules/pyroute2-ipset/default.nix deleted file mode 100644 index 28c806143808..000000000000 --- a/pkgs/development/python-modules/pyroute2-ipset/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, buildPythonPackage -, fetchPypi -, pyroute2-core -, pythonOlder -}: - -buildPythonPackage rec { - pname = "pyroute2-ipset"; - version = "0.6.13"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; - - src = fetchPypi { - pname = "pyroute2.ipset"; - inherit version; - hash = "sha256-KKJU9iKhiXbQaDYD1a79pat8hSj6nja+uFvOUgJveGY="; - }; - - propagatedBuildInputs = [ - pyroute2-core - ]; - - # pyroute2 sub-modules have no tests - doCheck = false; - - pythonImportsCheck = [ - "pr2modules.ipset" - ]; - - meta = with lib; { - description = "Ipset module for pyroute2"; - homepage = "https://github.com/svinota/pyroute2"; - license = licenses.asl20; - maintainers = with maintainers; [ fab ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/development/python-modules/pyroute2-ndb/default.nix b/pkgs/development/python-modules/pyroute2-ndb/default.nix deleted file mode 100644 index c43adc07647f..000000000000 --- a/pkgs/development/python-modules/pyroute2-ndb/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, buildPythonPackage -, fetchPypi -, pyroute2-core -, pythonOlder -}: - -buildPythonPackage rec { - pname = "pyroute2-ndb"; - version = "0.6.13"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; - - src = fetchPypi { - pname = "pyroute2.ndb"; - inherit version; - hash = "sha256-CbH1XyYEPOZMkz6CJP0IREpJjzgeXcSDvJ9CjLrwkBo="; - }; - - propagatedBuildInputs = [ - pyroute2-core - ]; - - # pyroute2 sub-modules have no tests - doCheck = false; - - pythonImportsCheck = [ - "pr2modules.ndb" - ]; - - meta = with lib; { - description = "NDB module for pyroute2"; - homepage = "https://github.com/svinota/pyroute2"; - license = licenses.asl20; - maintainers = with maintainers; [ fab ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/development/python-modules/pyroute2-nftables/default.nix b/pkgs/development/python-modules/pyroute2-nftables/default.nix deleted file mode 100644 index f6ac1b1f2247..000000000000 --- a/pkgs/development/python-modules/pyroute2-nftables/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib -, buildPythonPackage -, fetchPypi -, pyroute2-core -}: - -buildPythonPackage rec { - pname = "pyroute2-nftables"; - version = "0.6.13"; - - src = fetchPypi { - pname = "pyroute2.nftables"; - inherit version; - sha256 = "sha256-yUvXQNULA6Go2WVPdp53r8d6deBfxYh90FUeOXD4ZZI="; - }; - - propagatedBuildInputs = [ - pyroute2-core - ]; - - # pyroute2 sub-modules have no tests - doCheck = false; - - pythonImportsCheck = [ - "pr2modules.nftables" - ]; - - meta = with lib; { - description = "Nftables module for pyroute2"; - homepage = "https://github.com/svinota/pyroute2"; - license = licenses.asl20; - maintainers = with maintainers; [ fab ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/development/python-modules/pyroute2-nslink/default.nix b/pkgs/development/python-modules/pyroute2-nslink/default.nix deleted file mode 100644 index 59eba1b76a1e..000000000000 --- a/pkgs/development/python-modules/pyroute2-nslink/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, buildPythonPackage -, fetchPypi -, pyroute2-core -, pythonOlder -}: - -buildPythonPackage rec { - pname = "pyroute2-nslink"; - version = "0.6.13"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; - - src = fetchPypi { - pname = "pyroute2.nslink"; - inherit version; - hash = "sha256-hu1QbK3MsVTNJ667Pb9z67cjw5EQTn8PO8LEo5xiNmw="; - }; - - propagatedBuildInputs = [ - pyroute2-core - ]; - - # pyroute2 sub-modules have no tests - doCheck = false; - - pythonImportsCheck = [ - "pr2modules.nslink" - ]; - - meta = with lib; { - description = "Nslink module for pyroute2"; - homepage = "https://github.com/svinota/pyroute2"; - license = licenses.asl20; - maintainers = with maintainers; [ fab ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/development/python-modules/pyroute2-protocols/default.nix b/pkgs/development/python-modules/pyroute2-protocols/default.nix deleted file mode 100644 index 24758a91ca24..000000000000 --- a/pkgs/development/python-modules/pyroute2-protocols/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, buildPythonPackage -, fetchPypi -, pyroute2-core -, pythonOlder -}: - -buildPythonPackage rec { - pname = "pyroute2-protocols"; - version = "0.6.13"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; - - src = fetchPypi { - pname = "pyroute2.protocols"; - inherit version; - hash = "sha256-bb7y0D7If2MAHabua9EzgEL2Ic+9BHVfYaMoxDCwAtY="; - }; - - propagatedBuildInputs = [ - pyroute2-core - ]; - - # pyroute2 sub-modules have no tests - doCheck = false; - - pythonImportsCheck = [ - "pr2modules.protocols" - ]; - - meta = with lib; { - description = "Protocols module for pyroute2"; - homepage = "https://github.com/svinota/pyroute2"; - license = licenses.asl20; - maintainers = with maintainers; [ fab ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/development/python-modules/pyroute2/default.nix b/pkgs/development/python-modules/pyroute2/default.nix index 632fadd3c266..dd7193d6c7e0 100644 --- a/pkgs/development/python-modules/pyroute2/default.nix +++ b/pkgs/development/python-modules/pyroute2/default.nix @@ -3,37 +3,23 @@ , fetchPypi , importlib-metadata , mitogen -, pyroute2-core -, pyroute2-ethtool -, pyroute2-ipdb -, pyroute2-ipset -, pyroute2-ndb -, pyroute2-nftables -, pyroute2-nslink , pythonOlder }: buildPythonPackage rec { pname = "pyroute2"; - version = "0.6.13"; - format = "setuptools"; + version = "0.7.1"; + format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-sD1JpYGUX+wrHsfR1RJcb0C6BO0Rr/yQxMrdwBniV5I="; + hash = "sha256-pytarNr+lBb4rJqj7V1vJ8aWgojYJWhDLg9wOhdT3ZY="; }; propagatedBuildInputs = [ mitogen - pyroute2-core - pyroute2-ethtool - pyroute2-ipdb - pyroute2-ipset - pyroute2-ndb - pyroute2-nftables - pyroute2-nslink ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; @@ -43,6 +29,16 @@ buildPythonPackage rec { pythonImportsCheck = [ "pyroute2" + "pr2modules.common" + "pr2modules.config" + "pr2modules.ethtool" + "pr2modules.ipdb" + "pr2modules.ipset" + "pr2modules.ndb" + "pr2modules.nftables" + "pr2modules.nslink" + "pr2modules.protocols" + "pr2modules.proxy" ]; meta = with lib; { diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 58223bafd5ba..e056a381f5ae 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -127,6 +127,14 @@ mapAliases ({ pymc3 = pymc; # added 2022-06-05, module was rename starting with 4.0.0 pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04 pyreadability = readability-lxml; # added 2022-05-24 + pyroute2-core = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16 + pyroute2-ethtool = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16 + pyroute2-ipdb = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16 + pyroute2-ipset = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16 + pyroute2-ndb = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16 + pyroute2-nftables = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16 + pyroute2-nslink = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16 + pyroute2-protocols = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16 pysmart-smartx = pysmart; # added 2021-10-22 pyspotify = throw "pyspotify has been removed because Spotify stopped supporting libspotify"; # added 2022-05-29 pytest_6 = pytest; # added 2022-02-10 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7d84acea30af..071c647e59a7 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8048,22 +8048,6 @@ in { pyroute2 = callPackage ../development/python-modules/pyroute2 { }; - pyroute2-core = callPackage ../development/python-modules/pyroute2-core { }; - - pyroute2-ethtool = callPackage ../development/python-modules/pyroute2-ethtool { }; - - pyroute2-ipdb = callPackage ../development/python-modules/pyroute2-ipdb { }; - - pyroute2-ipset = callPackage ../development/python-modules/pyroute2-ipset { }; - - pyroute2-ndb = callPackage ../development/python-modules/pyroute2-ndb { }; - - pyroute2-nftables = callPackage ../development/python-modules/pyroute2-nftables { }; - - pyroute2-nslink = callPackage ../development/python-modules/pyroute2-nslink { }; - - pyroute2-protocols = callPackage ../development/python-modules/pyroute2-protocols { }; - pyrr = callPackage ../development/python-modules/pyrr { }; pyrsistent = callPackage ../development/python-modules/pyrsistent { }; From 96f687b96c87d181d93296cff09c8a302443a7fe Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:29 +0200 Subject: [PATCH 416/701] python3Packages.pysam: 0.18.0 -> 0.19.1 --- pkgs/development/python-modules/pysam/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pysam/default.nix b/pkgs/development/python-modules/pysam/default.nix index 2f65aa899e39..d8a38dff9084 100644 --- a/pkgs/development/python-modules/pysam/default.nix +++ b/pkgs/development/python-modules/pysam/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "pysam"; - version = "0.18.0"; + version = "0.19.1"; # Fetching from GitHub instead of PyPi cause the 0.13 src release on PyPi is # missing some files which cause test failures. @@ -23,8 +23,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "pysam-developers"; repo = "pysam"; - rev = "v${version}"; - sha256 = "042ca27r6634xg2ixgvq1079cp714wmm6ml7bwc1snn0wxxzywfg"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-fbvfobffLha1eFatnHvh0tOYcuMRLTmy/BJ9QXFHx2o="; }; nativeBuildInputs = [ samtools ]; From 286f577f72267b6f5fe6df2ad74b6376be6c8627 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:29 +0200 Subject: [PATCH 417/701] python3Packages.pyshark: 0.4.6 -> 0.5.3 --- pkgs/development/python-modules/pyshark/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyshark/default.nix b/pkgs/development/python-modules/pyshark/default.nix index 8585ffb23271..d92c58ec88bc 100644 --- a/pkgs/development/python-modules/pyshark/default.nix +++ b/pkgs/development/python-modules/pyshark/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub +, appdirs , lxml , packaging , py @@ -11,7 +12,7 @@ buildPythonPackage rec { pname = "pyshark"; - version = "0.4.6"; + version = "0.5.3"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -22,17 +23,22 @@ buildPythonPackage rec { # 0.4.5 was the last release which was tagged # https://github.com/KimiNewt/pyshark/issues/541 rev = "refs/tags/v${version}"; - hash = "sha256-yEpUFihETKta3+Xb8eSyTZ1uSi7ao4OqWzsCgDLLhe8="; + hash = "sha256-byll2GWY2841AAf8Xh+KfaCOtMGVKabTsLCe3gCdZ1o="; }; sourceRoot = "${src.name}/src"; propagatedBuildInputs = [ + appdirs py lxml packaging ]; + preCheck = '' + export HOME=$TMPDIR + ''; + checkInputs = [ pytestCheckHook wireshark-cli From d91e2fa376defb41ed5ff0a3383604eed290e48a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:29 +0200 Subject: [PATCH 418/701] python3Packages.pysimplegui: 4.59.0 -> 4.60.1 --- pkgs/development/python-modules/pysimplegui/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pysimplegui/default.nix b/pkgs/development/python-modules/pysimplegui/default.nix index 31e40fcb12da..7e2996cb7da5 100644 --- a/pkgs/development/python-modules/pysimplegui/default.nix +++ b/pkgs/development/python-modules/pysimplegui/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "pysimplegui"; - version = "4.59.0"; + version = "4.60.1"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "PySimpleGUI"; inherit version; - sha256 = "sha256-GW6BwKQ36sSJNZXy7mlRW5hB5gjTUb08V33XqRNFT1E="; + sha256 = "sha256-PqGOOq6lFb30Dn1zAV0QHZKr3fIUsTSudnTpnFi5ZZg="; }; propagatedBuildInputs = [ From 7d795320e6529be11db51967311b6452837da9da Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:29 +0200 Subject: [PATCH 419/701] python3Packages.pysoma: 0.0.10 -> 0.0.11 --- pkgs/development/python-modules/pysoma/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pysoma/default.nix b/pkgs/development/python-modules/pysoma/default.nix index 893736ff1603..beba51305780 100644 --- a/pkgs/development/python-modules/pysoma/default.nix +++ b/pkgs/development/python-modules/pysoma/default.nix @@ -5,11 +5,11 @@ buildPythonPackage rec { pname = "pysoma"; - version = "0.0.10"; + version = "0.0.11"; src = fetchPypi { inherit pname version; - sha256 = "1q8afi6m3mfh0rfpghyvx6z76kgrpkbnlqzbs4p8ax13n0fnlkdi"; + sha256 = "sha256-U/kLaO/GBpOa9mHHlYQiWSw7sVNPaMneDURoJBqqojo="; }; # Project has no test From 9294cc8ceba4cb9f8d7edcafede801841a1998a7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:29 +0200 Subject: [PATCH 420/701] python3Packages.pyspnego: 0.5.0 -> 0.5.3 --- pkgs/development/python-modules/pyspnego/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pyspnego/default.nix b/pkgs/development/python-modules/pyspnego/default.nix index 563042091bf7..966fb6679237 100644 --- a/pkgs/development/python-modules/pyspnego/default.nix +++ b/pkgs/development/python-modules/pyspnego/default.nix @@ -13,15 +13,15 @@ buildPythonPackage rec { pname = "pyspnego"; - version = "0.5.0"; + version = "0.5.3"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "jborean93"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-CvPvyP7Vi2Ib+ikgUQt8JkVt5fxzapG590TgAehXqHE="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-awlS1VHXj6n9Ee4qUI1x5tEdkMF/ZEr9NPKh4ICkv3g="; }; propagatedBuildInputs = [ From 9a57b41f345d99e8fc11434eed1439e497a91576 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:29 +0200 Subject: [PATCH 421/701] python3Packages.pyte: 0.8.0 -> 0.8.1 --- pkgs/development/python-modules/pyte/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyte/default.nix b/pkgs/development/python-modules/pyte/default.nix index b907db22386c..440a529cb4ff 100644 --- a/pkgs/development/python-modules/pyte/default.nix +++ b/pkgs/development/python-modules/pyte/default.nix @@ -2,11 +2,11 @@ buildPythonPackage rec { pname = "pyte"; - version = "0.8.0"; + version = "0.8.1"; src = fetchPypi { inherit pname version; - sha256 = "7e71d03e972d6f262cbe8704ff70039855f05ee6f7ad9d7129df9c977b5a88c5"; + sha256 = "sha256-ub/Rt4F1nnVypuVTwBDMk+71ihnY0VkERthMGbGwl7A="; }; nativeBuildInputs = [ pytest-runner ]; From c4859e0cc20bb20ca82e06487d3eb928e9177902 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:29 +0200 Subject: [PATCH 422/701] python3Packages.pytest-asyncio: 0.18.3 -> 0.19.0 --- .../development/python-modules/pytest-asyncio/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pytest-asyncio/default.nix b/pkgs/development/python-modules/pytest-asyncio/default.nix index 4ab6093947c4..6eac9bf333be 100644 --- a/pkgs/development/python-modules/pytest-asyncio/default.nix +++ b/pkgs/development/python-modules/pytest-asyncio/default.nix @@ -12,16 +12,16 @@ buildPythonPackage rec { pname = "pytest-asyncio"; - version = "0.18.3"; - format = "setuptools"; + version = "0.19.0"; + format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "pytest-dev"; repo = pname; - rev = "v${version}"; - hash = "sha256-eopKlDKiTvGmqcqw44MKlhvSKswKZd/VDYRpZbuyOqM="; + rev = "refs/tags/v${version}"; + hash = "sha256-A8ngASbSRwY4RjanalnWBGgskZMDO50ffOf6wMNqOvA="; }; outputs = [ From bc0fd29b3048248eaf0e85761eddaaa39bbe381b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:29 +0200 Subject: [PATCH 423/701] python3Packages.pytest-metadata: 2.0.1 -> 2.0.2 --- pkgs/development/python-modules/pytest-metadata/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytest-metadata/default.nix b/pkgs/development/python-modules/pytest-metadata/default.nix index 057eb06ab3e0..321aacb5c704 100644 --- a/pkgs/development/python-modules/pytest-metadata/default.nix +++ b/pkgs/development/python-modules/pytest-metadata/default.nix @@ -8,13 +8,13 @@ buildPythonPackage rec { pname = "pytest-metadata"; - version = "2.0.1"; + version = "2.0.2"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-XNtq7qi6kQkYHPnxScijrhQw/35EUGqPhmr4qYykYwE="; + sha256 = "sha256-/NL0FvFb4pWUNSezyLoWpErlpxQZOckMPcXOnRZ88qU="; }; nativeBuildInputs = [ setuptools-scm ]; From 9e292ca95a4952fdd29ff85fffe6317570020874 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:29 +0200 Subject: [PATCH 424/701] python3Packages.pytest-mpl: 0.15.0 -> 0.16.0 --- pkgs/development/python-modules/pytest-mpl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytest-mpl/default.nix b/pkgs/development/python-modules/pytest-mpl/default.nix index f0215ed7d7b2..98f09edc68a1 100644 --- a/pkgs/development/python-modules/pytest-mpl/default.nix +++ b/pkgs/development/python-modules/pytest-mpl/default.nix @@ -12,11 +12,11 @@ buildPythonPackage rec { pname = "pytest-mpl"; - version = "0.15.0"; + version = "0.16.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-p5/UKLVoDYclp2o/MBb2oX1pHzxsQpHjmfwU1kFSKbw="; + sha256 = "sha256-TTqagfB15FEAxk+VWsEfaELT+B6Tw0wtXFi3wD2kD/0="; }; nativeBuildInputs = [ From 44b6e1dc7d1e7e19a3e3f6ae7abbcf5093161657 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:29 +0200 Subject: [PATCH 425/701] python3Packages.pytest-qt: 4.0.2 -> 4.1.0 --- pkgs/development/python-modules/pytest-qt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytest-qt/default.nix b/pkgs/development/python-modules/pytest-qt/default.nix index 23942b522358..51e834fe9628 100644 --- a/pkgs/development/python-modules/pytest-qt/default.nix +++ b/pkgs/development/python-modules/pytest-qt/default.nix @@ -8,11 +8,11 @@ buildPythonPackage rec { pname = "pytest-qt"; - version = "4.0.2"; + version = "4.1.0"; src = fetchPypi { inherit pname version; - sha256 = "dfc5240dec7eb43b76bcb5f9a87eecae6ef83592af49f3af5f1d5d093acaa93e"; + sha256 = "sha256-An89P13QSvBTDYRs9Q+4WPcZ9+h8LkocaGq9Tg9yFyo="; }; nativeBuildInputs = [ From b3f3f9eab2420ff9e80ad04f51ddeed4830b3cc2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:30 +0200 Subject: [PATCH 426/701] python3Packages.pytest-sugar: 0.9.4 -> 0.9.5 --- pkgs/development/python-modules/pytest-sugar/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytest-sugar/default.nix b/pkgs/development/python-modules/pytest-sugar/default.nix index 953e56ae0a44..9b59eb2e55b8 100644 --- a/pkgs/development/python-modules/pytest-sugar/default.nix +++ b/pkgs/development/python-modules/pytest-sugar/default.nix @@ -9,11 +9,11 @@ buildPythonPackage rec { pname = "pytest-sugar"; - version = "0.9.4"; + version = "0.9.5"; src = fetchPypi { inherit pname version; - sha256 = "b1b2186b0a72aada6859bea2a5764145e3aaa2c1cfbb23c3a19b5f7b697563d3"; + sha256 = "sha256-7qeLbxW2NSd9PZAoDNOG2P7qHKsPm+dZR6Ym6LArR30="; }; buildInputs = [ pytest ]; From 82e770f42ed1c10c58a22d244ec8560cf13400ad Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:30 +0200 Subject: [PATCH 427/701] python3Packages.pytest-xprocess: 0.18.1 -> 0.19.0 --- pkgs/development/python-modules/pytest-xprocess/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytest-xprocess/default.nix b/pkgs/development/python-modules/pytest-xprocess/default.nix index fcd72ce9b976..1b45c06969d3 100644 --- a/pkgs/development/python-modules/pytest-xprocess/default.nix +++ b/pkgs/development/python-modules/pytest-xprocess/default.nix @@ -6,11 +6,11 @@ buildPythonPackage rec { pname = "pytest-xprocess"; - version = "0.18.1"; + version = "0.19.0"; src = fetchPypi { inherit pname version; - sha256 = "fd9f30ed1584b5833bc34494748adf0fb9de3ca7bacc4e88ad71989c21cba266"; + sha256 = "sha256-GCDFSdZx7bLInCX/HjjHDs2g/v4oDxPEWiyMbWbXtQ4="; }; nativeBuildInputs = [ setuptools-scm ]; From 3729720e295d377861c24147cf12c6ec6026017d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:30 +0200 Subject: [PATCH 428/701] python3Packages.python-codon-tables: 0.1.11 -> 0.1.12 --- .../python-modules/python-codon-tables/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python-codon-tables/default.nix b/pkgs/development/python-modules/python-codon-tables/default.nix index 7c4551a9d67a..715a982d9fe2 100644 --- a/pkgs/development/python-modules/python-codon-tables/default.nix +++ b/pkgs/development/python-modules/python-codon-tables/default.nix @@ -5,12 +5,12 @@ buildPythonPackage rec { pname = "python-codon-tables"; - version = "0.1.11"; + version = "0.1.12"; src = fetchPypi { pname = "python_codon_tables"; inherit version; - sha256 = "ba590fcfb1988f9674c8627464caeb3ea0797d970872a2c27ea09906acd24110"; + sha256 = "sha256-pzPoR55nU8ObPv1iIE52qpqD5xGdYLm1uG3nCD6I46Y="; }; # no tests in tarball From d3d4c8e40978d22a7eb0e69cc25f232e066ac359 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:30 +0200 Subject: [PATCH 429/701] python3Packages.python-dbusmock: 0.26.1 -> 0.28.1 --- .../python-dbusmock/default.nix | 45 ++++++++++++------- 1 file changed, 29 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/python-dbusmock/default.nix b/pkgs/development/python-modules/python-dbusmock/default.nix index 378c58f02364..ca71b32449cc 100644 --- a/pkgs/development/python-modules/python-dbusmock/default.nix +++ b/pkgs/development/python-modules/python-dbusmock/default.nix @@ -1,29 +1,35 @@ -{ lib, buildPythonPackage, fetchFromGitHub, runtimeShell, - nose, dbus, dbus-python, pygobject3, - which, pyflakes, pycodestyle, bluez, networkmanager +{ lib +, buildPythonPackage +, fetchFromGitHub +, runtimeShell +, nose +, dbus +, dbus-python +, pygobject3 +, which +, pyflakes +, pycodestyle +, bluez +, networkmanager }: buildPythonPackage rec { pname = "python-dbusmock"; - version = "0.26.1"; + version = "0.28.1"; src = fetchFromGitHub { owner = "martinpitt"; repo = pname; - rev = version; - sha256 = "sha256-kavbWMTgKU/rBIo7RMs9NkwReYQyEdeFwMBSzEM9wa0="; + rev = "refs/tags/${version}"; + sha256 = "sha256-r4WAMj+ROrFHJ5kcZ32mArI9+tYakKgIcEgDcD0hTFo="; }; - prePatch = '' - substituteInPlace tests/test_code.py \ - --replace "pyflakes3" "pyflakes" \ - --replace "/bin/bash" "${runtimeShell}" \ - --replace "--ignore=E124,E402,E731,W504" "--ignore=E124,E402,E731,W504,E501" # ignore long lines too + postPatch = '' + substituteInPlace setup.py \ + --replace 'dbus-python' "" ''; # TODO: Get the rest of these tests running? - # This is a mocking library used as a check dependency for a single derivation. - # That derivation's tests pass. Maybe not worth the effort to fix these... NOSE_EXCLUDE = lib.concatStringsSep "," [ "test_bluez4" # NixOS ships BlueZ5 # These appear to fail because they're expecting to run in an Ubuntu chroot? @@ -46,14 +52,21 @@ buildPythonPackage rec { # "test_networkmanager" ]; + propagatedBuildInputs = [ + dbus-python + ]; + checkInputs = [ - nose dbus dbus-python which pycodestyle pyflakes - pygobject3 bluez (lib.getOutput "test" bluez) networkmanager + dbus + pygobject3 + bluez + (lib.getOutput "test" bluez) + networkmanager + nose ]; checkPhase = '' runHook preCheck - export PATH="$PATH:${lib.getOutput "test" bluez}/test"; nosetests -v runHook postCheck ''; From f4266d81639c46b994aabe8b52a01adfc03460ee Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:30 +0200 Subject: [PATCH 430/701] python3Packages.python-gnupg: 0.4.8 -> 0.4.9 --- .../python-modules/python-gnupg/default.nix | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/python-gnupg/default.nix b/pkgs/development/python-modules/python-gnupg/default.nix index e26e60c43ec4..3ece771e7b5f 100644 --- a/pkgs/development/python-modules/python-gnupg/default.nix +++ b/pkgs/development/python-modules/python-gnupg/default.nix @@ -1,28 +1,29 @@ { lib, buildPythonPackage, fetchPypi, gnupg }: buildPythonPackage rec { - pname = "python-gnupg"; - version = "0.4.8"; + pname = "python-gnupg"; + version = "0.4.9"; + + format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "b64de1ae5cedf872b437201a566fa2c62ce0c95ea2e30177eb53aee1258507d7"; + sha256 = "sha256-qqdIeVVyWRqvEntKyJhWhPNnP/grOfNwyDawBuaPxTc="; }; - # Let's make the library default to our gpg binary - patchPhase = '' + postPatch = '' substituteInPlace gnupg.py \ - --replace "gpgbinary='gpg'" "gpgbinary='${gnupg}/bin/gpg'" + --replace "gpgbinary='gpg'" "gpgbinary='${gnupg}/bin/gpg'" substituteInPlace test_gnupg.py \ - --replace "gpgbinary=GPGBINARY" "gpgbinary='${gnupg}/bin/gpg'" \ - --replace "test_search_keys" "disabled__test_search_keys" + --replace "os.environ.get('GPGBINARY', 'gpg')" "os.environ.get('GPGBINARY', '${gnupg}/bin/gpg')" ''; + pythonImportsCheck = [ "gnupg" ]; + meta = with lib; { - description = "A wrapper for the Gnu Privacy Guard"; - homepage = "https://pypi.python.org/pypi/python-gnupg"; - license = licenses.bsd3; + description = "API for the GNU Privacy Guard (GnuPG)"; + homepage = "https://github.com/vsajip/python-gnupg"; + license = licenses.bsd3; maintainers = with maintainers; [ copumpkin ]; - platforms = platforms.unix; }; } From 0efdb9587a48236eac7ea63a2bd69c3b28a4b127 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:30 +0200 Subject: [PATCH 431/701] python3Packages.python-gvm: 21.11.0 -> 22.6.1 --- pkgs/development/python-modules/python-gvm/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/python-gvm/default.nix b/pkgs/development/python-modules/python-gvm/default.nix index b98c44581887..09678f34b244 100644 --- a/pkgs/development/python-modules/python-gvm/default.nix +++ b/pkgs/development/python-modules/python-gvm/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "python-gvm"; - version = "21.11.0"; + version = "22.6.1"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -20,8 +20,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "greenbone"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-H3cM+4YA6obYbo7qm7BhLlQxW4DKV6A3X0ZKsXWPDBs="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-MMVrq0Tbgl1rxPwsXs3BW9Gy+LFv8blxzmefje1qwSo="; }; nativeBuildInputs = [ From 314efcd770e38d73d3d3ff6f37b6dcb2a49ab375 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:30 +0200 Subject: [PATCH 432/701] python3Packages.python-heatclient: 2.5.1 -> 3.0.0 --- pkgs/development/python-modules/python-heatclient/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python-heatclient/default.nix b/pkgs/development/python-modules/python-heatclient/default.nix index dc1694b83e8e..a8b2d36097e3 100644 --- a/pkgs/development/python-modules/python-heatclient/default.nix +++ b/pkgs/development/python-modules/python-heatclient/default.nix @@ -22,11 +22,11 @@ buildPythonApplication rec { pname = "python-heatclient"; - version = "2.5.1"; + version = "3.0.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-3l7XyxKm18BAM1DhNsCmRwcZR224+8m/jQ1YHrwLHCs="; + sha256 = "sha256-5OLysKbM2GbjMT8lshWDLMtqOrHq2DhhWvbw1oNBNZs="; }; propagatedBuildInputs = [ From 2ed799091fa1b9f16766fe3c9231164f21210c96 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:30 +0200 Subject: [PATCH 433/701] python3Packages.python-homewizard-energy: 1.0.3 -> 1.1.0 --- .../python-modules/python-homewizard-energy/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/python-homewizard-energy/default.nix b/pkgs/development/python-modules/python-homewizard-energy/default.nix index 9a13960090af..7169c0560818 100644 --- a/pkgs/development/python-modules/python-homewizard-energy/default.nix +++ b/pkgs/development/python-modules/python-homewizard-energy/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "python-homewizard-energy"; - version = "1.0.3"; + version = "1.1.0"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -20,8 +20,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "DCSBL"; repo = pname; - rev = "v${version}"; - hash = "sha256-ioISqRFZZCojTJ/KYS8QUtoEpBNOPqY9lC9NFbZyh5A="; + rev = "refs/tags/v${version}"; + hash = "sha256-D+WgAsH5CaAIw/lYMUd191f/9EGLvM93qB+b2/XULD8="; }; nativeBuildInputs = [ From 6dc98ffc4cbb90c1dd4f61c0d2ff1dd58f641d16 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:31 +0200 Subject: [PATCH 434/701] python3Packages.python-json-logger: 2.0.2 -> 2.0.4 --- .../development/python-modules/python-json-logger/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python-json-logger/default.nix b/pkgs/development/python-modules/python-json-logger/default.nix index 02768431197d..33b414018182 100644 --- a/pkgs/development/python-modules/python-json-logger/default.nix +++ b/pkgs/development/python-modules/python-json-logger/default.nix @@ -6,13 +6,13 @@ }: buildPythonPackage rec { - version = "2.0.2"; + version = "2.0.4"; pname = "python-json-logger"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "202a4f29901a4b8002a6d1b958407eeb2dd1d83c18b18b816f5b64476dde9096"; + sha256 = "sha256-dk12IXX5n8xGML1IU7CWMqy2CmIkrLJ84IzXDwsbgb0="; }; checkInputs = [ nose ]; From 7ecc80e254e00ac2b9f54e2c3e1dc7601c7375e2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:31 +0200 Subject: [PATCH 435/701] python3Packages.python-lsp-server: 1.4.1 -> 1.5.0 --- .../python-modules/python-lsp-server/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/python-lsp-server/default.nix b/pkgs/development/python-modules/python-lsp-server/default.nix index aeb2d7567790..41af2ad8e3ef 100644 --- a/pkgs/development/python-modules/python-lsp-server/default.nix +++ b/pkgs/development/python-modules/python-lsp-server/default.nix @@ -37,7 +37,7 @@ buildPythonPackage rec { pname = "python-lsp-server"; - version = "1.4.1"; + version = "1.5.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -45,8 +45,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "python-lsp"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-rEfjxHw2NIVIa8RepxLPiXkRFhcGWLzm6w43n60zkFE="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-tW2w94HI6iy8vcDb5pIL79bAO6BJp9q6SMAXgiVobm0="; }; postPatch = '' From 85848d12e4880b654c1eb01d5c13716dfb58c887 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:31 +0200 Subject: [PATCH 436/701] python3Packages.python-pam: 1.8.4 -> 2.0.2 --- .../python-modules/python-pam/default.nix | 26 ++++++++++++++----- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/python-pam/default.nix b/pkgs/development/python-modules/python-pam/default.nix index f152c1f264eb..16883ee9426e 100644 --- a/pkgs/development/python-modules/python-pam/default.nix +++ b/pkgs/development/python-modules/python-pam/default.nix @@ -2,29 +2,41 @@ , buildPythonPackage , fetchFromGitHub , pam +, six +, toml }: buildPythonPackage rec { pname = "python-pam"; - version = "1.8.4"; + version = "2.0.2"; + format = "pyproject"; src = fetchFromGitHub { owner = "FirefighterBlu3"; repo = pname; - rev = "v${version}"; - sha256 = "0gp7vzd332j7jwndcnz7kc9j283d6lyv32bndd1nqv9ghzv69sxp"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-MR9LYXtkbltAmn7yoyyKZn4yMHyh3rj/i/pA8nJy2xU="; }; + postPatch = '' + substituteInPlace src/pam/__internals.py \ + --replace 'find_library("pam")' '"${pam}/lib/libpam.so"' \ + --replace 'find_library("pam_misc")' '"${pam}/lib/libpam_misc.so"' + ''; + buildInputs = [ pam ]; - postPatch = '' - sed "s|find_library(\"pam\")|\"${pam}/lib/libpam.so\"|g" -i pam.py - ''; + propagatedBuildInputs = [ + six + toml + ]; + + pythonImportsCheck = [ "pam" ]; meta = with lib; { - description = "Python pam module supporting py3 (and py2)"; + description = "Python pam module"; homepage = "https://github.com/FirefighterBlu3/python-pam"; license = licenses.mit; maintainers = with maintainers; [ abbradar mkg20001 ]; From 6308805b7adfb14efcf8e60d32e1393de37670f8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:31 +0200 Subject: [PATCH 437/701] python3Packages.pytools: 2022.1.2 -> 2022.1.12 --- pkgs/development/python-modules/pytools/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytools/default.nix b/pkgs/development/python-modules/pytools/default.nix index 2ee74e64b065..3e811a39f00c 100644 --- a/pkgs/development/python-modules/pytools/default.nix +++ b/pkgs/development/python-modules/pytools/default.nix @@ -5,23 +5,26 @@ , decorator , numpy , platformdirs +, typing-extensions , pytestCheckHook }: buildPythonPackage rec { pname = "pytools"; - version = "2022.1.2"; + version = "2022.1.12"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-XoJBAYgKJGNUdWNliAplu0FvaoyrZRO2j8u0j7oJD8s="; + sha256 = "sha256-TWKHXpoqsqJOOTqai3mUkvGnIb/6hArzgHv9Qocd0fQ="; }; propagatedBuildInputs = [ decorator numpy platformdirs + ] ++ lib.optionals (pythonOlder "3.11") [ + typing-extensions ]; checkInputs = [ From 48c7cf7ce8b36ec16cd79d2f6e4e6d2cd7e0cab5 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:31 +0200 Subject: [PATCH 438/701] python3Packages.pytorch-lightning: 1.6.4 -> 1.6.5 --- pkgs/development/python-modules/pytorch-lightning/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytorch-lightning/default.nix b/pkgs/development/python-modules/pytorch-lightning/default.nix index 5dbf04ef4704..b775f13fdacd 100644 --- a/pkgs/development/python-modules/pytorch-lightning/default.nix +++ b/pkgs/development/python-modules/pytorch-lightning/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "pytorch-lightning"; - version = "1.6.4"; + version = "1.6.5"; disabled = isPy27; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "PyTorchLightning"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-X1xPyE53uo/eWPjQdXiObAnjgWc/Y/K+077Ypi5ZzcE="; + hash = "sha256-CgD5g5nhz2DI4gOQyPl8/Cq6wWHzL0ALgOB5SgUOgaI="; }; propagatedBuildInputs = [ From ffd381a6be3e1b774da32614d8fdffbfb358e66a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:31 +0200 Subject: [PATCH 439/701] python3Packages.pytorch-metric-learning: 1.2.0 -> 1.5.0 --- .../python-modules/pytorch-metric-learning/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pytorch-metric-learning/default.nix b/pkgs/development/python-modules/pytorch-metric-learning/default.nix index 8dd2211e3e45..24be3f3eb4fb 100644 --- a/pkgs/development/python-modules/pytorch-metric-learning/default.nix +++ b/pkgs/development/python-modules/pytorch-metric-learning/default.nix @@ -12,15 +12,15 @@ buildPythonPackage rec { pname = "pytorch-metric-learning"; - version = "1.2.0"; + version = "1.5.0"; disabled = isPy27; src = fetchFromGitHub { owner = "KevinMusgrave"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-M/iH+pIuamOmvxLtKMzWXiuMCnMXzpVFRb/HfYfCKdc="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-ge6y5n1N/+nymgD4La3ger7N4vvcoo1Bxa+etirNFNI="; }; propagatedBuildInputs = [ From b0677353a3e5b9d85aca7ae4772df22661e5bda6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:31 +0200 Subject: [PATCH 440/701] python3Packages.pytradfri: 9.0.0 -> 11.0.0 --- pkgs/development/python-modules/pytradfri/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pytradfri/default.nix b/pkgs/development/python-modules/pytradfri/default.nix index 1f523b60eaa0..f5cbce6bcc0b 100644 --- a/pkgs/development/python-modules/pytradfri/default.nix +++ b/pkgs/development/python-modules/pytradfri/default.nix @@ -4,12 +4,13 @@ , fetchFromGitHub , aiocoap , dtlssocket +, pydantic , pytestCheckHook }: buildPythonPackage rec { pname = "pytradfri"; - version = "9.0.0"; + version = "11.0.0"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -17,10 +18,14 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "pytradfri"; - rev = version; - hash = "sha256-12ol+2CnoPfkxmDGJJAkoafHGpQuWC4lh0N7lSvx2DE="; + rev = "refs/tags/${version}"; + hash = "sha256-+OOmoh2HLKiHAqOIH2aB4CZcW/ND/0bszgkcdRMYBlc="; }; + propagatedBuildInputs = [ + pydantic + ]; + passthru.optional-dependencies = { async = [ aiocoap From ca6376a9c0e7e2becb910f94c4f7f22372af7d32 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:32 +0200 Subject: [PATCH 441/701] python3Packages.pyturbojpeg: 1.6.6 -> 1.6.7 --- pkgs/development/python-modules/pyturbojpeg/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyturbojpeg/default.nix b/pkgs/development/python-modules/pyturbojpeg/default.nix index 64b3d11e95a5..6207b992c7d1 100644 --- a/pkgs/development/python-modules/pyturbojpeg/default.nix +++ b/pkgs/development/python-modules/pyturbojpeg/default.nix @@ -10,13 +10,13 @@ buildPythonPackage rec { pname = "pyturbojpeg"; - version = "1.6.6"; + version = "1.6.7"; format = "setuptools"; src = fetchPypi { pname = "PyTurboJPEG"; inherit version; - hash = "sha256-gN0VNISogw2rTr58DuHLQ8VyOg6VE3X9T/j6fw0EdXw="; + hash = "sha256-e++Dl7khHWLXo+G9Gd8RQiF458OtYn+X7JU6HF6WzYA="; }; patches = [ From 7cb70702ffb17ff6240b47d277f963f19021e174 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:32 +0200 Subject: [PATCH 442/701] python3Packages.pyvisa: 1.11.3 -> 1.12.0 --- pkgs/development/python-modules/pyvisa/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pyvisa/default.nix b/pkgs/development/python-modules/pyvisa/default.nix index 389adfbbb48c..3fb0bbd51cec 100644 --- a/pkgs/development/python-modules/pyvisa/default.nix +++ b/pkgs/development/python-modules/pyvisa/default.nix @@ -9,13 +9,13 @@ buildPythonPackage rec { pname = "pyvisa"; - version = "1.11.3"; + version = "1.12.0"; src = fetchFromGitHub { owner = "pyvisa"; repo = "pyvisa"; - rev = version; - hash = "sha256-Qe7W1zPI1aedLDnhkLTDPTa/lsNnCGik5Hu+jLn+meA="; + rev = "refs/tags/${version}"; + hash = "sha256-2khTfj0RRna9YDPOs5kQHHhkeMwv3kTtGyDBYnu+Yhw="; }; nativeBuildInputs = [ From be0206088a72be75507fc202e6d949a42690bd61 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:32 +0200 Subject: [PATCH 443/701] python3Packages.pyvisa-py: 0.5.1 -> 0.5.3 --- pkgs/development/python-modules/pyvisa-py/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pyvisa-py/default.nix b/pkgs/development/python-modules/pyvisa-py/default.nix index 0c87af03ecce..4b7a179678a3 100644 --- a/pkgs/development/python-modules/pyvisa-py/default.nix +++ b/pkgs/development/python-modules/pyvisa-py/default.nix @@ -11,13 +11,13 @@ buildPythonPackage rec { pname = "pyvisa-py"; - version = "0.5.1"; + version = "0.5.3"; src = fetchFromGitHub { owner = "pyvisa"; repo = "pyvisa-py"; - rev = version; - hash = "sha256-V1BS+BvHVI8h/rynLnOHvQdIR6RwQrNa2p2S6GQug98="; + rev = "refs/tags/${version}"; + hash = "sha256-37GptqqBSIFOpm6SpS61ZZ9C4iU5AiOduVq255mTRNo="; }; nativeBuildInputs = [ From 84c0715c92a9afdd52246fa2baa4631c1e4f66f6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:32 +0200 Subject: [PATCH 444/701] python3Packages.pyzmq: 23.0.0 -> 23.2.0 --- pkgs/development/python-modules/pyzmq/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyzmq/default.nix b/pkgs/development/python-modules/pyzmq/default.nix index 62de8e72b4c4..ea61a50560da 100644 --- a/pkgs/development/python-modules/pyzmq/default.nix +++ b/pkgs/development/python-modules/pyzmq/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "pyzmq"; - version = "23.0.0"; + version = "23.2.0"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-pF9cBHfRLfBe8uKSK0m3wK6dD0/5trsNZmVY3w7zcSI="; + hash = "sha256-pR8SqHGarZ3PtV1FYCLxa5CryN3n08qTzjEgtA4/oWk="; }; buildInputs = [ From 7cb6a89b00b0e278582a66d4ead488db9f100c68 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:32 +0200 Subject: [PATCH 445/701] python3Packages.qcs-api-client: 0.20.17 -> 0.21.0 --- .../development/python-modules/qcs-api-client/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/qcs-api-client/default.nix b/pkgs/development/python-modules/qcs-api-client/default.nix index 62adb2afd654..95cd00d8facd 100644 --- a/pkgs/development/python-modules/qcs-api-client/default.nix +++ b/pkgs/development/python-modules/qcs-api-client/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "qcs-api-client"; - version = "0.20.17"; + version = "0.21.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -28,8 +28,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "rigetti"; repo = "qcs-api-client-python"; - rev = "v${version}"; - hash = "sha256-5YGMBoykMtXZgdHubQJKwRqntDPnR6/qsWJc1cYk8CA="; + rev = "refs/tags/v${version}"; + hash = "sha256-F3Fc03JWS73LcDCufWl/gLkjGvzlwLdBFVsSxtn3LvE="; }; nativeBuildInputs = [ @@ -59,7 +59,7 @@ buildPythonPackage rec { (fetchpatch { name = "switch-to-poetry-core.patch"; url = "https://github.com/rigetti/qcs-api-client-python/commit/32f0b3c7070a65f4edf5b2552648d88435469e44.patch"; - sha256 = "sha256-mOc+Q/5cmwPziojtxeEMWWHSDvqvzZlNRbPtOSeTinQ="; + hash = "sha256-mOc+Q/5cmwPziojtxeEMWWHSDvqvzZlNRbPtOSeTinQ="; }) ]; From ce169acef21a392bf22184e97805814ff2fe67da Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:32 +0200 Subject: [PATCH 446/701] python3Packages.qdarkstyle: 3.0.3 -> 3.1 --- pkgs/development/python-modules/qdarkstyle/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/qdarkstyle/default.nix b/pkgs/development/python-modules/qdarkstyle/default.nix index 6e3b6064fcb7..2d402b076450 100644 --- a/pkgs/development/python-modules/qdarkstyle/default.nix +++ b/pkgs/development/python-modules/qdarkstyle/default.nix @@ -7,12 +7,12 @@ buildPythonPackage rec { pname = "qdarkstyle"; - version = "3.0.3"; + version = "3.1"; src = fetchPypi { inherit version; pname = "QDarkStyle"; - sha256 = "936d2d35b552f429803a985dbc17fc879a2f966faa9fbf8983896ccfa33e68f6"; + sha256 = "sha256-YAWE1iU0Pg3dEo3gg5PTw1Y3eGpJgn8XTSmqfKqCecE="; }; # No tests available From 9ba0b02b9734a2ca3fa11bdd1b6871ca0426e1e8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:32 +0200 Subject: [PATCH 447/701] python3Packages.qdldl: 0.1.5.post0 -> 0.1.5.post2 --- pkgs/development/python-modules/qdldl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/qdldl/default.nix b/pkgs/development/python-modules/qdldl/default.nix index d8e043d546da..f818f49fa65d 100644 --- a/pkgs/development/python-modules/qdldl/default.nix +++ b/pkgs/development/python-modules/qdldl/default.nix @@ -10,11 +10,11 @@ buildPythonPackage rec { pname = "qdldl"; - version = "0.1.5.post0"; + version = "0.1.5.post2"; src = fetchPypi { inherit pname version; - sha256 = "c392c7427651d8b226423c7aba4a0f2338a1f38a4bbdabac6bc4afd8bc934f06"; + sha256 = "sha256-fa960b//HacdoG6C1RR72xrIZlgWF9jwbMTu2kjioUk="; }; dontUseCmakeConfigure = true; From 26c7603d3f8bd11d27df45b4b01bf793012fcdeb Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:32 +0200 Subject: [PATCH 448/701] python3Packages.qiskit: 0.36.1 -> 0.37.0 --- pkgs/development/python-modules/qiskit/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/qiskit/default.nix b/pkgs/development/python-modules/qiskit/default.nix index b3c15b1b3855..458fa6a146e3 100644 --- a/pkgs/development/python-modules/qiskit/default.nix +++ b/pkgs/development/python-modules/qiskit/default.nix @@ -28,15 +28,15 @@ 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 = "0.36.1"; + version = "0.37.0"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "Qiskit"; repo = "qiskit"; - rev = version; - sha256 = "sha256-cprFWWvYgfoJXvK0Xoi67BwOXQfz7XeHT/JbfErqblk="; + rev = "refs/tags/${version}"; + sha256 = "sha256-TsDDiSWSjk2iXaxFjGXQxPFEPCR242dR26H0cpA6ZxY="; }; propagatedBuildInputs = [ From 30681e3248c8983d5b794f3ac62ea49b8457bdb5 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:32 +0200 Subject: [PATCH 449/701] python3Packages.qiskit-ibmq-provider: 0.19.1 -> 0.19.2 --- .../python-modules/qiskit-ibmq-provider/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/qiskit-ibmq-provider/default.nix b/pkgs/development/python-modules/qiskit-ibmq-provider/default.nix index ca2f9b22d835..4cad6f0bc5aa 100644 --- a/pkgs/development/python-modules/qiskit-ibmq-provider/default.nix +++ b/pkgs/development/python-modules/qiskit-ibmq-provider/default.nix @@ -40,7 +40,7 @@ let in buildPythonPackage rec { pname = "qiskit-ibmq-provider"; - version = "0.19.1"; + version = "0.19.2"; disabled = pythonOlder "3.6"; @@ -48,7 +48,7 @@ buildPythonPackage rec { owner = "Qiskit"; repo = pname; rev = "refs/tags/${version}"; - sha256 = "sha256-VdGdaOxCwD2Qa0JCCDVZJtcjhmTssS/KgpcjoaPXYB8="; + sha256 = "sha256-jfOyQ0wjYsJOAlix/P9dzBPmkv901eETmBYQzIHZqfg="; }; propagatedBuildInputs = [ From 0ddeb663a6e43d2580cb38784768e26381d073f4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:33 +0200 Subject: [PATCH 450/701] python3Packages.qiskit-ignis: 0.7.0 -> 0.7.1 --- pkgs/development/python-modules/qiskit-ignis/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/qiskit-ignis/default.nix b/pkgs/development/python-modules/qiskit-ignis/default.nix index a8f45b73e490..0b40fc8fc7e6 100644 --- a/pkgs/development/python-modules/qiskit-ignis/default.nix +++ b/pkgs/development/python-modules/qiskit-ignis/default.nix @@ -23,7 +23,7 @@ buildPythonPackage rec { pname = "qiskit-ignis"; - version = "0.7.0"; + version = "0.7.1"; disabled = pythonOlder "3.6"; @@ -31,8 +31,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Qiskit"; repo = "qiskit-ignis"; - rev = version; - hash = "sha256-5dsRKsz/nruWKuox/WJBghp2CWSDuYvax+G5ZxjZG4s="; + rev = "refs/tags/${version}"; + hash = "sha256-WyLNtZhtuGzqCJdOBvtBjZZiGFQihpeSjJQtP7lI248="; }; propagatedBuildInputs = [ From 75db43c476820db7fd66b4e70f284b31a6c601b6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:33 +0200 Subject: [PATCH 451/701] python3Packages.qiskit-nature: 0.3.2 -> 0.4.3 --- pkgs/development/python-modules/qiskit-nature/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/qiskit-nature/default.nix b/pkgs/development/python-modules/qiskit-nature/default.nix index ab794c9e9643..7c7510675f13 100644 --- a/pkgs/development/python-modules/qiskit-nature/default.nix +++ b/pkgs/development/python-modules/qiskit-nature/default.nix @@ -21,15 +21,15 @@ buildPythonPackage rec { pname = "qiskit-nature"; - version = "0.3.2"; + version = "0.4.3"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "Qiskit"; repo = pname; - rev = version; - sha256 = "sha256-BXUVRZ8X3OJiRexNXZsnvp+Yh8ARNYohYH49/IYFYM0="; + rev = "refs/tags/${version}"; + sha256 = "sha256-trThxcft6AOxalOglOKPwrJ23Bqt/FmMCAucKmNmB7c="; }; propagatedBuildInputs = [ From 2fd494f74e35c808034ce128749034044016cfb6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:33 +0200 Subject: [PATCH 452/701] python3Packages.qnapstats: 0.4.0 -> 0.5.0 --- pkgs/development/python-modules/qnapstats/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/qnapstats/default.nix b/pkgs/development/python-modules/qnapstats/default.nix index 2eeb4e81d28e..1803d2ffe72e 100644 --- a/pkgs/development/python-modules/qnapstats/default.nix +++ b/pkgs/development/python-modules/qnapstats/default.nix @@ -9,15 +9,15 @@ buildPythonPackage rec { pname = "qnapstats"; - version = "0.4.0"; + version = "0.5.0"; format = "setuptools"; src = fetchFromGitHub { owner = "colinodell"; repo = "python-qnapstats"; - rev = version; - hash = "sha256-Tzi2QG1Xw12fLVfV49SPJKdz5VdJ4hQMuCHH8gxcOBE="; + rev = "refs/tags/${version}"; + hash = "sha256-dpxl6a61h8zB7eS/2lxG+2//bOTzV6s4T1W+DVj0fnI="; }; propagatedBuildInputs = [ From da88c027526dc4c6ac877277c63dbe5e51589663 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:33 +0200 Subject: [PATCH 453/701] python3Packages.qtconsole: 5.3.0 -> 5.3.1 --- pkgs/development/python-modules/qtconsole/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/qtconsole/default.nix b/pkgs/development/python-modules/qtconsole/default.nix index f9eecbe23a8e..a1483518f92b 100644 --- a/pkgs/development/python-modules/qtconsole/default.nix +++ b/pkgs/development/python-modules/qtconsole/default.nix @@ -15,11 +15,11 @@ buildPythonPackage rec { pname = "qtconsole"; - version = "5.3.0"; + version = "5.3.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-jjUg/cdeRqvEzGz/7KFvomUnVBCbiug5+ijifR66ViU="; + sha256 = "sha256-tzcj+sQ5OLaE3LI3qIUQ3HchxDpybOqK3heaKSfAovM="; }; checkInputs = [ nose ] ++ lib.optionals isPy27 [mock]; From 51297653c3f12ef89c9d18a5db2d5873bf20fa6a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:33 +0200 Subject: [PATCH 454/701] python3Packages.QtPy: 2.0.1 -> 2.1.0 --- pkgs/development/python-modules/qtpy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/qtpy/default.nix b/pkgs/development/python-modules/qtpy/default.nix index 6c574c47e755..31c05ce48f4e 100644 --- a/pkgs/development/python-modules/qtpy/default.nix +++ b/pkgs/development/python-modules/qtpy/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "QtPy"; - version = "2.0.1"; + version = "2.1.0"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "13zbhnl2rm30xafwrzfwdb4mjp7gk4s9h2xagbf83pnjzczhgzdd"; + sha256 = "sha256-yozUIXF1GGNEKZ7kwPfnrc82LHCFK6NbJVpTQHcCXAY="; }; propagatedBuildInputs = [ From b28b7f47861a289ad3e75ffa584c649ffd769885 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:33 +0200 Subject: [PATCH 455/701] python3Packages.raincloudy: 1.1.1 -> 1.2.0 --- pkgs/development/python-modules/raincloudy/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/raincloudy/default.nix b/pkgs/development/python-modules/raincloudy/default.nix index 860f9461e443..c0fb2accc53a 100644 --- a/pkgs/development/python-modules/raincloudy/default.nix +++ b/pkgs/development/python-modules/raincloudy/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "raincloudy"; - version = "1.1.1"; + version = "1.2.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -20,8 +20,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "vanstinator"; repo = pname; - rev = version; - hash = "sha256-c6tux0DZY56a4BpuiMXtaqm8+JKNDiyMxrFUju3cp2Y="; + rev = "refs/tags/${version}"; + hash = "sha256-qCkBVirM09iA1sXiOB9FJns8bHjQq7rRk8XbRWrtBDI="; }; propagatedBuildInputs = [ From 6d820bc25769e1e27a2633bc99526762875abd1e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:33 +0200 Subject: [PATCH 456/701] python3Packages.rapidfuzz: 2.1.2 -> 2.1.3 --- pkgs/development/python-modules/rapidfuzz/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/rapidfuzz/default.nix b/pkgs/development/python-modules/rapidfuzz/default.nix index ef76e2d8fa1e..1e0c97079a38 100644 --- a/pkgs/development/python-modules/rapidfuzz/default.nix +++ b/pkgs/development/python-modules/rapidfuzz/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "rapidfuzz"; - version = "2.1.2"; + version = "2.1.3"; disabled = pythonOlder "3.6"; @@ -29,8 +29,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "maxbachmann"; repo = "RapidFuzz"; - rev = "v${version}"; - hash = "sha256-7BP22Fon+7a3ZxTCS838uoLXABYdEexMEH2vZ0/KoRQ="; + rev = "refs/tags/v${version}"; + hash = "sha256-vK/56+5R6SgDz9DT92PzvDn8cSxSyUiCsV2EOcsGWTA="; }; nativeBuildInputs = [ From d6b43d9097b7fb1ae753dcc196fd3a54c941e3ae Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:33 +0200 Subject: [PATCH 457/701] python3Packages.rasterio: 1.2.10 -> 1.3.0 --- pkgs/development/python-modules/rasterio/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/rasterio/default.nix b/pkgs/development/python-modules/rasterio/default.nix index d7edf7927a8e..7876e6667491 100644 --- a/pkgs/development/python-modules/rasterio/default.nix +++ b/pkgs/development/python-modules/rasterio/default.nix @@ -30,7 +30,7 @@ buildPythonPackage rec { pname = "rasterio"; - version = "1.2.10"; # not x.y[ab]z, those are alpha/beta versions + version = "1.3.0"; # not x.y[ab]z, those are alpha/beta versions format = "pyproject"; disabled = pythonOlder "3.6"; @@ -38,8 +38,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "rasterio"; repo = "rasterio"; - rev = version; - hash = "sha256-xVGwQfQvxsqYihUYXENJAz9Qp9xBkhsGc/RheRTJxgo="; + rev = "refs/tags/${version}"; + hash = "sha256-CBnG1zNMOL3rAmnErv7XZZ2Cu9W+DnRPcjtKdmYXHUA="; }; nativeBuildInputs = [ From addc1aa6e128acd086b30889268a3cc85db02f00 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:33 +0200 Subject: [PATCH 458/701] python3Packages.readthedocs-sphinx-ext: 2.1.5 -> 2.1.8 --- .../python-modules/readthedocs-sphinx-ext/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/readthedocs-sphinx-ext/default.nix b/pkgs/development/python-modules/readthedocs-sphinx-ext/default.nix index b71a675f6d8e..e0ba8cd57cf4 100644 --- a/pkgs/development/python-modules/readthedocs-sphinx-ext/default.nix +++ b/pkgs/development/python-modules/readthedocs-sphinx-ext/default.nix @@ -9,11 +9,11 @@ buildPythonPackage rec { pname = "readthedocs-sphinx-ext"; - version = "2.1.5"; + version = "2.1.8"; src = fetchPypi { inherit pname version; - sha256 = "sha256-G/QuIOW3qUOJGnmM5cy5H9W6wiMLDBmdhTgMkhAHa3g="; + sha256 = "sha256-pX43E9r3e/kdG6GeS5iIpHwKv+tj7PAuOsd/z9mb/mk="; }; propagatedBuildInputs = [ requests ]; From 2d75d81034112350fb9d0f7e33a7885793d1f8f2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:33 +0200 Subject: [PATCH 459/701] python3Packages.redis: 4.2.1 -> 4.3.4 --- pkgs/development/python-modules/redis/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/redis/default.nix b/pkgs/development/python-modules/redis/default.nix index 2018006caa9b..adaf4d86ef69 100644 --- a/pkgs/development/python-modules/redis/default.nix +++ b/pkgs/development/python-modules/redis/default.nix @@ -21,14 +21,14 @@ buildPythonPackage rec { pname = "redis"; - version = "4.2.1"; + version = "4.3.4"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-/kVROIEinb7mEGILnggXsfSMR7pjWHAyD9RKcSIEu90="; + sha256 = "sha256-3fJwcd9K3zghxPLKWdZ1JcOoLl8mi+2XuBPLT6v4eIA="; }; propagatedBuildInputs = [ From 10615e9822f248bb85ce0268b53f4587646aeda7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:34 +0200 Subject: [PATCH 460/701] python3Packages.reolink: 0.60 -> 0.61 --- pkgs/development/python-modules/reolink/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/reolink/default.nix b/pkgs/development/python-modules/reolink/default.nix index 0b5d78358199..896eb093cf9b 100644 --- a/pkgs/development/python-modules/reolink/default.nix +++ b/pkgs/development/python-modules/reolink/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "reolink"; - version = "0.60"; + version = "0.61"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -19,8 +19,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "fwestenberg"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-4yk05obra0icWHPXaJ+Wj+xxDRkVYg/VsrXTQUdHJIc="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-XUYTDHh0oTro6BT+h4LjRdMukOZTlWP+giFpjLciZNQ="; }; propagatedBuildInputs = [ From c4de827f0ef4a0dd1298acc8e6763a3c3043fdd2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:34 +0200 Subject: [PATCH 461/701] python3Packages.reportlab: 3.6.9 -> 3.6.11 --- pkgs/development/python-modules/reportlab/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/reportlab/default.nix b/pkgs/development/python-modules/reportlab/default.nix index 35289d3b5d4b..58b80d89c8e6 100644 --- a/pkgs/development/python-modules/reportlab/default.nix +++ b/pkgs/development/python-modules/reportlab/default.nix @@ -12,11 +12,11 @@ let ft = freetype.overrideAttrs (oldArgs: { dontDisableStatic = true; }); in buildPythonPackage rec { pname = "reportlab"; - version = "3.6.9"; + version = "3.6.11"; src = fetchPypi { inherit pname version; - sha256 = "sha256-XQzDaCRWrSExUPbb/+fUfqtzfYCeUXwxYQM3a+VI+4Q="; + sha256 = "sha256-BPxEIPBUiBXQYj4DHIah9/PzAD5pnZr3FIdC4tcrAko="; }; checkInputs = [ glibcLocales ]; From 3c2d82564412a40b1066a0fd49e1cd1c4e4adcbb Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:34 +0200 Subject: [PATCH 462/701] python3Packages.repoze.sphinx.autointerface: 0.8 -> 1.0.0 --- .../python-modules/repoze_sphinx_autointerface/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/repoze_sphinx_autointerface/default.nix b/pkgs/development/python-modules/repoze_sphinx_autointerface/default.nix index 5d5e27a2e115..9efb54e35371 100644 --- a/pkgs/development/python-modules/repoze_sphinx_autointerface/default.nix +++ b/pkgs/development/python-modules/repoze_sphinx_autointerface/default.nix @@ -7,11 +7,11 @@ buildPythonPackage rec { pname = "repoze.sphinx.autointerface"; - version = "0.8"; + version = "1.0.0"; src = fetchPypi { inherit pname version; - sha256 = "8ef0383276ab722efb1e4a6523726262058dfd82615ccf7e5004aee3fe8ecc23"; + sha256 = "sha256-SGvxQjpGlrkVPkiM750ybElv/Bbd6xSwyYh7RsYOKKE="; }; propagatedBuildInputs = [ zope_interface sphinx ]; From e2a17325af64ec8661bcc9a7ebb3e1764d12c81f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:34 +0200 Subject: [PATCH 463/701] python3Packages.robotframework-requests: 0.9.2 -> 0.9.3 --- .../python-modules/robotframework-requests/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/robotframework-requests/default.nix b/pkgs/development/python-modules/robotframework-requests/default.nix index b43227c8f539..a81c24db7a78 100644 --- a/pkgs/development/python-modules/robotframework-requests/default.nix +++ b/pkgs/development/python-modules/robotframework-requests/default.nix @@ -8,12 +8,12 @@ }: buildPythonPackage rec { - version = "0.9.2"; + version = "0.9.3"; pname = "robotframework-requests"; src = fetchPypi { inherit pname version; - sha256 = "b40f7869312b37975b6705057f73ee335dba8176bb784b607680c57d58c9ef62"; + sha256 = "sha256-C754uOezq5vsSWilG/N5XiZxABp4Cyt+vyriFSmI2jU="; }; buildInputs = [ unittest2 ]; From 8944de7e3ca0c8c4d4c80f180bc7adbc622996d7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:34 +0200 Subject: [PATCH 464/701] python3Packages.robotsuite: 2.2.1 -> 2.3.1 --- pkgs/development/python-modules/robotsuite/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/robotsuite/default.nix b/pkgs/development/python-modules/robotsuite/default.nix index 5c46686adae4..6e7897413ec2 100644 --- a/pkgs/development/python-modules/robotsuite/default.nix +++ b/pkgs/development/python-modules/robotsuite/default.nix @@ -4,11 +4,11 @@ buildPythonPackage rec { pname = "robotsuite"; - version = "2.2.1"; + version = "2.3.1"; src = fetchPypi { inherit pname version; - sha256 = "8764e01990ac6774e0c983579bcb9cb79f44373a61ad47fbae9a1dc7eedbdd61"; + sha256 = "sha256-iugVKUPl6HTTO8K1EbSqAk1fl/fsEPoOcsOnnAgcEas="; }; buildInputs = [ unittest2 ]; From 061cba850cebbf6b16edb025a73a78bacb8b51db Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:34 +0200 Subject: [PATCH 465/701] python3Packages.rpcq: 3.9.2 -> 3.10.0 --- pkgs/development/python-modules/rpcq/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/rpcq/default.nix b/pkgs/development/python-modules/rpcq/default.nix index 82db76bc859f..bdf6f0f31993 100644 --- a/pkgs/development/python-modules/rpcq/default.nix +++ b/pkgs/development/python-modules/rpcq/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "rpcq"; - version = "3.9.2"; + version = "3.10.0"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -21,8 +21,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "rigetti"; repo = pname; - rev = "v${version}"; - sha256 = "1vvf6y7459f8aamhkcxx36ajiai143s2vwg751x0dl0lx7hp3yn5"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-J7jtGXJIF3jp0a0IQZmSR4TWf9D02Luau+Bupmi/d68="; }; propagatedBuildInputs = [ From 14bbcc9dd55dead1d8a6f7f3ee32afe46c795496 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:34 +0200 Subject: [PATCH 466/701] python3Packages.rpy2: 3.4.5 -> 3.5.2 --- pkgs/development/python-modules/rpy2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/rpy2/default.nix b/pkgs/development/python-modules/rpy2/default.nix index 6e83db8a96c3..f75f3aee622d 100644 --- a/pkgs/development/python-modules/rpy2/default.nix +++ b/pkgs/development/python-modules/rpy2/default.nix @@ -24,13 +24,13 @@ }: buildPythonPackage rec { - version = "3.4.5"; + version = "3.5.2"; pname = "rpy2"; disabled = isPyPy; src = fetchPypi { inherit version pname; - sha256 = "5d31a5ea43f5a59f6dec30faca87edb01fc9b8affa0beae96a99be923bd7dab3"; + sha256 = "sha256-Re4A/brQtIHDk2n7MVZR3fhUz0rVbSS33LPHThNb0Q4="; }; patches = [ From 0ab5f1cf4788ccb1fe34a037d5f098fba484c203 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:34 +0200 Subject: [PATCH 467/701] python3Packages.rtslib: 2.1.74 -> 2.1.75 --- pkgs/development/python-modules/rtslib/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/rtslib/default.nix b/pkgs/development/python-modules/rtslib/default.nix index e6289378c967..ac0c0fb692ba 100644 --- a/pkgs/development/python-modules/rtslib/default.nix +++ b/pkgs/development/python-modules/rtslib/default.nix @@ -2,13 +2,13 @@ buildPythonPackage rec { pname = "rtslib"; - version = "2.1.74"; + version = "2.1.75"; src = fetchFromGitHub { owner = "open-iscsi"; repo = "${pname}-fb"; - rev = "v${version}"; - sha256 = "1in10z6ckmkfhykar435k1fmswbfajysv4g9nsav893ij8g694fy"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-qBlr4K+LeJIC6Hwy6dN9n/VjHIUYCy8pLlRtPvooWyE="; }; propagatedBuildInputs = [ six pyudev pygobject3 ]; From eb885d30f983a78778220b10309f6d10b1295cde Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:35 +0200 Subject: [PATCH 468/701] python3Packages.rx: 3.2.0 -> 4.0.4 --- .../development/python-modules/rx/default.nix | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/rx/default.nix b/pkgs/development/python-modules/rx/default.nix index 5febbe9f9a9d..fc9cc3f172d9 100644 --- a/pkgs/development/python-modules/rx/default.nix +++ b/pkgs/development/python-modules/rx/default.nix @@ -1,18 +1,32 @@ -{ lib, fetchFromGitHub, buildPythonPackage, pythonOlder, nose }: +{ lib, fetchFromGitHub, buildPythonPackage +, pythonOlder +, poetry-core +, nose +, typing-extensions +}: buildPythonPackage rec { pname = "rx"; - version = "3.2.0"; + version = "4.0.4"; disabled = pythonOlder "3.6"; + format = "pyproject"; # There are no tests on the pypi source src = fetchFromGitHub { owner = "ReactiveX"; repo = "rxpy"; - rev = "v${version}"; - sha256 = "159ln0c721rrdz0mqyl3zvv6qsry7ql7ddlpwpnxs9q15ik15mnj"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-W1qYNbYV6Roz1GJtP/vpoPD6KigWaaQOWe1R5DZHlUw="; }; + nativeBuildInputs = [ + poetry-core + ]; + + propagatedBuildInputs = [ + typing-extensions + ]; + checkInputs = [ nose ]; # Some tests are nondeterministic. (`grep sleep -r tests`) From 4e2f9853a773941e95ef7bec5227a37fd9f75c58 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:35 +0200 Subject: [PATCH 469/701] python3Packages.sabyenc3: 5.4.2 -> 5.4.3 --- pkgs/development/python-modules/sabyenc3/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sabyenc3/default.nix b/pkgs/development/python-modules/sabyenc3/default.nix index edc339987dad..4ae2b044ab87 100644 --- a/pkgs/development/python-modules/sabyenc3/default.nix +++ b/pkgs/development/python-modules/sabyenc3/default.nix @@ -6,14 +6,14 @@ buildPythonPackage rec { pname = "sabyenc3"; - version = "5.4.2"; + version = "5.4.3"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-6wXwmL1RCZ72KSqJgMjO3grvuDLWyMsbuU+kJmEkCmM="; + hash = "sha256-ei/SnVg4Oy6cBBPxg14lMMQBgbNR4Fg0aa+8sVBTY0Y="; }; # Tests are not included in pypi distribution From b6985107ccee7fe75f2435f7f8278c618c634c7e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:35 +0200 Subject: [PATCH 470/701] python3Packages.safety: 2.0.0 -> 2.1.0 --- pkgs/development/python-modules/safety/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/safety/default.nix b/pkgs/development/python-modules/safety/default.nix index 10ee872576d7..5394a2af99a7 100644 --- a/pkgs/development/python-modules/safety/default.nix +++ b/pkgs/development/python-modules/safety/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - sha256 = "sha256-28Xf+i5H2nbMQ9/oy7v8qZ0pEY0MbFTfz6EcK9NJ3/Y="; + hash = "sha256-28Xf+i5H2nbMQ9/oy7v8qZ0pEY0MbFTfz6EcK9NJ3/Y="; }; postPatch = '' @@ -53,6 +53,9 @@ buildPythonPackage rec { "test_announcements_if_is_not_tty" "test_check_live" "test_check_live_cached" + "test_check_vulnerabilities" + "test_license" + "test_chained_review" ]; preCheck = '' From 21f6543ad81bc2cf9323940b66d528e7a57b3ba8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:35 +0200 Subject: [PATCH 471/701] python3Packages.schema-salad: 8.2.20220204150214 -> 8.3.20220626185350 --- pkgs/development/python-modules/schema-salad/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/schema-salad/default.nix b/pkgs/development/python-modules/schema-salad/default.nix index 1980b18dab84..e35c1bb69109 100644 --- a/pkgs/development/python-modules/schema-salad/default.nix +++ b/pkgs/development/python-modules/schema-salad/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "schema-salad"; - version = "8.2.20220204150214"; + version = "8.3.20220626185350"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-PlPb/nE3eWueUTWSDpa7JxPe2ee+KFna5VTR3IsClwQ="; + hash = "sha256-g8h3dAdN+tbdLRO3ctmsW+ZLiyhU0zPd1XR+XvEBpwo="; }; propagatedBuildInputs = [ From 4aca6a89ef82fde798bc1eeeb08aa705c175742b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:35 +0200 Subject: [PATCH 472/701] python3Packages.scikit-hep-testdata: 0.4.12 -> 0.4.15 --- .../python-modules/scikit-hep-testdata/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/scikit-hep-testdata/default.nix b/pkgs/development/python-modules/scikit-hep-testdata/default.nix index 803daeb2ab3a..7b9707278d5c 100644 --- a/pkgs/development/python-modules/scikit-hep-testdata/default.nix +++ b/pkgs/development/python-modules/scikit-hep-testdata/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "scikit-hep-testdata"; - version = "0.4.12"; + version = "0.4.15"; format = "pyproject"; # fetch from github as we want the data files @@ -18,8 +18,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "scikit-hep"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-ZnsOmsajW4dDv53I/Cuu97mPJywGiwFhNGpT1WRfxSw="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-cEEtuLmGg/bDRYTUQXQiplzES28+xh8iQge6xZUTWIA="; }; nativeBuildInputs = [ From 028c97820cdabf0dc0f3a2215da0880d31c3353a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:35 +0200 Subject: [PATCH 473/701] python3Packages.scikits.odes: 2.6.3 -> 2.6.4 --- pkgs/development/python-modules/scikits-odes/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/scikits-odes/default.nix b/pkgs/development/python-modules/scikits-odes/default.nix index 78ed6446f42a..21baa7bfa37e 100644 --- a/pkgs/development/python-modules/scikits-odes/default.nix +++ b/pkgs/development/python-modules/scikits-odes/default.nix @@ -15,13 +15,13 @@ buildPythonPackage rec { pname = "scikits.odes"; - version = "2.6.3"; + version = "2.6.4"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "9693da78d1bd0bd6af8db59aeaaed92a399c6af36960c6a0a665a2130eab59e7"; + sha256 = "sha256-fS9E0kO+ZEcGjiWQPAQHa52zOz9RafNSBPNKypm0GhA="; }; nativeBuildInputs = [ From 8dc60e4a4c9ef2ec7f34973393cb575776677231 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:35 +0200 Subject: [PATCH 474/701] python3Packages.selenium: 4.2.0 -> 4.3.0 --- pkgs/development/python-modules/selenium/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/selenium/default.nix b/pkgs/development/python-modules/selenium/default.nix index a1db98deeb75..101135794385 100644 --- a/pkgs/development/python-modules/selenium/default.nix +++ b/pkgs/development/python-modules/selenium/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "selenium"; - version = "4.2.0"; + version = "4.3.0"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "SeleniumHQ"; repo = "selenium"; - rev = "selenium-${version}"; # check if there is a newer tag with -python suffix - sha256 = "sha256-KhBCMsWGRD7hJqumA1+K8AVhJ7hq26XkEa1QbgY0Q0w="; + rev = "refs/tags/selenium-${version}"; # check if there is a newer tag with -python suffix + sha256 = "sha256-tD2sJGVBwqB0uOM3zwdNn71+ILYEHPAvWHvoJN24w6E="; }; postPatch = '' From 36c16f1f57e6155e5394466ee4e6c494a8a047bc Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:36 +0200 Subject: [PATCH 475/701] python3Packages.serpent: 1.40 -> 1.41 --- pkgs/development/python-modules/serpent/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/serpent/default.nix b/pkgs/development/python-modules/serpent/default.nix index 12abfba056dc..2ab2b081f2b1 100644 --- a/pkgs/development/python-modules/serpent/default.nix +++ b/pkgs/development/python-modules/serpent/default.nix @@ -10,11 +10,11 @@ buildPythonPackage rec { pname = "serpent"; - version = "1.40"; + version = "1.41"; src = fetchPypi { inherit pname version; - sha256 = "10b34e7f8e3207ee6fb70dcdc9bce473851ee3daf0b47c58aec1b48032ac11ce"; + sha256 = "sha256-BAcDX+PGZEOH1Iz/FGfVqp/v+BTQc3K3hnftDuPtcJU="; }; propagatedBuildInputs = lib.optionals isPy27 [ enum34 ]; From 9a7f7e183ead1fe0db05b894f6c859545f432268 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:36 +0200 Subject: [PATCH 476/701] python3Packages.setproctitle: 1.2.2 -> 1.2.3 --- pkgs/development/python-modules/setproctitle/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/setproctitle/default.nix b/pkgs/development/python-modules/setproctitle/default.nix index 80fb7ab77f5c..c48b7b9e1b3c 100644 --- a/pkgs/development/python-modules/setproctitle/default.nix +++ b/pkgs/development/python-modules/setproctitle/default.nix @@ -7,13 +7,13 @@ buildPythonPackage rec { pname = "setproctitle"; - version = "1.2.2"; + version = "1.2.3"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "7dfb472c8852403d34007e01d6e3c68c57eb66433fb8a5c77b13b89a160d97df"; + sha256 = "sha256-7PKLHAenmddvQyblCBV7ca7aB7hLkDaOpFHAcQ29MsA="; }; checkInputs = [ pytestCheckHook ]; From c432daa1c11d7afa68868feea92a03451de8cb6a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:36 +0200 Subject: [PATCH 477/701] python3Packages.setuptools-scm: 6.4.2 -> 7.0.5 --- pkgs/development/python-modules/setuptools-scm/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/setuptools-scm/default.nix b/pkgs/development/python-modules/setuptools-scm/default.nix index 5fa082d82210..229460e55723 100644 --- a/pkgs/development/python-modules/setuptools-scm/default.nix +++ b/pkgs/development/python-modules/setuptools-scm/default.nix @@ -2,6 +2,7 @@ , callPackage , fetchPypi , packaging +, typing-extensions , tomli , setuptools , lib @@ -9,16 +10,17 @@ buildPythonPackage rec { pname = "setuptools-scm"; - version = "6.4.2"; + version = "7.0.5"; src = fetchPypi { pname = "setuptools_scm"; inherit version; - sha256 = "sha256-aDOsZcbtlxGk1dImb4Akz6B8UzoOVfTBL27/KApanjA="; + sha256 = "sha256-Ax4Tr3cdb4krlBrbbqBFRbv5Hrxc5ox4qvP/9uH7SEQ="; }; propagatedBuildInputs = [ packaging + typing-extensions tomli setuptools ]; From cb0a2e551e68142a175299ebc42b39efe9b6233e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:36 +0200 Subject: [PATCH 478/701] python3Packages.shap: 0.40.0 -> 0.41.0 --- pkgs/development/python-modules/shap/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/shap/default.nix b/pkgs/development/python-modules/shap/default.nix index fbd43953b592..3041a7d92a74 100644 --- a/pkgs/development/python-modules/shap/default.nix +++ b/pkgs/development/python-modules/shap/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "shap"; - version = "0.40.0"; + version = "0.41.0"; disabled = isPy27; src = fetchFromGitHub { owner = "slundberg"; repo = pname; - rev = "v${version}"; - sha256 = "0ra0dp319qj13wxaqh2vz4xhn59m9h3bfg1m6wf3cxsix737b1k4"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-rYVWQ3VRvIObSQPwDRsxhTOGOKNkYkLtiHzVwoB3iJ0="; }; propagatedBuildInputs = [ From bb3aa84ab69380c964a10e24e2bb36737b8722bc Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:36 +0200 Subject: [PATCH 479/701] python3Packages.shtab: 1.5.4 -> 1.5.5 --- pkgs/development/python-modules/shtab/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/shtab/default.nix b/pkgs/development/python-modules/shtab/default.nix index 4051378d0689..f5a276497502 100644 --- a/pkgs/development/python-modules/shtab/default.nix +++ b/pkgs/development/python-modules/shtab/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "shtab"; - version = "1.5.4"; + version = "1.5.5"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -18,8 +18,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "iterative"; repo = pname; - rev = "v${version}"; - hash = "sha256-MYLAQSz55913fOhRnH+Y9xugOdfO43gkavitazIgeqg="; + rev = "refs/tags/v${version}"; + hash = "sha256-I6De64eawNi36c8NiyVxj63PkxnZfUYYT4Dw4l42Ztk="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; From 3459f31aeb832c34ad61727e85a895b3a1c26af5 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:36 +0200 Subject: [PATCH 480/701] python3Packages.sigtools: 2.0.3 -> 4.0.0 --- .../python-modules/sigtools/default.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/sigtools/default.nix b/pkgs/development/python-modules/sigtools/default.nix index 49ba916b481c..e1a0cc33821b 100644 --- a/pkgs/development/python-modules/sigtools/default.nix +++ b/pkgs/development/python-modules/sigtools/default.nix @@ -5,20 +5,29 @@ , mock , coverage , unittest2 +, attrs , funcsigs , six +, setuptools-scm }: buildPythonPackage rec { pname = "sigtools"; - version = "2.0.3"; + version = "4.0.0"; + format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "e7789628ec0d02e421bca76532b0d5da149f96f09e7ed4a5cbf318624b75e949"; + sha256 = "sha256-fMhKC6VuNLfxXkM3RCaPEODEp21r/s6JzswaHKkROLY="; }; - propagatedBuildInputs = [ funcsigs six ]; + nativeBuildInputs = [ + setuptools-scm + ]; + + propagatedBuildInputs = [ + attrs + ]; patchPhase = ''sed -i s/test_suite="'"sigtools.tests"'"/test_suite="'"unittest2.collector"'"/ setup.py''; From e79113d6bf701f60f96109e015c6ecf0a461e655 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:36 +0200 Subject: [PATCH 481/701] python3Packages.sip: 6.5.1 -> 6.6.2 --- pkgs/development/python-modules/sip/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/sip/default.nix b/pkgs/development/python-modules/sip/default.nix index d6ee1e76f548..3566be620e28 100644 --- a/pkgs/development/python-modules/sip/default.nix +++ b/pkgs/development/python-modules/sip/default.nix @@ -1,13 +1,13 @@ -{ lib, stdenv, fetchPypi, buildPythonPackage, packaging, toml }: +{ lib, stdenv, fetchPypi, buildPythonPackage, packaging, ply, toml }: buildPythonPackage rec { pname = "sip"; - version = "6.5.1"; + version = "6.6.2"; src = fetchPypi { pname = "sip"; inherit version; - sha256 = "sha256-IE8CQNuJmadJ1jiph7NRhhhD5pI5uBHsPRiBQSw3BqY="; + sha256 = "sha256-Dj76wcXf2OUlrlcUCSffJpk+E/WLidFXfDFPQQW/2Q0="; }; patches = [ @@ -17,7 +17,7 @@ buildPythonPackage rec { ./fix-manylinux-version.patch ]; - propagatedBuildInputs = [ packaging toml ]; + propagatedBuildInputs = [ packaging ply toml ]; # There aren't tests doCheck = false; From 5daa7043de1ffcf4caabe85d8d2352c3010925f0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:37 +0200 Subject: [PATCH 482/701] python3Packages.solax: 0.2.9 -> 0.2.10 --- pkgs/development/python-modules/solax/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/solax/default.nix b/pkgs/development/python-modules/solax/default.nix index e76df373bf12..6a8c483ada84 100644 --- a/pkgs/development/python-modules/solax/default.nix +++ b/pkgs/development/python-modules/solax/default.nix @@ -12,11 +12,11 @@ buildPythonPackage rec { pname = "solax"; - version = "0.2.9"; + version = "0.2.10"; src = fetchPypi { inherit pname version; - sha256 = "e66db0c5d4ec840b047e574f0325ea01862d1f5563a844510541b35faa55f392"; + sha256 = "sha256-DUXaz9BF1NOG+RSeks9CxLGDz/wWwpZBxwWh4MQapio="; }; nativeBuildInputs = [ setuptools-scm ]; From 337b956ea350326c7ba695867a01e90a15eb04e8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:37 +0200 Subject: [PATCH 483/701] python3Packages.soupsieve: 2.3.1 -> 2.3.2.post1 --- pkgs/development/python-modules/soupsieve/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/soupsieve/default.nix b/pkgs/development/python-modules/soupsieve/default.nix index 8d92e49427af..632894e8697a 100644 --- a/pkgs/development/python-modules/soupsieve/default.nix +++ b/pkgs/development/python-modules/soupsieve/default.nix @@ -1,20 +1,24 @@ { lib , buildPythonPackage , fetchPypi +, hatchling , isPy3k , backports_functools_lru_cache }: buildPythonPackage rec { pname = "soupsieve"; - version = "2.3.1"; + version = "2.3.2.post1"; + format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "b8d49b1cd4f037c7082a9683dfa1801aa2597fb11c3a1155b7a5b94829b4f1f9"; + sha256 = "sha256-/FOJOz2iwz3ilWZ6DhnweMFL+GVErzBzVN5fzxKj8w0="; }; - propagatedBuildInputs = lib.optional (!isPy3k) backports_functools_lru_cache; + nativeBuildInputs = [ + hatchling + ]; # Circular dependency on beautifulsoup4 doCheck = false; From 30a2ebde732b4cb552c5fc00b8b0e51f005ec017 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:37 +0200 Subject: [PATCH 484/701] python3Packages.spacy: 3.3.1 -> 3.4.0 --- pkgs/development/python-modules/spacy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/spacy/default.nix b/pkgs/development/python-modules/spacy/default.nix index ee8b773c8b85..e4f5868d8457 100644 --- a/pkgs/development/python-modules/spacy/default.nix +++ b/pkgs/development/python-modules/spacy/default.nix @@ -31,14 +31,14 @@ buildPythonPackage rec { pname = "spacy"; - version = "3.3.1"; + version = "3.4.0"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-f4fb2xBNhRrmul/Tp2ouFOIuBIE1kD6YuvCFcaOqgcA="; + hash = "sha256-PM0an1Z1nl8Pnv31cRmgZwKtWcBF3eCzgwtUclk+Ce8="; }; propagatedBuildInputs = [ From 1e8c6bc0c3938b2fb4d84be4b4c8a2a453e8a8e6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:37 +0200 Subject: [PATCH 485/701] python3Packages.spacy-pkuseg: 0.0.28 -> 0.0.31 --- pkgs/development/python-modules/spacy-pkuseg/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/spacy-pkuseg/default.nix b/pkgs/development/python-modules/spacy-pkuseg/default.nix index 969338d41062..30778ab633dc 100644 --- a/pkgs/development/python-modules/spacy-pkuseg/default.nix +++ b/pkgs/development/python-modules/spacy-pkuseg/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "spacy-pkuseg"; - version = "0.0.28"; + version = "0.0.31"; disabled = !isPy3k; src = fetchPypi { inherit version; pname = "spacy_pkuseg"; - hash = "sha256-mmA/baY9ohvrM41ak5L+G8CUrSQeZCrzmMAoND4X/NI="; + hash = "sha256-C/6uYeXjmmZiWFIvk/2P8+CEX4ZBhYNnRX1T4rD75N8="; }; # Does not seem to have actual tests, but unittest discover From 2600469082944f33cb072d138d93effc3cd17192 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:37 +0200 Subject: [PATCH 486/701] python3Packages.sphinxcontrib-plantuml: 0.23 -> 0.24 --- .../python-modules/sphinxcontrib-plantuml/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sphinxcontrib-plantuml/default.nix b/pkgs/development/python-modules/sphinxcontrib-plantuml/default.nix index df05cd27364b..20f182b55baf 100644 --- a/pkgs/development/python-modules/sphinxcontrib-plantuml/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-plantuml/default.nix @@ -7,11 +7,11 @@ buildPythonPackage rec { pname = "sphinxcontrib-plantuml"; - version = "0.23"; + version = "0.24"; src = fetchPypi { inherit pname version; - sha256 = "sha256-HVVRjwqG7NbJa6j/jIhK3KBbrD5Y52ppKjzRmqf0Ks8="; + sha256 = "sha256-z2Xbc1j3haZJjuA+cZi2aAxiXSjlWzNHX8P2yUNRRR0="; }; # No tests included. From 79bca90ca70831cc7be991d136e24ddd3bea2b2f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:37 +0200 Subject: [PATCH 487/701] python3Packages.sphinx: 4.5.0 -> 5.0.2 --- pkgs/development/python-modules/sphinx/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/sphinx/default.nix b/pkgs/development/python-modules/sphinx/default.nix index 40f17f10cfc8..f3a4f84c3ae6 100644 --- a/pkgs/development/python-modules/sphinx/default.nix +++ b/pkgs/development/python-modules/sphinx/default.nix @@ -30,7 +30,7 @@ buildPythonPackage rec { pname = "sphinx"; - version = "4.5.0"; + version = "5.0.2"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -38,8 +38,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "sphinx-doc"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-Lw9yZWCQpt02SL/McWPcyFRfVhQHC0TejcYRbVw+VxY="; + rev = "refs/tags/v${version}"; + hash = "sha256-kdwznYvs4szhC+qoL2Zsib9cU69fag1KhCXl8qIGkZU="; postFetch = '' cd $out mv tests/roots/test-images/testimäge.png \ @@ -50,7 +50,7 @@ buildPythonPackage rec { postPatch = '' substituteInPlace setup.py \ - --replace "docutils>=0.14,<0.18" "docutils>=0.14" + --replace "docutils>=0.14,<0.19" "docutils>=0.14" # remove impurity caused by date inclusion # https://github.com/sphinx-doc/sphinx/blob/master/setup.cfg#L4-L6 From b5d6e1d77235784e3fe4e5f577b06968c9383e31 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:37 +0200 Subject: [PATCH 488/701] python3Packages.spyder: 5.3.0 -> 5.3.2 --- pkgs/development/python-modules/spyder/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/spyder/default.nix b/pkgs/development/python-modules/spyder/default.nix index eaca9e6c7f40..edcee3fe9323 100644 --- a/pkgs/development/python-modules/spyder/default.nix +++ b/pkgs/development/python-modules/spyder/default.nix @@ -46,13 +46,13 @@ buildPythonPackage rec { pname = "spyder"; - version = "5.3.0"; + version = "5.3.2"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-ggCFvYUdUm5fVSpTZoN/OhNPJAQOyehwrQprYTzprbc="; + sha256 = "sha256-KJkamNMXr4Mi9Y6B7aKExoiqWKoExCFlELChCrQL6mQ="; }; nativeBuildInputs = [ pyqtwebengine.wrapQtAppsHook ]; From c5539bc5623d28a21f6db867580987e44860eeb3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:38 +0200 Subject: [PATCH 489/701] python3Packages.spyder-kernels: 2.3.0 -> 2.3.2 --- pkgs/development/python-modules/spyder-kernels/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/spyder-kernels/default.nix b/pkgs/development/python-modules/spyder-kernels/default.nix index 2d4328ba3e16..3742d15b356a 100644 --- a/pkgs/development/python-modules/spyder-kernels/default.nix +++ b/pkgs/development/python-modules/spyder-kernels/default.nix @@ -3,11 +3,11 @@ buildPythonPackage rec { pname = "spyder-kernels"; - version = "2.3.0"; + version = "2.3.2"; src = fetchPypi { inherit pname version; - sha256 = "sha256-pdU20Oil53TX1hbBAqj6LWqkX9MwoLeZuY7vFYNW02w="; + sha256 = "sha256-urI7Ak25NZzsUYLiR+cIdfcd3ECoJx/RNT3gj0QPJtw="; }; propagatedBuildInputs = [ From f77427b1b54bd8dfd1cba933dd6dfd824e2b8877 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:38 +0200 Subject: [PATCH 490/701] python3Packages.sqlalchemy-utils: 0.38.2 -> 0.38.3 --- .../python-modules/sqlalchemy-utils/default.nix | 4 ++-- .../sqlalchemy-utils/skip-database-tests.patch | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/sqlalchemy-utils/default.nix b/pkgs/development/python-modules/sqlalchemy-utils/default.nix index c53ab7c41223..49bba2811312 100644 --- a/pkgs/development/python-modules/sqlalchemy-utils/default.nix +++ b/pkgs/development/python-modules/sqlalchemy-utils/default.nix @@ -17,12 +17,12 @@ buildPythonPackage rec { pname = "sqlalchemy-utils"; - version = "0.38.2"; + version = "0.38.3"; src = fetchPypi { inherit version; pname = "SQLAlchemy-Utils"; - sha256 = "9e01d6d3fb52d3926fcd4ea4a13f3540701b751aced0316bff78264402c2ceb4"; + sha256 = "sha256-n5r7pgekBFXPcDrfqYRlhL8mFooMWmCnAGO3DWUFH00="; }; patches = [ diff --git a/pkgs/development/python-modules/sqlalchemy-utils/skip-database-tests.patch b/pkgs/development/python-modules/sqlalchemy-utils/skip-database-tests.patch index 887128dd44ce..79aa12f03d99 100644 --- a/pkgs/development/python-modules/sqlalchemy-utils/skip-database-tests.patch +++ b/pkgs/development/python-modules/sqlalchemy-utils/skip-database-tests.patch @@ -2,13 +2,15 @@ diff --git a/conftest.py b/conftest.py index 9e146cd..8dbc9a5 100644 --- a/conftest.py +++ b/conftest.py -@@ -61,16 +61,12 @@ def mysql_db_user(): +@@ -61,17 +61,12 @@ def mysql_db_user(): @pytest.fixture - def postgresql_dsn(postgresql_db_user, postgresql_db_password, db_name): -- return 'postgresql://{0}:{1}@localhost/{2}'.format( + def postgresql_dsn(postgresql_db_user, postgresql_db_password, postgresql_db_host, + db_name): +- return 'postgresql://{0}:{1}@{2}/{3}'.format( - postgresql_db_user, - postgresql_db_password, +- postgresql_db_host, - db_name - ) + pytest.skip() @@ -68,7 +70,7 @@ index 0ad6721..83f208d 100644 'TEMPLATE "my-template"') in str(excinfo.value) --class TestDatabasePostgresCreateDatabaseCloseConnection(object): +-class TestDatabasePostgresCreateDatabaseCloseConnection: - def test_create_database_twice( - self, - postgresql_db_user, From c9e43747c25cfb62f98e747b5ad033b8e3d9a798 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:38 +0200 Subject: [PATCH 491/701] python3Packages.stanza: 1.3.0 -> 1.4.0 --- pkgs/development/python-modules/stanza/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/stanza/default.nix b/pkgs/development/python-modules/stanza/default.nix index ce9719a75210..808f90f22450 100644 --- a/pkgs/development/python-modules/stanza/default.nix +++ b/pkgs/development/python-modules/stanza/default.nix @@ -13,13 +13,13 @@ buildPythonPackage rec { pname = "stanza"; - version = "1.3.0"; + version = "1.4.0"; src = fetchFromGitHub { owner = "stanfordnlp"; repo = pname; - rev = "v${version}"; - sha256 = "1j5918n875p3ibhzc5zp3vb97asbbnb04pj1igxwzl0xm6qcsbh8"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-EAES3UpJqE7wmvCPycFhwI1lMrReN+L6W8CEDwdHTlA="; }; disabled = pythonOlder "3.6"; From ccd7486bc504452c456c1218188d05c309200b00 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:38 +0200 Subject: [PATCH 492/701] python3Packages.starlette: 0.20.1 -> 0.20.4 --- pkgs/development/python-modules/starlette/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/starlette/default.nix b/pkgs/development/python-modules/starlette/default.nix index 05c3cd829f9b..d1e8f789fc38 100644 --- a/pkgs/development/python-modules/starlette/default.nix +++ b/pkgs/development/python-modules/starlette/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "starlette"; - version = "0.20.1"; + version = "0.20.4"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -29,8 +29,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "encode"; repo = pname; - rev = version; - hash = "sha256-PUZ9joOhXkL1K2yi0baiuY74PIi71V/epX8zdcUv1DA="; + rev = "refs/tags/${version}"; + hash = "sha256-vP2TJPn9lRGnLGkO8lUmnsoT6rSnhuWDD3WqNk76SM0="; }; postPatch = '' From bc01988f32ab7370f7868951b97d8438d6b32be5 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:38 +0200 Subject: [PATCH 493/701] python3Packages.statmake: 0.4.1 -> 0.5.1 --- pkgs/development/python-modules/statmake/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/statmake/default.nix b/pkgs/development/python-modules/statmake/default.nix index 13187285db31..ac21b4c62ed7 100644 --- a/pkgs/development/python-modules/statmake/default.nix +++ b/pkgs/development/python-modules/statmake/default.nix @@ -2,6 +2,7 @@ , attrs , buildPythonPackage , cattrs +, exceptiongroup , fetchFromGitHub , fonttools , fs @@ -15,7 +16,7 @@ buildPythonPackage rec { pname = "statmake"; - version = "0.4.1"; + version = "0.5.1"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -23,8 +24,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "daltonmaag"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-OXhoQAD4LEh80iRUZE2z8sCtWJDv/bSo0bwHbOOPVE0="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-BpxjAr65ZQEJ0PSUIPtS78UvJbMG91qkV8py2K/+W2E="; }; nativeBuildInputs = [ @@ -37,6 +38,8 @@ buildPythonPackage rec { fonttools # required by fonttools[ufo] fs + ] ++ lib.optionals (pythonOlder "3.11") [ + exceptiongroup ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; From 5c419f916d39ecb883629888360f5676b3ccd7db Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:38 +0200 Subject: [PATCH 494/701] python3Packages.stevedore: 3.5.0 -> 4.0.0 --- pkgs/development/python-modules/stevedore/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/stevedore/default.nix b/pkgs/development/python-modules/stevedore/default.nix index 66f99c7b01ec..e7611fc2329e 100644 --- a/pkgs/development/python-modules/stevedore/default.nix +++ b/pkgs/development/python-modules/stevedore/default.nix @@ -10,12 +10,12 @@ buildPythonPackage rec { pname = "stevedore"; - version = "3.5.0"; + version = "4.0.0"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-9AJTiH2HEuqiuw6jgwN0QWc23I7A4i9aZQksEXTEQzU="; + sha256 = "sha256-+CzJmh/1UjENGcN5gnwsZN2fhaOLzVVZ2yRwFhhnt4Y="; }; propagatedBuildInputs = [ From fcb974ced0a5f952a7bc95d89f7bb76aeb822a0a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:38 +0200 Subject: [PATCH 495/701] python3Packages.sumo: 2.3.0 -> 2.3.2 --- pkgs/development/python-modules/sumo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sumo/default.nix b/pkgs/development/python-modules/sumo/default.nix index 86ab922c1bfb..430f20c5bfa7 100644 --- a/pkgs/development/python-modules/sumo/default.nix +++ b/pkgs/development/python-modules/sumo/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "sumo"; - version = "2.3.0"; + version = "2.3.2"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "SMTG-UCL"; repo = "sumo"; rev = "refs/tags/v${version}"; - sha256 = "sha256-apI5Qt7Wrr4FXKL48iqqIQJDX2BIf3PPz/qIgSO7nuo="; + sha256 = "sha256-hY1rQG4s5j/lVvu5e+5e+GamKrYpviqxaWmq1qB6ejU="; }; nativeBuildInputs = [ From 7dc51278c57d5b361a77de52960aa7c115f0c4aa Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:38 +0200 Subject: [PATCH 496/701] python3Packages.superqt: 0.3.2 -> 0.3.3 --- pkgs/development/python-modules/superqt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/superqt/default.nix b/pkgs/development/python-modules/superqt/default.nix index 1386706a3317..4b5995104884 100644 --- a/pkgs/development/python-modules/superqt/default.nix +++ b/pkgs/development/python-modules/superqt/default.nix @@ -11,13 +11,13 @@ buildPythonPackage rec { pname = "superqt"; - version = "0.3.2"; + version = "0.3.3"; src = fetchFromGitHub { owner = "napari"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-P1uKQaYgXVTE7DK5w4Ct4aJyfdQ6jUPfaTOcYkpo9pc="; + sha256 = "sha256-Ns3AFUL0BReIwTHfrlfXr/2GLtLvT7hfSjjh+r7btcY="; }; format = "pyproject"; nativeBuildInputs = [ setuptools-scm ]; From 94f8ddb67e94e819dae2f856d1515e2e1b076e45 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:38 +0200 Subject: [PATCH 497/701] python3Packages.tableaudocumentapi: 0.9 -> 0.10 --- .../development/python-modules/tableaudocumentapi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tableaudocumentapi/default.nix b/pkgs/development/python-modules/tableaudocumentapi/default.nix index 06a445450e5c..cf9a55d7391c 100644 --- a/pkgs/development/python-modules/tableaudocumentapi/default.nix +++ b/pkgs/development/python-modules/tableaudocumentapi/default.nix @@ -5,11 +5,11 @@ buildPythonPackage rec { pname = "tableaudocumentapi"; - version = "0.9"; + version = "0.10"; src = fetchPypi { inherit pname version; - sha256 = "0c7d01f01758dd6e50ff2fc915c6087c0da17298635e6635581aaf25c934d6ce"; + sha256 = "sha256-ahR+o4UgFLm/9aFsEqmlwXkcgTjqI0wU2Tl9EjVjLZs="; }; # tests not inclued with release From 2815d222770290bd3dac151813e62b700b50ef12 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:38 +0200 Subject: [PATCH 498/701] python3Packages.tabulate: 0.8.9 -> 0.8.10 --- pkgs/development/python-modules/tabulate/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tabulate/default.nix b/pkgs/development/python-modules/tabulate/default.nix index 621445b2d516..462782d3b974 100644 --- a/pkgs/development/python-modules/tabulate/default.nix +++ b/pkgs/development/python-modules/tabulate/default.nix @@ -5,12 +5,12 @@ }: buildPythonPackage rec { - version = "0.8.9"; + version = "0.8.10"; pname = "tabulate"; src = fetchPypi { inherit pname version; - sha256 = "eb1d13f25760052e8931f2ef80aaf6045a6cceb47514db8beab24cded16f13a7"; + sha256 = "sha256-bFfz8916wngncBVfOtstsLGiaWN+QvJ1mZJeZLEU9Rk="; }; checkInputs = [ nose ]; From 327f850fad58fcbe30032a5e595be9570eb75ded Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:39 +0200 Subject: [PATCH 499/701] python3Packages.taskw: 1.3.1 -> 2.0.0 --- pkgs/development/python-modules/taskw/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/taskw/default.nix b/pkgs/development/python-modules/taskw/default.nix index ac8a55e24d80..0d4cd9c09e94 100644 --- a/pkgs/development/python-modules/taskw/default.nix +++ b/pkgs/development/python-modules/taskw/default.nix @@ -11,12 +11,12 @@ }: buildPythonPackage rec { - version = "1.3.1"; + version = "2.0.0"; pname = "taskw"; src = fetchPypi { inherit pname version; - sha256 = "1a68e49cac2d4f6da73c0ce554fd6f94932d95e20596f2ee44a769a28c12ba7d"; + sha256 = "sha256-EQm9+b3nqbMqUAejAsh4MD/2UYi2QiWsdKMomkxUi90="; }; patches = [ ./use-template-for-taskwarrior-install-path.patch ]; From e4f87d4a8af1ec048164eca940c1702e5c414bf9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:39 +0200 Subject: [PATCH 500/701] python3Packages.tempora: 5.0.1 -> 5.0.2 --- pkgs/development/python-modules/tempora/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tempora/default.nix b/pkgs/development/python-modules/tempora/default.nix index ff837158fc26..8b50406c7eac 100644 --- a/pkgs/development/python-modules/tempora/default.nix +++ b/pkgs/development/python-modules/tempora/default.nix @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "tempora"; - version = "5.0.1"; + version = "5.0.2"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-y6Dxl6ZIg78+c2V++8AyTVvxcXnndpsThbTXXSbNkSc="; + sha256 = "sha256-MfpbszsmQQJiEfI+gI64vTUZAZiLFn1F8yPI9FDs8hE="; }; nativeBuildInputs = [ From 74576263a51e49c9f65ba3e9133b0fc8e97b7067 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:39 +0200 Subject: [PATCH 501/701] python3Packages.tensorboard: 2.9.0 -> 2.9.1 --- pkgs/development/python-modules/tensorboard/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tensorboard/default.nix b/pkgs/development/python-modules/tensorboard/default.nix index 42fe33dcab69..4e7087deb326 100644 --- a/pkgs/development/python-modules/tensorboard/default.nix +++ b/pkgs/development/python-modules/tensorboard/default.nix @@ -23,7 +23,7 @@ buildPythonPackage rec { pname = "tensorboard"; - version = "2.9.0"; + version = "2.9.1"; format = "wheel"; disabled = pythonOlder "3.6" || pythonAtLeast "3.11"; @@ -31,7 +31,7 @@ buildPythonPackage rec { inherit pname version format; dist = "py3"; python = "py3"; - hash = "sha256-vXghEHbcpe+icmCvrPqpbNBcfbEqbAnMdqHWsph8piE="; + hash = "sha256-uqcn95F3b55YQdNHEncgzu1LvVnDa0BgS5X7KuYCknY="; }; postPatch = '' From 64d382d608158fc7c739ad9a0d2bf665c95ca5a4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:39 +0200 Subject: [PATCH 502/701] python3Packages.tensorboard_plugin_profile: 2.5.0 -> 2.8.0 --- .../python-modules/tensorboard-plugin-profile/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tensorboard-plugin-profile/default.nix b/pkgs/development/python-modules/tensorboard-plugin-profile/default.nix index f31c42e774b7..a32be33a37a8 100644 --- a/pkgs/development/python-modules/tensorboard-plugin-profile/default.nix +++ b/pkgs/development/python-modules/tensorboard-plugin-profile/default.nix @@ -6,7 +6,7 @@ buildPythonPackage rec { pname = "tensorboard_plugin_profile"; - version = "2.5.0"; + version = "2.8.0"; format = "wheel"; src = fetchPypi { @@ -14,7 +14,7 @@ buildPythonPackage rec { format = "wheel"; dist = "py3"; python = "py3"; - sha256 = "16jch9py98h7wrffdiz6j0i3kdykxdp5m0kfxr1fxy2phqanpjqk"; + hash = "sha256-2LzXSdPrzS5G63ONvchdEL4aJD75eU9dF1pMqLcfbto="; }; propagatedBuildInputs = [ From 86ea149473a794371c89dad0e557dfb20d82a8a1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:39 +0200 Subject: [PATCH 503/701] python3Packages.tensorboardx: 2.4 -> 2.5 --- pkgs/development/python-modules/tensorboardx/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/tensorboardx/default.nix b/pkgs/development/python-modules/tensorboardx/default.nix index 7aa29f34baa5..93d94d0c3826 100644 --- a/pkgs/development/python-modules/tensorboardx/default.nix +++ b/pkgs/development/python-modules/tensorboardx/default.nix @@ -19,13 +19,13 @@ buildPythonPackage rec { pname = "tensorboardx"; - version = "2.4"; + version = "2.5"; src = fetchFromGitHub { owner = "lanpa"; repo = "tensorboardX"; - rev = "v${version}"; - sha256 = "sha256-1jWpC64Ubl07Bday4h5ue0wuDj4yPTWL2nhjtoQBnM0="; + rev = "refs/tags/${version}"; + sha256 = "sha256-g6x0yUpofeSNA4rKPidqOKC7/TrOICstcc98VnQcfDY="; }; # apparently torch API changed a bit at 1.6 @@ -70,8 +70,6 @@ buildPythonPackage rec { disabledTestPaths = [ # we are not interested in linting errors "tests/test_lint.py" - # missing caffe2 dependency - "tests/test_caffe2.py" ]; meta = with lib; { From 34713b14785b102ddab3aa224030f63b9d3a7ae7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:39 +0200 Subject: [PATCH 504/701] python3Packages.tensorflow-datasets: 4.5.2 -> 4.6.0 --- .../python-modules/tensorflow-datasets/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/tensorflow-datasets/default.nix b/pkgs/development/python-modules/tensorflow-datasets/default.nix index 38d6458d4fd9..772e6da92edd 100644 --- a/pkgs/development/python-modules/tensorflow-datasets/default.nix +++ b/pkgs/development/python-modules/tensorflow-datasets/default.nix @@ -41,13 +41,13 @@ buildPythonPackage rec { pname = "tensorflow-datasets"; - version = "4.5.2"; + version = "4.6.0"; src = fetchFromGitHub { owner = "tensorflow"; repo = "datasets"; - rev = "v${version}"; - sha256 = "sha256-OZpaY/6BMISq5IeDXyuyu5L/yG+DwlFliw4BsipPOLg="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-z52UZz9d1AaZklLOPbWuzByEl1hJ6ra4Hoz6eNGD+hg="; }; patches = [ From 43b2ba6ccb128235a2879ee73645ec8a78abbedd Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:39 +0200 Subject: [PATCH 505/701] python3Packages.terminado: 0.13.3 -> 0.15.0 --- .../python-modules/terminado/default.nix | 29 +++++++++++++++---- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/terminado/default.nix b/pkgs/development/python-modules/terminado/default.nix index 30673971a164..ac5481e13a8e 100644 --- a/pkgs/development/python-modules/terminado/default.nix +++ b/pkgs/development/python-modules/terminado/default.nix @@ -1,27 +1,46 @@ { lib , buildPythonPackage , fetchPypi +, hatchling , ptyprocess , tornado +, pytest-timeout +, pytestCheckHook }: buildPythonPackage rec { pname = "terminado"; - version = "0.13.3"; + version = "0.15.0"; + format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "sha256-lNHPq2NSWZP31cm0aaUKGNDN85Q1tZeFcVU53UHjbA0="; + sha256 = "sha256-q07u3M/MHmE0v+6GEGr5CFLGnWAohOo6Hoym1Ehum/4="; }; - propagatedBuildInputs = [ ptyprocess tornado ]; + nativeBuildInputs = [ + hatchling + ]; + + propagatedBuildInputs = [ + ptyprocess + tornado + ]; + + pythonImportsCheck = [ + "terminado" + ]; + + checkInputs = [ + pytest-timeout + pytestCheckHook + ]; - # test_max_terminals fails - doCheck = false; meta = with lib; { description = "Terminals served by Tornado websockets"; homepage = "https://github.com/jupyter/terminado"; license = licenses.bsd2; + maintainers = with maintainers; [ ]; }; } From 6e1c8f62fe4939158184a9c03328067ed310d49c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:39 +0200 Subject: [PATCH 506/701] python3Packages.tern: 2.10.0 -> 2.10.1 --- pkgs/development/python-modules/tern/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tern/default.nix b/pkgs/development/python-modules/tern/default.nix index c0bceca72b80..635733149504 100644 --- a/pkgs/development/python-modules/tern/default.nix +++ b/pkgs/development/python-modules/tern/default.nix @@ -8,6 +8,7 @@ , stevedore , pbr , debian-inspector +, license-expression , regex , GitPython , prettytable @@ -17,11 +18,11 @@ buildPythonPackage rec { pname = "tern"; - version = "2.10.0"; + version = "2.10.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-KpkEnpItHC/9IswfboFZ5nCcGaM9bWFX/i+6jxGN5hg="; + sha256 = "sha256-MMsq8/Obe3ogQSjiP8EebYseUJGcchMOczUrxE9jht4="; }; preBuild = '' @@ -36,6 +37,7 @@ buildPythonPackage rec { pyyaml docker dockerfile-parse + license-expression requests stevedore debian-inspector From 050ee9154df2de0eb4f1079be949279e39d386c8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:39 +0200 Subject: [PATCH 507/701] python3Packages.testfixtures: 6.18.5 -> 7.0.0 --- pkgs/development/python-modules/testfixtures/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/testfixtures/default.nix b/pkgs/development/python-modules/testfixtures/default.nix index 91f91a3d7b17..9f0de060d7d4 100644 --- a/pkgs/development/python-modules/testfixtures/default.nix +++ b/pkgs/development/python-modules/testfixtures/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "testfixtures"; - version = "6.18.5"; + version = "7.0.0"; format = "setuptools"; # DO NOT CONTACT upstream. # https://github.com/simplistix/ is only concerned with internal CI process. @@ -25,7 +25,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-Atrog/Vn9bcP0608nu+5WRLniskL5sdES14vRr9XLIQ="; + hash = "sha256-jsrFowh5NFFkBZTZykLOibmHcR4eTJMShVMh7CH2zLQ="; }; checkInputs = [ From a9e473f1c1d0a8072a7a9aade68e1b4c9e3182b8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:40 +0200 Subject: [PATCH 508/701] python3Packages.thinc: 8.0.17 -> 8.1.0 --- pkgs/development/python-modules/thinc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/thinc/default.nix b/pkgs/development/python-modules/thinc/default.nix index 44a8d5ff7284..79faa769ddf3 100644 --- a/pkgs/development/python-modules/thinc/default.nix +++ b/pkgs/development/python-modules/thinc/default.nix @@ -30,14 +30,14 @@ buildPythonPackage rec { pname = "thinc"; - version = "8.0.17"; + version = "8.1.0"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-BCxRiqeZo4vsIqegvyjfgM5hfrfeMrwEl5hwfAo2Fn8="; + sha256 = "sha256-6q6pHcVsBBUWqCnEYEI6iu9TVwAWEMjWOVvOldglSgs="; }; postPatch = '' From b23bab12b6f498223aa2e465b034da71aea85df6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:40 +0200 Subject: [PATCH 509/701] python3Packages.tiledb: 0.13.0 -> 0.16.3 --- pkgs/development/python-modules/tiledb/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/tiledb/default.nix b/pkgs/development/python-modules/tiledb/default.nix index eabb2aff006a..99020f8d7ac1 100644 --- a/pkgs/development/python-modules/tiledb/default.nix +++ b/pkgs/development/python-modules/tiledb/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "tiledb"; - version = "0.13.0"; + version = "0.16.3"; format = "setuptools"; src = fetchFromGitHub { owner = "TileDB-Inc"; repo = "TileDB-Py"; - rev = version; - sha256 = "sha256-ku+9kMXXrlPy4teV5KpTXAwExhIoPpAsGAHIBvsl9KI="; + rev = "refs/tags/${version}"; + sha256 = "sha256-Tg2MHlLwwcpXoHoflaNWXmXr6s7dg3IJou4PZBahRzc="; }; nativeBuildInputs = [ From 42ad2f02fcfca14b22d54b2486e01bfa9bcb752b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:40 +0200 Subject: [PATCH 510/701] python3Packages.timetagger: 22.6.4 -> 22.6.6 --- pkgs/development/python-modules/timetagger/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/timetagger/default.nix b/pkgs/development/python-modules/timetagger/default.nix index 4ef436966988..6ecacbca809d 100644 --- a/pkgs/development/python-modules/timetagger/default.nix +++ b/pkgs/development/python-modules/timetagger/default.nix @@ -15,13 +15,13 @@ buildPythonPackage rec { pname = "timetagger"; - version = "22.6.4"; + version = "22.6.6"; src = fetchFromGitHub { owner = "almarklein"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-wLbC7NlDNgAyCnGjawfrnRPN/4DOcHVd93pIWrILs68="; + sha256 = "sha256-2qPtC8gsRw9ZOkl+H8euTwTrPVAB0cdfFflhbLqXz/I="; }; propagatedBuildInputs = [ From 796dacca7e8278c3561481ed5869939c2501b1bb Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:40 +0200 Subject: [PATCH 511/701] python3Packages.tomlkit: 0.10.1 -> 0.11.1 --- pkgs/development/python-modules/tomlkit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tomlkit/default.nix b/pkgs/development/python-modules/tomlkit/default.nix index fbe6c7be4d12..9a9ecba7d0bf 100644 --- a/pkgs/development/python-modules/tomlkit/default.nix +++ b/pkgs/development/python-modules/tomlkit/default.nix @@ -4,11 +4,11 @@ buildPythonPackage rec { pname = "tomlkit"; - version = "0.10.1"; + version = "0.11.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-PFF4lOre9T6QctND035EJ7jwtiAKcLfJoZsuvR9TuVE="; + sha256 = "sha256-YZAfgf9AF5URGc0NHtm3rzHIIdaEXIxHdYe73NXlhU4="; }; propagatedBuildInputs = From ae474c16a1b6ab6fcde4f29b53324c0e95a87b8a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:40 +0200 Subject: [PATCH 512/701] python3Packages.toolz: 0.11.2 -> 0.12.0 --- pkgs/development/python-modules/toolz/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/toolz/default.nix b/pkgs/development/python-modules/toolz/default.nix index 234cb471e46d..6ca48fd1ffb2 100644 --- a/pkgs/development/python-modules/toolz/default.nix +++ b/pkgs/development/python-modules/toolz/default.nix @@ -6,11 +6,11 @@ buildPythonPackage rec { pname = "toolz"; - version = "0.11.2"; + version = "0.12.0"; src = fetchPypi { inherit pname version; - sha256 = "6b312d5e15138552f1bda8a4e66c30e236c831b612b2bf0005f8a1df10a4bc33"; + sha256 = "sha256-iMVwhhxEDuPy9gN8RlRhMij/QMk6bCXg66cNFygsYZQ="; }; checkInputs = [ pytestCheckHook ]; From b7c865d8b56b9d4bd46425120a53c226c9b259f2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:40 +0200 Subject: [PATCH 513/701] python3Packages.torchinfo: 1.7.0 -> 1.64 --- pkgs/development/python-modules/torchinfo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/torchinfo/default.nix b/pkgs/development/python-modules/torchinfo/default.nix index be85d3d31770..66bdb587bc21 100644 --- a/pkgs/development/python-modules/torchinfo/default.nix +++ b/pkgs/development/python-modules/torchinfo/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "torchinfo"; - version = "1.7.0"; + version = "1.64"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "TylerYep"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-SfhFyv5ISbOG3srOK3m9BeSIkA7M8qJTm95GyfdqzcA="; + hash = "sha256-gcl8RxCD017FP4LtB60WVtOh7jg2Otv/vNd9hKneEAU="; }; propagatedBuildInputs = [ From 2f6de8f6e533d24f950eb7c920a20c85bfd72db5 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:40 +0200 Subject: [PATCH 514/701] python3Packages.torchmetrics: 0.8.2 -> 0.9.2 --- pkgs/development/python-modules/torchmetrics/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/torchmetrics/default.nix b/pkgs/development/python-modules/torchmetrics/default.nix index 590f9a835930..e71e623e428b 100644 --- a/pkgs/development/python-modules/torchmetrics/default.nix +++ b/pkgs/development/python-modules/torchmetrics/default.nix @@ -15,7 +15,7 @@ let pname = "torchmetrics"; - version = "0.8.2"; + version = "0.9.2"; in buildPythonPackage { inherit pname version; @@ -24,7 +24,7 @@ buildPythonPackage { owner = "PyTorchLightning"; repo = "metrics"; rev = "refs/tags/v${version}"; - hash = "sha256-1TO2YgZzjVmrE5jhMwo0Y+bQUQ5jJj34k+kGpdqqPVQ="; + hash = "sha256-zkdmWxaTPTMyLe7P/zVfgKSYDCec3uh0eqCtahByMlY="; }; propagatedBuildInputs = [ From ee194d975dce27415d26427f4277e3c9a3e5f56a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:40 +0200 Subject: [PATCH 515/701] python3Packages.torchvision: 0.11.3 -> 0.13.0 --- pkgs/development/python-modules/torchvision/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/torchvision/default.nix b/pkgs/development/python-modules/torchvision/default.nix index 0cb280af6748..4eb0368a821e 100644 --- a/pkgs/development/python-modules/torchvision/default.nix +++ b/pkgs/development/python-modules/torchvision/default.nix @@ -24,13 +24,13 @@ let cudaArchStr = lib.optionalString cudaSupport lib.strings.concatStringsSep ";" pytorch.cudaArchList; in buildPythonPackage rec { pname = "torchvision"; - version = "0.11.3"; + version = "0.13.0"; src = fetchFromGitHub { owner = "pytorch"; repo = "vision"; - rev = "v${version}"; - sha256 = "sha256-nJV0Jr6Uc+ALodAiekM6YpM6IbmIb4w+Jlc3bJRqayI="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-nIE1HvmAhRh3Hvj3qlF52sN9LGIorLiXlLtN7tzQxqU="; }; nativeBuildInputs = [ libpng ninja which ] From ac9efdaec82102f18b3c92a160d5207694a1e373 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:40 +0200 Subject: [PATCH 516/701] python3Packages.tornado: 6.1 -> 6.2 --- pkgs/development/python-modules/tornado/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tornado/default.nix b/pkgs/development/python-modules/tornado/default.nix index 4519641c4820..c9fa36ec65df 100644 --- a/pkgs/development/python-modules/tornado/default.nix +++ b/pkgs/development/python-modules/tornado/default.nix @@ -9,11 +9,11 @@ buildPythonPackage rec { pname = "tornado"; - version = "6.1"; + version = "6.2"; src = fetchPypi { inherit pname version; - sha256 = "33c6e81d7bd55b468d2e793517c909b139960b6c790a60b7991b9b6b76fb9791"; + sha256 = "sha256-m2MEGb3oTsZmv9fqCkyyqKZRwtXMzb3RlyoMhZ38PBM="; }; checkInputs = [ From 485dc483cfeb052a6ed0172037a23cf4fa69c38a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:41 +0200 Subject: [PATCH 517/701] python3Packages.tox: 3.24.5 -> 3.25.1 --- pkgs/development/python-modules/tox/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tox/default.nix b/pkgs/development/python-modules/tox/default.nix index 2307073c3225..cc9a96a1cba7 100644 --- a/pkgs/development/python-modules/tox/default.nix +++ b/pkgs/development/python-modules/tox/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "tox"; - version = "3.24.5"; + version = "3.25.1"; buildInputs = [ setuptools-scm ]; propagatedBuildInputs = [ packaging pluggy py six virtualenv toml filelock ]; @@ -22,7 +22,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - sha256 = "67e0e32c90e278251fea45b696d0fef3879089ccbe979b0c556d35d5a70e2993"; + sha256 = "sha256-wTgyeBX1O8baT+VrrsXyXwBiKuae8/5OHjhXIOIkhvk="; }; meta = with lib; { From 9058068d5059d186aa33ee3d1c1dd5ddb9d3bfb3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:41 +0200 Subject: [PATCH 518/701] python3Packages.tpm2-pytss: 1.1.0 -> 1.2.0 --- pkgs/development/python-modules/tpm2-pytss/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tpm2-pytss/default.nix b/pkgs/development/python-modules/tpm2-pytss/default.nix index e003d075a158..e3e76da73443 100644 --- a/pkgs/development/python-modules/tpm2-pytss/default.nix +++ b/pkgs/development/python-modules/tpm2-pytss/default.nix @@ -17,12 +17,12 @@ buildPythonPackage rec { pname = "tpm2-pytss"; - version = "1.1.0"; + version = "1.2.0"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-O0d1b99/V8b3embg8veerTrJGSVb/prlPVb7qSHErdQ="; + sha256 = "sha256-OgWWTjcj3Qd4dSaCwY+fuRQpLSFn4+9o11kPR9n8a54="; }; nativeBuildInputs = [ From dfe549d0e18a24c77f5599f0d1ed08e26f0f0a47 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:41 +0200 Subject: [PATCH 519/701] python3Packages.transformers: 4.19.4 -> 4.20.1 --- pkgs/development/python-modules/transformers/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/transformers/default.nix b/pkgs/development/python-modules/transformers/default.nix index b23da192142e..97132a964559 100644 --- a/pkgs/development/python-modules/transformers/default.nix +++ b/pkgs/development/python-modules/transformers/default.nix @@ -24,7 +24,7 @@ buildPythonPackage rec { pname = "transformers"; - version = "4.19.4"; + version = "4.20.1"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -33,7 +33,7 @@ buildPythonPackage rec { owner = "huggingface"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-MxP87tmRsjAOkTkJ7VmlUjG4RE3mh/wF76TZQE/UOoQ="; + hash = "sha256-3Kx7/3IJM428KXfOPRnPK4TYnAIXVOIMl33j8n5Cw60="; }; propagatedBuildInputs = [ From b3c5c9cdcdfc467eefc392bb5b8ca1cb9f2f61b7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:41 +0200 Subject: [PATCH 520/701] python3Packages.translatepy: 2.2 -> 2.3 --- pkgs/development/python-modules/translatepy/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/translatepy/default.nix b/pkgs/development/python-modules/translatepy/default.nix index 44191bcab808..374c1d5dfaca 100644 --- a/pkgs/development/python-modules/translatepy/default.nix +++ b/pkgs/development/python-modules/translatepy/default.nix @@ -4,25 +4,27 @@ , requests , beautifulsoup4 , pyuseragents +, safeio , inquirer , pytestCheckHook }: buildPythonPackage rec { pname = "translatepy"; - version = "2.2"; + version = "2.3"; src = fetchFromGitHub { owner = "Animenosekai"; repo = "translate"; - rev = "v${version}"; - sha256 = "rnt4nmDgQXSgzwNCcsZwbQn2bv83DFhL86kebeiSosc="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-cx5OeBrB8il8KrcyOmQbQ7VCXoaA5RP++oTTxCs/PcM="; }; propagatedBuildInputs = [ requests beautifulsoup4 pyuseragents + safeio inquirer ]; From 6cd7d96e7cac3f3725849c053f2c99a348ed9cd7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:41 +0200 Subject: [PATCH 521/701] python3Packages.trezor_agent: 0.11.0 -> 0.12.0 --- pkgs/development/python-modules/trezor_agent/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/trezor_agent/default.nix b/pkgs/development/python-modules/trezor_agent/default.nix index 41ae2e276185..e5db9c72a5fe 100644 --- a/pkgs/development/python-modules/trezor_agent/default.nix +++ b/pkgs/development/python-modules/trezor_agent/default.nix @@ -15,11 +15,11 @@ buildPythonPackage rec { pname = "trezor_agent"; - version = "0.11.0"; + version = "0.12.0"; src = fetchPypi { inherit pname version; - sha256 = "139d917d6495bf290bcc21da457f84ccd2e74c78b4d59a649e0cdde4288cd20c"; + sha256 = "sha256-4IylpUvXZYAXFkyFGNbN9iPTsHff3M/RL2Eq9f7wWFU="; }; propagatedBuildInputs = [ setuptools trezor libagent ecdsa ed25519 mnemonic keepkey semver wheel pinentry ]; From 8a49913f91ea19e9dbd931e9c8ef25d350e00ead Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:41 +0200 Subject: [PATCH 522/701] python3Packages.trimesh: 3.12.7 -> 3.12.8 --- pkgs/development/python-modules/trimesh/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/trimesh/default.nix b/pkgs/development/python-modules/trimesh/default.nix index c11517f04d8a..142ffa072997 100644 --- a/pkgs/development/python-modules/trimesh/default.nix +++ b/pkgs/development/python-modules/trimesh/default.nix @@ -6,11 +6,11 @@ buildPythonPackage rec { pname = "trimesh"; - version = "3.12.7"; + version = "3.12.8"; src = fetchPypi { inherit pname version; - sha256 = "sha256-Sxuv0QNcRLVnnThFxvDQJ8pV2rhgdYCl7O12o/UJbUI="; + sha256 = "sha256-5eRIBCPZtoQqfSNzp3qgKyosmnz+ytZ7+Y3dPIINiHQ="; }; propagatedBuildInputs = [ numpy ]; From ae6728021835fdc169b0bec2cce96bc10bedb7e0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:41 +0200 Subject: [PATCH 523/701] python3Packages.trio: 0.20.0 -> 0.21.0 --- pkgs/development/python-modules/trio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/trio/default.nix b/pkgs/development/python-modules/trio/default.nix index f9b325ecc295..dde139103454 100644 --- a/pkgs/development/python-modules/trio/default.nix +++ b/pkgs/development/python-modules/trio/default.nix @@ -18,12 +18,12 @@ buildPythonPackage rec { pname = "trio"; - version = "0.20.0"; + version = "0.21.0"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-ZwpS0xFdDoeeGsg4pOuZmvMvhYFj46cE/kg53ipnYHA="; + sha256 = "sha256-Uj85t7ae73NQHOv+Gq/UAKmq1bA1Q6Dt7VKVJIj/HBM="; }; propagatedBuildInputs = [ From ffc968548ad5f379a1f28c3ca83bf4faa8aafa2e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:41 +0200 Subject: [PATCH 524/701] python3Packages.trytond: 6.4.2 -> 6.4.3 --- pkgs/development/python-modules/trytond/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/trytond/default.nix b/pkgs/development/python-modules/trytond/default.nix index 24d8d61b5097..df877a2e7026 100644 --- a/pkgs/development/python-modules/trytond/default.nix +++ b/pkgs/development/python-modules/trytond/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "trytond"; - version = "6.4.2"; + version = "6.4.3"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-ylRyTpTnciZiBeG/Mx9PGBXFdh4q3qENeygY3NDDPKU="; + sha256 = "sha256-LzpEHUL1RUPtg4mQqViGHQ1iCfIwQ7KTlEcDZQfhHzA="; }; propagatedBuildInputs = [ From e5ddae0cc066df617e79f1e2fd284490761de912 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:41 +0200 Subject: [PATCH 525/701] python3Packages.ttp: 0.8.4 -> 0.9.1 --- pkgs/development/python-modules/ttp/default.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/ttp/default.nix b/pkgs/development/python-modules/ttp/default.nix index a484ed9f76ac..afa66b288ab2 100644 --- a/pkgs/development/python-modules/ttp/default.nix +++ b/pkgs/development/python-modules/ttp/default.nix @@ -9,6 +9,7 @@ , netmiko , openpyxl , pytestCheckHook +, poetry-core , pyyaml , tabulate , ttp-templates @@ -17,16 +18,20 @@ buildPythonPackage rec { pname = "ttp"; - version = "0.8.4"; - format = "setuptools"; + version = "0.9.1"; + format = "pyproject"; src = fetchFromGitHub { owner = "dmulyalin"; repo = pname; - rev = version; - hash = "sha256-vuKlddqm8KirqAJyvBPfRb5Nw9zo4Fl1bwbfVMhmH9g="; + rev = "refs/tags/${version}"; + hash = "sha256-FhuIYXktcNnOVX+KU5cDOd2Qk7AcWaSKvfB/BZYpsZo="; }; + nativeBuildInputs = [ + poetry-core + ]; + propagatedBuildInputs = [ # https://github.com/dmulyalin/ttp/blob/master/docs/source/Installation.rst#additional-dependencies cerberus @@ -87,6 +92,8 @@ buildPythonPackage rec { "test_child_group_do_not_start_if_no_parent_started" # Assertion Error "test_in_threads_parsing" + # missing env var + "test_ttp_templates_dir_env_variable" ]; pytestFlagsArray = [ From c13828a1b0346cdba6da0a73d780874c912c8968 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:42 +0200 Subject: [PATCH 526/701] python3Packages.ttp-templates: 0.1.4 -> 0.3.1 --- .../python-modules/ttp-templates/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/ttp-templates/default.nix b/pkgs/development/python-modules/ttp-templates/default.nix index 9c7899462cb8..ac27cc1aef50 100644 --- a/pkgs/development/python-modules/ttp-templates/default.nix +++ b/pkgs/development/python-modules/ttp-templates/default.nix @@ -2,12 +2,13 @@ , buildPythonPackage , fetchFromGitHub , pythonOlder +, poetry-core }: buildPythonPackage rec { pname = "ttp-templates"; - version = "0.1.4"; - format = "setuptools"; + version = "0.3.1"; + format = "pyproject"; disabled = pythonOlder "3.7"; @@ -15,13 +16,16 @@ buildPythonPackage rec { owner = "dmulyalin"; repo = "ttp_templates"; rev = "refs/tags/${version}"; - hash = "sha256-yVDJAJXZU4pwvXSKRKUfSHqU23NcdgedOMmynMAD/Po="; + hash = "sha256-35Ej76E9qy5EY41Jt2GDCldyXq7IkdqKxVFrBOJh9nE="; }; + nativeBuildInputs = [ + poetry-core + ]; + postPatch = '' # Drop circular dependency on ttp - substituteInPlace setup.py \ - --replace '"ttp>=0.6.0"' "" + sed -i '/ttp =/d' pyproject.toml ''; # Circular dependency on ttp From 8f5bb3d3175ea8cdac0e4a6eeb79942ba4bb885e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:42 +0200 Subject: [PATCH 527/701] python3Packages.tubes: 0.2.0 -> 0.2.1 --- pkgs/development/python-modules/tubes/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tubes/default.nix b/pkgs/development/python-modules/tubes/default.nix index 0dbfe2206570..a605952b2b7d 100644 --- a/pkgs/development/python-modules/tubes/default.nix +++ b/pkgs/development/python-modules/tubes/default.nix @@ -4,12 +4,12 @@ buildPythonPackage rec { pname = "tubes"; - version = "0.2.0"; + version = "0.2.1"; src = fetchPypi { pname = "Tubes"; inherit version; - sha256 = "0sg1gg2002h1xsgxigznr1zk1skwmhss72dzk6iysb9k9kdgymcd"; + sha256 = "sha256-WbkZfy+m9/xrwygd5VeXrccpu3XJxhO09tbEFZnw14s="; }; propagatedBuildInputs = [ characteristic six twisted ]; From f7d33704b697325be391806e4c7c3122b76e25f9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:42 +0200 Subject: [PATCH 528/701] python3Packages.typed-settings: 1.0.1 -> 1.1.0 --- pkgs/development/python-modules/typed-settings/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/typed-settings/default.nix b/pkgs/development/python-modules/typed-settings/default.nix index d9696122f151..3a6ee309ff55 100644 --- a/pkgs/development/python-modules/typed-settings/default.nix +++ b/pkgs/development/python-modules/typed-settings/default.nix @@ -12,13 +12,13 @@ buildPythonPackage rec { pname = "typed-settings"; - version = "1.0.1"; + version = "1.1.0"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-xrIJgQiAaSXcANMnyXMnqEkLNUP+VyxjRoi9DkX+SLA="; + sha256 = "sha256-Ja2ZLqzJSSvK5hIMhayMztJta/Jc3tmb2tzdlxageAs="; }; nativeBuildInputs = [ From c4c0a8b6ba2afa4eaebf6a7f2c70f8a32416d43f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:42 +0200 Subject: [PATCH 529/701] python3Packages.typer: 0.4.2 -> 0.6.1 --- pkgs/development/python-modules/typer/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/typer/default.nix b/pkgs/development/python-modules/typer/default.nix index 29f104e6400e..21c437dbddbd 100644 --- a/pkgs/development/python-modules/typer/default.nix +++ b/pkgs/development/python-modules/typer/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "typer"; - version = "0.4.2"; + version = "0.6.1"; format = "pyproject"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-uCYcbAFS3XNHi1upa6Z35daUjHFcMQ98kQefMR9i7AM="; + sha256 = "sha256-LVcgpeY/c+rzHtqhX2q4fzXwaQ+MojMBfX0j10OpHXM="; }; nativeBuildInputs = [ From 6f386ef4e120c43a7c3333e5d645900e435a802a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:42 +0200 Subject: [PATCH 530/701] python3Packages.types-python-dateutil: 2.8.16 -> 2.8.18 --- pkgs/development/python-modules/types-dateutil/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/types-dateutil/default.nix b/pkgs/development/python-modules/types-dateutil/default.nix index c51b183552d9..f5d628b4b97b 100644 --- a/pkgs/development/python-modules/types-dateutil/default.nix +++ b/pkgs/development/python-modules/types-dateutil/default.nix @@ -5,13 +5,13 @@ buildPythonPackage rec { pname = "types-dateutil"; - version = "2.8.16"; + version = "2.8.18"; format = "setuptools"; src = fetchPypi { pname = "types-python-dateutil"; inherit version; - hash = "sha256-OqrEwTjra47LwlUJluwl1uRbXTKIfR5pPQhC7i+mWdI="; + hash = "sha256-hpXH16WxrvQALzq04SR+I7HUHNfMEobUWUwtjFWTyZE="; }; pythonImportsCheck = [ From c7a1ee3a2871e1fdcacb2314baaeeebac8f40b74 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:42 +0200 Subject: [PATCH 531/701] python3Packages.types-protobuf: 3.19.15 -> 3.19.22 --- pkgs/development/python-modules/types-protobuf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/types-protobuf/default.nix b/pkgs/development/python-modules/types-protobuf/default.nix index 5393a1604c9c..e3b8069f53d6 100644 --- a/pkgs/development/python-modules/types-protobuf/default.nix +++ b/pkgs/development/python-modules/types-protobuf/default.nix @@ -6,12 +6,12 @@ buildPythonPackage rec { pname = "types-protobuf"; - version = "3.19.15"; + version = "3.19.22"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-03HQpbMueMLWhDKaXUSR04Xm6tyrSXs3xBFy3tMoxdk="; + sha256 = "sha256-0rJoYbDLRqPIZpsN9Qe373Lkh9pm1h+fNXaqds4CioM="; }; propagatedBuildInputs = [ From 5d335a9ea513b9bdb6d7c4a5d3f302380f3ba8ac Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:42 +0200 Subject: [PATCH 532/701] python3Packages.types-pyyaml: 6.0.9 -> 6.0.10 --- pkgs/development/python-modules/types-pyyaml/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/types-pyyaml/default.nix b/pkgs/development/python-modules/types-pyyaml/default.nix index e2c74aa1a466..86ae1bb8f4cc 100644 --- a/pkgs/development/python-modules/types-pyyaml/default.nix +++ b/pkgs/development/python-modules/types-pyyaml/default.nix @@ -5,13 +5,13 @@ buildPythonPackage rec { pname = "types-pyyaml"; - version = "6.0.9"; + version = "6.0.10"; format = "setuptools"; src = fetchPypi { pname = "types-PyYAML"; inherit version; - sha256 = "sha256-M651yEuPYf3fDGPpx+VX252xaUrTwu6GKOxe/rtaXps="; + sha256 = "sha256-oWdsrrCYCWgz/i8Ucufqjev3ZjIilk+pBUXPqv6/M4U="; }; # Module doesn't have tests From 39f25193238946dd975a6c269ce4cdf1903b1a4a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:42 +0200 Subject: [PATCH 533/701] python3Packages.types-redis: 4.3.3 -> 4.3.4 --- pkgs/development/python-modules/types-redis/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/types-redis/default.nix b/pkgs/development/python-modules/types-redis/default.nix index f1ce15b68227..38505520455c 100644 --- a/pkgs/development/python-modules/types-redis/default.nix +++ b/pkgs/development/python-modules/types-redis/default.nix @@ -5,12 +5,12 @@ buildPythonPackage rec { pname = "types-redis"; - version = "4.3.3"; + version = "4.3.4"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-064pr/eZk2HJ+XlJi9LiV/ky9ikbh2qsC0S18AEGxuE="; + sha256 = "sha256-0LkUPeiuDW42mfJG9Us7IgS+WTYy/A1JyilAhnw+JZE="; }; # Module doesn't have tests From b1866a37a92c26da826b7c15d5935b194fadec88 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:42 +0200 Subject: [PATCH 534/701] python3Packages.typing-extensions: 4.1.1 -> 4.3.0 --- .../python-modules/typing-extensions/default.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/typing-extensions/default.nix b/pkgs/development/python-modules/typing-extensions/default.nix index 97f0d48cecc2..36464204e75d 100644 --- a/pkgs/development/python-modules/typing-extensions/default.nix +++ b/pkgs/development/python-modules/typing-extensions/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "typing-extensions"; - version = "4.1.1"; + version = "4.3.0"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -16,18 +16,13 @@ buildPythonPackage rec { src = fetchPypi { pname = "typing_extensions"; inherit version; - hash = "sha256-GpRi3MM0enmx8cAnH7556ERYC7WYuvoe0gi5TaPNzUI="; + hash = "sha256-5tJnejL0f8frJ5XbHdFcHzTv9ha8ryz7Xpl/hU+hxKY="; }; nativeBuildInputs = [ flit-core ]; - postPatch = '' - # Remove metadata for README which are outdated - sed -i -e '11,24d' pyproject.toml - ''; - # Tests are not part of PyPI releases. GitHub source can't be used # as it ends with an infinite recursion doCheck = false; From fc5b1e92f41fa4694b74b47ff0b280c93f457e54 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:42 +0200 Subject: [PATCH 535/701] python3Packages.ufo2ft: 2.27.0 -> 2.28.0 --- .../python-modules/ufo2ft/default.nix | 6 ++- .../ufo2ft/fonttools-cu2qu.patch | 48 ++++++++++--------- 2 files changed, 30 insertions(+), 24 deletions(-) diff --git a/pkgs/development/python-modules/ufo2ft/default.nix b/pkgs/development/python-modules/ufo2ft/default.nix index b1e5ea7905a0..5a87bfd42c2b 100644 --- a/pkgs/development/python-modules/ufo2ft/default.nix +++ b/pkgs/development/python-modules/ufo2ft/default.nix @@ -7,18 +7,19 @@ , compreffor , booleanoperations , cffsubr +, ufoLib2 , pytestCheckHook }: buildPythonPackage rec { pname = "ufo2ft"; - version = "2.27.0"; + version = "2.28.0"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "r5bE4M/blt5TKzP43MpijwYY6ll3aasszmGksY5WTTE="; + sha256 = "sha256-pWHvjAvHNWlmJiQ75JRmFyrjYnzbJG7M8/DGoIWpEBk="; }; patches = [ @@ -37,6 +38,7 @@ buildPythonPackage rec { compreffor booleanoperations cffsubr + ufoLib2 ]; checkInputs = [ diff --git a/pkgs/development/python-modules/ufo2ft/fonttools-cu2qu.patch b/pkgs/development/python-modules/ufo2ft/fonttools-cu2qu.patch index 892cd4abeb30..56aba78b5b31 100644 --- a/pkgs/development/python-modules/ufo2ft/fonttools-cu2qu.patch +++ b/pkgs/development/python-modules/ufo2ft/fonttools-cu2qu.patch @@ -1,4 +1,4 @@ -From 0b3631e91c93d56460929f40850f7d8a39a71bde Mon Sep 17 00:00:00 2001 +From eb63747509b2c18793b95eb12cc0141277520798 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Thu, 11 Feb 2021 09:43:41 +0000 Subject: [PATCH 1/2] Rename cu2qu to fontTools.cu2qu @@ -6,14 +6,13 @@ Subject: [PATCH 1/2] Rename cu2qu to fontTools.cu2qu --- Lib/ufo2ft/filters/cubicToQuadratic.py | 4 ++-- Lib/ufo2ft/preProcessor.py | 4 ++-- - requirements.txt | 1 - setup.py | 1 - tests/outlineCompiler_test.py | 2 +- tests/preProcessor_test.py | 2 +- - 6 files changed, 6 insertions(+), 8 deletions(-) + 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Lib/ufo2ft/filters/cubicToQuadratic.py b/Lib/ufo2ft/filters/cubicToQuadratic.py -index 87d81b1f..4b77144f 100644 +index 87d81b1..4b77144 100644 --- a/Lib/ufo2ft/filters/cubicToQuadratic.py +++ b/Lib/ufo2ft/filters/cubicToQuadratic.py @@ -1,7 +1,7 @@ @@ -27,44 +26,44 @@ index 87d81b1f..4b77144f 100644 from ufo2ft.filters import BaseFilter from ufo2ft.fontInfoData import getAttrWithFallback diff --git a/Lib/ufo2ft/preProcessor.py b/Lib/ufo2ft/preProcessor.py -index 05ac47dc..c796df2e 100644 +index e239152..9463aea 100644 --- a/Lib/ufo2ft/preProcessor.py +++ b/Lib/ufo2ft/preProcessor.py -@@ -217,7 +217,7 @@ def __init__( - layerNames=None, +@@ -267,7 +267,7 @@ class TTFInterpolatablePreProcessor: skipExportGlyphs=None, + filters=None, ): - from cu2qu.ufo import DEFAULT_MAX_ERR + from fontTools.cu2qu.ufo import DEFAULT_MAX_ERR self.ufos = ufos self.inplace = inplace -@@ -249,7 +249,7 @@ def __init__( - self.postFilters.append(post) +@@ -304,7 +304,7 @@ class TTFInterpolatablePreProcessor: + self.postFilters = [[f for f in filters if not f.pre] for filters in filterses] def process(self): - from cu2qu.ufo import fonts_to_quadratic + from fontTools.cu2qu.ufo import fonts_to_quadratic - # first apply all custom pre-filters - for funcs, ufo, glyphSet in zip(self.preFilters, self.ufos, self.glyphSets): + needs_decomposition = set() + diff --git a/setup.py b/setup.py -index 175429af..eef39ee1 100644 +index d8d9982..a165ab1 100644 --- a/setup.py +++ b/setup.py -@@ -30,7 +30,6 @@ +@@ -30,7 +30,6 @@ setup( tests_require=["pytest>=2.8"], install_requires=[ - "fonttools[ufo]>=4.28.5", + "fonttools[ufo]>=4.34.0", - "cu2qu>=1.6.7", "cffsubr>=0.2.8", "booleanOperations>=0.9.0", ], diff --git a/tests/outlineCompiler_test.py b/tests/outlineCompiler_test.py -index 74319184..e7b15a23 100644 +index b31319c..ee51920 100644 --- a/tests/outlineCompiler_test.py +++ b/tests/outlineCompiler_test.py -@@ -2,7 +2,7 @@ +@@ -2,7 +2,7 @@ import logging import os import pytest @@ -74,10 +73,10 @@ index 74319184..e7b15a23 100644 from fontTools.ttLib.tables._g_l_y_f import USE_MY_METRICS diff --git a/tests/preProcessor_test.py b/tests/preProcessor_test.py -index 64196f92..87b23946 100644 +index 11196f8..bc32d55 100644 --- a/tests/preProcessor_test.py +++ b/tests/preProcessor_test.py -@@ -2,7 +2,7 @@ +@@ -2,7 +2,7 @@ import logging import os import pytest @@ -86,8 +85,10 @@ index 64196f92..87b23946 100644 from fontTools import designspaceLib import ufo2ft +-- +2.36.1 -From 27c5af88ec2c3314618ecbf65104050a53508bb0 Mon Sep 17 00:00:00 2001 +From 58f3ab5e5db8090aba10fefd58ad8df4b507e7c3 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Thu, 11 Feb 2021 09:49:28 +0000 Subject: [PATCH 2/2] Sort the imports @@ -98,7 +99,7 @@ Subject: [PATCH 2/2] Sort the imports 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/ufo2ft/filters/cubicToQuadratic.py b/Lib/ufo2ft/filters/cubicToQuadratic.py -index 4b77144f..5f28ea42 100644 +index 4b77144..5f28ea4 100644 --- a/Lib/ufo2ft/filters/cubicToQuadratic.py +++ b/Lib/ufo2ft/filters/cubicToQuadratic.py @@ -1,7 +1,7 @@ @@ -111,10 +112,10 @@ index 4b77144f..5f28ea42 100644 from ufo2ft.filters import BaseFilter from ufo2ft.fontInfoData import getAttrWithFallback diff --git a/tests/preProcessor_test.py b/tests/preProcessor_test.py -index 87b23946..76ee495a 100644 +index bc32d55..41c579c 100644 --- a/tests/preProcessor_test.py +++ b/tests/preProcessor_test.py -@@ -2,8 +2,8 @@ +@@ -2,8 +2,8 @@ import logging import os import pytest @@ -124,3 +125,6 @@ index 87b23946..76ee495a 100644 import ufo2ft from ufo2ft.constants import ( +-- +2.36.1 + From b423e754ec07e6f1f2568ed10eb9fd1c432b5a9c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:43 +0200 Subject: [PATCH 536/701] python3Packages.ujson: 5.3.0 -> 5.4.0 --- pkgs/development/python-modules/ujson/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ujson/default.nix b/pkgs/development/python-modules/ujson/default.nix index 1baa1c86f624..ee2fede8e9f8 100644 --- a/pkgs/development/python-modules/ujson/default.nix +++ b/pkgs/development/python-modules/ujson/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "ujson"; - version = "5.3.0"; + version = "5.4.0"; disabled = isPyPy || pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-q5OHd7OsA3IjHuZUp/ahN4flh7HKJo2Kp+b7aEbkd9A="; + sha256 = "sha256-a5U+CUQeMHUEEwdV5b1rFYUBeNWR9mKSu6RgjE9/mwA="; }; nativeBuildInputs = [ From 36fd3ab594d5945abe7c25cad6664012b8a46947 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:43 +0200 Subject: [PATCH 537/701] python3Packages.uncertainties: 3.1.6 -> 3.1.7 --- pkgs/development/python-modules/uncertainties/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/uncertainties/default.nix b/pkgs/development/python-modules/uncertainties/default.nix index 180baf0d4dde..06bdf12349dc 100644 --- a/pkgs/development/python-modules/uncertainties/default.nix +++ b/pkgs/development/python-modules/uncertainties/default.nix @@ -4,11 +4,11 @@ buildPythonPackage rec { pname = "uncertainties"; - version = "3.1.6"; + version = "3.1.7"; src = fetchPypi { inherit pname version; - sha256 = "0b9y0v73ih142bygi66dxqx17j2x4dfvl7xnhmafj9yjmymbakbw"; + sha256 = "sha256-gBEeCDnyOcWyM8tHcgF7SDoLehVzpYG5Krd0ajXm+qs="; }; propagatedBuildInputs = [ future ]; From 769dd92446e0b8b55ed64e0ebe818632283fff0c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:43 +0200 Subject: [PATCH 538/701] python3Packages.untangle: 1.1.1 -> 1.2.1 --- pkgs/development/python-modules/untangle/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/untangle/default.nix b/pkgs/development/python-modules/untangle/default.nix index 820c96c38c90..6582f5080bd0 100644 --- a/pkgs/development/python-modules/untangle/default.nix +++ b/pkgs/development/python-modules/untangle/default.nix @@ -1,17 +1,21 @@ -{ lib, buildPythonPackage, fetchFromGitHub, python }: +{ lib, buildPythonPackage, fetchFromGitHub, python, defusedxml }: buildPythonPackage rec { pname = "untangle"; - version = "1.1.1"; + version = "1.2.1"; src = fetchFromGitHub { owner = "stchris"; repo = "untangle"; # 1.1.1 is not tagged on GitHub - rev = "61b57cd771a40df7d1621e9ec3c68d9acd733d31"; - sha256 = "0ffvlfyyl82xi4akz1lls32lrnlrn44ik41v8x8xh9ghy0n0ick7"; + rev = "refs/tags/${version}"; + sha256 = "sha256-cJkN8vT5hW5hRuLxr/6udwMO4GVH1pJhAc6qmPO2EEI="; }; + propagatedBuildInputs = [ + defusedxml + ]; + checkPhase = '' ${python.interpreter} -m unittest discover -s tests ''; From 90b7808cc7e0b171747713ad5059160abf91214b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:43 +0200 Subject: [PATCH 539/701] python3Packages.uproot: 4.2.0 -> 4.3.3 --- pkgs/development/python-modules/uproot/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/uproot/default.nix b/pkgs/development/python-modules/uproot/default.nix index 8bf8e67b8e46..580f585e225b 100644 --- a/pkgs/development/python-modules/uproot/default.nix +++ b/pkgs/development/python-modules/uproot/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "uproot"; - version = "4.2.0"; + version = "4.3.3"; # fetch from github for tests src = fetchFromGitHub { owner = "scikit-hep"; repo = "uproot4"; - rev = version; - sha256 = "sha256-ft2VXYGb+iPqRUrtOBvl7SgTPfPR4+IOdYFVTNbQAEw="; + rev = "refs/tags/${version}"; + sha256 = "sha256-7wc5KmnjCA90zOaq3qi5V1vvXi4tPwor8tK20i9WrTY="; }; propagatedBuildInputs = [ From bd223c464226e8476a0a3a618ca2ce9c7f4485a7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:43 +0200 Subject: [PATCH 540/701] python3Packages.urllib3: 1.26.9 -> 1.26.10 --- pkgs/development/python-modules/urllib3/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/urllib3/default.nix b/pkgs/development/python-modules/urllib3/default.nix index 790b497bb8f0..ba10224e92ce 100644 --- a/pkgs/development/python-modules/urllib3/default.nix +++ b/pkgs/development/python-modules/urllib3/default.nix @@ -20,12 +20,12 @@ buildPythonPackage rec { pname = "urllib3"; - version = "1.26.9"; + version = "1.26.10"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-qrrxZHeAal4d0ZqkH4wreVDdPHRjYtfjIj2+beasRI4="; + hash = "sha256-h5uk0eiWVNl2nOExIeD5QxDqMujS+M9Ye3fAi7zbMNY="; }; # FIXME: remove backwards compatbility hack From c2bbedc7c523bba3beac87b1418d34563c4a9df0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:43 +0200 Subject: [PATCH 541/701] python3Packages.validators: 0.18.2 -> 0.20.0 --- pkgs/development/python-modules/validators/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/validators/default.nix b/pkgs/development/python-modules/validators/default.nix index f83fe801a2a2..8cb42064ba21 100644 --- a/pkgs/development/python-modules/validators/default.nix +++ b/pkgs/development/python-modules/validators/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "validators"; - version = "0.18.2"; + version = "0.20.0"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "37cd9a9213278538ad09b5b9f9134266e7c226ab1fede1d500e29e0a8fbb9ea6"; + sha256 = "sha256-JBSM5OZBAKLV4mcjPiPnr+tVMWtH0w+q5+tucpK8Imo="; }; propagatedBuildInputs = [ From 6c8c70a1bf92e9a56514a1b440f6af960b81253a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:43 +0200 Subject: [PATCH 542/701] python3Packages.vcrpy: 4.1.1 -> 4.2.0 --- pkgs/development/python-modules/vcrpy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/vcrpy/default.nix b/pkgs/development/python-modules/vcrpy/default.nix index 7766e75ba05e..8dbc7b50546e 100644 --- a/pkgs/development/python-modules/vcrpy/default.nix +++ b/pkgs/development/python-modules/vcrpy/default.nix @@ -16,13 +16,13 @@ buildPythonPackage rec { pname = "vcrpy"; - version = "4.1.1"; + version = "4.2.0"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "57095bf22fc0a2d99ee9674cdafebed0f3ba763018582450706f7d3a74fff599"; + sha256 = "sha256-lFILhvt2WSWtyMd/+TToml4VbCjnSjFDICF+8bRUr+A="; }; checkInputs = [ From 20c9541bcb9a5db865dbe78cc752fa8934dc186a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:43 +0200 Subject: [PATCH 543/701] python3Packages.virtualenv: 20.14.0 -> 20.15.1 --- pkgs/development/python-modules/virtualenv/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/virtualenv/default.nix b/pkgs/development/python-modules/virtualenv/default.nix index a739ab2fd6ce..3fba7cdb50c5 100644 --- a/pkgs/development/python-modules/virtualenv/default.nix +++ b/pkgs/development/python-modules/virtualenv/default.nix @@ -23,11 +23,11 @@ buildPythonPackage rec { pname = "virtualenv"; - version = "20.14.0"; + version = "20.15.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-jltAIDcocSboHM3pQyuVqL5bGdNlhPZJVwYKNIjBHKg="; + sha256 = "sha256-KIFxE0ov87+xovVPEZ53zRuBwp/BJlojVvPo0Ux9WMQ="; }; nativeBuildInputs = [ @@ -72,6 +72,9 @@ buildPythonPackage rec { ]; disabledTests = [ + # Network access + "test_create_no_seed" + "test_seed_link_via_app_data" # Permission Error "test_bad_exe_py_info_no_raise" ] ++ lib.optionals isPy27 [ From d5ef4af3948804bbe474da473cea1b04606e1293 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:43 +0200 Subject: [PATCH 544/701] python3Packages.vivisect: 1.0.7 -> 1.0.8 --- pkgs/development/python-modules/vivisect/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/vivisect/default.nix b/pkgs/development/python-modules/vivisect/default.nix index 68375a8eadc3..df0c72a34494 100644 --- a/pkgs/development/python-modules/vivisect/default.nix +++ b/pkgs/development/python-modules/vivisect/default.nix @@ -21,11 +21,11 @@ buildPythonPackage rec { pname = "vivisect"; - version = "1.0.7"; + version = "1.0.8"; src = fetchPypi { inherit pname version; - sha256 = "727a27ac1eb95d5a41f4430f6912e79940525551314fe68a2811fc9d51eaf2e9"; + sha256 = "sha256-Y8y6sAQJa9baPPdhtuR9Jv1tJkNWJsS1hJ1lknkHWU4="; }; postPatch = '' From 75278e8a27a641a27aa80bee9e0bc3c865a5f7f7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:44 +0200 Subject: [PATCH 545/701] python3Packages.vulture: 2.4 -> 2.5 --- pkgs/development/python-modules/vulture/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/vulture/default.nix b/pkgs/development/python-modules/vulture/default.nix index e1dd04ed75f6..0062bbd9e415 100644 --- a/pkgs/development/python-modules/vulture/default.nix +++ b/pkgs/development/python-modules/vulture/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchPypi +, pint , pythonOlder , pytestCheckHook , toml @@ -8,14 +9,14 @@ buildPythonPackage rec { pname = "vulture"; - version = "2.4"; + version = "2.5"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-gZQ5KUp2tOC44Ixw11VlqM49wfbgNVjtEjpfK7c3wOo="; + hash = "sha256-KDFpQFXrLjagnDt2gJNINxArm2wJaSBuOQLVE2Ehd8M="; }; postPatch = '' @@ -28,6 +29,7 @@ buildPythonPackage rec { ]; checkInputs = [ + pint pytestCheckHook ]; From a71020c1732321533fa50d527064e296519820df Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:44 +0200 Subject: [PATCH 546/701] python3Packages.wandb: 0.12.20 -> 0.12.21 --- pkgs/development/python-modules/wandb/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/wandb/default.nix b/pkgs/development/python-modules/wandb/default.nix index 5bfade16e5c5..586463dbaa88 100644 --- a/pkgs/development/python-modules/wandb/default.nix +++ b/pkgs/development/python-modules/wandb/default.nix @@ -39,7 +39,7 @@ buildPythonPackage rec { pname = "wandb"; - version = "0.12.20"; + version = "0.12.21"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -48,7 +48,7 @@ buildPythonPackage rec { owner = pname; repo = "client"; rev = "refs/tags/v${version}"; - hash = "sha256-zS3DA06uLfUApe0kDAbqPA+2is70bnb9EifgFWqcuRg="; + hash = "sha256-jKb2pNmCW4MYz6ncsMNg7o5giCI2bpKER/kb8lfJekI="; }; patches = [ From fc8baec4d576cb0adea3209a9925c9c161b5cdce Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:44 +0200 Subject: [PATCH 547/701] python3Packages.warlock: 1.3.3 -> 2.0.1 --- .../python-modules/warlock/default.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/warlock/default.nix b/pkgs/development/python-modules/warlock/default.nix index c20723e8d6e2..c646107c32f7 100644 --- a/pkgs/development/python-modules/warlock/default.nix +++ b/pkgs/development/python-modules/warlock/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , fetchFromGitHub , pythonOlder +, poetry-core , jsonpatch , jsonschema , six @@ -10,28 +11,29 @@ buildPythonPackage rec { pname = "warlock"; - version = "1.3.3"; - format = "setuptools"; + version = "2.0.1"; + format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "bcwaldon"; repo = pname; - rev = version; - hash = "sha256-59V4KOwjs/vhA3F3E0j3p5L4JnKPgcExN+mgSWs0Cn0="; + rev = "refs/tags/${version}"; + hash = "sha256-HOCLzFYmOL/tCXT+NO/tCZuVXVowNEPP3g33ZYg4+6Q="; }; postPatch = '' - substituteInPlace requirements.txt \ - --replace "jsonschema>=0.7,<4" "jsonschema" - sed -i "/--cov/d" pytest.ini + sed -i '/--cov/d' pytest.ini ''; + nativeBuildInputs = [ + poetry-core + ]; + propagatedBuildInputs = [ jsonpatch jsonschema - six ]; checkInputs = [ From 461f3d73b6a8ddeb629ac9840783dd88ffac0c67 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:44 +0200 Subject: [PATCH 548/701] python3Packages.watchdog: 2.1.8 -> 2.1.9 --- pkgs/development/python-modules/watchdog/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/watchdog/default.nix b/pkgs/development/python-modules/watchdog/default.nix index 177848497b81..c530ea66cde6 100644 --- a/pkgs/development/python-modules/watchdog/default.nix +++ b/pkgs/development/python-modules/watchdog/default.nix @@ -12,12 +12,12 @@ buildPythonPackage rec { pname = "watchdog"; - version = "2.1.8"; + version = "2.1.9"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-bQMUkSaGSr0ycV1OkmfSdUzt4lppBSkBOZNWrTvF7P8="; + sha256 = "sha256-Q84g67NqUfIfo3b3bR1GkkUrJSfM1gGVDWntNrniFgk="; }; patches = lib.optionals (stdenv.isDarwin && !stdenv.isAarch64) [ From 3715af88933a2a4844e49e34a683a2750be9c1c5 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:44 +0200 Subject: [PATCH 549/701] python3Packages.watchfiles: 0.14.1 -> 0.15.0 --- .../python-modules/watchfiles/default.nix | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/watchfiles/default.nix b/pkgs/development/python-modules/watchfiles/default.nix index 49cbef94b88b..f85bc75c800e 100644 --- a/pkgs/development/python-modules/watchfiles/default.nix +++ b/pkgs/development/python-modules/watchfiles/default.nix @@ -15,28 +15,28 @@ buildPythonPackage rec { pname = "watchfiles"; - version = "0.14.1"; - format = "setuptools"; + version = "0.15.0"; + format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "samuelcolvin"; repo = pname; - rev = "v${version}"; - hash = "sha256-XjmmyL7ZRqkYwGGk6/KkxL7e/JA43tQN4W3knTtc7t0="; + rev = "refs/tags/v${version}"; + hash = "sha256-DibxoVH7uOy9rxzhiN4HmihA7HtdzErmJOnsI/NWY5I="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - sha256 = "sha256-sZMj1HQ37gAG3WM+qBMhcCQ2MuUGom23lF8c4L0RQzM="; + hash = "sha256-EakC/rSIS42Q4Y0pvWKG7mzppU5KjCktnC09iFMZM0A="; }; nativeBuildInputs = [ - setuptools-rust ] ++ (with rustPlatform; [ cargoSetupHook + maturinBuildHook rust.cargo rust.rustc ]); @@ -45,6 +45,10 @@ buildPythonPackage rec { anyio ]; + preCheck = '' + rm -rf watchfiles + ''; + checkInputs = [ dirty-equals pytest-mock @@ -56,10 +60,6 @@ buildPythonPackage rec { "watchfiles" ]; - preCheck = '' - cd tests - ''; - meta = with lib; { broken = stdenv.isDarwin; description = "Simple, modern file watching and code reload"; From 606d87d08487611822b1f253554aeb69f029e973 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:44 +0200 Subject: [PATCH 550/701] python3Packages.watchgod: 0.8.1 -> 0.8.2 --- pkgs/development/python-modules/watchgod/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/watchgod/default.nix b/pkgs/development/python-modules/watchgod/default.nix index 70e93f1a2090..80d95b3175f6 100644 --- a/pkgs/development/python-modules/watchgod/default.nix +++ b/pkgs/development/python-modules/watchgod/default.nix @@ -6,11 +6,11 @@ buildPythonPackage rec { pname = "watchgod"; - version = "0.8.1"; + version = "0.8.2"; src = fetchPypi { inherit pname version; - sha256 = "sha256-wS0V8999EedAcE5FOYJ3918dePRq1Zyp11Bb/YuNMIY="; + sha256 = "sha256-yxH/ZmV777qU2CjjtiLV+3byL72hN281Xz5uUel9lFA="; }; propagatedBuildInputs = [ From baafcc7bd2f95901bb62c998c060180456043c73 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:44 +0200 Subject: [PATCH 551/701] python3Packages.wavedrom: 2.0.3.post2 -> 2.0.3.post3 --- pkgs/development/python-modules/wavedrom/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/wavedrom/default.nix b/pkgs/development/python-modules/wavedrom/default.nix index d8db35fbdaeb..cce9a162e865 100644 --- a/pkgs/development/python-modules/wavedrom/default.nix +++ b/pkgs/development/python-modules/wavedrom/default.nix @@ -5,6 +5,7 @@ , fetchPypi , pillow , pytestCheckHook +, pyyaml , setuptools-scm , six , svgwrite @@ -13,12 +14,12 @@ buildPythonPackage rec { pname = "wavedrom"; - version = "2.0.3.post2"; + version = "2.0.3.post3"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-I5s0Nf8RawkAfVUX7tdV/IWRiRtycaHNQNueQAwCRI0="; + hash = "sha256-MntNXcpZPIElfCAv6lFvepCHR/sRUnw1nwNPW3r39Hs="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; @@ -29,6 +30,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ attrdict + pyyaml svgwrite six ]; From 8354d96d81508800339a22923689356f5c09c29b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:44 +0200 Subject: [PATCH 552/701] python3Packages.websocket-client: 1.3.2 -> 1.3.3 --- pkgs/development/python-modules/websocket-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/websocket-client/default.nix b/pkgs/development/python-modules/websocket-client/default.nix index a1c0cfa82e1d..a73703f12a11 100644 --- a/pkgs/development/python-modules/websocket-client/default.nix +++ b/pkgs/development/python-modules/websocket-client/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "websocket-client"; - version = "1.3.2"; + version = "1.3.3"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-ULIdsAWPepU9Z8wERb5LlI1/wZbsvrgIPWjZRijkq/Y="; + sha256 = "sha256-1YxfKE1qm/g3natCMln+j4W3DV+l0pFtV5GoRZSxIrE="; }; propagatedBuildInputs = [ From 8273fa97cba94129a063394e782621246906af48 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:44 +0200 Subject: [PATCH 553/701] python3Packages.whisper: 1.1.8 -> 1.1.10 --- pkgs/development/python-modules/whisper/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/whisper/default.nix b/pkgs/development/python-modules/whisper/default.nix index 28a2c15a8dbd..b36a5c9a23c8 100644 --- a/pkgs/development/python-modules/whisper/default.nix +++ b/pkgs/development/python-modules/whisper/default.nix @@ -8,13 +8,13 @@ buildPythonPackage rec { pname = "whisper"; - version = "1.1.8"; + version = "1.1.10"; src = fetchFromGitHub { owner = "graphite-project"; repo = pname; - rev = version; - sha256 = "11f7sarj62zgpw3ak4a2q55lj7ap4039l9ybc3a6yvs1ppvrcn7x"; + rev = "refs/tags/${version}"; + sha256 = "sha256-CnCbRmI2jc67mTtfupoE1uHtobrAiWoUXbfX8YeEV6A="; }; propagatedBuildInputs = [ From d68fc0c9464f60bab48a6add6230b71a06a4814d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:44 +0200 Subject: [PATCH 554/701] python3Packages.widgetsnbextension: 3.6.0 -> 3.6.1 --- .../development/python-modules/widgetsnbextension/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/widgetsnbextension/default.nix b/pkgs/development/python-modules/widgetsnbextension/default.nix index 563e792850d5..7609eb376f1c 100644 --- a/pkgs/development/python-modules/widgetsnbextension/default.nix +++ b/pkgs/development/python-modules/widgetsnbextension/default.nix @@ -7,12 +7,12 @@ buildPythonPackage rec { pname = "widgetsnbextension"; - version = "3.6.0"; + version = "3.6.1"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-6Ep6n8ubrz1XEG4YSnOJqPjrk1v3QaXrnWCqGMwCmoA="; + hash = "sha256-nISuZMKJPHy+Lqr8dQUiGnlcJ9aJOEVANKxIcxmnWxA="; }; # setup.py claims to require notebook, but the source doesn't have any imports From a154dc0eb62bfe64e854625b0786ccad9e7f986f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:45 +0200 Subject: [PATCH 555/701] python3Packages.wled: 0.13.2 -> 0.14.1 --- pkgs/development/python-modules/wled/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/wled/default.nix b/pkgs/development/python-modules/wled/default.nix index 362d4e4d2b29..9d42c48a606f 100644 --- a/pkgs/development/python-modules/wled/default.nix +++ b/pkgs/development/python-modules/wled/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "wled"; - version = "0.13.2"; + version = "0.14.1"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -23,8 +23,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "frenck"; repo = "python-wled"; - rev = "v${version}"; - sha256 = "sha256-Rv0jaKkN6jQ7oiv1cBYx4HAr7IqPm57jZFykXayp0T0="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-ytjCjxnJOMmFlGS+AuEAbIZcV2yoTgaXSLdqxPg6Hew="; }; nativeBuildInputs = [ From 118877f6095032258eff3d3657d632458a4d9544 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:45 +0200 Subject: [PATCH 556/701] python3Packages.wrf-python: 1.3.3 -> 1.3.4.1 --- .../python-modules/wrf-python/default.nix | 33 ++++++++++--------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/wrf-python/default.nix b/pkgs/development/python-modules/wrf-python/default.nix index e839aa805ffe..2714169aaddd 100644 --- a/pkgs/development/python-modules/wrf-python/default.nix +++ b/pkgs/development/python-modules/wrf-python/default.nix @@ -3,17 +3,19 @@ , fetchFromGitHub , pythonOlder , buildPythonPackage +, basemap , gfortran +, netcdf4 +, numpy +, python +, setuptools , xarray , wrapt -, numpy -, netcdf4 -, setuptools }: buildPythonPackage rec { pname = "wrf-python"; - version = "1.3.3"; + version = "1.3.4.1"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -21,21 +23,22 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "NCAR"; repo = "wrf-python"; - rev = version; - hash = "sha256-+v4FEK0FVE0oAIb18XDTOInHKfxXyykb1ngk9Uxwf0c="; + rev = "refs/tags/v${version}"; + hash = "sha256-4iIs/M9fzGJsnKCDSl09OTUoh7j6REBXuutE5uXFe3k="; }; - propagatedBuildInputs = [ - wrapt - numpy - setuptools - xarray - ]; - nativeBuildInputs = [ gfortran ]; + propagatedBuildInputs = [ + basemap + numpy + setuptools + xarray + wrapt + ]; + checkInputs = [ netcdf4 ]; @@ -43,7 +46,7 @@ buildPythonPackage rec { checkPhase = '' runHook preCheck cd ./test/ci_tests - python utests.py + ${python.interpreter} utests.py runHook postCheck ''; @@ -52,10 +55,10 @@ buildPythonPackage rec { ]; meta = with lib; { - broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; description = "WRF postprocessing library for Python"; homepage = "http://wrf-python.rtfd.org"; license = licenses.asl20; maintainers = with maintainers; [ mhaselsteiner ]; + broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; }; } From 8d4fb9544796f6824f273f00628bc5ea865058d5 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:45 +0200 Subject: [PATCH 557/701] python3Packages.xarray-einstats: 0.2.2 -> 0.3.0 --- pkgs/development/python-modules/xarray-einstats/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/xarray-einstats/default.nix b/pkgs/development/python-modules/xarray-einstats/default.nix index 921bedaae8bc..244541f7d852 100644 --- a/pkgs/development/python-modules/xarray-einstats/default.nix +++ b/pkgs/development/python-modules/xarray-einstats/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "xarray-einstats"; - version = "0.2.2"; + version = "0.3.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -22,8 +22,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "arviz-devs"; repo = pname; - rev = "v${version}"; - hash = "sha256-yc2dWKL9XhSSB7rUKS2uDCa4IyH/ajUf632Of2beY+4="; + rev = "refs/tags/v${version}"; + hash = "sha256-N8ievasPaqusx51FCxcl1FGIjXooyBsRqsuRU73puRM="; }; nativeBuildInputs = [ From 081c8b815664a58c80e53f0719fa13114cc16a50 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:45 +0200 Subject: [PATCH 558/701] python3Packages.xml2rfc: 3.12.4 -> 3.13.0 --- pkgs/development/python-modules/xml2rfc/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/xml2rfc/default.nix b/pkgs/development/python-modules/xml2rfc/default.nix index be9323c774d8..0612c98c8e7e 100644 --- a/pkgs/development/python-modules/xml2rfc/default.nix +++ b/pkgs/development/python-modules/xml2rfc/default.nix @@ -26,15 +26,15 @@ buildPythonPackage rec { pname = "xml2rfc"; - version = "3.12.4"; + version = "3.13.0"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "ietf-tools"; repo = "xml2rfc"; - rev = "v${version}"; - sha256 = "sha256-TAu2Ls553t7wJ/Jhgu+Ff+H4P6az0Du8OL00JjZyCDs="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-z+OVlqIuLP6D5qvS4VxJFjjLiYKH7pDKqYCrvv9FHJ4="; }; postPatch = '' From 7cdc69703f12edd757b2afda3c819d6502fbb325 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:45 +0200 Subject: [PATCH 559/701] python3Packages.yamllint: 1.26.3 -> 1.27.1 --- pkgs/development/python-modules/yamllint/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/yamllint/default.nix b/pkgs/development/python-modules/yamllint/default.nix index 0204b0f92968..b82e87016159 100644 --- a/pkgs/development/python-modules/yamllint/default.nix +++ b/pkgs/development/python-modules/yamllint/default.nix @@ -10,12 +10,12 @@ buildPythonPackage rec { pname = "yamllint"; - version = "1.26.3"; + version = "1.27.1"; disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; - sha256 = "3934dcde484374596d6b52d8db412929a169f6d9e52e20f9ade5bf3523d9b96e"; + sha256 = "sha256-5ogyS1hWCraKGjz/LApHTj/tNx3+jaXRuYF7ffVQOc4="; }; propagatedBuildInputs = [ From aa7a31080e665f4e08c598157dc234d44a2ff19a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:45 +0200 Subject: [PATCH 560/701] python3Packages.zarr: 2.11.1 -> 2.12.0 --- pkgs/development/python-modules/zarr/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zarr/default.nix b/pkgs/development/python-modules/zarr/default.nix index 972bd527ad0f..72cd251dcb31 100644 --- a/pkgs/development/python-modules/zarr/default.nix +++ b/pkgs/development/python-modules/zarr/default.nix @@ -12,12 +12,12 @@ buildPythonPackage rec { pname = "zarr"; - version = "2.11.1"; + version = "2.12.0"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "sha256-EbYo9C3sNuAUeHnovUcVJLWbI4CUubIePDW+eDmcEV4="; + sha256 = "sha256-UVox7kuta7SK4FF4xYiuSaAqNd76Ad2aMpMwaQM2gWU="; }; nativeBuildInputs = [ From 149ddc00fb8775d3eae295e1a65d5f67fe4dc9e1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:45 +0200 Subject: [PATCH 561/701] python3Packages.zict: 2.1.0 -> 2.2.0 --- pkgs/development/python-modules/zict/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zict/default.nix b/pkgs/development/python-modules/zict/default.nix index 822a041e5d18..fa4122a7e8c6 100644 --- a/pkgs/development/python-modules/zict/default.nix +++ b/pkgs/development/python-modules/zict/default.nix @@ -3,11 +3,11 @@ buildPythonPackage rec { pname = "zict"; - version = "2.1.0"; + version = "2.2.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-FbLMFflaR2++BiP9j3ceHncTEL96AflUEqC2BbbkdRA="; + sha256 = "sha256-1zZsLiKTMUES3PJDIQhCime5J7AABWGf7vwxDRLYM/M="; }; disabled = pythonOlder "3.6"; From c48f08b5f4fdc6ec5ab6fa292e90358a071c4a16 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:45 +0200 Subject: [PATCH 562/701] python3Packages.zope.configuration: 4.4.0 -> 4.4.1 --- .../development/python-modules/zope_configuration/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zope_configuration/default.nix b/pkgs/development/python-modules/zope_configuration/default.nix index e3ede9f94aff..b8d364b95ebb 100644 --- a/pkgs/development/python-modules/zope_configuration/default.nix +++ b/pkgs/development/python-modules/zope_configuration/default.nix @@ -9,11 +9,11 @@ buildPythonPackage rec { pname = "zope.configuration"; - version = "4.4.0"; + version = "4.4.1"; src = fetchPypi { inherit pname version; - sha256 = "e9f02bac44405ad1526399d6574b91d792f9694f9c67df8b64e91fe10fcddb3c"; + sha256 = "sha256-giPqSvU5hmznqccwrH6xjlHRfrUVk6p3c7NZPI1tdgg="; }; checkInputs = [ zope_testrunner manuel ]; From 710bd1432298c7cc736eae6105e3150ca753eb59 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:46 +0200 Subject: [PATCH 563/701] python3Packages.zope.testrunner: 5.4.0 -> 5.5 --- pkgs/development/python-modules/zope_testrunner/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zope_testrunner/default.nix b/pkgs/development/python-modules/zope_testrunner/default.nix index 2638d4314784..273326baeb2a 100644 --- a/pkgs/development/python-modules/zope_testrunner/default.nix +++ b/pkgs/development/python-modules/zope_testrunner/default.nix @@ -10,11 +10,11 @@ buildPythonPackage rec { pname = "zope.testrunner"; - version = "5.4.0"; + version = "5.5"; src = fetchPypi { inherit pname version; - sha256 = "4869229fc909e4aa8e76665a718f90dc88f73858b32ca5fa3dea6840e9210fb4"; + sha256 = "sha256-/LhQZWGIoM380kmjt9Mw1JsVv7+DoQ8YW//cD6uQE+U="; }; propagatedBuildInputs = [ zope_interface zope_exceptions zope_testing six ]; From 6195bd4758a1317995dc26bc350d98345ccbcf59 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:46 +0200 Subject: [PATCH 564/701] python3Packages.zstandard: 0.17.0 -> 0.18.0 --- pkgs/development/python-modules/zstandard/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zstandard/default.nix b/pkgs/development/python-modules/zstandard/default.nix index 5c0536166aab..ea832cec6f1b 100755 --- a/pkgs/development/python-modules/zstandard/default.nix +++ b/pkgs/development/python-modules/zstandard/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "zstandard"; - version = "0.17.0"; + version = "0.18.0"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "fa9194cb91441df7242aa3ddc4cb184be38876cb10dd973674887f334bafbfb6"; + sha256 = "sha256-CsA1eg2YW0/zGoVHRAQNe1dUOF0fmPcUXDDgLGhly28="; }; propagatedNativeBuildInputs = [ From 71fbe46f1feeab851543a448a5bea22112de16b9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:46 +0200 Subject: [PATCH 565/701] python3Packages.zstd: 1.5.1.0 -> 1.5.2.5 --- pkgs/development/python-modules/zstd/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zstd/default.nix b/pkgs/development/python-modules/zstd/default.nix index 468b5b5315ab..8599c7495ad9 100644 --- a/pkgs/development/python-modules/zstd/default.nix +++ b/pkgs/development/python-modules/zstd/default.nix @@ -4,11 +4,11 @@ buildPythonPackage rec { pname = "zstd"; - version = "1.5.1.0"; + version = "1.5.2.5"; src = fetchPypi { inherit pname version; - sha256 = "9519bb0cd91c4498cd8cf66ef88fb22e5d6a442317704e6afd00b12726d17d0a"; + sha256 = "sha256-PEKbFmo7MksJg7/1OuCSi5dkxpOgF/Yv+2sg5hNeM48="; }; postPatch = '' From 9956e239736add1da45e8ef323d51f3e8fa407b6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 14:07:30 +0200 Subject: [PATCH 566/701] python3Packages.hatch-vcs: disable failing test This test is incompatible with setuptools-scm>=7.0, but does not seem to cause other problems as the upstream PR fixing this is also only targeting the testsuite. --- pkgs/development/python-modules/hatch-vcs/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/hatch-vcs/default.nix b/pkgs/development/python-modules/hatch-vcs/default.nix index 6e785d0c9a28..4f5c1f9bf3e6 100644 --- a/pkgs/development/python-modules/hatch-vcs/default.nix +++ b/pkgs/development/python-modules/hatch-vcs/default.nix @@ -35,6 +35,12 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTests = [ + # incompatible with setuptools-scm>=7 + # https://github.com/ofek/hatch-vcs/issues/8 + "test_write" + ]; + pythonImportsCheck = [ "hatch_vcs" ]; From 9b10680456a4c73998105d2fae8d438ab360491d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 14:13:54 +0200 Subject: [PATCH 567/701] python3Packages.s3transfer: 0.5.0 -> 0.6.0 --- pkgs/development/python-modules/s3transfer/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/s3transfer/default.nix b/pkgs/development/python-modules/s3transfer/default.nix index 3b07fe5b6d40..acd739d854e9 100644 --- a/pkgs/development/python-modules/s3transfer/default.nix +++ b/pkgs/development/python-modules/s3transfer/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "s3transfer"; - version = "0.5.0"; + version = "0.6.0"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "boto"; repo = pname; rev = version; - hash = "sha256-0Dl7oKB2xxq/a8do3HgBUIGay88yOGBUdOGo+QCtnUE="; + hash = "sha256-LM1/joc6TeyLLeAHpuCTz2vgpQ3TMkHrKitfiUp5ZrY="; }; propagatedBuildInputs = [ botocore ]; From b1c7aeb43b4b2d4e066ccc238d05395dd35a6c5d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 14:17:31 +0200 Subject: [PATCH 568/701] awscli: 1.22.88 -> 1.25.31 --- pkgs/tools/admin/awscli/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/admin/awscli/default.nix b/pkgs/tools/admin/awscli/default.nix index 4fcd39a8c46f..c997acd60ef2 100644 --- a/pkgs/tools/admin/awscli/default.nix +++ b/pkgs/tools/admin/awscli/default.nix @@ -35,17 +35,17 @@ let in with py.pkgs; buildPythonApplication rec { pname = "awscli"; - version = "1.22.88"; # N.B: if you change this, change botocore and boto3 to a matching version too + version = "1.25.31"; # N.B: if you change this, change botocore and boto3 to a matching version too src = fetchPypi { inherit pname version; - hash = "sha256-fwbejwcT4piC8Zr6+ubxMd+TuF9O4icOentI2GlhYrc="; + hash = "sha256-z5FA8Xmv8Abqh/ckYB5Bcgwrnd0FlHJQJi562tLZ3hE="; }; # https://github.com/aws/aws-cli/issues/4837 postPatch = '' substituteInPlace setup.py \ - --replace "docutils>=0.10,<0.16" "docutils>=0.10" \ + --replace "docutils>=0.10,<0.17" "docutils>=0.10" \ --replace "rsa>=3.1.2,<4.8" "rsa<5,>=3.1.2" ''; From b4e278209f6d68e5a5f8d14b8b25e35843b37cdc Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 15:12:19 +0200 Subject: [PATCH 569/701] libcamera: 2022-01-03 -> 2022-07-15 Fixes the documentation build with sphinx 5.0 --- pkgs/development/libraries/libcamera/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/libcamera/default.nix b/pkgs/development/libraries/libcamera/default.nix index 37acf1fc8f03..3841c205b7b9 100644 --- a/pkgs/development/libraries/libcamera/default.nix +++ b/pkgs/development/libraries/libcamera/default.nix @@ -10,6 +10,7 @@ , openssl , libdrm , libevent +, libyaml , lttng-ust , gst_all_1 , gtest @@ -22,12 +23,12 @@ stdenv.mkDerivation { pname = "libcamera"; - version = "unstable-2022-01-03"; + version = "unstable-2022-07-15"; src = fetchgit { url = "https://git.libcamera.org/libcamera/libcamera.git"; - rev = "1db1e31e664c1f613dc964d8519fe75d67b154b6"; - hash = "sha256-pXYPIU9xDWA870Gp1Jgizi5xnUHRvTqEq/ofFXdVZdg="; + rev = "e9b6b362820338d0546563444e7b1767f5c7044c"; + hash = "sha256-geqFcMBHcVe7dPdVOal8V2pVItYUdoC+5isISqRG4Wc="; }; postPatch = '' @@ -55,6 +56,9 @@ stdenv.mkDerivation { # lttng tracing lttng-ust + # yamlparser + libyaml + gtest ]; From 94c628e631fde01e8acb30bccd07aa2fd82c9e8e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 17:39:19 +0200 Subject: [PATCH 570/701] python3Packages.agate-sql: reenable test and use pytest instead of nose --- .../development/python-modules/agate-sql/default.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/agate-sql/default.nix b/pkgs/development/python-modules/agate-sql/default.nix index c2e741bef176..827f73f27e7a 100644 --- a/pkgs/development/python-modules/agate-sql/default.nix +++ b/pkgs/development/python-modules/agate-sql/default.nix @@ -5,7 +5,7 @@ , agate , sqlalchemy , crate -, nose +, pytestCheckHook , geojson }: @@ -22,15 +22,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ agate sqlalchemy ]; - # crate is broken in nixpkgs, with SQLAlchemy > 1.3 - # Skip tests for now as they rely on it. - doCheck = false; - - checkInputs = [ crate nose geojson ]; - - checkPhase = '' - nosetests - ''; + checkInputs = [ crate geojson pytestCheckHook ]; pythonImportsCheck = [ "agatesql" ]; From d33ddb3ef0b4480b571b8ae3c109d99b0d503b06 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 19:15:51 +0200 Subject: [PATCH 571/701] python3Packages.fakeredis: update src hash Failed to build on hydra due to hash mismatch. --- pkgs/development/python-modules/fakeredis/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/fakeredis/default.nix b/pkgs/development/python-modules/fakeredis/default.nix index 02f0d4927951..fae0141b8536 100644 --- a/pkgs/development/python-modules/fakeredis/default.nix +++ b/pkgs/development/python-modules/fakeredis/default.nix @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "dsoftwareinc"; repo = "fakeredis-py"; rev = "refs/tags/v${version}"; - hash = "sha256-gmQuQIlpE4PdgZ1J5aucSQkJpfrh1qTJNLfyI+cMCJU="; + hash = "sha256-IGrWHlWkydGyyQAvagvhzd2vcLQwTZHoasrMC9M/smw="; }; nativeBuildInputs = [ From 133478129b1a9b29d28a5140328f9f43f130793c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 19:17:40 +0200 Subject: [PATCH 572/701] atomic-operator: fix src hash Fails to build on hydra due to src hash mismatch. --- pkgs/tools/security/atomic-operator/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/security/atomic-operator/default.nix b/pkgs/tools/security/atomic-operator/default.nix index c4e07b4d3418..812b782e951f 100644 --- a/pkgs/tools/security/atomic-operator/default.nix +++ b/pkgs/tools/security/atomic-operator/default.nix @@ -12,7 +12,7 @@ python3.pkgs.buildPythonApplication rec { owner = "swimlane"; repo = pname; rev = version; - hash = "sha256-fO8bvzeMdJVWlhpzdTmJo9mrT6iorsLqr/GPF9gvE70="; + hash = "sha256-DyNqu3vndyLkmfybCfTbgxk3t/ALg7IAkAMg4kBkH7Q="; }; propagatedBuildInputs = with python3.pkgs; [ From 21401039aef311a82d93d4186fb68f7d22bb3b5f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 19:19:51 +0200 Subject: [PATCH 573/701] html-tidy: fix src hash Fails to build on hydra due a src hash mismatch. --- pkgs/tools/text/html-tidy/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/text/html-tidy/default.nix b/pkgs/tools/text/html-tidy/default.nix index d80b8e8c899c..1f9c04b7c9db 100644 --- a/pkgs/tools/text/html-tidy/default.nix +++ b/pkgs/tools/text/html-tidy/default.nix @@ -8,7 +8,7 @@ stdenv.mkDerivation rec { owner = "htacg"; repo = "tidy-html5"; rev = version; - sha256 = "sha256-ZMz0NySxzX2XHiqB8f5asvwjIG6kdIcq8Gb3EbAxBaU="; + hash = "sha256-vzVWQodwzi3GvC9IcSQniYBsbkJV20iZanF33A0Gpe0="; }; # https://github.com/htacg/tidy-html5/pull/1036 From 9a7c421c2de042eb6baba7efd3efc9f63c13a1f2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 20:10:53 +0200 Subject: [PATCH 574/701] rabbitvcs: fix src hash Fails to build on hydra due a src hash mismatch. --- pkgs/applications/version-management/rabbitvcs/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/version-management/rabbitvcs/default.nix b/pkgs/applications/version-management/rabbitvcs/default.nix index e274f0b0335e..66cd7facc123 100644 --- a/pkgs/applications/version-management/rabbitvcs/default.nix +++ b/pkgs/applications/version-management/rabbitvcs/default.nix @@ -9,7 +9,7 @@ python3Packages.buildPythonApplication rec { owner = "rabbitvcs"; repo = "rabbitvcs"; rev = "v${version}"; - sha256 = "01cr16zf3gzsci1hhfli79m34fcx5m1pvswl16rkxxn212yc9fhy"; + hash = "sha256-gVrdf8vQWAGORZqlTS/axs4U7aZlS8OAgPM3iKgqAtM="; }; buildInputs = [ gtk3 ]; From e0c389cacc7bf9ed74944690842b806acc8f6562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 16 Jul 2022 21:43:57 +0200 Subject: [PATCH 575/701] python310Packages.dbus: cleanup, add empty meta.maintainers --- pkgs/development/python-modules/dbus/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/dbus/default.nix b/pkgs/development/python-modules/dbus/default.nix index 0685ca6fcca5..9d88bb4a9f17 100644 --- a/pkgs/development/python-modules/dbus/default.nix +++ b/pkgs/development/python-modules/dbus/default.nix @@ -4,8 +4,9 @@ buildPythonPackage rec { pname = "dbus-python"; version = "1.2.18"; - format = "other"; + disabled = isPyPy; + format = "other"; outputs = [ "out" "dev" ]; src = fetchPypi { @@ -17,11 +18,9 @@ buildPythonPackage rec { ./fix-includedir.patch ]; - disabled = isPyPy; - - preConfigure = if (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11" && stdenv.isDarwin) then '' + preConfigure = lib.optionalString (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11" && stdenv.isDarwin) '' MACOSX_DEPLOYMENT_TARGET=10.16 - '' else null; + ''; configureFlags = [ "PYTHON=${python.pythonForBuild.interpreter}" @@ -36,9 +35,10 @@ buildPythonPackage rec { doCheck = isPy3k; checkInputs = [ dbus.out pygobject3 ]; - meta = { + meta = with lib; { description = "Python DBus bindings"; - license = lib.licenses.mit; + license = licenses.mit; platforms = dbus.meta.platforms; + maintainers = with maintainers; [ ]; }; } From ab7cd518ad0002124259ccec486e7abe4874a53a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 16 Jul 2022 23:15:56 +0200 Subject: [PATCH 576/701] python310Packages.python-dbusmock: 0.28.1 -> 0.28.2 --- .../python-dbusmock/default.nix | 43 +++++++++++-------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/pkgs/development/python-modules/python-dbusmock/default.nix b/pkgs/development/python-modules/python-dbusmock/default.nix index ca71b32449cc..7be5389b21ac 100644 --- a/pkgs/development/python-modules/python-dbusmock/default.nix +++ b/pkgs/development/python-modules/python-dbusmock/default.nix @@ -6,29 +6,46 @@ , dbus , dbus-python , pygobject3 -, which -, pyflakes -, pycodestyle , bluez , networkmanager +, setuptools-scm }: buildPythonPackage rec { pname = "python-dbusmock"; - version = "0.28.1"; + version = "0.28.2"; src = fetchFromGitHub { owner = "martinpitt"; repo = pname; rev = "refs/tags/${version}"; - sha256 = "sha256-r4WAMj+ROrFHJ5kcZ32mArI9+tYakKgIcEgDcD0hTFo="; + sha256 = "sha256-GQU3aenqn61Flb4i+zXXwVJFx1TMb5h8AScv/k6rs/A="; }; postPatch = '' - substituteInPlace setup.py \ - --replace 'dbus-python' "" + substituteInPlace pyproject.toml \ + --replace '"dbus-python"' "" ''; + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools-scm + ]; + + propagatedBuildInputs = [ + dbus-python + ]; + + checkInputs = [ + dbus + pygobject3 + bluez + (lib.getOutput "test" bluez) + networkmanager + nose + ]; + # TODO: Get the rest of these tests running? NOSE_EXCLUDE = lib.concatStringsSep "," [ "test_bluez4" # NixOS ships BlueZ5 @@ -52,18 +69,6 @@ buildPythonPackage rec { # "test_networkmanager" ]; - propagatedBuildInputs = [ - dbus-python - ]; - - checkInputs = [ - dbus - pygobject3 - bluez - (lib.getOutput "test" bluez) - networkmanager - nose - ]; checkPhase = '' runHook preCheck From 17b72e8fe19ff6d86b54525a1cab8b74b5eb7454 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Sat, 16 Jul 2022 18:10:42 -0700 Subject: [PATCH 577/701] python3Packages.azure-core: disable transport tests --- pkgs/development/python-modules/azure-core/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/azure-core/default.nix b/pkgs/development/python-modules/azure-core/default.nix index bae168e26dd4..81a5f3432919 100644 --- a/pkgs/development/python-modules/azure-core/default.nix +++ b/pkgs/development/python-modules/azure-core/default.nix @@ -83,6 +83,8 @@ buildPythonPackage rec { "tests/test_streaming.py" # testserver tests require being in a very specific working directory to make it work "tests/testserver_tests/" + # requires missing pytest plugin + "tests/async_tests/test_rest_asyncio_transport.py" ]; meta = with lib; { From c44660ac60a6c96e8b56080b8f9452b6726ea442 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 17 Jul 2022 04:05:30 +0200 Subject: [PATCH 578/701] python3Packages.geopy: fix geographiclib dependency --- .../python-modules/geopy/default.nix | 26 +++++++++++++++---- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/geopy/default.nix b/pkgs/development/python-modules/geopy/default.nix index 6b05bb722837..3ef58b9ec470 100644 --- a/pkgs/development/python-modules/geopy/default.nix +++ b/pkgs/development/python-modules/geopy/default.nix @@ -1,16 +1,18 @@ { lib , async_generator , buildPythonPackage +, docutils , fetchFromGitHub , geographiclib -, isPy3k , pytestCheckHook +, pythonOlder +, pytz }: buildPythonPackage rec { pname = "geopy"; version = "2.2.0"; - disabled = !isPy3k; # only Python 3 + disabled = pythonOlder "3.5"; src = fetchFromGitHub { owner = pname; @@ -19,15 +21,29 @@ buildPythonPackage rec { sha256 = "sha256-zFz0T/M/CABKkChuiKsFkWj2pphZuFeE5gz0HxZYaz8="; }; - propagatedBuildInputs = [ geographiclib ]; + postPatch = '' + substituteInPlace setup.py \ + --replace "geographiclib<2,>=1.49" "geographiclib" + ''; + + propagatedBuildInputs = [ + geographiclib + ]; checkInputs = [ async_generator + docutils pytestCheckHook + pytz ]; - # Exclude tests which perform API calls - pytestFlagsArray = [ "--ignore test/geocoders/" ]; + disabledTests = [ + # ignore --skip-tests-requiring-internet flag + "test_user_agent_default" + ]; + + pytestFlagsArray = [ "--skip-tests-requiring-internet" ]; + pythonImportsCheck = [ "geopy" ]; __darwinAllowLocalNetworking = true; From 32b6267a30ba154b1a6ac8a5c4b44a12dacd5131 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 15:35:21 +0200 Subject: [PATCH 579/701] ansible-doctor: relax python-json-logger constraint --- pkgs/development/python-modules/ansible-doctor/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/ansible-doctor/default.nix b/pkgs/development/python-modules/ansible-doctor/default.nix index bf5021556521..67dc34f19b84 100644 --- a/pkgs/development/python-modules/ansible-doctor/default.nix +++ b/pkgs/development/python-modules/ansible-doctor/default.nix @@ -57,7 +57,8 @@ buildPythonPackage rec { --replace 'anyconfig = "0.13.0"' 'anyconfig = "*"' \ --replace 'environs = "9.5.0"' 'environs = "*"' \ --replace 'jsonschema = "4.6.0"' 'jsonschema = "*"' \ - --replace '"ruamel.yaml" = "0.17.21"' '"ruamel.yaml" = "*"' + --replace '"ruamel.yaml" = "0.17.21"' '"ruamel.yaml" = "*"' \ + --replace 'python-json-logger = "2.0.2"' 'python-json-logger = "*"' ''; # Module has no tests From 79502f6b6c642c76356f3ee5e494693eaa3ba2ef Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 17 Jul 2022 16:23:00 +0200 Subject: [PATCH 580/701] python3Packages.openapi-spec-validator: fix build & tests --- .../openapi-spec-validator/default.nix | 66 ++++++++++++++++--- 1 file changed, 56 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/openapi-spec-validator/default.nix b/pkgs/development/python-modules/openapi-spec-validator/default.nix index 7ef70ab3d3ff..2edd46419654 100644 --- a/pkgs/development/python-modules/openapi-spec-validator/default.nix +++ b/pkgs/development/python-modules/openapi-spec-validator/default.nix @@ -1,8 +1,19 @@ -{ lib, buildPythonPackage, isPy27, fetchPypi -, jsonschema, openapi-schema-validator, pyyaml, six, pathlib -, mock, pytest, pytest-cov, pytest-flake8, tox, setuptools +{ lib +, buildPythonPackage +, fetchFromGitHub , poetry-core + +# propagates +, jsonschema +, openapi-schema-validator +, pyyaml + +# optional , requests + +# tests +, mock +, pytestCheckHook }: buildPythonPackage rec { @@ -10,17 +21,52 @@ buildPythonPackage rec { version = "0.4.0"; format = "pyproject"; - src = fetchPypi { - inherit pname version; - sha256 = "sha256-l/JYhQr8l7BI98JlOFXg+I+masEDwr5Qd8eWCsoq1Jo="; + # no tests via pypi sdist + src = fetchFromGitHub { + owner = "p1c2u"; + repo = pname; + rev = version; + hash = "sha256-mGgHlDZTUo72RNZ/448gkGdza4EntYU9YoBpSKDUCeA="; }; - nativeBuildInputs = [ poetry-core ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace 'openapi-schema-validator = "^0.2.0"' 'openapi-schema-validator = "*"' + ''; - propagatedBuildInputs = [ jsonschema openapi-schema-validator pyyaml six setuptools requests ] - ++ (lib.optionals (isPy27) [ pathlib ]); + nativeBuildInputs = [ + poetry-core + ]; - checkInputs = [ mock pytest pytest-cov pytest-flake8 tox ]; + propagatedBuildInputs = [ + jsonschema + openapi-schema-validator + pyyaml + ]; + + passthru.optional-dependencies.requests = [ + requests + ]; + + preCheck = '' + sed -i '/--cov/d' pyproject.toml + ''; + + checkInputs = [ + pytestCheckHook + ]; + + disabledTests = [ + # network access + "test_default_valid" + "test_urllib_valid" + "test_valid" + ]; + + pythonImportsCheck = [ + "openapi_spec_validator" + "openapi_spec_validator.readers" + ]; meta = with lib; { homepage = "https://github.com/p1c2u/openapi-spec-validator"; From b8c0d17f95970926a1a73b79faea8c2beb22990f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 17 Jul 2022 16:40:45 +0200 Subject: [PATCH 581/701] python310Packages.pylama: move tests to passthru --- .../python-modules/pylama/default.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/pylama/default.nix b/pkgs/development/python-modules/pylama/default.nix index 0289b2462136..be3854d1352e 100644 --- a/pkgs/development/python-modules/pylama/default.nix +++ b/pkgs/development/python-modules/pylama/default.nix @@ -15,7 +15,7 @@ , pytestCheckHook }: -buildPythonPackage rec { +let pylama = buildPythonPackage rec { pname = "pylama"; version = "8.3.8"; @@ -46,13 +46,11 @@ buildPythonPackage rec { vulture ]; + # escape infinite recursion pylint -> isort -> pylama + doCheck = false; + checkInputs = [ - # avoid infinite recursion pylint -> isort -> pylama - (pylint.override { - isort = isort.overridePythonAttrs (old: { - doCheck = false; - }); - }) + pylint pytestCheckHook ]; @@ -69,6 +67,10 @@ buildPythonPackage rec { "pylama.main" ]; + passthru.tests = { + check = pylama.overridePythonAttrs (_: { doCheck = true; }); + }; + meta = with lib; { description = "Code audit tool for python"; homepage = "https://github.com/klen/pylama"; @@ -76,4 +78,4 @@ buildPythonPackage rec { license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; }; -} +}; in pylama From 94c1f11caa747184bcc247d4dc8bb9791bcf8ca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 17 Jul 2022 18:55:46 +0200 Subject: [PATCH 582/701] platformio: 6.0.1 -> 6.0.2 --- pkgs/development/embedded/platformio/core.nix | 100 +++++++++--------- .../embedded/platformio/default.nix | 4 +- .../platformio/missing-udev-rules-nixos.patch | 2 +- 3 files changed, 51 insertions(+), 55 deletions(-) diff --git a/pkgs/development/embedded/platformio/core.nix b/pkgs/development/embedded/platformio/core.nix index 1b8a6bd896f9..9bb197c0bd40 100644 --- a/pkgs/development/embedded/platformio/core.nix +++ b/pkgs/development/embedded/platformio/core.nix @@ -6,25 +6,24 @@ , version, src }: -let - python = python3.override { - packageOverrides = self: super: { - starlette = super.starlette.overridePythonAttrs (oldAttrs: rec { - version = "0.20.0"; - src = fetchFromGitHub { - owner = "encode"; - repo = "starlette"; - rev = version; - sha256 = "sha256-bSgPjKqM262PSufz1LHwrdM+uU8xO55Mifv66HRN02Y="; - }; - }); - }; - }; -in -with python.pkgs; buildPythonApplication rec { +with python3.pkgs; buildPythonApplication rec { pname = "platformio"; inherit version src; + patches = [ + ./fix-searchpath.patch + ./use-local-spdx-license-list.patch + ./missing-udev-rules-nixos.patch + ]; + + postPatch = '' + substitute platformio/package/manifest/schema.py platformio/package/manifest/schema.py \ + --subst-var-by SPDX_LICENSE_LIST_DATA '${spdx-license-list-data.json}' + + substituteInPlace setup.py \ + --replace 'uvicorn==%s" % ("0.17.*"' 'uvicorn==%s" % ("0.18.*"' + ''; + propagatedBuildInputs = [ aiofiles ajsonrpc @@ -47,15 +46,43 @@ with python.pkgs; buildPythonApplication rec { zeroconf ]; - HOME = "/tmp"; + preCheck = '' + export HOME=$(mktemp -d) + export PATH=$PATH:$out/bin + ''; checkInputs = [ jsondiff pytestCheckHook - tox ]; - pytestFlagsArray = (map (e: "--deselect tests/${e}") [ + disabledTestPaths = [ + "tests/commands/pkg/test_install.py" + "tests/commands/pkg/test_list.py" + "tests/commands/pkg/test_outdated.py" + "tests/commands/pkg/test_search.py" + "tests/commands/pkg/test_show.py" + "tests/commands/pkg/test_uninstall.py" + "tests/commands/pkg/test_update.py" + "tests/commands/test_boards.py" + "tests/commands/test_check.py" + "tests/commands/test_platform.py" + "tests/commands/test_run.py" + "tests/commands/test_test.py" + "tests/misc/test_maintenance.py" + # requires internet connection + "tests/misc/ino2cpp/test_ino2cpp.py" + ]; + + disabledTests = [ + # requires internet connection + "test_api_cache" + "test_ping_internet_ips" + ]; + + pytestFlagsArray = [ + "tests" + ] ++ (map (e: "--deselect tests/${e}") [ "commands/pkg/test_exec.py::test_pkg_specified" "commands/pkg/test_exec.py::test_unrecognized_options" "commands/test_ci.py::test_ci_boards" @@ -112,44 +139,13 @@ with python.pkgs; buildPythonApplication rec { "test_misc.py::test_ping_internet_ips" "test_misc.py::test_platformio_cli" "test_pkgmanifest.py::test_packages" - ]) ++ (map (e: "--ignore=tests/${e}") [ - "commands/pkg/test_install.py" - "commands/pkg/test_list.py" - "commands/pkg/test_outdated.py" - "commands/pkg/test_search.py" - "commands/pkg/test_show.py" - "commands/pkg/test_uninstall.py" - "commands/pkg/test_update.py" - "commands/test_boards.py" - "commands/test_check.py" - "commands/test_platform.py" - "commands/test_run.py" - "commands/test_test.py" - "commands/test_update.py" - "test_ino2cpp.py" - "test_maintenance.py" - ]) ++ [ - "tests" - ]; - - patches = [ - ./fix-searchpath.patch - ./use-local-spdx-license-list.patch - ./missing-udev-rules-nixos.patch - ]; - - postPatch = '' - substitute platformio/package/manifest/schema.py platformio/package/manifest/schema.py \ - --subst-var-by SPDX_LICENSE_LIST_DATA '${spdx-license-list-data.json}' - - substituteInPlace setup.py \ - --replace 'uvicorn==%s" % ("0.17.*"' 'uvicorn==%s" % ("0.18.*"' - ''; + ]); meta = with lib; { description = "An open source ecosystem for IoT development"; homepage = "https://platformio.org"; license = licenses.asl20; maintainers = with maintainers; [ mog makefu ]; + broken = stdenv.isAarch64; }; } diff --git a/pkgs/development/embedded/platformio/default.nix b/pkgs/development/embedded/platformio/default.nix index 000c23898ff4..ad2d897af830 100644 --- a/pkgs/development/embedded/platformio/default.nix +++ b/pkgs/development/embedded/platformio/default.nix @@ -4,14 +4,14 @@ let callPackage = newScope self; - version = "6.0.1"; + version = "6.0.2"; # pypi tarballs don't contain tests - https://github.com/platformio/platformio-core/issues/1964 src = fetchFromGitHub { owner = "platformio"; repo = "platformio-core"; rev = "v${version}"; - sha256 = "sha256-noLdQctAaMNmfuxI3iybHFx3Q9aTr3gZaUZ+/uO+fnA="; + sha256 = "sha256-yfUF9+M45ZSjmB275kTs8+/Q8Q5FMmr63e3Om8dPi2k="; }; self = { diff --git a/pkgs/development/embedded/platformio/missing-udev-rules-nixos.patch b/pkgs/development/embedded/platformio/missing-udev-rules-nixos.patch index 36af82245c53..2a978496a19b 100644 --- a/pkgs/development/embedded/platformio/missing-udev-rules-nixos.patch +++ b/pkgs/development/embedded/platformio/missing-udev-rules-nixos.patch @@ -5,7 +5,7 @@ index ef1d3bab..445174fc 100644 @@ -57,6 +57,7 @@ class MissedUdevRules(InvalidUdevRules): MESSAGE = ( "Warning! Please install `99-platformio-udev.rules`. \nMore details: " - "https://docs.platformio.org/page/faq.html#platformio-udev-rules" + "https://docs.platformio.org/en/latest/core/installation/udev-rules.html" + "On NixOS add the platformio package to services.udev.packages" ) From c7dbac166640f3938736b96f0caaf9079c9875e4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 17 Jul 2022 17:49:58 +0200 Subject: [PATCH 583/701] python3Packages.sphinxHook: run post install This allows importing and inspecting the build result, which is required for the psycopg (3.x) package. --- pkgs/development/interpreters/python/hooks/sphinx-hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/python/hooks/sphinx-hook.sh b/pkgs/development/interpreters/python/hooks/sphinx-hook.sh index 0140958b2316..92cc9e52ed21 100644 --- a/pkgs/development/interpreters/python/hooks/sphinx-hook.sh +++ b/pkgs/development/interpreters/python/hooks/sphinx-hook.sh @@ -53,5 +53,5 @@ installSphinxPhase() { runHook postInstallSphinx } -preBuildPhases+=" buildSphinxPhase" +preDistPhases+=" buildSphinxPhase" postPhases+=" installSphinxPhase" From 52340cfdf609f78cf6eb54d4ecea4413b4932ac4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 17 Jul 2022 21:05:42 +0200 Subject: [PATCH 584/701] python3Packages.sphinx-autodoc-typehints: init at 1.18.3 Required for building the psycopg documentation. --- .../sphinx-autodoc-typehints/default.nix | 47 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 49 insertions(+) create mode 100644 pkgs/development/python-modules/sphinx-autodoc-typehints/default.nix diff --git a/pkgs/development/python-modules/sphinx-autodoc-typehints/default.nix b/pkgs/development/python-modules/sphinx-autodoc-typehints/default.nix new file mode 100644 index 000000000000..769636976385 --- /dev/null +++ b/pkgs/development/python-modules/sphinx-autodoc-typehints/default.nix @@ -0,0 +1,47 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder +, sphinx +, pytestCheckHook +}: + +let + pname = "sphinx-autodoc-typehints"; + version = "1.18.3"; +in + +buildPythonPackage { + inherit pname version; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchPypi { + pname = "sphinx_autodoc_typehints"; + inherit version; + hash = "sha256-wE2PjXDpiJYOJbIGrzmpDfhOfiwIW7JOEjvDaEAhsxM="; + }; + + propagatedBuildInputs = [ + sphinx + ]; + + checkInputs = [ + pytestCheckHook + ]; + + # requires spobjinv, nbtyping + doCheck = false; + + pythonImportsCheck = [ + "sphinx_autodoc_typehints" + ]; + + meta = with lib; { + description = "Type hints (PEP 484) support for the Sphinx autodoc extension"; + homepage = "https://github.com/tox-dev/sphinx-autodoc-typehints"; + license = licenses.mit; + maintainers = with maintainers; [ hexa ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 071c647e59a7..2f597b28afd5 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10084,6 +10084,8 @@ in { sphinx-autobuild = callPackage ../development/python-modules/sphinx-autobuild { }; + sphinx-autodoc-typehints = callPackage ../development/python-modules/sphinx-autodoc-typehints { }; + sphinx-basic-ng = callPackage ../development/python-modules/sphinx-basic-ng { }; sphinx-copybutton = callPackage ../development/python-modules/sphinx-copybutton { }; From 24603db6a769e76427cae6ee34fcbd6ee114d0e6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 17 Jul 2022 21:02:53 +0200 Subject: [PATCH 585/701] python3Packages.psycopg: init at 3.0.15 There are two more variants that should be packaged, one that uses Cython, and one that supports pooled connections. This package is the pure python version. Getting the docs to build required some work upstream, which is the reason for a bunch of the patching we currently carry. I expect this to go away over time, given that psycopg is very new-ish. --- .../python-modules/psycopg/default.nix | 155 ++++++++++++++++++ .../python-modules/psycopg/libpq.patch | 22 +++ pkgs/top-level/python-packages.nix | 2 + 3 files changed, 179 insertions(+) create mode 100644 pkgs/development/python-modules/psycopg/default.nix create mode 100644 pkgs/development/python-modules/psycopg/libpq.patch diff --git a/pkgs/development/python-modules/psycopg/default.nix b/pkgs/development/python-modules/psycopg/default.nix new file mode 100644 index 000000000000..4e140e5cceb3 --- /dev/null +++ b/pkgs/development/python-modules/psycopg/default.nix @@ -0,0 +1,155 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, fetchpatch +, fetchurl +, pythonOlder +, substituteAll + +# links (libpq) +, postgresql + +# propagates +, backports-zoneinfo +, typing-extensions + +# docs +, furo +, shapely +, sphinxHook +, sphinx-autodoc-typehints + +# tests +, pproxy +, pytest-asyncio +, pytest-randomly +, pytestCheckHook +}: + +let + pname = "psycopg"; + version = "3.0.15"; +in + +buildPythonPackage { + inherit pname version; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "psycopg"; + repo = pname; + rev = version; + hash = "sha256-1Wtp0wDuS6dxa1+u6DXu9fDLU7OtgsCUdbdcO5nhkxU="; + }; + + outputs = [ + "out" + "doc" + ]; + + sphinxRoot = "../docs"; + + # Introduce this file necessary for the docs build via environment var + LIBPQ_DOCS_FILE = fetchurl { + url = "https://raw.githubusercontent.com/postgres/postgres/REL_14_STABLE/doc/src/sgml/libpq.sgml"; + hash = "sha256-yn09fR9+7zQni8SvTG7BUmYRD7MK7u2arVAznWz2oAw="; + }; + + patches = [ + (substituteAll { + src = ./libpq.patch; + libpq = "${postgresql.lib}/lib/libpq.so"; + }) + + # Work around docs build issues + # https://github.com/psycopg/psycopg/issues/337 + (fetchpatch { + name = "sphinx-5.0-compat.patch"; + url = "https://github.com/psycopg/psycopg/commit/ebff3a8392f002100d1e71d3deb94f27fb8cc0cf.patch"; + hash = "sha256-QP9I6/xVJyWj5MQqWqxtmdBlesNUOwpYSMuzogJSnos="; + }) + (fetchpatch { + name = "libpq-sqml-env-var.patch"; + url = "https://github.com/psycopg/psycopg/commit/adf9cbdc1020abf87ae602fe0eb493c294459a93.patch"; + hash = "sha256-HJ2Cx7Vg7PSitDEOqCUF7ehNU8aI+iFT886dk2wHsAI="; + }) + (fetchpatch { + name = "avoid-dnspython-import-in-docs.patch"; + url = "https://github.com/psycopg/psycopg/commit/3058421503b3fcbcf06382d558aac7b9ca2eaaec.patch"; + hash = "sha256-D4vj5STafkQ34HWUyKZ3A9w9bY8holifPn3lsBjfVZA="; + }) + ]; + + # only move to sourceRoot after patching, makes patching easier + postPatch = '' + cd ${pname} + ''; + + nativeBuildInputs = [ + furo + shapely + sphinxHook + sphinx-autodoc-typehints + ]; + + propagatedBuildInputs = lib.optionals (pythonOlder "3.11") [ + typing-extensions + ] ++ lib.optionals (pythonOlder "3.9") [ + backports-zoneinfo + ]; + + pythonImportsCheck = [ + "psycopg" + ]; + + passthru.optional-dependencies = { + # TODO: package remaining variants + #c = [ psycopg-c ]; + #pool = [ psycopg-pool ]; + }; + + preCheck = '' + cd .. + ''; + + checkInputs = [ + pproxy + pytest-asyncio + pytest-randomly + pytestCheckHook + postgresql + ]; + + disabledTests = [ + # linters shouldn't be run in checks + "test_version" + ]; + + disabledTestPaths = [ + # TODO: requires the pooled variant + "tests/pool/" + # Network access + "tests/test_dns.py" + "tests/test_dns_srv.py" + # Mypy typing test + "tests/test_typing.py" + ]; + + pytestFlagsArray = [ + "-o cache_dir=$TMPDIR" + ]; + + postCheck = '' + cd ${pname} + ''; + + meta = with lib; { + changelog = "https://github.com/psycopg/psycopg/blob/master/docs/news.rst"; + description = "PostgreSQL database adapter for Python"; + homepage = "https://github.com/psycopg/psycopg"; + license = licenses.lgpl3Plus; + maintainers = with maintainers; [ hexa ]; + }; +} diff --git a/pkgs/development/python-modules/psycopg/libpq.patch b/pkgs/development/python-modules/psycopg/libpq.patch new file mode 100644 index 000000000000..51271c3021aa --- /dev/null +++ b/pkgs/development/python-modules/psycopg/libpq.patch @@ -0,0 +1,22 @@ +diff --git a/psycopg/psycopg/pq/_pq_ctypes.py b/psycopg/psycopg/pq/_pq_ctypes.py +index bf04d560..9e79fc3f 100644 +--- a/psycopg/psycopg/pq/_pq_ctypes.py ++++ b/psycopg/psycopg/pq/_pq_ctypes.py +@@ -13,16 +13,7 @@ from typing import List, Optional, Tuple + + from ..errors import NotSupportedError + +-if sys.platform == "win32": +- libname = ctypes.util.find_library("libpq.dll") +-elif sys.platform == "darwin": +- libname = ctypes.util.find_library("libpq.dylib") +-else: +- libname = ctypes.util.find_library("pq") +-if not libname: +- raise ImportError("libpq library not found") +- +-pq = ctypes.cdll.LoadLibrary(libname) ++pq = ctypes.cdll.LoadLibrary("@libpq@") + + # Get the libpq version to define what functions are available. + diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2f597b28afd5..0375c207a8f2 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6989,6 +6989,8 @@ in { inherit (pkgs.darwin.apple_sdk.frameworks) IOKit; }; + psycopg = callPackage ../development/python-modules/psycopg { }; + psycopg2 = callPackage ../development/python-modules/psycopg2 { }; psycopg2cffi = callPackage ../development/python-modules/psycopg2cffi { }; From 9bd9522a093e7b67b6fe75e57ba2f22fb3d828b2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 17 Jul 2022 21:04:46 +0200 Subject: [PATCH 586/701] python3Packages.pgspecial: psycopg2 out, psycopg in --- pkgs/development/python-modules/pgspecial/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pgspecial/default.nix b/pkgs/development/python-modules/pgspecial/default.nix index 7e629cc4978e..b2f28a189e12 100644 --- a/pkgs/development/python-modules/pgspecial/default.nix +++ b/pkgs/development/python-modules/pgspecial/default.nix @@ -2,7 +2,7 @@ , buildPythonPackage , fetchPypi , pytestCheckHook -, psycopg2 +, psycopg , click , configobj , sqlparse @@ -20,7 +20,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ click sqlparse - psycopg2 + psycopg ]; checkInputs = [ @@ -35,7 +35,8 @@ buildPythonPackage rec { meta = with lib; { description = "Meta-commands handler for Postgres Database"; - homepage = "https://pypi.python.org/pypi/pgspecial"; + homepage = "https://github.com/dbcli/pgspecial"; license = licenses.bsd3; + maintainers = with maintainers; [ ]; }; } From 9fa8d3463b7bcfb6277c14daf64728315e8d4e78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 17 Jul 2022 22:23:51 +0200 Subject: [PATCH 587/701] python310Packages.nbxmpp: fix pythonImportsCheck failing --- pkgs/development/python-modules/nbxmpp/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/nbxmpp/default.nix b/pkgs/development/python-modules/nbxmpp/default.nix index 68eebbada8aa..1c4cc473bf47 100644 --- a/pkgs/development/python-modules/nbxmpp/default.nix +++ b/pkgs/development/python-modules/nbxmpp/default.nix @@ -25,6 +25,11 @@ buildPythonPackage rec { sha256 = "sha256-QnvV/sAxdl8V5nV1hk8sRrL6nn015dAy6cXAiy2Tmbs="; }; + nativeBuildInputs = [ + # required for pythonImportsCheck otherwise libsoup cannot be found + gobject-introspection + ]; + buildInputs = [ precis-i18n ]; From af94835a3e5346e494945866a497648f5968341f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 17 Jul 2022 22:24:11 +0200 Subject: [PATCH 588/701] python310Packages.gtimelog: remove redundant meta.platforms --- pkgs/development/python-modules/gtimelog/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/gtimelog/default.nix b/pkgs/development/python-modules/gtimelog/default.nix index 15a1ddbf0614..5870f448db98 100644 --- a/pkgs/development/python-modules/gtimelog/default.nix +++ b/pkgs/development/python-modules/gtimelog/default.nix @@ -55,6 +55,5 @@ buildPythonPackage rec { homepage = "https://gtimelog.org/"; license = licenses.gpl2Plus; maintainers = with maintainers; [ oxzi ]; - platforms = platforms.unix; }; } From 3669ae6382b9eadf803921ce3a1c1529bb895251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 17 Jul 2022 22:24:30 +0200 Subject: [PATCH 589/701] python310Packages.pydbus: add pythonImportsCheck --- pkgs/development/python-modules/pydbus/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/pydbus/default.nix b/pkgs/development/python-modules/pydbus/default.nix index aa3a41e2f8c5..f9a3e7f5ccb6 100644 --- a/pkgs/development/python-modules/pydbus/default.nix +++ b/pkgs/development/python-modules/pydbus/default.nix @@ -11,6 +11,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ pygobject3 ]; + pythonImportsCheck = [ "pydbus" ]; + meta = { homepage = "https://github.com/LEW21/pydbus"; description = "Pythonic DBus library"; From 3eb9ff9e967a25d85148c8220ce4ad1b2e53a459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 17 Jul 2022 23:24:05 +0200 Subject: [PATCH 590/701] python310Packages.python-dbusmock: 0.28.2 -> 0.28.3 --- pkgs/development/python-modules/python-dbusmock/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/python-dbusmock/default.nix b/pkgs/development/python-modules/python-dbusmock/default.nix index 7be5389b21ac..1be846aa2ae8 100644 --- a/pkgs/development/python-modules/python-dbusmock/default.nix +++ b/pkgs/development/python-modules/python-dbusmock/default.nix @@ -1,7 +1,6 @@ { lib , buildPythonPackage , fetchFromGitHub -, runtimeShell , nose , dbus , dbus-python @@ -13,13 +12,13 @@ buildPythonPackage rec { pname = "python-dbusmock"; - version = "0.28.2"; + version = "0.28.3"; src = fetchFromGitHub { owner = "martinpitt"; repo = pname; rev = "refs/tags/${version}"; - sha256 = "sha256-GQU3aenqn61Flb4i+zXXwVJFx1TMb5h8AScv/k6rs/A="; + sha256 = "sha256-LV94F2f0Ir2Ayzk2YLL76TqeUuC0f7e+bH3vC/xKgfU="; }; postPatch = '' From 51ad8c7a325211c957f11a036f0450cd871fbed1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 17 Jul 2022 23:57:12 +0200 Subject: [PATCH 591/701] python310Packages.pylint: 2.14.4 -> 2.14.5 --- pkgs/development/python-modules/pylint/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pylint/default.nix b/pkgs/development/python-modules/pylint/default.nix index 4cd15deab5c7..3bc20493dd64 100644 --- a/pkgs/development/python-modules/pylint/default.nix +++ b/pkgs/development/python-modules/pylint/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "pylint"; - version = "2.14.4"; + version = "2.14.5"; format = "setuptools"; disabled = pythonOlder "3.7.2"; @@ -29,7 +29,7 @@ buildPythonPackage rec { owner = "PyCQA"; repo = pname; rev = "v${version}"; - sha256 = "sha256-NrfEIcPo2QJ78faQyfsQply8Zil1VZwV54GtV1aXbhc="; + sha256 = "sha256-JTFGplqIA6WavwzKOkrm1rHBKNRrplBPvAdEkb/fTlI="; }; nativeBuildInputs = [ From 733755703ec18bab040991868ccb164bdfc0f242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 18 Jul 2022 00:14:58 +0200 Subject: [PATCH 592/701] python310Packages.blinker: 1.4 -> 1.5 --- .../python-modules/blinker/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/blinker/default.nix b/pkgs/development/python-modules/blinker/default.nix index 53aaacbdf820..ceb6413da31c 100644 --- a/pkgs/development/python-modules/blinker/default.nix +++ b/pkgs/development/python-modules/blinker/default.nix @@ -1,19 +1,19 @@ -{ lib, buildPythonPackage, fetchPypi, nose }: +{ lib +, buildPythonPackage +, fetchPypi +, pytestCheckHook +}: buildPythonPackage rec { pname = "blinker"; - version = "1.4"; + version = "1.5"; src = fetchPypi { inherit pname version; - sha256 = "1dpq0vb01p36jjwbhhd08ylvrnyvcc82yxx3mwjx6awrycjyw6j7"; + sha256 = "sha256-kj5eL2nBVfLMQtr7vXDhbj/eJNLUqiq3L744YjiJJGI="; }; - checkInputs = [ nose ]; - - checkPhase = '' - nosetests - ''; + checkInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "blinker" ]; From bd8ddf79655042689bf0c2ffd600767ca4351d7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 18 Jul 2022 00:15:16 +0200 Subject: [PATCH 593/701] python310Packages.limits: 2.6.3 -> 2.7.0 --- pkgs/development/python-modules/limits/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/limits/default.nix b/pkgs/development/python-modules/limits/default.nix index c28986085830..5064f39b991d 100644 --- a/pkgs/development/python-modules/limits/default.nix +++ b/pkgs/development/python-modules/limits/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "limits"; - version = "2.6.3"; + version = "2.7.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -32,7 +32,7 @@ buildPythonPackage rec { postFetch = '' rm "$out/limits/_version.py" ''; - hash = "sha256-YAuq8QycQ55emU2S0rQHxdHCD+jSRmzUKeYFdrV9NzM="; + hash = "sha256-TBZElCogPtoR2qX1YjBgpYh99LhrvLHFtr2ogemo9/c="; }; propagatedBuildInputs = [ From 20b858a524782287fa02a2f5fba877a24d854c73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 18 Jul 2022 01:54:24 +0200 Subject: [PATCH 594/701] python310Packages.dj-rest-auth: 2.2.4 -> 2.2.5 --- pkgs/development/python-modules/dj-rest-auth/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dj-rest-auth/default.nix b/pkgs/development/python-modules/dj-rest-auth/default.nix index d0fe922dc181..be31d9cd4796 100644 --- a/pkgs/development/python-modules/dj-rest-auth/default.nix +++ b/pkgs/development/python-modules/dj-rest-auth/default.nix @@ -10,13 +10,13 @@ buildPythonPackage rec { pname = "dj-rest-auth"; - version = "2.2.4"; + version = "2.2.5"; src = fetchFromGitHub { owner = "iMerica"; repo = "dj-rest-auth"; rev = version; - sha256 = "sha256-vzcrGRaim1plksmkf8AC6sTl5P+106UG391Cy2yKQhQ="; + sha256 = "sha256-1oxkl7MJ2wIhcHlgxnCtj9Cp8o1puzNWs+vlMyi+3RM="; }; postPatch = '' From 4d6b508a2bd1cba0fba8890d3b23e8c3461ce4a1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 18 Jul 2022 13:53:48 +0200 Subject: [PATCH 595/701] python3Packages.async-upnp-client: disable network tests --- .../development/python-modules/async-upnp-client/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/async-upnp-client/default.nix b/pkgs/development/python-modules/async-upnp-client/default.nix index 7e6d0bc3fb75..ce8572566e3e 100644 --- a/pkgs/development/python-modules/async-upnp-client/default.nix +++ b/pkgs/development/python-modules/async-upnp-client/default.nix @@ -61,6 +61,11 @@ buildPythonPackage rec { "test_deferred_callback_url" ]; + disabledTestPaths = [ + # Tries to bind to multicast socket and fails to find proper interface + "tests/test_ssdp_listener.py" + ]; + pythonImportsCheck = [ "async_upnp_client" ]; From daafb81e32250e9065b4bb536b296cddaef9037d Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 18 Jul 2022 09:58:23 -0700 Subject: [PATCH 596/701] python3Packages.numba: bump supported numpy version --- pkgs/development/python-modules/numba/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/numba/default.nix b/pkgs/development/python-modules/numba/default.nix index a9c152f412f8..9953ddec3690 100644 --- a/pkgs/development/python-modules/numba/default.nix +++ b/pkgs/development/python-modules/numba/default.nix @@ -34,10 +34,10 @@ in buildPythonPackage rec { postPatch = '' # numpy substituteInPlace setup.py \ - --replace "1.22" "2" + --replace "1.23" "2" substituteInPlace numba/__init__.py \ - --replace "(1, 21)" "(2, 0)" + --replace "(1, 22)" "(2, 0)" ''; NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1"; From bee2c7a69bcf865581b625765cc3479169acfff2 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 18 Jul 2022 10:29:07 -0700 Subject: [PATCH 597/701] aws-sam-cli: fix deps --- pkgs/development/tools/aws-sam-cli/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/aws-sam-cli/default.nix b/pkgs/development/tools/aws-sam-cli/default.nix index 52bd88619c99..3c9c81a625c9 100644 --- a/pkgs/development/tools/aws-sam-cli/default.nix +++ b/pkgs/development/tools/aws-sam-cli/default.nix @@ -5,11 +5,11 @@ python3.pkgs.buildPythonApplication rec { pname = "aws-sam-cli"; - version = "1.52.0"; + version = "1.53.0"; src = python3.pkgs.fetchPypi { inherit pname version; - hash = "sha256-ldr0X+I5+Nfb+WBDOe0m202WOuccGUI5HFL3fpbBNPo="; + hash = "sha256-kIW+aGYuS+JgOMsPbeLgPSgLFNKLSqHaZ1CHpjs/IVI="; }; propagatedBuildInputs = with python3.pkgs; [ @@ -47,11 +47,12 @@ python3.pkgs.buildPythonApplication rec { postPatch = '' substituteInPlace requirements/base.txt \ --replace "aws_lambda_builders==" "aws-lambda-builders #" \ + --replace "aws-sam-translator==1.46.0" "aws-sam-translator~=1.46" \ --replace "click~=7.1" "click~=8.1" \ --replace "cookiecutter~=1.7.2" "cookiecutter>=1.7.2" \ --replace "dateparser~=1.0" "dateparser>=0.7" \ --replace "docker~=4.2.0" "docker>=4.2.0" \ - --replace "Flask~=1.1.2" "Flask~=2.0" \ + --replace "Flask~=1.1.4" "Flask~=2.0" \ --replace "jmespath~=0.10.0" "jmespath" \ --replace "MarkupSafe==2.0.1" "MarkupSafe #" \ --replace "PyYAML~=5.3" "PyYAML #" \ From 3be8aceb7e782b34c150d96e3caf30d3c72bc7f0 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 18 Jul 2022 10:29:28 -0700 Subject: [PATCH 598/701] awscli2: fix build --- pkgs/tools/admin/awscli2/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/admin/awscli2/default.nix b/pkgs/tools/admin/awscli2/default.nix index 1d4e7a5f2fc2..9a4ffe3d28e4 100644 --- a/pkgs/tools/admin/awscli2/default.nix +++ b/pkgs/tools/admin/awscli2/default.nix @@ -22,6 +22,8 @@ let inherit version; sha256 = "sha256-uF0FZ7hmYUmpMXJxLmiSBzQzPAzn6Jt4s+mH9x5e1Pk="; }; + # pypi missing test suite + doCheck = false; }); }; }; @@ -71,6 +73,7 @@ with py.pkgs; buildPythonApplication rec { --replace "docutils>=0.10,<0.16" "docutils" \ --replace "ruamel.yaml>=0.15.0,<0.16.0" "ruamel.yaml" \ --replace "wcwidth<0.2.0" "wcwidth" \ + --replace "prompt-toolkit>=3.0.24,<3.0.29" "prompt-toolkit~=3.0" \ --replace "distro>=1.5.0,<1.6.0" "distro" ''; From 5a596b90959ecfc9e2e17608ea4800ef22e7996a Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 18 Jul 2022 10:45:35 -0700 Subject: [PATCH 599/701] calibre-web: fix deps --- pkgs/servers/calibre-web/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/calibre-web/default.nix b/pkgs/servers/calibre-web/default.nix index 9e7a9cae1730..1505f6894a65 100644 --- a/pkgs/servers/calibre-web/default.nix +++ b/pkgs/servers/calibre-web/default.nix @@ -55,10 +55,12 @@ python3.pkgs.buildPythonApplication rec { substituteInPlace setup.cfg \ --replace "cps = calibreweb:main" "calibre-web = calibreweb:main" \ + --replace "chardet>=3.0.0,<4.1.0" "chardet>=3.0.0,<6" \ --replace "Flask>=1.0.2,<2.1.0" "Flask>=1.0.2" \ --replace "Flask-Login>=0.3.2,<0.5.1" "Flask-Login>=0.3.2" \ --replace "flask-wtf>=0.14.2,<1.1.0" "flask-wtf>=0.14.2" \ --replace "lxml>=3.8.0,<4.9.0" "lxml>=3.8.0" \ + --replace "tornado>=4.1,<6.2" "tornado>=4.1,<7" \ --replace "PyPDF3>=1.0.0,<1.0.7" "PyPDF3>=1.0.0" \ --replace "requests>=2.11.1,<2.28.0" "requests" \ --replace "unidecode>=0.04.19,<1.4.0" "unidecode>=0.04.19" \ From ceae9248ea6d562b4f106ead7907d2fbb109235d Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 18 Jul 2022 11:15:58 -0700 Subject: [PATCH 600/701] python3Packages.mdx-truly-sane-lists: fix build with markdown>=3.4 --- .../mdx-truly-sane-lists/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkgs/development/python-modules/mdx-truly-sane-lists/default.nix b/pkgs/development/python-modules/mdx-truly-sane-lists/default.nix index 9ea39e27a16e..5d100c3d24f5 100644 --- a/pkgs/development/python-modules/mdx-truly-sane-lists/default.nix +++ b/pkgs/development/python-modules/mdx-truly-sane-lists/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub +, fetchpatch , markdown , python }: @@ -16,10 +17,23 @@ buildPythonPackage rec { sha256 = "1h8403ch016cwdy5zklzp7c6xrdyyhl4z07h97qzbafrbq07jyss"; }; + patches = [ + # fix with markdown>=3.4 + # Upstream PR: https://github.com/radude/mdx_truly_sane_lists/pull/12/ + (fetchpatch { + url = "https://github.com/radude/mdx_truly_sane_lists/commit/197fa16bc8d3481b8ea29d54b9cc89716f5d43a2.patch"; + sha256 = "sha256-cYCb+EI4RpebNN02bCy1SSH9Tz4BsnFgUCOeQNC03Oo="; + }) + ]; + propagatedBuildInputs = [ markdown ]; pythonImportsCheck = [ "mdx_truly_sane_lists" ]; + # Hard ImportError from the package trying to view version of markdown, + # which was removed. + # Upstream issue: https://github.com/radude/mdx_truly_sane_lists/issues/11 + doCheck = false; checkPhase = '' ${python.interpreter} mdx_truly_sane_lists/tests.py ''; From 6f0c856b91e0081c060779dd36a36635493efe31 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 19 Jul 2022 01:05:12 +0200 Subject: [PATCH 601/701] python3Packages.respx: run tests in legacy asyncio-mode Since pytest-asyncio==0.19.0 the strict mode has become the default. The respx module has not been upgraded with that in mind, so let's rollback that change to fix the tests. --- pkgs/development/python-modules/respx/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/respx/default.nix b/pkgs/development/python-modules/respx/default.nix index 241f0f9e9da4..c144ed9adb28 100644 --- a/pkgs/development/python-modules/respx/default.nix +++ b/pkgs/development/python-modules/respx/default.nix @@ -35,6 +35,10 @@ buildPythonPackage rec { trio ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + postPatch = '' sed -i "/--cov/d" setup.cfg ''; From 7185f00d5cc0c8fb0b739c687285126d519eeb7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 19 Jul 2022 17:29:22 +0200 Subject: [PATCH 602/701] python310Packages.pyqt: fix build by confirming the license --- pkgs/development/python-modules/pyqt/5.x.nix | 14 ++++++++------ .../pyqt/pyqt5-confirm-license.patch | 13 +++++++++++++ 2 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 pkgs/development/python-modules/pyqt/pyqt5-confirm-license.patch diff --git a/pkgs/development/python-modules/pyqt/5.x.nix b/pkgs/development/python-modules/pyqt/5.x.nix index c604e61a2c37..23f68e1371c2 100644 --- a/pkgs/development/python-modules/pyqt/5.x.nix +++ b/pkgs/development/python-modules/pyqt/5.x.nix @@ -29,6 +29,14 @@ buildPythonPackage rec { sha256 = "1gp5jz71nmg58zsm1h4vzhcphf36rbz37qgsfnzal76i1mz5js9a"; }; + patches = [ + # Fix some wrong assumptions by ./project.py + # TODO: figure out how to send this upstream + ./pyqt5-fix-dbus-mainloop-support.patch + # confirm license when installing via pyqt5_sip + ./pyqt5-confirm-license.patch + ]; + outputs = [ "out" "dev" ]; dontWrapQtApps = true; @@ -68,12 +76,6 @@ buildPythonPackage rec { pyqt5_sip ]; - patches = [ - # Fix some wrong assumptions by ./project.py - # TODO: figure out how to send this upstream - ./pyqt5-fix-dbus-mainloop-support.patch - ]; - passthru = { inherit sip pyqt5_sip; multimediaEnabled = withMultimedia; diff --git a/pkgs/development/python-modules/pyqt/pyqt5-confirm-license.patch b/pkgs/development/python-modules/pyqt/pyqt5-confirm-license.patch new file mode 100644 index 000000000000..9587e5ced28d --- /dev/null +++ b/pkgs/development/python-modules/pyqt/pyqt5-confirm-license.patch @@ -0,0 +1,13 @@ +diff --git a/projectepy b/project.py +--- a/project.py ++++ b/project.py +@@ -163,8 +163,7 @@ + + # Automatically confirm the license if there might not be a command + # line option to do so. +- if tool == 'pep517': +- self.confirm_license = True ++ self.confirm_license = True + + self._check_license() + From 29e16e4b51eb9be02bb1e59c065f2712a50d60cb Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 19 Jul 2022 18:05:08 +0200 Subject: [PATCH 603/701] home-assistant: relax ifaddr constraint --- pkgs/servers/home-assistant/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index b4ecc4bc37a3..fb76874eb5d0 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -214,6 +214,7 @@ in python.pkgs.buildPythonApplication rec { "bcrypt" "cryptography" "httpx" + "ifaddr" "orjson" "PyJWT" "requests" From 4e3d3a3e426739afab6c5599636a9b6767d66303 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Tue, 19 Jul 2022 22:47:30 +0100 Subject: [PATCH 604/701] thrift: add patch fixing tests with setuptools >= 62.1.0 --- pkgs/development/libraries/thrift/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/thrift/default.nix b/pkgs/development/libraries/thrift/default.nix index cd127b4b0e71..a4ae0a99f92d 100644 --- a/pkgs/development/libraries/thrift/default.nix +++ b/pkgs/development/libraries/thrift/default.nix @@ -66,6 +66,11 @@ stdenv.mkDerivation rec { url = "https://github.com/apache/thrift/commit/54765854873e19b8ba50a0ec8080dd92d8323851.diff"; sha256 = "wnG2MjY0DtAhVcEdcxu77tDa4T9Xm2pMYZU2wXLx2OA="; }) + (fetchpatch { + name = "setuptools-gte-62.1.0.patch"; + url = "https://github.com/apache/thrift/pull/2635/commits/c41ad9d5119e9bdae1746167e77e224f390f2c42.patch"; + hash = "sha256-FkErrg/6vXTomS4AsCsld7t+Iccc55ZiDaNjJ3W1km0="; + }) ]; cmakeFlags = [ From e30aabe996bc59e168ea51d9e6d97c13ec05cbe4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 20 Jul 2022 01:28:23 +0200 Subject: [PATCH 605/701] python3Packages.enrich: disable failing test --- pkgs/development/python-modules/enrich/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/enrich/default.nix b/pkgs/development/python-modules/enrich/default.nix index fbd22a42b555..d4b08af212d3 100644 --- a/pkgs/development/python-modules/enrich/default.nix +++ b/pkgs/development/python-modules/enrich/default.nix @@ -15,6 +15,11 @@ buildPythonPackage rec { checkInputs = [ pytestCheckHook pytest-mock ]; + disabledTests = [ + # console output order is racy + "test_rich_console_ex" + ]; + pythonImportsCheck = [ "enrich" ]; meta = with lib; { From 4a29c24ae5932c5cca118d6f43abe3a1d178dadd Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 20 Jul 2022 01:49:48 +0200 Subject: [PATCH 606/701] python3Packages.celery: patch billiard>=4.0 compat --- pkgs/development/python-modules/celery/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkgs/development/python-modules/celery/default.nix b/pkgs/development/python-modules/celery/default.nix index 1a04fce11dc3..67c3c58794d5 100644 --- a/pkgs/development/python-modules/celery/default.nix +++ b/pkgs/development/python-modules/celery/default.nix @@ -10,6 +10,7 @@ , click-repl , dnspython , fetchPypi +, fetchpatch , kombu , moto , pymongo @@ -35,6 +36,19 @@ buildPythonPackage rec { hash = "sha256-+vvYKTTTD4oAT4Ho96Bi4xQToj1ES+juMyZVORWVjG0="; }; + patches = [ + (fetchpatch { + name = "billiard-4.0-comat.patch"; + url = "https://github.com/celery/celery/commit/b260860988469ef8ad74f2d4225839c2fa91d590.patch"; + hash = "sha256-NWB/UB0fE7A/vgMRYz6QGmqLmyN1ninAMyL4V2tpzto="; + }) + ]; + + postPatch = '' + substituteInPlace requirements/default.txt \ + --replace "billiard>=3.6.4.0,<4.0" "billiard>=3.6.4.0" + ''; + propagatedBuildInputs = [ billiard click From c81da7903357748e186eb803f23538fd5f36ed1a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 20 Jul 2022 02:06:16 +0200 Subject: [PATCH 607/701] python3Packages.siosocks: disable network tests --- pkgs/development/python-modules/siosocks/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/siosocks/default.nix b/pkgs/development/python-modules/siosocks/default.nix index 4292c167782a..d588c2dff625 100644 --- a/pkgs/development/python-modules/siosocks/default.nix +++ b/pkgs/development/python-modules/siosocks/default.nix @@ -30,6 +30,13 @@ buildPythonPackage rec { pytest-trio ]; + disabledTests = [ + # network access + "test_connection_direct_success" + "test_connection_socks_success" + "test_connection_socks_failed" + ]; + disabledTestPaths = [ # Timeout on Hydra "tests/test_trio.py" From 877f0571164329b4ce0d4381911108d98a559e9e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 20 Jul 2022 02:11:00 +0200 Subject: [PATCH 608/701] python3Packages.structlog: reset asyncio test mode to legacy --- .../python-modules/structlog/default.nix | 23 ++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/structlog/default.nix b/pkgs/development/python-modules/structlog/default.nix index 2bc61dac161e..4b8bb15df0e5 100644 --- a/pkgs/development/python-modules/structlog/default.nix +++ b/pkgs/development/python-modules/structlog/default.nix @@ -1,12 +1,13 @@ { lib , buildPythonPackage , fetchFromGitHub +, pythonOlder , pytestCheckHook , pytest-asyncio , pretend , freezegun , simplejson -, six +, typing-extensions , pythonAtLeast }: @@ -22,9 +23,25 @@ buildPythonPackage rec { sha256 = "0bc5lj0732j0hjq89llgrncyzs6k3aaffvg07kr3la44w0hlrb4l"; }; - propagatedBuildInputs = [ six ]; + propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ + typing-extensions + ]; - checkInputs = [ pytestCheckHook pytest-asyncio pretend freezegun simplejson ]; + pythonImportsCheck = [ + "structlog" + ]; + + checkInputs = [ + freezegun + pretend + pytest-asyncio + pytestCheckHook + simplejson + ]; + + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; meta = with lib; { description = "Painless structural logging"; From 7f641b5101b7b20c772e2368faa5dbee8b73d191 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 20 Jul 2022 02:55:19 +0200 Subject: [PATCH 609/701] python3Packages.markdown-include: 0.6.0 -> 0.7.0 --- .../python-modules/markdown-include/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/markdown-include/default.nix b/pkgs/development/python-modules/markdown-include/default.nix index 389c94fb2381..091809d8314b 100644 --- a/pkgs/development/python-modules/markdown-include/default.nix +++ b/pkgs/development/python-modules/markdown-include/default.nix @@ -1,17 +1,20 @@ { lib , buildPythonPackage -, fetchPypi +, fetchFromGitHub , markdown }: buildPythonPackage rec { pname = "markdown-include"; - version = "0.6.0"; + version = "0.7.0"; format = "setuptools"; - src = fetchPypi { - inherit pname version; - sha256 = "18p4qfhazvskcg6xsdv1np8m1gc1llyabp311xzhqy7p6q76hpbg"; + # only wheel on pypi + src = fetchFromGitHub { + owner = "cmacmackin"; + repo = pname; + rev = "v${version}"; + hash = "sha256-2pC0K/Z5l7q6sx4FSM4Pi1/5bt1wLZsqOmcbnE47rVs="; }; propagatedBuildInputs = [ From 9f496b05dc3923f62380094475b49b9a1119e7ca Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 20 Jul 2022 13:44:36 +0200 Subject: [PATCH 610/701] python3Packages.ansible-later: fix build --- .../python-modules/ansible-later/default.nix | 25 ++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/ansible-later/default.nix b/pkgs/development/python-modules/ansible-later/default.nix index 757289391ae9..9e0af254b3f9 100644 --- a/pkgs/development/python-modules/ansible-later/default.nix +++ b/pkgs/development/python-modules/ansible-later/default.nix @@ -1,4 +1,6 @@ { lib +, ansible +, ansible-core , anyconfig , appdirs , buildPythonPackage @@ -33,11 +35,25 @@ buildPythonPackage rec { hash = "sha256-AlLy8rqqNrJtoI01OHq8W1Oi8iN8RiBdtq2sZ7zlTyM="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace 'version = "0.0.0"' 'version = "${version}"' \ + --replace " --cov=ansiblelater --cov-report=xml:coverage.xml --cov-report=term --cov-append --no-cov-on-fail" "" \ + --replace 'PyYAML = "6.0"' 'PyYAML = "*"' \ + --replace 'unidiff = "0.7.3"' 'unidiff = "*"' \ + --replace 'jsonschema = "' 'jsonschema = "^' \ + --replace 'python-json-logger = "' 'python-json-logger = "^' \ + --replace 'toolz = "0.11.2' 'toolz = "*' \ + --replace 'yamllint = "' 'yamllint = "^' + ''; + nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ + ansible + ansible-core anyconfig appdirs colorama @@ -57,15 +73,6 @@ buildPythonPackage rec { pytestCheckHook ]; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'version = "0.0.0"' 'version = "${version}"' \ - --replace " --cov=ansiblelater --cov-report=xml:coverage.xml --cov-report=term --cov-append --no-cov-on-fail" "" \ - --replace 'PyYAML = "6.0"' 'PyYAML = "*"' \ - --replace 'unidiff = "0.7.3"' 'unidiff = "*"' \ - --replace 'jsonschema = "' 'jsonschema = "^' - ''; - postInstall = '' rm $out/lib/python*/site-packages/LICENSE ''; From 12f5ad8c11cf4b0c3b1aea17b8cbb6f8e39368a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 20 Jul 2022 14:31:25 +0200 Subject: [PATCH 611/701] backblaze-b2: fix tests, little cleanup --- pkgs/development/tools/backblaze-b2/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/backblaze-b2/default.nix b/pkgs/development/tools/backblaze-b2/default.nix index b46ad5efc881..6df8edd02c96 100644 --- a/pkgs/development/tools/backblaze-b2/default.nix +++ b/pkgs/development/tools/backblaze-b2/default.nix @@ -17,6 +17,10 @@ python3Packages.buildPythonApplication rec { --replace 'setuptools_scm<6.0' 'setuptools_scm' ''; + nativeBuildInputs = with python3Packages; [ + setuptools-scm + ]; + propagatedBuildInputs = with python3Packages; [ b2sdk phx-class-registry @@ -25,16 +29,14 @@ python3Packages.buildPythonApplication rec { rst2ansi ]; - nativeBuildInputs = with python3Packages; [ - setuptools-scm - ]; - checkInputs = with python3Packages; [ pytestCheckHook ]; disabledTests = [ + # require network "test_files_headers" + "test_copy_file_by_id" "test_integration" "test_get_account_info" ]; @@ -53,6 +55,5 @@ python3Packages.buildPythonApplication rec { homepage = "https://github.com/Backblaze/B2_Command_Line_Tool"; license = licenses.mit; maintainers = with maintainers; [ hrdinka kevincox ]; - platforms = platforms.unix; }; } From 4f705210ad9c93992077afec051d45ee0d2317da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 20 Jul 2022 14:36:14 +0200 Subject: [PATCH 612/701] python310Packages.safeio: init at 1.2 --- .../python-modules/safeio/default.nix | 24 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/python-modules/safeio/default.nix diff --git a/pkgs/development/python-modules/safeio/default.nix b/pkgs/development/python-modules/safeio/default.nix new file mode 100644 index 000000000000..313c32156c4c --- /dev/null +++ b/pkgs/development/python-modules/safeio/default.nix @@ -0,0 +1,24 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "safeio"; + version = "1.2"; + + src = fetchPypi { + pname = "safeIO"; + inherit version; + sha256 = "d480a6dab01a390ebc24c12d6b774ad00cef3db5348ad07d8bd11d272a808cd3"; + }; + + pythonImportsCheck = [ "safeIO" ]; + + meta = with lib; { + description = "Safely make I/O operations to files in Python even from multiple threads"; + homepage = "https://github.com/Animenosekai/safeIO"; + license = licenses.mit; + maintainers = with maintainers; [ ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0375c207a8f2..dca15a31b897 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9483,6 +9483,8 @@ in { safe = callPackage ../development/python-modules/safe { }; + safeio = callPackage ../development/python-modules/safeio { }; + safety = callPackage ../development/python-modules/safety { }; sagemaker = callPackage ../development/python-modules/sagemaker { }; From d6e2f6092cb40d7892078bff912815b7dc24898a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 20 Jul 2022 14:47:08 +0200 Subject: [PATCH 613/701] swaglyrics: fix dependencies --- pkgs/tools/misc/swaglyrics/default.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/misc/swaglyrics/default.nix b/pkgs/tools/misc/swaglyrics/default.nix index 8fff712c323f..8c5a3b7e9474 100644 --- a/pkgs/tools/misc/swaglyrics/default.nix +++ b/pkgs/tools/misc/swaglyrics/default.nix @@ -16,6 +16,11 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-O48T1WsUIVnNQb8gmzSkFFHTOiFOKVSAEYhF9zUqZz0="; }; + postPatch = '' + substituteInPlace setup.py \ + --replace "==" ">=" + ''; + propagatedBuildInputs = with python3.pkgs; [ beautifulsoup4 colorama @@ -35,13 +40,6 @@ python3.pkgs.buildPythonApplication rec { ncurses ]; - preConfigure = '' - substituteInPlace setup.py \ - --replace 'beautifulsoup4==4.9.3' 'beautifulsoup4>=4.9.3' \ - --replace 'unidecode==1.2.0' 'unidecode>=1.2.0' \ - --replace 'flask==2.0.1' 'flask>=2.0.1' - ''; - preBuild = '' export HOME=$(mktemp -d) ''; @@ -64,6 +62,5 @@ python3.pkgs.buildPythonApplication rec { homepage = "https://github.com/SwagLyrics/SwagLyrics-For-Spotify"; license = licenses.mit; maintainers = with maintainers; [ siraben ]; - platforms = platforms.unix; }; } From df79a2382064eda252ec25cea573b148a3f440f9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 20 Jul 2022 17:33:06 +0200 Subject: [PATCH 614/701] python3Packages.flask_sqlalchemy: disable flaky test --- .../flask-sqlalchemy/default.nix | 27 ++++++++++++++----- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/flask-sqlalchemy/default.nix b/pkgs/development/python-modules/flask-sqlalchemy/default.nix index 421bc95332b2..cd45e8ab12f8 100644 --- a/pkgs/development/python-modules/flask-sqlalchemy/default.nix +++ b/pkgs/development/python-modules/flask-sqlalchemy/default.nix @@ -1,4 +1,11 @@ -{ lib, buildPythonPackage, fetchPypi, flask, mock, sqlalchemy, pytest }: +{ lib +, buildPythonPackage +, fetchPypi +, flask +, mock +, sqlalchemy +, pytestCheckHook +}: buildPythonPackage rec { pname = "Flask-SQLAlchemy"; @@ -9,12 +16,20 @@ buildPythonPackage rec { sha256 = "2bda44b43e7cacb15d4e05ff3cc1f8bc97936cc464623424102bfc2c35e95912"; }; - propagatedBuildInputs = [ flask sqlalchemy ]; - checkInputs = [ mock pytest ]; + propagatedBuildInputs = [ + flask + sqlalchemy + ]; - checkPhase = '' - pytest - ''; + checkInputs = [ + mock + pytestCheckHook + ]; + + disabledTests = [ + # flaky + "test_session_scoping_changing" + ]; meta = with lib; { description = "SQLAlchemy extension for Flask"; From 2298ebf36e0b557663632e474a7231fe90771bb7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 20 Jul 2022 17:33:12 +0200 Subject: [PATCH 615/701] python3Packages.flask-sqlalchemy: rename from flask_sqlalchemy --- pkgs/applications/networking/powerdns-admin/default.nix | 2 +- pkgs/development/python-modules/factory_boy/default.nix | 4 ++-- pkgs/development/python-modules/flask-admin/default.nix | 4 ++-- pkgs/development/python-modules/flask-appbuilder/default.nix | 4 ++-- pkgs/development/python-modules/flask-migrate/default.nix | 4 ++-- .../development/python-modules/flask-security-too/default.nix | 4 ++-- pkgs/development/python-modules/ihatemoney/default.nix | 2 +- pkgs/development/python-modules/nplusone/default.nix | 4 ++-- .../python-modules/sqlalchemy-continuum/default.nix | 4 ++-- pkgs/tools/admin/pgadmin/default.nix | 2 +- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 +- 12 files changed, 19 insertions(+), 18 deletions(-) diff --git a/pkgs/applications/networking/powerdns-admin/default.nix b/pkgs/applications/networking/powerdns-admin/default.nix index 81195c4e212b..51a51b3fb1c7 100644 --- a/pkgs/applications/networking/powerdns-admin/default.nix +++ b/pkgs/applications/networking/powerdns-admin/default.nix @@ -29,7 +29,7 @@ let }; pythonDeps = with python.pkgs; [ - flask flask_assets flask_login flask_sqlalchemy flask_migrate flask-seasurf flask_mail flask-session flask-sslify + flask flask_assets flask_login flask-sqlalchemy flask_migrate flask-seasurf flask_mail flask-session flask-sslify mysqlclient psycopg2 sqlalchemy cffi configobj cryptography bcrypt requests ldap pyotp qrcode dnspython gunicorn python3-saml pytz cssmin rjsmin authlib bravado-core diff --git a/pkgs/development/python-modules/factory_boy/default.nix b/pkgs/development/python-modules/factory_boy/default.nix index 1c612e2b57ec..407083e4f691 100644 --- a/pkgs/development/python-modules/factory_boy/default.nix +++ b/pkgs/development/python-modules/factory_boy/default.nix @@ -4,7 +4,7 @@ , faker , fetchPypi , flask -, flask_sqlalchemy +, flask-sqlalchemy , mongoengine , pytestCheckHook , sqlalchemy @@ -28,7 +28,7 @@ buildPythonPackage rec { checkInputs = [ django flask - flask_sqlalchemy + flask-sqlalchemy mongoengine pytestCheckHook sqlalchemy diff --git a/pkgs/development/python-modules/flask-admin/default.nix b/pkgs/development/python-modules/flask-admin/default.nix index 75573c7a69d6..a3bc87c8d086 100644 --- a/pkgs/development/python-modules/flask-admin/default.nix +++ b/pkgs/development/python-modules/flask-admin/default.nix @@ -6,7 +6,7 @@ , enum34 , fetchPypi , flask -, flask_sqlalchemy +, flask-sqlalchemy , flask-babelex , flask-mongoengine , geoalchemy2 @@ -46,7 +46,7 @@ buildPythonPackage rec { arrow colour email-validator - flask_sqlalchemy + flask-sqlalchemy flask-babelex flask-mongoengine geoalchemy2 diff --git a/pkgs/development/python-modules/flask-appbuilder/default.nix b/pkgs/development/python-modules/flask-appbuilder/default.nix index 8d79b6b7c8b1..e52ecfc6493d 100644 --- a/pkgs/development/python-modules/flask-appbuilder/default.nix +++ b/pkgs/development/python-modules/flask-appbuilder/default.nix @@ -10,7 +10,7 @@ , flask-babel , flask_login , flask-openid -, flask_sqlalchemy +, flask-sqlalchemy , flask-wtf , flask-jwt-extended , jsonschema @@ -61,7 +61,7 @@ buildPythonPackage rec { flask-babel flask_login flask-openid - flask_sqlalchemy + flask-sqlalchemy flask-wtf flask-jwt-extended jsonschema diff --git a/pkgs/development/python-modules/flask-migrate/default.nix b/pkgs/development/python-modules/flask-migrate/default.nix index 9f70e129ae1a..04532032038f 100644 --- a/pkgs/development/python-modules/flask-migrate/default.nix +++ b/pkgs/development/python-modules/flask-migrate/default.nix @@ -5,7 +5,7 @@ , alembic , flask , flask_script -, flask_sqlalchemy +, flask-sqlalchemy , python }: @@ -25,7 +25,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ alembic flask - flask_sqlalchemy + flask-sqlalchemy ]; pythonImportsCheck = [ diff --git a/pkgs/development/python-modules/flask-security-too/default.nix b/pkgs/development/python-modules/flask-security-too/default.nix index e1a598d3a0ba..35216c6c03aa 100644 --- a/pkgs/development/python-modules/flask-security-too/default.nix +++ b/pkgs/development/python-modules/flask-security-too/default.nix @@ -12,7 +12,7 @@ , flask_mail # extras: fsqla -, flask_sqlalchemy +, flask-sqlalchemy , sqlalchemy , sqlalchemy-utils @@ -74,7 +74,7 @@ buildPythonPackage rec { flask_mail ]; fsqla = [ - flask_sqlalchemy + flask-sqlalchemy sqlalchemy sqlalchemy-utils ]; diff --git a/pkgs/development/python-modules/ihatemoney/default.nix b/pkgs/development/python-modules/ihatemoney/default.nix index bacaea2f2cb1..71eb8feb5432 100644 --- a/pkgs/development/python-modules/ihatemoney/default.nix +++ b/pkgs/development/python-modules/ihatemoney/default.nix @@ -17,7 +17,7 @@ , flask_mail , flask_migrate , flask-restful -, flask_sqlalchemy +, flask-sqlalchemy , flask-talisman , flask-wtf , debts diff --git a/pkgs/development/python-modules/nplusone/default.nix b/pkgs/development/python-modules/nplusone/default.nix index 898d209d9138..13e0d28a3017 100644 --- a/pkgs/development/python-modules/nplusone/default.nix +++ b/pkgs/development/python-modules/nplusone/default.nix @@ -3,7 +3,7 @@ , buildPythonPackage , fetchFromGitHub , flake8 -, flask_sqlalchemy +, flask-sqlalchemy , isPy27 , mock , peewee @@ -33,7 +33,7 @@ buildPythonPackage rec { checkInputs = [ flake8 - flask_sqlalchemy + flask-sqlalchemy mock peewee pytest-django diff --git a/pkgs/development/python-modules/sqlalchemy-continuum/default.nix b/pkgs/development/python-modules/sqlalchemy-continuum/default.nix index da64d44a43fe..d0970d4277d8 100644 --- a/pkgs/development/python-modules/sqlalchemy-continuum/default.nix +++ b/pkgs/development/python-modules/sqlalchemy-continuum/default.nix @@ -3,7 +3,7 @@ , buildPythonPackage , flask , flask_login -, flask_sqlalchemy +, flask-sqlalchemy , flexmock , pytestCheckHook , sqlalchemy @@ -33,7 +33,7 @@ buildPythonPackage rec { sqlalchemy-i18n flask flask_login - flask_sqlalchemy + flask-sqlalchemy flexmock ]; diff --git a/pkgs/tools/admin/pgadmin/default.nix b/pkgs/tools/admin/pgadmin/default.nix index 58bba70e9029..4813cd843647 100644 --- a/pkgs/tools/admin/pgadmin/default.nix +++ b/pkgs/tools/admin/pgadmin/default.nix @@ -32,7 +32,7 @@ let flask_login flask_mail flask_migrate - flask_sqlalchemy + flask-sqlalchemy flask-wtf flask-compress passlib diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index e056a381f5ae..b5f3a9b39a31 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -73,6 +73,7 @@ mapAliases ({ email_validator = email-validator; # added 2022-06-22 fake_factory = throw "fake_factory has been removed because it is unused and deprecated by upstream since 2016."; # added 2022-05-30 faulthandler = throw "faulthandler is built into ${python.executable}"; # added 2021-07-12 + flask_sqlalchemy = flask-sqlalchemy; # added 2022-07-20 flask_testing = flask-testing; # added 2022-04-25 flask_wtf = flask-wtf; # added 2022-05-24 garminconnect-ha = garminconnect; # added 2022-02-05 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index dca15a31b897..29a3ab98091b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3219,7 +3219,7 @@ in { flask-sockets = callPackage ../development/python-modules/flask-sockets { }; - flask_sqlalchemy = callPackage ../development/python-modules/flask-sqlalchemy { }; + flask-sqlalchemy = callPackage ../development/python-modules/flask-sqlalchemy { }; flask-sslify = callPackage ../development/python-modules/flask-sslify { }; From 67a9acddb0f5766d83f97ad1eeeb9eb0a9673177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 20 Jul 2022 17:49:46 +0200 Subject: [PATCH 616/701] python310Packages.basemap-data: init at 1.3.3 --- .../python-modules/basemap-data/default.nix | 33 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/development/python-modules/basemap-data/default.nix diff --git a/pkgs/development/python-modules/basemap-data/default.nix b/pkgs/development/python-modules/basemap-data/default.nix new file mode 100644 index 000000000000..ebdbbe4d1594 --- /dev/null +++ b/pkgs/development/python-modules/basemap-data/default.nix @@ -0,0 +1,33 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pythonAtLeast +, basemap +, cython +, geos +, numpy +, matplotlib +, pyproj +, pyshp +, python +, setuptools +}: + +buildPythonPackage rec { + pname = "basemap-data"; + inherit (basemap) version src; + + sourceRoot = "source/packages/basemap_data"; + + # no tests + doCheck = false; + + pythonImportsCheck = [ "mpl_toolkits.basemap_data" ]; + + meta = with lib; { + homepage = "https://matplotlib.org/basemap/"; + description = "Data assets for matplotlib basemap"; + license = with licenses; [ mit lgpl3Plus ]; + maintainers = with maintainers; [ ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 29a3ab98091b..4f461c440762 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1189,6 +1189,8 @@ in { basemap = callPackage ../development/python-modules/basemap { }; + basemap-data = callPackage ../development/python-modules/basemap-data { }; + bash_kernel = callPackage ../development/python-modules/bash_kernel { }; bashlex = callPackage ../development/python-modules/bashlex { }; From 7e9e066b33d13f6b12be48e6c5b91b14355c0d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 20 Jul 2022 17:52:49 +0200 Subject: [PATCH 617/701] fixup! python310Packages.pyshp: 2.2.0 -> 2.3.0 --- pkgs/development/python-modules/pyshp/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pyshp/default.nix b/pkgs/development/python-modules/pyshp/default.nix index 122d90ccf1ea..ac0473eeef38 100644 --- a/pkgs/development/python-modules/pyshp/default.nix +++ b/pkgs/development/python-modules/pyshp/default.nix @@ -10,11 +10,12 @@ buildPythonPackage rec { sha256 = "sha256-glBk6kA6zxNehGz4sJJEmUMOa+HNN6DzS+cTCQZhfTw="; }; - buildInputs = [ setuptools ]; + pythonImportsCheck = [ "shapefile" ]; meta = with lib; { description = "Pure Python read/write support for ESRI Shapefile format"; homepage = "https://github.com/GeospatialPython/pyshp"; license = licenses.mit; + maintainers = with maintainers; [ ]; }; } From 1bfa5c43b55641fc58181df3a9633c99180f15cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 20 Jul 2022 18:34:14 +0200 Subject: [PATCH 618/701] python310Packages.textx: use python.sitePackages instead of constructing it manully --- pkgs/development/python-modules/textx/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/textx/default.nix b/pkgs/development/python-modules/textx/default.nix index 8b56e0fe739d..0a8ee2236519 100644 --- a/pkgs/development/python-modules/textx/default.nix +++ b/pkgs/development/python-modules/textx/default.nix @@ -53,7 +53,7 @@ let postInstall = '' # FileNotFoundError: [Errno 2] No such file or directory: '$out/lib/python3.10/site-packages/textx/textx.tx - cp "$src/textx/textx.tx" "$out/lib/${python.libPrefix}/site-packages/${pname}/" + cp "$src/textx/textx.tx" "$out/${python.sitePackages}/${pname}/" # Install tests as the tests output. mkdir $testout From 659c36045c8d59029f0ef523be9c91fb6c37826c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 20 Jul 2022 20:49:14 +0200 Subject: [PATCH 619/701] atomic-operator: fix dependencies --- pkgs/tools/security/atomic-operator/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/security/atomic-operator/default.nix b/pkgs/tools/security/atomic-operator/default.nix index 812b782e951f..b385cce38061 100644 --- a/pkgs/tools/security/atomic-operator/default.nix +++ b/pkgs/tools/security/atomic-operator/default.nix @@ -15,6 +15,11 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-DyNqu3vndyLkmfybCfTbgxk3t/ALg7IAkAMg4kBkH7Q="; }; + postPatch = '' + substituteInPlace setup.py \ + --replace "charset_normalizer~=2.0.0" "charset_normalizer" + ''; + propagatedBuildInputs = with python3.pkgs; [ attrs certifi From e422b378921ec198464f8fb886fa2a1f9ccb4210 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 20 Jul 2022 22:32:41 +0200 Subject: [PATCH 620/701] ioccheck: fix one dependency --- pkgs/tools/security/ioccheck/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/tools/security/ioccheck/default.nix b/pkgs/tools/security/ioccheck/default.nix index e936ab025fad..8dd833f9d28f 100644 --- a/pkgs/tools/security/ioccheck/default.nix +++ b/pkgs/tools/security/ioccheck/default.nix @@ -6,6 +6,16 @@ let py = python3.override { packageOverrides = self: super: { + emoji = super.emoji.overridePythonAttrs (oldAttrs: rec { + version = "1.7.0"; + + src = fetchFromGitHub { + owner = "carpedm20"; + repo = "emoji"; + rev = "v${version}"; + sha256 = "sha256-vKQ51RP7uy57vP3dOnHZRSp/Wz+YDzeLUR8JnIELE/I="; + }; + }); # Support for later tweepy releases is missing # https://github.com/ranguli/ioccheck/issues/70 From 2e572b45aecb475c9ad398b688aa4067f22c3dab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 20 Jul 2022 23:22:44 +0200 Subject: [PATCH 621/701] khal: disable timing based test --- pkgs/applications/misc/khal/default.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/misc/khal/default.nix b/pkgs/applications/misc/khal/default.nix index 2b8002d4eb67..b6bb65a0bfff 100644 --- a/pkgs/applications/misc/khal/default.nix +++ b/pkgs/applications/misc/khal/default.nix @@ -27,11 +27,6 @@ with python3.pkgs; buildPythonApplication rec { freezegun ]; nativeBuildInputs = [ setuptools-scm sphinx sphinxcontrib_newsfeed installShellFiles ]; - checkInputs = [ - glibcLocales - pytestCheckHook - ]; - LC_ALL = "en_US.UTF-8"; postInstall = '' # shell completions @@ -51,6 +46,18 @@ with python3.pkgs; buildPythonApplication rec { doCheck = !stdenv.isAarch64; + checkInputs = [ + glibcLocales + pytestCheckHook + ]; + + LC_ALL = "en_US.UTF-8"; + + disabledTests = [ + # timing based + "test_etag" + ]; + meta = with lib; { broken = stdenv.isDarwin; homepage = "http://lostpackets.de/khal/"; From 6f1ef4560c420f66c2f7033ecba545471e9bd503 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 20 Jul 2022 23:40:35 +0200 Subject: [PATCH 622/701] python3Packages.subprocess-tee: disable rich test --- pkgs/development/python-modules/subprocess-tee/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/subprocess-tee/default.nix b/pkgs/development/python-modules/subprocess-tee/default.nix index aae41b915beb..adc4cae187bc 100644 --- a/pkgs/development/python-modules/subprocess-tee/default.nix +++ b/pkgs/development/python-modules/subprocess-tee/default.nix @@ -27,6 +27,8 @@ buildPythonPackage rec { disabledTests = [ # cyclic dependency on `molecule` (see https://github.com/pycontribs/subprocess-tee/issues/50) "test_molecule" + # duplicates in console output, rich issue + "test_rich_console_ex" ]; pythonImportsCheck = [ From 9253f04b76d89879a4afa9e39175b3d29239fdb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 20 Jul 2022 23:55:55 +0200 Subject: [PATCH 623/701] python310Packages.eth-abi: ignore flaky test on hydra --- pkgs/development/python-modules/eth-abi/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/eth-abi/default.nix b/pkgs/development/python-modules/eth-abi/default.nix index 1e81450764f0..7bf0f9b49710 100644 --- a/pkgs/development/python-modules/eth-abi/default.nix +++ b/pkgs/development/python-modules/eth-abi/default.nix @@ -42,6 +42,7 @@ buildPythonPackage rec { # boolean list representation changed "test_get_abi_strategy_returns_certain_strategies_for_known_type_strings" # hypothesis.errors.Flaky + "test_base_equals_has_expected_behavior_for_parsable_types" "test_has_arrlist_has_expected_behavior_for_parsable_types" "test_is_base_tuple_has_expected_behavior_for_parsable_types" ]; From e6897e7c3123f00e0724a8b79d2e22248ceb8136 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 01:26:32 +0200 Subject: [PATCH 624/701] python3Packages.aioshelly: 2.0.0 -> 2.0.1 --- pkgs/development/python-modules/aioshelly/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aioshelly/default.nix b/pkgs/development/python-modules/aioshelly/default.nix index 6c6ba7e93ec6..99ae3638e357 100644 --- a/pkgs/development/python-modules/aioshelly/default.nix +++ b/pkgs/development/python-modules/aioshelly/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "aioshelly"; - version = "2.0.0"; + version = "2.0.1"; format = "setuptools"; disabled = pythonOlder "3.9"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "home-assistant-libs"; repo = pname; rev = version; - hash = "sha256-1bIlK/5UoGq6xTjcpkAkHPBlM+ifZhnbWzGbPRdFGkU="; + hash = "sha256-BUKuZza9Jer334LUmU5zmfjg1ISuxg7HETEbUMB80KY="; }; propagatedBuildInputs = [ From 670393971dbb48e48263e2ce249d716bb84411e3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 01:26:54 +0200 Subject: [PATCH 625/701] python3Packages.pyairvisual: 2021.10.0 -> 2022.07.0 --- pkgs/development/python-modules/pyairvisual/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyairvisual/default.nix b/pkgs/development/python-modules/pyairvisual/default.nix index c4db96bca759..3721bf1d8099 100644 --- a/pkgs/development/python-modules/pyairvisual/default.nix +++ b/pkgs/development/python-modules/pyairvisual/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "pyairvisual"; - version = "2021.10.0"; + version = "2022.07.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "bachya"; repo = pname; rev = version; - sha256 = "sha256-Wj+ReRTYsP/XMrr74XPHrkHYT0sXfqcW/shbG3zNuH0="; + sha256 = "sha256-UzcKK0LJ/Xp5iVWsrDQ3nfhWgKAAxKmXrK1zPSoG/gY="; }; nativeBuildInputs = [ From 3cf2d43d57b4d2d2a4f5515af9c7a0e48c7ad5cc Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 01:28:17 +0200 Subject: [PATCH 626/701] python3Packages.pytomorrowio: 0.3.3 -> 0.3.4 --- pkgs/development/python-modules/pytomorrowio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytomorrowio/default.nix b/pkgs/development/python-modules/pytomorrowio/default.nix index abc90f2a6c7f..8a6e374df0f6 100644 --- a/pkgs/development/python-modules/pytomorrowio/default.nix +++ b/pkgs/development/python-modules/pytomorrowio/default.nix @@ -10,13 +10,13 @@ buildPythonPackage rec { pname = "pytomorrowio"; - version = "0.3.3"; + version = "0.3.4"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "0d4f81dc90aefa26da18b927473cb7b08b093f7732301983ef5f0b1ca1181c62"; + sha256 = "sha256-d4twa9bHaQ9XTHSb8pwJnnJ7tDH6vGpck3/8Y39tRaY="; }; propagatedBuildInputs = [ From b14efa22e91bf2f6233891eadb7e21de9b981c2c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 11:40:52 +0200 Subject: [PATCH 627/701] python3Packages.dynalite-devices: test in asyncio legacy mode --- pkgs/development/python-modules/dynalite-devices/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/dynalite-devices/default.nix b/pkgs/development/python-modules/dynalite-devices/default.nix index 45db94a02f0e..456e0a6a628d 100644 --- a/pkgs/development/python-modules/dynalite-devices/default.nix +++ b/pkgs/development/python-modules/dynalite-devices/default.nix @@ -27,6 +27,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + pythonImportsCheck = [ "dynalite_devices_lib" ]; meta = with lib; { From 461b834f86b7ce50991ae22e96ffa27cdbb32e1d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 11:46:39 +0200 Subject: [PATCH 628/701] python3Packages.pypck: test in asyncio legacy mode --- pkgs/development/python-modules/pypck/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pypck/default.nix b/pkgs/development/python-modules/pypck/default.nix index 6fe6e016d1cd..c1996ae402a1 100644 --- a/pkgs/development/python-modules/pypck/default.nix +++ b/pkgs/development/python-modules/pypck/default.nix @@ -28,6 +28,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + disabledTests = lib.optionals stdenv.isDarwin [ "test_connection_lost" ]; From 011a74801f90500c2c39869bdc255cc6b182e3e6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 11:49:12 +0200 Subject: [PATCH 629/701] python3Packages.pyotgw: 2021-03-25 -> 2.0.0 --- pkgs/development/python-modules/pyotgw/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pyotgw/default.nix b/pkgs/development/python-modules/pyotgw/default.nix index b48c190ca1ed..2523e5e09a57 100644 --- a/pkgs/development/python-modules/pyotgw/default.nix +++ b/pkgs/development/python-modules/pyotgw/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "pyotgw"; - version = "unstable-2021-03-25"; + version = "2.0.0"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "mvn23"; repo = pname; - rev = "1854ef4ffb907524ff457ba558e4979ba7fabd02"; - sha256 = "0zckd85dmzpz0drcgx16ly6kzh1f1slcxb9lrcf81wh1p4q9bcaa"; + rev = version; + hash = "sha256-82pGKcF7L7WBxInU7lkYTKQLkse5/HY8x0ZHZIyqCW4="; }; propagatedBuildInputs = [ @@ -28,7 +28,9 @@ buildPythonPackage rec { pytestCheckHook ]; - pytestFlagsArray = [ "tests" ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; pythonImportsCheck = [ "pyotgw" ]; From c01034bfe2a470735723bef432f9d85d3a375bf8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 11:55:53 +0200 Subject: [PATCH 630/701] python3Packages.pywizlight: test in asyncio legacy mode --- pkgs/development/python-modules/pywizlight/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pywizlight/default.nix b/pkgs/development/python-modules/pywizlight/default.nix index 0fcbf396d36a..ccb9beb601f3 100644 --- a/pkgs/development/python-modules/pywizlight/default.nix +++ b/pkgs/development/python-modules/pywizlight/default.nix @@ -32,6 +32,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + disabledTests = [ # Tests requires network features (e. g., discovery testing) "test_Bulb_Discovery" From 3176b44c440696f42cc23a6020ea8a9ea3e7fec3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 12:07:44 +0200 Subject: [PATCH 631/701] python3Packages.tifffile: disable failing test --- pkgs/development/python-modules/tifffile/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/tifffile/default.nix b/pkgs/development/python-modules/tifffile/default.nix index f3fe08821f5b..2452c6bb4453 100644 --- a/pkgs/development/python-modules/tifffile/default.nix +++ b/pkgs/development/python-modules/tifffile/default.nix @@ -43,6 +43,8 @@ buildPythonPackage rec { # AssertionError "test_write_bigtiff" "test_write_imagej_raw" + # https://github.com/cgohlke/tifffile/issues/142 + "test_func_bitorder_decode" ]; pythonImportsCheck = [ From 032f0c6299b35eaafc9a898967d2b444308a91b3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 12:44:21 +0200 Subject: [PATCH 632/701] python3Packages.sanic: disable failing test --- pkgs/development/python-modules/sanic/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/sanic/default.nix b/pkgs/development/python-modules/sanic/default.nix index 2ab9c0808b8e..45dec8763357 100644 --- a/pkgs/development/python-modules/sanic/default.nix +++ b/pkgs/development/python-modules/sanic/default.nix @@ -107,6 +107,9 @@ buildPythonPackage rec { "test_keep_alive_client_timeout" "test_keep_alive_server_timeout" "test_zero_downtime" + # broke with ujson 5.4 upgrade + # https://github.com/sanic-org/sanic/pull/2504 + "test_json_response_json" ]; disabledTestPaths = [ From e9bde1a9cd91a66a4368ab2b9f047654cda60ef1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 12:46:29 +0200 Subject: [PATCH 633/701] python3Packages.channels: test in asyncio legacy mode --- pkgs/development/python-modules/channels/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/channels/default.nix b/pkgs/development/python-modules/channels/default.nix index d027c194675b..e4c8658f59bf 100644 --- a/pkgs/development/python-modules/channels/default.nix +++ b/pkgs/development/python-modules/channels/default.nix @@ -32,6 +32,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + pythonImportsCheck = [ "channels" ]; meta = with lib; { From 2c9a47daae1f831171962e947eb107e10e219864 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 12:56:02 +0200 Subject: [PATCH 634/701] python3Packages.amqtt: 2022-01-11 -> 202205-29 --- pkgs/development/python-modules/amqtt/default.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/amqtt/default.nix b/pkgs/development/python-modules/amqtt/default.nix index 7458ca11e99d..71c07c07cc9b 100644 --- a/pkgs/development/python-modules/amqtt/default.nix +++ b/pkgs/development/python-modules/amqtt/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "amqtt"; - version = "unstable-2022-01-11"; + version = "unstable-2022-05-29"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -25,8 +25,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Yakifo"; repo = pname; - rev = "8961b8fff57007a5d9907b98bc555f0519974ce9"; - hash = "sha256-3uwz4RSoa6KRC8mlVfeIMLPH6F2kOJjQjjXCrnVX0Jo="; + rev = "09ac98d39a711dcff0d8f22686916e1c2495144b"; + hash = "sha256-8T1XhBSOiArlUQbQ41LsUogDgOurLhf+M8mjIrrAC4s="; }; nativeBuildInputs = [ @@ -48,14 +48,12 @@ buildPythonPackage rec { pytestCheckHook ]; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'PyYAML = "^5.4.0"' 'PyYAML = "*"' - ''; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; disabledTestPaths = [ # Test are not ported from hbmqtt yet - "tests/test_cli.py" "tests/test_client.py" ]; From 41545391d46cb72025a23846833b74c3e5d2d9a9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 13:08:15 +0200 Subject: [PATCH 635/701] python3Packages.jsonrpc-websocket: test in asyncio legacy mode --- pkgs/development/python-modules/jsonrpc-websocket/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/jsonrpc-websocket/default.nix b/pkgs/development/python-modules/jsonrpc-websocket/default.nix index c3d68f77d859..9bd8ef8a108b 100644 --- a/pkgs/development/python-modules/jsonrpc-websocket/default.nix +++ b/pkgs/development/python-modules/jsonrpc-websocket/default.nix @@ -33,6 +33,7 @@ buildPythonPackage rec { ]; pytestFlagsArray = [ + "--asyncio-mode=legacy" "tests.py" ]; From c58d450c3784795d597f6203c5b8d26c2dfc395d Mon Sep 17 00:00:00 2001 From: Kirill Radzikhovskyy Date: Mon, 18 Jul 2022 15:07:37 +1000 Subject: [PATCH 636/701] awsebcli: fixup, use more versions from nixpkgs --- pkgs/tools/virtualization/awsebcli/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/virtualization/awsebcli/default.nix b/pkgs/tools/virtualization/awsebcli/default.nix index bf9842f96732..961d8f9a9dbd 100644 --- a/pkgs/tools/virtualization/awsebcli/default.nix +++ b/pkgs/tools/virtualization/awsebcli/default.nix @@ -16,8 +16,6 @@ let self = localPython; packageOverrides = self: super: { cement = changeVersion super.cement.overridePythonAttrs "2.8.2" "1li2whjzfhbpg6fjb6r1r92fb3967p1xv6hqs3j787865h2ysrc7"; - botocore = changeVersion super.botocore.overridePythonAttrs "1.23.54" "sha256-S7m6FszO5fWiYCBJvD4ttoZTRrJVBmfzATvfM7CgHOs="; - jmespath = changeVersion super.jmespath.overridePythonAttrs "0.10.0" "b85d0567b8666149a93172712e68920734333c0ce7e89b78b3e987f71e5ed4f9"; colorama = changeVersion super.colorama.overridePythonAttrs "0.4.3" "189n8hpijy14jfan4ha9f5n06mnl33cxz7ay92wjqgkr639s0vg9"; future = changeVersion super.future.overridePythonAttrs "0.16.0" "1nzy1k4m9966sikp0qka7lirh8sqrsyainyf8rk97db7nwdfv773"; wcwidth = changeVersion super.wcwidth.overridePythonAttrs "0.1.9" "1wf5ycjx8s066rdvr0fgz4xds9a8zhs91c4jzxvvymm1c8l8cwzf"; @@ -50,8 +48,10 @@ with localPython.pkgs; buildPythonApplication rec { preConfigure = '' substituteInPlace setup.py \ - --replace "six>=1.11.0,<1.15.0" "six" \ - --replace "requests>=2.20.1,<=2.26" "requests" + --replace "six>=1.11.0,<1.15.0" "six==1.16.0" \ + --replace "requests>=2.20.1,<=2.26" "requests==2.28.1" \ + --replace "jmespath>=0.7.1,<1.0.0" "jmespath==1.0.1" \ + --replace "botocore>1.23.41,<1.24.0" "botocore==1.27.31" ''; buildInputs = [ From 90b6d1d0c983f15831041dbcd079aaf1c8bff875 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 13:16:18 +0200 Subject: [PATCH 637/701] python3Packages.zigpy-znp: test in asyncio legacy mode --- pkgs/development/python-modules/zigpy-znp/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/zigpy-znp/default.nix b/pkgs/development/python-modules/zigpy-znp/default.nix index 789a152b6220..5585324c0bc8 100644 --- a/pkgs/development/python-modules/zigpy-znp/default.nix +++ b/pkgs/development/python-modules/zigpy-znp/default.nix @@ -49,6 +49,10 @@ buildPythonPackage rec { asynctest ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + pythonImportsCheck = [ "zigpy_znp" ]; From b27ce7e2c52528ab27510b13cef48fe3ad24418d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 13:29:03 +0200 Subject: [PATCH 638/701] python3Packages.prance: relax chardet constraint --- pkgs/development/python-modules/prance/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/prance/default.nix b/pkgs/development/python-modules/prance/default.nix index 26cfada4296e..cefa13610081 100644 --- a/pkgs/development/python-modules/prance/default.nix +++ b/pkgs/development/python-modules/prance/default.nix @@ -14,6 +14,7 @@ buildPythonPackage rec { pname = "prance"; version = "0.21.8.0"; + format = "pyproject"; src = fetchFromGitHub { owner = "RonnyPfannschmidt"; @@ -23,6 +24,12 @@ buildPythonPackage rec { sha256 = "sha256-kGANMHfWwhW3ZBw2ZVCJZR/bV2EPhcydMKhDeDTVwcQ="; }; + postPatch = '' + substituteInPlace setup.cfg \ + --replace "--cov=prance --cov-report=term-missing --cov-fail-under=90" "" \ + --replace "chardet>=3.0,<5.0" "chardet" + ''; + SETUPTOOLS_SCM_PRETEND_VERSION = version; nativeBuildInputs = [ @@ -42,11 +49,6 @@ buildPythonPackage rec { openapi-spec-validator ]; - postPatch = '' - substituteInPlace setup.cfg \ - --replace "--cov=prance --cov-report=term-missing --cov-fail-under=90" "" - ''; - # Disable tests that require network disabledTestPaths = [ "tests/test_convert.py" From a3547dd5a2c4a13bb79c3c3cad463612c14f93bf Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 13:32:52 +0200 Subject: [PATCH 639/701] python3Packages.hypercorn: test in asyncio legacy mode --- pkgs/development/python-modules/hypercorn/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/hypercorn/default.nix b/pkgs/development/python-modules/hypercorn/default.nix index dc165f2b2cc4..35a9f8f6bb85 100644 --- a/pkgs/development/python-modules/hypercorn/default.nix +++ b/pkgs/development/python-modules/hypercorn/default.nix @@ -44,6 +44,10 @@ buildPythonPackage rec { pytestCheckHook ] ++ lib.optionals (pythonOlder "3.8") [ mock ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + pythonImportsCheck = [ "hypercorn" ]; meta = with lib; { From 66376af471467ef2edf4d395371ca635c18f209a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 13:36:21 +0200 Subject: [PATCH 640/701] python3Packages.aioftp: test in asyncio legacy mode --- pkgs/development/python-modules/aioftp/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/aioftp/default.nix b/pkgs/development/python-modules/aioftp/default.nix index da0e8021d509..8f0ef50e7fd0 100644 --- a/pkgs/development/python-modules/aioftp/default.nix +++ b/pkgs/development/python-modules/aioftp/default.nix @@ -33,6 +33,10 @@ buildPythonPackage rec { trustme ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + disabledTests = lib.optionals stdenv.isDarwin [ # uses 127.0.0.2, which macos doesn't like "test_pasv_connection_pasv_forced_response_address" From 8631129870ac90f955fda9c98c59abb7a1fd17ed Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 13:50:50 +0200 Subject: [PATCH 641/701] python3Packages.pyatv: test in asyncio legacy mode --- pkgs/development/python-modules/pyatv/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pyatv/default.nix b/pkgs/development/python-modules/pyatv/default.nix index 9454755f5cf1..7439362e894c 100644 --- a/pkgs/development/python-modules/pyatv/default.nix +++ b/pkgs/development/python-modules/pyatv/default.nix @@ -65,6 +65,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + disabledTestPaths = [ # Test doesn't work in the sandbox "tests/protocols/companion/test_companion_auth.py" From 85a4972fed5d0d3c6da78c37fe103f7bd5e3aad3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 13:58:06 +0200 Subject: [PATCH 642/701] python3Packages.homematicip: test in asyncio legacy mode --- pkgs/development/python-modules/homematicip/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/homematicip/default.nix b/pkgs/development/python-modules/homematicip/default.nix index 2330a356dd89..e8b107f80525 100644 --- a/pkgs/development/python-modules/homematicip/default.nix +++ b/pkgs/development/python-modules/homematicip/default.nix @@ -45,6 +45,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + disabledTests = [ # Assert issues with datetime "test_contact_interface_device" From 6a9692719d1054cf9ad70c088767194a9effa006 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 14:00:06 +0200 Subject: [PATCH 643/701] python3Packages.pylutron-caseta: test in asyncio legacy mode --- pkgs/development/python-modules/pylutron-caseta/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pylutron-caseta/default.nix b/pkgs/development/python-modules/pylutron-caseta/default.nix index 95a220adcfb2..1bbbcf308900 100644 --- a/pkgs/development/python-modules/pylutron-caseta/default.nix +++ b/pkgs/development/python-modules/pylutron-caseta/default.nix @@ -34,6 +34,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + pythonImportsCheck = [ "pylutron_caseta" ]; From 5cfb467489416d8497f21644f72c164205864707 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 21 Jul 2022 13:55:15 +0200 Subject: [PATCH 644/701] python310Packages.ihatemoney: remove unused input --- pkgs/development/python-modules/ihatemoney/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/ihatemoney/default.nix b/pkgs/development/python-modules/ihatemoney/default.nix index 71eb8feb5432..d6933c25ac47 100644 --- a/pkgs/development/python-modules/ihatemoney/default.nix +++ b/pkgs/development/python-modules/ihatemoney/default.nix @@ -17,7 +17,6 @@ , flask_mail , flask_migrate , flask-restful -, flask-sqlalchemy , flask-talisman , flask-wtf , debts From 3024c0bfde31976e6d5477351a739d2356decdd8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 14:06:19 +0200 Subject: [PATCH 645/701] python3Packages.renault-api: test in asyncio legacy mode --- pkgs/development/python-modules/renault-api/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/renault-api/default.nix b/pkgs/development/python-modules/renault-api/default.nix index a2cfdd98d845..5b2165c7583b 100644 --- a/pkgs/development/python-modules/renault-api/default.nix +++ b/pkgs/development/python-modules/renault-api/default.nix @@ -47,6 +47,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + pythonImportsCheck = [ "renault_api" ]; From 845b062e86332f97462e83832d61ad818b6e532f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 14:07:40 +0200 Subject: [PATCH 646/701] home-assistant: pin backoff before 2.0 bump --- pkgs/servers/home-assistant/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index fb76874eb5d0..671ee2dee47c 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -30,6 +30,18 @@ let defaultOverrides = [ # Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt + (self: super: { + backoff = super.backoff.overridePythonAttrs (oldAttrs: rec { + version = "1.11.1"; + src = fetchFromGitHub { + owner = "litl"; + repo = "backoff"; + rev = "v${version}"; + hash = "sha256-87IMcLaoCn0Vns8Ub/AFmv0gXtS0aPZX0cSt7+lOPm4="; + }; + }); + }) + (self: super: { bsblan = super.bsblan.overridePythonAttrs (oldAttrs: rec { version = "0.5.0"; From 85872173eeaedbfc8930d90ea7197a9169cac1fa Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 14:10:46 +0200 Subject: [PATCH 647/701] python3Packages.python-smarttub: test in asyncio legacy mode --- pkgs/development/python-modules/python-smarttub/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/python-smarttub/default.nix b/pkgs/development/python-modules/python-smarttub/default.nix index 1b1deba78fac..ee7774654524 100644 --- a/pkgs/development/python-modules/python-smarttub/default.nix +++ b/pkgs/development/python-modules/python-smarttub/default.nix @@ -38,6 +38,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + postPatch = '' substituteInPlace setup.py \ --replace "pyjwt~=2.1.0" "pyjwt>=2.1.0" From 4049e1b86c26ecd4f7ea507e8e5ae12a8d73b580 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 14:11:36 +0200 Subject: [PATCH 648/701] python3Packages.pyspcwebgw: test in asyncio legacy mode --- pkgs/development/python-modules/pyspcwebgw/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pyspcwebgw/default.nix b/pkgs/development/python-modules/pyspcwebgw/default.nix index bc11a30334da..b847240869ac 100644 --- a/pkgs/development/python-modules/pyspcwebgw/default.nix +++ b/pkgs/development/python-modules/pyspcwebgw/default.nix @@ -34,6 +34,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + pythonImportsCheck = [ "pyspcwebgw" ]; meta = with lib; { From c4839a9db90ba9c4fc45c2169947bca1c98fc579 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 14:14:34 +0200 Subject: [PATCH 649/701] python3Packages.discovery30303: test in asyncio legacy mode --- pkgs/development/python-modules/discovery30303/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/discovery30303/default.nix b/pkgs/development/python-modules/discovery30303/default.nix index 49de32439d12..c9b09cbfe69c 100644 --- a/pkgs/development/python-modules/discovery30303/default.nix +++ b/pkgs/development/python-modules/discovery30303/default.nix @@ -31,6 +31,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + postPatch = '' substituteInPlace pyproject.toml \ --replace " --cov=discovery30303" "" From dbb81132dee3cf01d93c119d377ff1328fc52b39 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 14:14:44 +0200 Subject: [PATCH 650/701] python3Packages.aioswitcher: test in asyncio legacy mode --- pkgs/development/python-modules/aioswitcher/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/aioswitcher/default.nix b/pkgs/development/python-modules/aioswitcher/default.nix index d03cc22ab1eb..958467823dc1 100644 --- a/pkgs/development/python-modules/aioswitcher/default.nix +++ b/pkgs/development/python-modules/aioswitcher/default.nix @@ -41,6 +41,10 @@ buildPythonPackage rec { time-machine ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + disabledTests = [ # AssertionError: Expected <14:00> to be equal to <17:00>, but was not. "test_schedule_parser_with_a_weekly_recurring_enabled_schedule_data" From 80351d4f5fa6d2a8c57cf723e4a7f591d6b450f9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 14:18:25 +0200 Subject: [PATCH 651/701] python3Packages.aiosyncthing: test in asyncio legacy mode --- pkgs/development/python-modules/aiosyncthing/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/aiosyncthing/default.nix b/pkgs/development/python-modules/aiosyncthing/default.nix index 7bbf740c78e8..624c86fb314b 100644 --- a/pkgs/development/python-modules/aiosyncthing/default.nix +++ b/pkgs/development/python-modules/aiosyncthing/default.nix @@ -34,6 +34,10 @@ buildPythonPackage rec { pytest-mock ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + postPatch = '' substituteInPlace pyproject.toml \ --replace " --cov=aiosyncthing --cov-report=html" "" From f99bc071812b00a5b75b6d8d5de11c72074d4c65 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 14:18:37 +0200 Subject: [PATCH 652/701] python3Packages.pytautulli: test in asyncio legacy mode --- pkgs/development/python-modules/pytautulli/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pytautulli/default.nix b/pkgs/development/python-modules/pytautulli/default.nix index b96a3de3f7ad..aee51ae764f8 100644 --- a/pkgs/development/python-modules/pytautulli/default.nix +++ b/pkgs/development/python-modules/pytautulli/default.nix @@ -39,6 +39,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + pythonImportsCheck = [ "pytautulli" ]; From c61efc1d0d74117cdf2882666f4b39e3bf33c059 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 14:24:34 +0200 Subject: [PATCH 653/701] python3Packages.python-kasa: test in asyncio legacy mode --- pkgs/development/python-modules/python-kasa/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/python-kasa/default.nix b/pkgs/development/python-modules/python-kasa/default.nix index c45a32d2f61e..d4c9524c9edd 100644 --- a/pkgs/development/python-modules/python-kasa/default.nix +++ b/pkgs/development/python-modules/python-kasa/default.nix @@ -43,6 +43,10 @@ buildPythonPackage rec { voluptuous ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + disabledTestPaths = [ # Skip the examples tests "kasa/tests/test_readme_examples.py" From 513fa21e475008ed552e7ae4b2647c39b27ff5fe Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 14:25:56 +0200 Subject: [PATCH 654/701] python3Packages.xbox-webapi: test in asyncio legacy mode --- pkgs/development/python-modules/xbox-webapi/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/xbox-webapi/default.nix b/pkgs/development/python-modules/xbox-webapi/default.nix index b16a87e2fd64..ccd2d3febf13 100644 --- a/pkgs/development/python-modules/xbox-webapi/default.nix +++ b/pkgs/development/python-modules/xbox-webapi/default.nix @@ -44,6 +44,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + meta = with lib; { description = "Library to authenticate with Windows Live/Xbox Live and use their API"; homepage = "https://github.com/OpenXbox/xbox-webapi-python"; From 84189d8cd75a1a0b955b97ea17ca427d0c844120 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 14:50:09 +0200 Subject: [PATCH 655/701] python3Packages.sphinx-jupyterbook-latex: relax sphinx constraint --- .../python-modules/sphinx-jupyterbook-latex/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/sphinx-jupyterbook-latex/default.nix b/pkgs/development/python-modules/sphinx-jupyterbook-latex/default.nix index 937b6cf5d304..b087ed2bd39e 100644 --- a/pkgs/development/python-modules/sphinx-jupyterbook-latex/default.nix +++ b/pkgs/development/python-modules/sphinx-jupyterbook-latex/default.nix @@ -9,6 +9,7 @@ buildPythonPackage rec { pname = "sphinx-jupyterbook-latex"; version = "0.4.6"; + format = "pyproject"; disabled = pythonOlder "3.6"; @@ -18,6 +19,11 @@ buildPythonPackage rec { sha256 = "8ff3775b11ab4798e6e8ec983601d7aea4c3b8e8b5d28ca758578ede3a791334"; }; + postPatch = '' + substituteInPlace setup.cfg \ + --replace "sphinx>=3,<5" "sphinx>=3" + ''; + propagatedBuildInputs = [ sphinx ] ++ lib.optionals (pythonOlder "3.9") [ importlib-resources ]; From accf1514b6bbd19cee8cf949d236fce11cc8264a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 15:02:21 +0200 Subject: [PATCH 656/701] python3Packages.mailsuite: 1.8.0 -> 1.9.2 --- .../python-modules/mailsuite/default.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mailsuite/default.nix b/pkgs/development/python-modules/mailsuite/default.nix index 8e582e9227ec..adc6ec35051d 100644 --- a/pkgs/development/python-modules/mailsuite/default.nix +++ b/pkgs/development/python-modules/mailsuite/default.nix @@ -4,32 +4,44 @@ , lib # pythonPackages +, hatchling , dnspython +, expiringdict , html2text , mail-parser , imapclient +, publicsuffix2 }: buildPythonPackage rec { pname = "mailsuite"; - version = "1.8.0"; + version = "1.9.2"; + format = "pyproject"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-ItGOHnYL5rJvllcU/xAie95f09TnCf4OF4Y9oN65FTY="; + hash = "sha256-UV9cdWdUnUt4j1Puf1H0UxXsCHi3t4uNiKHwYNfTfa4="; }; + nativeBuildInputs = [ + hatchling + ]; + propagatedBuildInputs = [ dnspython + expiringdict html2text mail-parser imapclient + publicsuffix2 ]; pythonImportsCheck = [ "mailsuite" ]; + doCheck = false; + meta = { description = "A Python package to simplify receiving, parsing, and sending email"; homepage = "https://seanthegeek.github.io/mailsuite/"; From f7c33f8617b97eb7599db896c3b36c37cadd7f58 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 15:24:14 +0200 Subject: [PATCH 657/701] python3Packages.snowflake-connector-python: relax charset-normalizer constraint --- .../python-modules/snowflake-connector-python/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/snowflake-connector-python/default.nix b/pkgs/development/python-modules/snowflake-connector-python/default.nix index 304a1c36894f..500a392b1162 100644 --- a/pkgs/development/python-modules/snowflake-connector-python/default.nix +++ b/pkgs/development/python-modules/snowflake-connector-python/default.nix @@ -46,7 +46,8 @@ buildPythonPackage rec { postPatch = '' substituteInPlace setup.cfg \ --replace "pyOpenSSL>=16.2.0,<23.0.0" "pyOpenSSL" \ - --replace "cryptography>=3.1.0,<37.0.0" "cryptography" + --replace "cryptography>=3.1.0,<37.0.0" "cryptography" \ + --replace "charset-normalizer~=2.0.0" "charset_normalizer>=2" ''; # Tests require encrypted secrets, see From 61718b8bd38f15d7c60cfdf8090c9d91f88c7a20 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 15:32:52 +0200 Subject: [PATCH 658/701] python3Packages.awkward: skip failing test --- pkgs/development/python-modules/awkward/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/awkward/default.nix b/pkgs/development/python-modules/awkward/default.nix index 9698b445eb87..773e62901d28 100644 --- a/pkgs/development/python-modules/awkward/default.nix +++ b/pkgs/development/python-modules/awkward/default.nix @@ -25,7 +25,12 @@ buildPythonPackage rec { dontUseCmakeConfigure = true; checkInputs = [ pytestCheckHook numba ]; - dontUseSetuptoolsCheck = true; + + disabledTests = [ + # incomatible with numpy 1.23 + "test_numpyarray" + ]; + disabledTestPaths = [ "tests-cuda" ]; meta = with lib; { From ac783147e7456c49adbdfafc99183a3529c35d06 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 16:05:20 +0200 Subject: [PATCH 659/701] python3Packages.cattrs: 1.10.0 -> 22.1.0 https://github.com/python-attrs/cattrs/blob/main/HISTORY.rst#2210-2022-04-03 --- pkgs/development/python-modules/cattrs/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cattrs/default.nix b/pkgs/development/python-modules/cattrs/default.nix index 69a351e3c341..837b01c868c3 100644 --- a/pkgs/development/python-modules/cattrs/default.nix +++ b/pkgs/development/python-modules/cattrs/default.nix @@ -6,6 +6,7 @@ , immutables , motor , msgpack +, orjson , poetry-core , pytest-xdist , pytestCheckHook @@ -18,7 +19,7 @@ buildPythonPackage rec { pname = "cattrs"; - version = "1.10.0"; + version = "22.1.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -27,7 +28,7 @@ buildPythonPackage rec { owner = "python-attrs"; repo = pname; rev = "v${version}"; - hash = "sha256-VbfQMMDO03eeUHAACxoX6a3DKmzoF9EfLuTpvaY6bWs="; + hash = "sha256-C8uIsewpgJfB1yYckWTwF5K32+2AAOrxFKB9I18RENg="; }; nativeBuildInputs = [ @@ -45,6 +46,7 @@ buildPythonPackage rec { immutables motor msgpack + orjson pytest-xdist pytestCheckHook pyyaml From b4988e25b5534d4df05ef810763562e262eb9b31 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 16:21:53 +0200 Subject: [PATCH 660/701] maturin: 0.12.9 -> 0.13.0 --- pkgs/build-support/rust/hooks/maturin-build-hook.sh | 3 ++- pkgs/development/tools/rust/maturin/default.nix | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/build-support/rust/hooks/maturin-build-hook.sh b/pkgs/build-support/rust/hooks/maturin-build-hook.sh index 7e2599d92240..41b313280d70 100644 --- a/pkgs/build-support/rust/hooks/maturin-build-hook.sh +++ b/pkgs/build-support/rust/hooks/maturin-build-hook.sh @@ -15,7 +15,8 @@ maturinBuildHook() { "CC_@rustTargetPlatform@=@ccForHost@" \ "CXX_@rustTargetPlatform@=@cxxForHost@" \ maturin build \ - --cargo-extra-args="-j $NIX_BUILD_CORES --frozen" \ + --jobs=$NIX_BUILD_CORES \ + --frozen \ --target @rustTargetPlatformSpec@ \ --manylinux off \ --strip \ diff --git a/pkgs/development/tools/rust/maturin/default.nix b/pkgs/development/tools/rust/maturin/default.nix index 204654eb0e78..b276a618110f 100644 --- a/pkgs/development/tools/rust/maturin/default.nix +++ b/pkgs/development/tools/rust/maturin/default.nix @@ -11,16 +11,16 @@ rustPlatform.buildRustPackage rec { pname = "maturin"; - version = "0.12.9"; + version = "0.13.0"; src = fetchFromGitHub { owner = "PyO3"; repo = "maturin"; rev = "v${version}"; - hash = "sha256-FskCBviLl1yafPOlsp/IjaEOlGUuWLcGlxDrNA/qf8k="; + hash = "sha256-uKpYI+Oc49xgoIZCh72baBMZLcpMXk7g2Jb1DQxW9lk="; }; - cargoHash = "sha256-zakSQptKK/X/8MDJxRUHTDIGPh77cq5PrOmPEneD0YM="; + cargoHash = "sha256-levBWghFIXOXe+NGXvwBqQpPmWeUK53ruSyLik1urSU="; nativeBuildInputs = [ pkg-config ]; From e3e90eec625800e74e0f86e49b7041783da92b38 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 16:27:12 +0200 Subject: [PATCH 661/701] python3Packages.subarulink: test in asyncio legacy mode --- pkgs/development/python-modules/subarulink/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/subarulink/default.nix b/pkgs/development/python-modules/subarulink/default.nix index 72101eaf29d8..f25322531789 100644 --- a/pkgs/development/python-modules/subarulink/default.nix +++ b/pkgs/development/python-modules/subarulink/default.nix @@ -36,6 +36,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + postPatch = '' substituteInPlace setup.cfg \ --replace "--cov=subarulink" "" From 910bb76bb5cb13d8986635b7bc1287232c7ca92b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 16:28:32 +0200 Subject: [PATCH 662/701] python3Packages.orjson: 3.6.7 -> 3.7.8 --- pkgs/development/python-modules/orjson/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/orjson/default.nix b/pkgs/development/python-modules/orjson/default.nix index d639f6567293..831d24fc73e0 100644 --- a/pkgs/development/python-modules/orjson/default.nix +++ b/pkgs/development/python-modules/orjson/default.nix @@ -4,6 +4,7 @@ , rustPlatform , fetchFromGitHub , buildPythonPackage +, cffi , libiconv , numpy , psutil @@ -15,28 +16,30 @@ buildPythonPackage rec { pname = "orjson"; - version = "3.6.7"; + version = "3.7.8"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "ijl"; repo = pname; rev = version; - sha256 = "1a55f1ipii7hg42bvsii053xczbgwwv8w6wgdb14qyirm5c9szd3"; + hash = "sha256-K/hLNzwwEeGN6S33Xkfh+ocDHmTmh6yZYcN4vxaAvoQ="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - sha256 = "1piy0b1gh56n8srzhyd1n971a6pqpgmwhr4v9a81wg0xkbva8gdk"; + hash = "sha256-kwZg1bC1O6XBI5HBgzahph/0k/RUKEkFIQMMuA1xe4w="; }; format = "pyproject"; - nativeBuildInputs = with rustPlatform; [ + nativeBuildInputs = [ + cffi + ] ++ (with rustPlatform; [ cargoSetupHook maturinBuildHook - ]; + ]); buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; From 34b89ade0df8a29c82c7af58707bec967b2834c1 Mon Sep 17 00:00:00 2001 From: Mauricio Collares Date: Thu, 21 Jul 2022 10:35:46 -0300 Subject: [PATCH 663/701] python3Packages.rpy2: update R_LIBS_SITE patch --- .../python-modules/rpy2/rpy2-3.x-r-libs-site.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/rpy2/rpy2-3.x-r-libs-site.patch b/pkgs/development/python-modules/rpy2/rpy2-3.x-r-libs-site.patch index a9e10f02b0bb..2617472096d4 100644 --- a/pkgs/development/python-modules/rpy2/rpy2-3.x-r-libs-site.patch +++ b/pkgs/development/python-modules/rpy2/rpy2-3.x-r-libs-site.patch @@ -1,11 +1,11 @@ diff --git a/rpy2/rinterface_lib/embedded.py b/rpy2/rinterface_lib/embedded.py -index 1f4babbf..322363c5 100644 +index ccd3a315..51fb5da4 100644 --- a/rpy2/rinterface_lib/embedded.py +++ b/rpy2/rinterface_lib/embedded.py -@@ -118,6 +118,16 @@ def _initr( - if openrlib.R_HOME is None: - raise ValueError('openrlib.R_HOME cannot be None.') - os.environ['R_HOME'] = openrlib.R_HOME +@@ -276,6 +276,16 @@ def _initr( + os.environ.get('LD_LIBRARY_PATH', '')) + ) + ) + + # path to libraries + existing = os.environ.get('R_LIBS_SITE') From 020e152765c33e81f9d5bd33c6af3cfecb509eb6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 16:39:38 +0200 Subject: [PATCH 664/701] python3Packages.unifi-discovery: test in asyncio legacy mode --- pkgs/development/python-modules/unifi-discovery/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/unifi-discovery/default.nix b/pkgs/development/python-modules/unifi-discovery/default.nix index 5b1e86459867..68d28d0f4756 100644 --- a/pkgs/development/python-modules/unifi-discovery/default.nix +++ b/pkgs/development/python-modules/unifi-discovery/default.nix @@ -39,6 +39,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + postPatch = '' substituteInPlace pyproject.toml \ --replace "--cov=unifi_discovery --cov-report=term-missing:skip-covered" "" From 3fe71fcbcf0556b2e1408de82235bb716e8a6b24 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 16:46:21 +0200 Subject: [PATCH 665/701] python3Packages.qiskit-terra: 0.20.1 -> 0.21.0 --- pkgs/development/python-modules/qiskit-terra/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/qiskit-terra/default.nix b/pkgs/development/python-modules/qiskit-terra/default.nix index 8a649b27bd2e..71486b30bc8e 100644 --- a/pkgs/development/python-modules/qiskit-terra/default.nix +++ b/pkgs/development/python-modules/qiskit-terra/default.nix @@ -56,7 +56,7 @@ in buildPythonPackage rec { pname = "qiskit-terra"; - version = "0.20.1"; + version = "0.21.0"; disabled = pythonOlder "3.7"; @@ -64,7 +64,7 @@ buildPythonPackage rec { owner = "qiskit"; repo = pname; rev = version; - sha256 = "sha256-spKLPUlUXBmnIo/rnBPUFf72Vxd53xFhh409KzytpkI="; + hash = "sha256-imktzBpgP+lq6FsVWIUK82+t76gKTgt53kPfKOnsseQ="; }; nativeBuildInputs = [ setuptools-rust ] ++ (with rustPlatform; [ rust.rustc rust.cargo cargoSetupHook ]); @@ -72,7 +72,7 @@ buildPythonPackage rec { cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - sha256 = "sha256-KNx7c5Jc1AWIpldMQ1AcWYuMb4W+yLY/cgB87hzPuVY="; + hash = "sha256-SXC0UqWjWqLlZvKCRBylSX73r4Vale130KzS0zM8gjQ="; }; propagatedBuildInputs = [ From 0a74993f683669b580e9be37d20df121f9707fa5 Mon Sep 17 00:00:00 2001 From: Mauricio Collares Date: Thu, 21 Jul 2022 12:05:29 -0300 Subject: [PATCH 666/701] python3Packages.sphinx: do not use deprecated docutils 0.19 API --- pkgs/development/python-modules/sphinx/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/python-modules/sphinx/default.nix b/pkgs/development/python-modules/sphinx/default.nix index f3a4f84c3ae6..166f9347d719 100644 --- a/pkgs/development/python-modules/sphinx/default.nix +++ b/pkgs/development/python-modules/sphinx/default.nix @@ -3,6 +3,7 @@ , buildPythonPackage , pythonOlder , fetchFromGitHub +, fetchpatch # propagatedBuildInputs , babel , alabaster @@ -48,6 +49,15 @@ buildPythonPackage rec { ''; }; + patches = [ + # https://github.com/sphinx-doc/sphinx/pull/10624 + (fetchpatch { + name = "avoid-deprecated-docutils-0.19-api.patch"; + sha256 = "sha256-QIrLkxnexNcfuI00UOeCpAamMLqqt4wxoVY1VA72jIw="; + url = "https://github.com/sphinx-doc/sphinx/commit/8d99168794ab8be0de1e6281d1b76af8177acd3d.patch"; + }) + ]; + postPatch = '' substituteInPlace setup.py \ --replace "docutils>=0.14,<0.19" "docutils>=0.14" From 353e6ff616de62b3f87dd01be77cf4efabcf4fb7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 18:25:01 +0200 Subject: [PATCH 667/701] python3Packages.requests-cache: 0.9.4 -> 0.9.5 --- .../python-modules/requests-cache/default.nix | 45 ++++++++++++++++--- 1 file changed, 38 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/requests-cache/default.nix b/pkgs/development/python-modules/requests-cache/default.nix index 9e092ca8251a..23d24c944565 100644 --- a/pkgs/development/python-modules/requests-cache/default.nix +++ b/pkgs/development/python-modules/requests-cache/default.nix @@ -3,24 +3,30 @@ , attrs , buildPythonPackage , bson +, boto3 +, botocore , cattrs +, exceptiongroup , fetchFromGitHub , itsdangerous , poetry-core +, pymongo , pytestCheckHook , pythonOlder , pyyaml +, redis , requests , requests-mock , rich , timeout-decorator , ujson +, urllib3 , url-normalize }: buildPythonPackage rec { pname = "requests-cache"; - version = "0.9.4"; + version = "0.9.5"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -29,7 +35,7 @@ buildPythonPackage rec { owner = "reclosedev"; repo = "requests-cache"; rev = "v${version}"; - hash = "sha256-9OlWMom/0OMlbPd3evjIaX75Gjlu+F8vKBJwX4Z58qQ="; + hash = "sha256-oVEai7SceZUdsGYlOOMxO6DxMZMVsvqXvEu0cHzq7lY="; }; nativeBuildInputs = [ @@ -39,21 +45,46 @@ buildPythonPackage rec { propagatedBuildInputs = [ appdirs attrs - bson cattrs - itsdangerous - pyyaml + exceptiongroup requests - ujson + urllib3 url-normalize ]; + passthru.optional-dependencies = { + dynamodb = [ + boto3 + botocore + ]; + mongodbo = [ + pymongo + ]; + redis = [ + redis + ]; + bson = [ + bson + ]; + json = [ + ujson + ]; + security = [ + itsdangerous + ]; + yaml = [ + pyyaml + ]; + }; + checkInputs = [ pytestCheckHook requests-mock rich timeout-decorator - ]; + ] + ++ passthru.optional-dependencies.json + ++ passthru.optional-dependencies.security; preCheck = '' export HOME=$(mktemp -d); From 52ad8519d5084308574689c8d5e0a76126e0fe6a Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 21 Jul 2022 20:20:48 +0300 Subject: [PATCH 668/701] python3Packages.pyqt-builder: use sip-distinfo from PATH Fixes PyQt5 build. --- .../python-modules/pyqt-builder/default.nix | 6 ++++++ .../use-sip-distinfo-from-path.patch | 20 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/python-modules/pyqt-builder/use-sip-distinfo-from-path.patch diff --git a/pkgs/development/python-modules/pyqt-builder/default.nix b/pkgs/development/python-modules/pyqt-builder/default.nix index 89f7102122c2..5e87e700a55f 100644 --- a/pkgs/development/python-modules/pyqt-builder/default.nix +++ b/pkgs/development/python-modules/pyqt-builder/default.nix @@ -10,6 +10,12 @@ buildPythonPackage rec { sha256 = "sha256-SHdYDDjOtTIOEps4HQg7CoYBxoFm2LmXB/CPoKFonu8="; }; + patches = [ + # use the sip-distinfo executable from PATH instead of trying to guess, + # we know it's the right one because it's the _only_ one + ./use-sip-distinfo-from-path.patch + ]; + propagatedBuildInputs = [ packaging sip ]; pythonImportsCheck = [ "pyqtbuild" ]; diff --git a/pkgs/development/python-modules/pyqt-builder/use-sip-distinfo-from-path.patch b/pkgs/development/python-modules/pyqt-builder/use-sip-distinfo-from-path.patch new file mode 100644 index 000000000000..43b2d7367e96 --- /dev/null +++ b/pkgs/development/python-modules/pyqt-builder/use-sip-distinfo-from-path.patch @@ -0,0 +1,20 @@ +diff --git a/pyqtbuild/builder.py b/pyqtbuild/builder.py +index 3f35a7f..58701dd 100644 +--- a/pyqtbuild/builder.py ++++ b/pyqtbuild/builder.py +@@ -51,15 +51,6 @@ class QmakeBuilder(Builder): + """ Set default values for user options that haven't been set yet. """ + + if tool in Option.BUILD_TOOLS: +- # A PEP 517 frontend will set PATH so that sip-distinfo is found on +- # it. However for our own frontends we want to use the version +- # corresponding to the frontend (and, anyway, the frontend may not +- # be on PATH). +- if tool != 'pep517': +- self._sip_distinfo = os.path.join( +- os.path.abspath(os.path.dirname(sys.argv[0])), +- self._sip_distinfo) +- + # Check we have a qmake. + if self.qmake is None: + self.qmake = self._find_exe('qmake') From 465efd5bb4824b3ee9c91e49583ed3fbed1f8296 Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 21 Jul 2022 20:21:10 +0300 Subject: [PATCH 669/701] python3Packages.pyqt5: 5.15.4 -> 5.15.7 --- pkgs/development/python-modules/pyqt/5.x.nix | 12 ++++++++++-- pkgs/development/python-modules/pyqt/sip.nix | 4 ++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pyqt/5.x.nix b/pkgs/development/python-modules/pyqt/5.x.nix index 23f68e1371c2..5a4c825770db 100644 --- a/pkgs/development/python-modules/pyqt/5.x.nix +++ b/pkgs/development/python-modules/pyqt/5.x.nix @@ -19,14 +19,14 @@ buildPythonPackage rec { pname = "PyQt5"; - version = "5.15.4"; + version = "5.15.7"; format = "pyproject"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "1gp5jz71nmg58zsm1h4vzhcphf36rbz37qgsfnzal76i1mz5js9a"; + sha256 = "sha256-dVEhpSs6CMsHJ1wQ67lldtNuMg5XJZHbFs/bxVgQFZQ="; }; patches = [ @@ -37,6 +37,14 @@ buildPythonPackage rec { ./pyqt5-confirm-license.patch ]; + # be more verbose + postPatch = '' + cat >> pyproject.toml < Date: Thu, 21 Jul 2022 19:22:22 +0100 Subject: [PATCH 670/701] python3Packages.typer: include rich in checkInputs --- pkgs/development/python-modules/typer/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/typer/default.nix b/pkgs/development/python-modules/typer/default.nix index 21c437dbddbd..460b9bdda063 100644 --- a/pkgs/development/python-modules/typer/default.nix +++ b/pkgs/development/python-modules/typer/default.nix @@ -6,6 +6,7 @@ , flit-core , click , pytestCheckHook +, rich , shellingham , pytest-xdist , pytest-sugar @@ -38,6 +39,7 @@ buildPythonPackage rec { pytest-xdist pytest-sugar shellingham + rich coverage # execs coverage in tests ]; From 44a05c2d4b343b3aa34a009d8b42a1ce1bbb6708 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Thu, 21 Jul 2022 19:30:05 +0100 Subject: [PATCH 671/701] python3Packages.pyosmium: switch to pytestCheckHook --- pkgs/development/python-modules/pyosmium/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pyosmium/default.nix b/pkgs/development/python-modules/pyosmium/default.nix index b0cc948f8468..3401e905a1a0 100644 --- a/pkgs/development/python-modules/pyosmium/default.nix +++ b/pkgs/development/python-modules/pyosmium/default.nix @@ -1,6 +1,7 @@ { lib, buildPythonPackage, fetchFromGitHub, cmake, python , libosmium, protozero, boost, expat, bzip2, zlib, pybind11 -, nose, shapely, pythonOlder, isPyPy, lz4, requests }: +, shapely, pythonOlder, isPyPy, lz4, requests, pytestCheckHook +}: buildPythonPackage rec { pname = "pyosmium"; @@ -21,9 +22,10 @@ buildPythonPackage rec { preBuild = "cd .."; - checkInputs = [ nose shapely ]; - - checkPhase = "(cd test && ${python.interpreter} run_tests.py)"; + checkInputs = [ + pytestCheckHook + shapely + ]; meta = with lib; { description = "Python bindings for libosmium"; From 51bc3a3a8a31aaa2302361b6cd604317d38cc8e1 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Thu, 21 Jul 2022 19:49:59 +0100 Subject: [PATCH 672/701] python3Packages.islpy: 2022.2 -> 2022.2.1 --- pkgs/development/python-modules/islpy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/islpy/default.nix b/pkgs/development/python-modules/islpy/default.nix index 41383a8f94bc..aa084783fa8f 100644 --- a/pkgs/development/python-modules/islpy/default.nix +++ b/pkgs/development/python-modules/islpy/default.nix @@ -10,12 +10,12 @@ buildPythonPackage rec { pname = "islpy"; - version = "2022.2"; + version = "2022.2.1"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-a6fnFBt//yrkQkLoVBnxr7OkJTG7PJalz/CF7lhxVA8="; + sha256 = "07062ljvznm2dg3r9b3lq98qygxsha8ylxi4zs7hx49l0jw2vbjy"; }; postConfigure = '' From 79a23e73c3295ff8ea11d33a2140850ce9036cb7 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Thu, 21 Jul 2022 20:04:11 +0100 Subject: [PATCH 673/701] python3Packages.owslib: remove pyproj version constraint --- pkgs/development/python-modules/owslib/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/owslib/default.nix b/pkgs/development/python-modules/owslib/default.nix index a8543b2bad95..10e7580af616 100644 --- a/pkgs/development/python-modules/owslib/default.nix +++ b/pkgs/development/python-modules/owslib/default.nix @@ -8,6 +8,12 @@ buildPythonPackage rec { sha256 = "sha256-jEywYzjrZAXCrs7QttCFaCqmHw8uUo8ceI1o3FDflBs="; }; + # as now upstream https://github.com/geopython/OWSLib/pull/824 + postPatch = '' + substituteInPlace requirements.txt \ + --replace 'pyproj ' 'pyproj #' + ''; + buildInputs = [ pytest ]; propagatedBuildInputs = [ python-dateutil pyproj pytz requests pyyaml ]; From 3737f384aae5c1de12db0915e1bd2e47ca06a759 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Thu, 21 Jul 2022 20:31:07 +0100 Subject: [PATCH 674/701] python3Packages.pyquil: remove qcs-api-client version constraint as already done upstream https://github.com/rigetti/pyquil/pull/1449 --- pkgs/development/python-modules/pyquil/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pyquil/default.nix b/pkgs/development/python-modules/pyquil/default.nix index c1aa5d56040b..3b308c4d59e6 100644 --- a/pkgs/development/python-modules/pyquil/default.nix +++ b/pkgs/development/python-modules/pyquil/default.nix @@ -62,7 +62,8 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ - --replace 'lark = "^0.11.1"' 'lark = "*"' + --replace 'lark = "^0.11.1"' 'lark = "*"' \ + --replace 'qcs-api-client = ">=0.8.1,<0.21.0"' 'qcs-api-client = "*"' ''; disabledTestPaths = [ From d3e6dbb771a40f425b78b67107c9acce8173441e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 21:53:49 +0200 Subject: [PATCH 675/701] python3Packages.matrix-nio: run tests in asyncio legacy mode --- pkgs/development/python-modules/matrix-nio/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/matrix-nio/default.nix b/pkgs/development/python-modules/matrix-nio/default.nix index 724a1459b779..586f1ef96a1c 100644 --- a/pkgs/development/python-modules/matrix-nio/default.nix +++ b/pkgs/development/python-modules/matrix-nio/default.nix @@ -78,7 +78,10 @@ buildPythonPackage rec { pytestCheckHook ]; - pytestFlagsArray = [ "--benchmark-disable" ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + "--benchmark-disable" + ]; disabledTests = [ # touches network From e3df41b3bcfe947bb2aa6c765c56d7db77fd70b0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 22:02:17 +0200 Subject: [PATCH 676/701] python3Packages.dask: 2022.05.2 -> 2022.7.0 --- pkgs/development/python-modules/dask/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dask/default.nix b/pkgs/development/python-modules/dask/default.nix index 3aec3e25228c..8453b3e0ec9c 100644 --- a/pkgs/development/python-modules/dask/default.nix +++ b/pkgs/development/python-modules/dask/default.nix @@ -26,7 +26,7 @@ buildPythonPackage rec { pname = "dask"; - version = "2022.05.2"; + version = "2022.7.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -35,7 +35,7 @@ buildPythonPackage rec { owner = "dask"; repo = pname; rev = version; - hash = "sha256-8M70Pf31PhYnBPRhSG55eWg6gK0lxsIFKF+cRCsf0/U="; + hash = "sha256-O5/TNeta0V0v9WTpPmF/kJMJ40ANo6rcRtzurr5/SwA="; }; propagatedBuildInputs = [ From 26326511ef25cec5a0721670ae50db75bfeb0bf0 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 21 Jul 2022 22:03:13 +0100 Subject: [PATCH 677/701] sbcl_2_1_10, sbcl_2_1_11: fix build on arm64-darwin (-fno-common fallout) Withut this upstream backport build on arm64-drwin fails as: duplicate symbol '_os_vm_page_size' in: os-common.o arm64-bsd-os.o --- pkgs/development/compilers/sbcl/common.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pkgs/development/compilers/sbcl/common.nix b/pkgs/development/compilers/sbcl/common.nix index 3a774754a6cd..05fa6b390897 100644 --- a/pkgs/development/compilers/sbcl/common.nix +++ b/pkgs/development/compilers/sbcl/common.nix @@ -40,6 +40,13 @@ stdenv.mkDerivation rec { url = "https://bugs.launchpad.net/sbcl/+bug/1980570/+attachment/5600916/+files/0001-src-runtime-fix-fno-common-build-on-darwin.patch"; sha256 = "0avpwgjdaxxdpq8pfvv9darfn4ql5dgqq7zaf3nmxnvhh86ngzij"; }) + ] ++ lib.optionals (lib.versionAtLeast version "2.1.10" && lib.versionOlder version "2.2.0") [ + # Fix -fno-common on arm64 + (fetchpatch { + name = "arm64-fno-common.patch"; + url = "https://github.com/sbcl/sbcl/commit/ac3739eae36de92feffef5bb9b4b4bd93f6c4942.patch"; + sha256 = "1kxg0ng7d465rk5v4biikrzaps41x4n1v4ygnb5qh4f5jzkbms8y"; + }) ] ++ lib.optionals (version == "2.2.6") [ # Take contrib blocklist into account for doc generation. This fixes sbcl # build on aarch64, because the docs Makefile tries to require sb-simd, @@ -102,6 +109,14 @@ stdenv.mkDerivation rec { optional (!threadSupport) "sb-thread" ++ optionals disableImmobileSpace [ "immobile-space" "immobile-code" "compact-instance-header" ]; + NIX_CFLAGS_COMPILE = lib.optional (lib.versionOlder version "2.1.10") [ + # Workaround build failure on -fno-common toolchains like upstream + # clang-13. Without the change build fails as: + # duplicate symbol '_static_code_space_free_pointer' in: alloc.o traceroot.o + # Should be fixed past 2.1.10 release. + "-fcommon" + ]; + buildPhase = '' runHook preBuild From 4c79221c55adaa27f2968734eeeb85f77190a816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 22 Jul 2022 00:32:37 +0200 Subject: [PATCH 678/701] python310Packages.eventlet: remove pyopenssl --- pkgs/development/python-modules/eventlet/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/eventlet/default.nix b/pkgs/development/python-modules/eventlet/default.nix index ff1d618ddb08..446f825fd3bf 100644 --- a/pkgs/development/python-modules/eventlet/default.nix +++ b/pkgs/development/python-modules/eventlet/default.nix @@ -8,7 +8,6 @@ , monotonic , six , nose -, pyopenssl , iana-etc , pytestCheckHook , libredirect @@ -29,9 +28,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ dnspython greenlet - pyopenssl six - ] ++ lib.optional (pythonOlder "3.5") [ + ] ++ lib.optionals (pythonOlder "3.5") [ monotonic ]; From d6d2d6c6d7fcd5b71e97b9ee5f25c72f30eb9127 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 22 Jul 2022 17:12:45 +0200 Subject: [PATCH 679/701] python3Packages.twisted: skip failing tests on aarch64-darwin Seen on hydra for both python3.9 and python3.10 on aarch64-darwin exclusively. --- pkgs/development/python-modules/twisted/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/twisted/default.nix b/pkgs/development/python-modules/twisted/default.nix index ceaadd74ee6e..7779f0531370 100644 --- a/pkgs/development/python-modules/twisted/default.nix +++ b/pkgs/development/python-modules/twisted/default.nix @@ -104,6 +104,9 @@ buildPythonPackage rec { # twisted.python.runtime.platform.supportsINotify() == False substituteInPlace src/twisted/python/_inotify.py --replace \ "ctypes.util.find_library(\"c\")" "'${stdenv.cc.libc}/lib/libc.so.6'" + '' + lib.optionalString (stdenv.isAarch64 && stdenv.isDarwin) '' + echo 'AbortConnectionTests_AsyncioSelectorReactorTests.test_fullWriteBufferAfterByteExchange.skip = "Timeout after 120 seconds"' >> src/twisted/internet/test/test_tcp.py + echo 'AbortConnectionTests_AsyncioSelectorReactorTests.test_resumeProducingAbort.skip = "Timeout after 120 seconds"' >> src/twisted/internet/test/test_tcp.py ''; # Generate Twisted's plug-in cache. Twisted users must do it as well. See From f90ffb6712294a89d095b2628c2d7d133d0a7060 Mon Sep 17 00:00:00 2001 From: Yuriy Taraday Date: Sun, 24 Jul 2022 07:48:11 +0000 Subject: [PATCH 680/701] umockdev: 0.17.9 -> 0.17.13 Fix compatibility with systemd 251. Issue found during staging update https://github.com/NixOS/nixpkgs/pull/182386 in https://github.com/NixOS/nixpkgs/pull/179681#issuecomment-1193259960 Upstream fix https://github.com/martinpitt/umockdev/pull/181 landed in 0.17.10. --- pkgs/development/libraries/umockdev/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/umockdev/default.nix b/pkgs/development/libraries/umockdev/default.nix index a389d204a83e..60d74f43b6a9 100644 --- a/pkgs/development/libraries/umockdev/default.nix +++ b/pkgs/development/libraries/umockdev/default.nix @@ -19,13 +19,13 @@ stdenv.mkDerivation rec { pname = "umockdev"; - version = "0.17.9"; + version = "0.17.13"; outputs = [ "bin" "out" "dev" "devdoc" ]; src = fetchurl { url = "https://github.com/martinpitt/umockdev/releases/download/${version}/${pname}-${version}.tar.xz"; - sha256 = "sha256-FEmWjJVmKKckC30zULGI/mZ3VNtirnweZq2gKh/Y5VE="; + sha256 = "sha256-bG6/bmIJtqSXRuDZGkSNAntUJxurgu1woTLs8pTKE88="; }; patches = [ From 429d234f636b5122fa5173e5f35b0e6c83eeec7c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 24 Jul 2022 14:12:44 +0200 Subject: [PATCH 681/701] python3Packages.uvicorn: fix dependencies --- pkgs/development/python-modules/uvicorn/default.nix | 13 +++++++------ pkgs/development/python-modules/uvicorn/tests.nix | 11 ++++++++++- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/uvicorn/default.nix b/pkgs/development/python-modules/uvicorn/default.nix index e8b2520393ca..26d23f08afa4 100644 --- a/pkgs/development/python-modules/uvicorn/default.nix +++ b/pkgs/development/python-modules/uvicorn/default.nix @@ -9,9 +9,8 @@ , pyyaml , typing-extensions , uvloop -, watchgod +, watchfiles , websockets -, wsproto , pythonOlder }: @@ -35,15 +34,17 @@ buildPythonPackage rec { propagatedBuildInputs = [ click h11 + ] ++ lib.optionals (pythonOlder "3.8") [ + typing-extensions + ]; + + passthru.optional-dependencies.standard = [ httptools python-dotenv pyyaml uvloop - watchgod + watchfiles websockets - wsproto - ] ++ lib.optionals (pythonOlder "3.8") [ - typing-extensions ]; postInstall = '' diff --git a/pkgs/development/python-modules/uvicorn/tests.nix b/pkgs/development/python-modules/uvicorn/tests.nix index 2fc0e932b8e9..b9cd883f43c0 100644 --- a/pkgs/development/python-modules/uvicorn/tests.nix +++ b/pkgs/development/python-modules/uvicorn/tests.nix @@ -1,5 +1,6 @@ { stdenv , buildPythonPackage +, asgiref , uvicorn , httpx , pytest-asyncio @@ -7,6 +8,8 @@ , pytest-mock , requests , trustme +, watchgod +, wsproto }: buildPythonPackage rec { @@ -19,6 +22,7 @@ buildPythonPackage rec { dontInstall = true; checkInputs = [ + asgiref uvicorn httpx pytestCheckHook @@ -26,7 +30,12 @@ buildPythonPackage rec { pytest-mock requests trustme - ]; + + # strictly optional dependencies + watchgod + wsproto + ] + ++ uvicorn.optional-dependencies.standard; doCheck = !stdenv.isDarwin; From 6d0715f340a3d7430a6454e445719bb26582a0bd Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 24 Jul 2022 14:20:15 +0200 Subject: [PATCH 682/701] prometheus-dmarc-exporter: 0.6.0 -> 0.6.1 Signed-off-by: Martin Weinelt --- .../prometheus/dmarc-metrics-exporter/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix b/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix index 2ec89972a65a..46e81508b4d2 100644 --- a/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix +++ b/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix @@ -4,7 +4,7 @@ python3.pkgs.buildPythonApplication rec { pname = "dmarc-metrics-exporter"; - version = "0.6.0"; + version = "0.6.1"; disabled = python3.pythonOlder "3.7"; @@ -12,11 +12,12 @@ python3.pkgs.buildPythonApplication rec { src = python3.pkgs.fetchPypi { inherit pname version; - sha256 = "70f39b373ead42acb8caf56040f7ebf13ab67aea505511025c09ecf4560f8b1b"; + hash = "sha256-VYmSHDde3zLq7NcsX7xp1JYe6x6RKFEravpakIzW390="; }; postPatch = '' substituteInPlace pyproject.toml \ + --replace 'uvicorn = {extras = ["standard"], version = "^0.15.0"}' 'uvicorn = {version = "^0.15.0"}' \ --replace '"^' '">=' ''; @@ -31,7 +32,8 @@ python3.pkgs.buildPythonApplication rec { typing-extensions uvicorn xsdata - ]; + ] + ++ uvicorn.optional-dependencies.standard; checkInputs = with python3.pkgs; [ aiohttp From dde3e1ae3b5abf6d3aea91852fa664de4dc63f6d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 24 Jul 2022 15:31:35 +0200 Subject: [PATCH 683/701] python3Packages.jupyterlab_server: fix build --- .../python-modules/jupyterlab_server/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pkgs/development/python-modules/jupyterlab_server/default.nix b/pkgs/development/python-modules/jupyterlab_server/default.nix index 3c9636ed7524..62730df149ea 100644 --- a/pkgs/development/python-modules/jupyterlab_server/default.nix +++ b/pkgs/development/python-modules/jupyterlab_server/default.nix @@ -2,6 +2,7 @@ , lib , buildPythonPackage , fetchPypi +, hatchling , jsonschema , pythonOlder , requests @@ -10,6 +11,7 @@ , babel , jupyter_server , openapi-core +, pytest-timeout , pytest-tornasync , ruamel-yaml , strict-rfc3339 @@ -18,6 +20,7 @@ buildPythonPackage rec { pname = "jupyterlab_server"; version = "2.15.0"; + format = "pyproject"; disabled = pythonOlder "3.6"; src = fetchPypi { @@ -33,11 +36,16 @@ buildPythonPackage rec { rm -r tests/translations/ ''; + nativeBuildInputs = [ + hatchling + ]; + propagatedBuildInputs = [ requests jsonschema pyjson5 babel jupyter_server ]; checkInputs = [ openapi-core pytestCheckHook + pytest-timeout pytest-tornasync ruamel-yaml ]; @@ -46,6 +54,11 @@ buildPythonPackage rec { export HOME=$(mktemp -d) ''; + pytestFlagsArray = [ + # DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives + "-W ignore::DeprecationWarning" + ]; + __darwinAllowLocalNetworking = true; meta = with lib; { From f5d5a46bc2b93030c780dd8bc78ffa2e5f17a4db Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 24 Jul 2022 18:48:47 +0100 Subject: [PATCH 684/701] raptor2: enable shared libraries by default --- pkgs/development/libraries/librdf/raptor2.nix | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/librdf/raptor2.nix b/pkgs/development/libraries/librdf/raptor2.nix index e290aa2b743c..b085e080803b 100644 --- a/pkgs/development/libraries/librdf/raptor2.nix +++ b/pkgs/development/libraries/librdf/raptor2.nix @@ -1,4 +1,16 @@ -{ lib, stdenv, libxml2, libxslt, pkg-config, cmake, fetchFromGitHub, perl, bison, flex, fetchpatch }: +{ lib +, stdenv +, libxml2 +, libxslt +, pkg-config +, cmake +, fetchFromGitHub +, perl +, bison +, flex +, fetchpatch +, static ? stdenv.hostPlatform.isStatic +}: stdenv.mkDerivation rec { pname = "raptor2"; @@ -11,6 +23,11 @@ stdenv.mkDerivation rec { sha256 = "sha256-h03IyFH1GHPqajfHBBTb19lCEu+VXzQLGC1wiEGVvgY="; }; + cmakeFlags = [ + # Build defaults to static libraries. + "-DBUILD_SHARED_LIBS=${if static then "OFF" else "ON"}" + ]; + patches = [ # https://github.com/dajobe/raptor/pull/52 (fetchpatch { From 9b0f3bcc820b12ced9149aadd11190466d057f1c Mon Sep 17 00:00:00 2001 From: Yuriy Taraday Date: Sun, 24 Jul 2022 11:17:37 +0000 Subject: [PATCH 685/701] upower: Fix GI_TYPELIB_PATH for tests gobject-introspection doesn't handle checkInputs since https://github.com/NixOS/nixpkgs/pull/177538, so tests couldn't find UMockdev namespace. Added umockdev to buildInputs. --- pkgs/os-specific/linux/upower/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/upower/default.nix b/pkgs/os-specific/linux/upower/default.nix index 279f7c22e646..ae24c4db6ec8 100644 --- a/pkgs/os-specific/linux/upower/default.nix +++ b/pkgs/os-specific/linux/upower/default.nix @@ -64,6 +64,8 @@ stdenv.mkDerivation rec { libusb1 udev systemd + # Duplicate from checkInputs until https://github.com/NixOS/nixpkgs/issues/161570 is solved + umockdev ] ++ lib.optionals useIMobileDevice [ libimobiledevice ]; From ae5ee425970705e3fe06886f294eeed897f791f3 Mon Sep 17 00:00:00 2001 From: Yuriy Taraday Date: Sun, 24 Jul 2022 11:46:39 +0000 Subject: [PATCH 686/701] power-profiles-daemon: Fix GI_TYPELIB_PATH for tests gobject-introspection doesn't handle checkInputs since https://github.com/NixOS/nixpkgs/pull/177538. Added umockdev to buildInputs. --- pkgs/os-specific/linux/power-profiles-daemon/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/power-profiles-daemon/default.nix b/pkgs/os-specific/linux/power-profiles-daemon/default.nix index b51a5fed0c24..402b2536163c 100644 --- a/pkgs/os-specific/linux/power-profiles-daemon/default.nix +++ b/pkgs/os-specific/linux/power-profiles-daemon/default.nix @@ -67,6 +67,8 @@ stdenv.mkDerivation rec { glib polkit python3 # for cli tool + # Duplicate from checkInputs until https://github.com/NixOS/nixpkgs/issues/161570 is solved + umockdev ]; strictDeps = true; From 90e512742c0176089be286b917045508116e682b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 25 Jul 2022 00:44:40 +0200 Subject: [PATCH 687/701] python3Packages.pyprosegur: propagate aiofiles --- pkgs/development/python-modules/pyprosegur/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/pyprosegur/default.nix b/pkgs/development/python-modules/pyprosegur/default.nix index e6d3be82c2c1..d26f7fdd9e42 100644 --- a/pkgs/development/python-modules/pyprosegur/default.nix +++ b/pkgs/development/python-modules/pyprosegur/default.nix @@ -1,4 +1,5 @@ { lib +, aiofiles , aiohttp , backoff , buildPythonPackage @@ -20,6 +21,7 @@ buildPythonPackage rec { }; propagatedBuildInputs = [ + aiofiles aiohttp backoff click From 13981cabc607b7cf72e7891ae613a6072d229684 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 25 Jul 2022 01:02:21 +0200 Subject: [PATCH 688/701] python3.pkgs.pypdf2: 2.5.0 -> 2.8.0 --- pkgs/development/python-modules/pypdf2/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pypdf2/default.nix b/pkgs/development/python-modules/pypdf2/default.nix index 8eb24dbe3385..c5c271c46276 100644 --- a/pkgs/development/python-modules/pypdf2/default.nix +++ b/pkgs/development/python-modules/pypdf2/default.nix @@ -1,29 +1,35 @@ { lib , buildPythonPackage , fetchPypi +, pythonOlder , glibcLocales +, typing-extensions , python , isPy3k }: buildPythonPackage rec { pname = "PyPDF2"; - version = "2.5.0"; + version = "2.8.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-WAKx9A+nm+G1q57claTn9+czmVidtPDmbKgx9Ennos0="; + sha256 = "sha256-ad39ck3f4HAQ7zpWyVvxIYVT7Anig2Nuzw8HLsEZWZo="; }; LC_ALL = "en_US.UTF-8"; buildInputs = [ glibcLocales ]; + propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [ + typing-extensions + ]; + checkPhase = '' - ${python.interpreter} -m unittest discover -s Tests + ${python.interpreter} -m unittest discover ''; # Tests broken on Python 3.x - doCheck = !(isPy3k); + #doCheck = !(isPy3k); meta = with lib; { description = "A Pure-Python library built as a PDF toolkit"; From 247418cdbcd736add34e1693daa72a5bad73d81f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 25 Jul 2022 12:55:09 +0200 Subject: [PATCH 689/701] python3Packages.line_profiler: use pytestCheckHook --- pkgs/development/python-modules/line_profiler/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/line_profiler/default.nix b/pkgs/development/python-modules/line_profiler/default.nix index ba92bf09e0b5..cafd6d311463 100644 --- a/pkgs/development/python-modules/line_profiler/default.nix +++ b/pkgs/development/python-modules/line_profiler/default.nix @@ -8,6 +8,7 @@ , scikit-build , cmake , pythonOlder +, pytestCheckHook }: buildPythonPackage rec { @@ -33,7 +34,7 @@ buildPythonPackage rec { ]; checkInputs = [ - ipython + pytestCheckHook ]; dontUseCmakeConfigure = true; From 272829bc547fcb178679fb5e2a3060864f3b8efc Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Tue, 19 Jul 2022 14:00:52 +0200 Subject: [PATCH 690/701] grub2: rename patch confusing vulnix --- pkgs/tools/misc/grub/2.0x.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/misc/grub/2.0x.nix b/pkgs/tools/misc/grub/2.0x.nix index 3849e26a01cb..4b4141566c1f 100644 --- a/pkgs/tools/misc/grub/2.0x.nix +++ b/pkgs/tools/misc/grub/2.0x.nix @@ -67,7 +67,7 @@ stdenv.mkDerivation rec { # Pull upstream patch to fix linkage against binutils-2.36. (fetchpatch { - name = "binutils-2.36"; + name = "binutils-2.36.patch"; url = "https://git.savannah.gnu.org/cgit/grub.git/patch/?id=b98275138bf4fc250a1c362dfd2c8b1cf2421701"; sha256 = "001m058bsl2pcb0ii84jfm5ias8zgzabrfy6k2cc9w6w1y51ii82"; }) From 7b052c00a9bd86a830baab79273f681b1341680b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 25 Jul 2022 12:58:22 +0200 Subject: [PATCH 691/701] python3Packages.karton-dashboard: propagate networkx, relax constraints --- pkgs/development/python-modules/karton-dashboard/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/karton-dashboard/default.nix b/pkgs/development/python-modules/karton-dashboard/default.nix index 2e103d0b088f..59e93491c7f3 100644 --- a/pkgs/development/python-modules/karton-dashboard/default.nix +++ b/pkgs/development/python-modules/karton-dashboard/default.nix @@ -4,6 +4,7 @@ , flask , karton-core , mistune +, networkx , prometheus-client , pythonOlder }: @@ -26,12 +27,14 @@ buildPythonPackage rec { flask karton-core mistune + networkx prometheus-client ]; postPatch = '' substituteInPlace requirements.txt \ - --replace "Flask==1.1.1" "Flask" \ + --replace "Flask==2.0.3" "Flask" \ + --replace "networkx==2.6.3" "networkx" \ --replace "prometheus_client==0.11.0" "prometheus_client" ''; From 208ff30d77c8cb44807702aef266ceb896838c0c Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Mon, 18 Jul 2022 22:53:11 +0200 Subject: [PATCH 692/701] vim: 9.0.0001 -> 9.0.0057 fixes CVE-2022-2257 CVE-2022-2264 CVE-2022-2284 CVE-2022-2285 CVE-2022-2286 CVE-2022-2287 CVE-2022-2288 CVE-2022-2289 CVE-2022-2304 CVE-2022-2344 CVE-2022-2345 --- pkgs/applications/editors/vim/common.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vim/common.nix b/pkgs/applications/editors/vim/common.nix index ffcfcc373abe..deba360c0db6 100644 --- a/pkgs/applications/editors/vim/common.nix +++ b/pkgs/applications/editors/vim/common.nix @@ -1,12 +1,12 @@ { lib, fetchFromGitHub }: rec { - version = "9.0.0001"; + version = "9.0.0057"; src = fetchFromGitHub { owner = "vim"; repo = "vim"; rev = "v${version}"; - sha256 = "sha256-WnMm3q5Stn3s33rxQt76goURSa1Rq+jMVWYiS+uJTX0="; + sha256 = "sha256-KEEuWRxattBrOAC0dWnWGRVqyOIEMe34ivMvSeuxKyA"; }; enableParallelBuilding = true; From 1c9f1f190b4316f083e0993a5dc6f77c4ac6b0e1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 25 Jul 2022 13:00:37 +0200 Subject: [PATCH 693/701] python3Packages.ignite: propagate packaging --- pkgs/development/python-modules/ignite/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/ignite/default.nix b/pkgs/development/python-modules/ignite/default.nix index 695dfb57832c..9898ef4b3d52 100644 --- a/pkgs/development/python-modules/ignite/default.nix +++ b/pkgs/development/python-modules/ignite/default.nix @@ -7,6 +7,7 @@ , pythonOlder , matplotlib , mock +, packaging , pytorch , scikit-learn , tqdm @@ -24,7 +25,7 @@ buildPythonPackage rec { }; checkInputs = [ pytestCheckHook matplotlib mock pytest-xdist torchvision ]; - propagatedBuildInputs = [ pytorch scikit-learn tqdm ]; + propagatedBuildInputs = [ packaging pytorch scikit-learn tqdm ]; # runs succesfully in 3.9, however, async isn't correctly closed so it will fail after test suite. doCheck = pythonOlder "3.9"; From 3b6588277bb76959b74f368d50edb83b15592e47 Mon Sep 17 00:00:00 2001 From: K900 Date: Mon, 25 Jul 2022 18:01:05 +0300 Subject: [PATCH 694/701] fprintd: backport patch to fix tests --- pkgs/tools/security/fprintd/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/tools/security/fprintd/default.nix b/pkgs/tools/security/fprintd/default.nix index d3b1836c9400..125cab6b3fd0 100644 --- a/pkgs/tools/security/fprintd/default.nix +++ b/pkgs/tools/security/fprintd/default.nix @@ -1,5 +1,6 @@ { lib, stdenv , fetchFromGitLab +, fetchpatch , pkg-config , gobject-introspection , meson @@ -36,6 +37,14 @@ stdenv.mkDerivation rec { sha256 = "sha256-ePhcIZyXoGr8XlBuzKjpibU9D/44iCXYBlpVR9gcswQ="; }; + patches = [ + # backport upstream patch fixing tests + (fetchpatch { + url = "https://gitlab.freedesktop.org/libfprint/fprintd/-/commit/ae04fa989720279e5558c3b8ff9ebe1959b1cf36.patch"; + sha256 = "sha256-jW5vlzrbZQ1gUDLBf7G50GnZfZxhlnL2Eu+9Bghdwdw="; + }) + ]; + nativeBuildInputs = [ pkg-config meson From 31430665d0e68602588dc317b161a475ef3bb17c Mon Sep 17 00:00:00 2001 From: K900 Date: Mon, 25 Jul 2022 18:12:37 +0300 Subject: [PATCH 695/701] python3Packages.pysaml2: run tests with older pymongo to fix build --- .../development/python-modules/pysaml2/default.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pysaml2/default.nix b/pkgs/development/python-modules/pysaml2/default.nix index ac46cdf0ec47..fcac04101e4c 100644 --- a/pkgs/development/python-modules/pysaml2/default.nix +++ b/pkgs/development/python-modules/pysaml2/default.nix @@ -3,6 +3,7 @@ , cryptography , defusedxml , fetchFromGitHub +, fetchPypi , importlib-resources , mock , pyasn1 @@ -21,7 +22,16 @@ , xmlsec }: -buildPythonPackage rec { +let + pymongo3 = pymongo.overridePythonAttrs(old: rec { + version = "3.12.3"; + src = fetchPypi { + pname = "pymongo"; + inherit version; + sha256 = "sha256-ConK3ABipeU2ZN3gQ/bAlxcrjBxfAJRJAJUoL/mZWl8="; + }; + }); +in buildPythonPackage rec { pname = "pysaml2"; version = "7.1.2"; format = "setuptools"; @@ -52,7 +62,7 @@ buildPythonPackage rec { checkInputs = [ mock pyasn1 - pymongo + pymongo3 pytestCheckHook responses ]; From b2d221795b355b6646c046077f3a58aedb1efa82 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Mon, 18 Jul 2022 22:44:26 +0200 Subject: [PATCH 696/701] qemu: fix CVE-2022-35414 --- pkgs/applications/virtualization/qemu/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/virtualization/qemu/default.nix b/pkgs/applications/virtualization/qemu/default.nix index fb41e303f537..c3aa3c49553e 100644 --- a/pkgs/applications/virtualization/qemu/default.nix +++ b/pkgs/applications/virtualization/qemu/default.nix @@ -121,6 +121,11 @@ stdenv.mkDerivation rec { url = "https://gitlab.com/qemu/qemu/-/commit/f5643914a9e8f79c606a76e6a9d7ea82a3fc3e65.patch"; sha256 = "sha256-8i13wU135h+YxoXFtkXweBN3hMslpWoNoeQ7Ydmn3V4="; }) + (fetchpatch { + name = "CVE-2022-35414.patch"; + url = "https://gitlab.com/qemu-project/qemu/-/commit/418ade7849ce7641c0f7333718caf5091a02fd4c.patch"; + sha256 = "sha256-zQHDXedIXZBnabv4+3TA4z5mY1+KZiPmqUbhaSkGLgA="; + }) ] ++ lib.optional nixosTestRunner ./force-uid0-on-9p.patch; From 62cc9ad726efc582384b533b6d1aebba113114cf Mon Sep 17 00:00:00 2001 From: K900 Date: Mon, 25 Jul 2022 18:33:58 +0300 Subject: [PATCH 697/701] zeroc-ice: skip failing test --- pkgs/development/libraries/zeroc-ice/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/zeroc-ice/default.nix b/pkgs/development/libraries/zeroc-ice/default.nix index b60168a6f5cb..4eef03c4a619 100644 --- a/pkgs/development/libraries/zeroc-ice/default.nix +++ b/pkgs/development/libraries/zeroc-ice/default.nix @@ -54,6 +54,9 @@ in stdenv.mkDerivation rec { # these tests require network access so we need to skip them. brokenTests = map escapeRegex [ "Ice/udp" "Glacier2" "IceGrid/simple" "IceStorm" "IceDiscovery/simple" + + # FIXME: certificate expired, remove for next release? + "IceSSL/configuration" ]; # matches CONFIGS flag in makeFlagsArray configFlag = optionalString cpp11 "--config=cpp11-shared"; From 31843808bd0b15012f3b0f06924bffabfc8f8aa8 Mon Sep 17 00:00:00 2001 From: Artturin Date: Mon, 25 Jul 2022 20:08:01 +0300 Subject: [PATCH 698/701] libical: readd explicit introspection and vapi flags the build doesn't autodetect the existence of the programs required --- pkgs/development/libraries/libical/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/libical/default.nix b/pkgs/development/libraries/libical/default.nix index 3656d2991a82..3fef461874c9 100644 --- a/pkgs/development/libraries/libical/default.nix +++ b/pkgs/development/libraries/libical/default.nix @@ -64,6 +64,8 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DENABLE_GTK_DOC=False" + "-DGOBJECT_INTROSPECTION=True" + "-DICAL_GLIB_VAPI=True" ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ "-DIMPORT_ICAL_GLIB_SRC_GENERATOR=${lib.getDev buildPackages.libical}/lib/cmake/LibIcal/IcalGlibSrcGenerator.cmake" ]; From 12b2eaeeda9bb8e94a3257d5ce76a3604466fc29 Mon Sep 17 00:00:00 2001 From: Artturin Date: Mon, 25 Jul 2022 22:49:20 +0300 Subject: [PATCH 699/701] umockdev: fix cross --- pkgs/development/libraries/umockdev/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/umockdev/default.nix b/pkgs/development/libraries/umockdev/default.nix index 60d74f43b6a9..1d34c21d3842 100644 --- a/pkgs/development/libraries/umockdev/default.nix +++ b/pkgs/development/libraries/umockdev/default.nix @@ -8,6 +8,7 @@ , libgudev , libpcap , meson +, mesonEmulatorHook , ninja , pkg-config , python3 @@ -42,9 +43,12 @@ stdenv.mkDerivation rec { ninja pkg-config vala + ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ + mesonEmulatorHook ]; buildInputs = [ + gobject-introspection glib systemd libgudev From 8198636be07e47dd574f2e8acfa57be37ad7a01e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Tue, 26 Jul 2022 12:06:13 +0200 Subject: [PATCH 700/701] linux-doc: fixup fetch after commit 9e68ab7b83d Let's stop using src.override. I see no advantage, and the switch of original src from `sha256 =` to `hash =` was causing really confusing errors. --- pkgs/os-specific/linux/kernel/htmldocs.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/htmldocs.nix b/pkgs/os-specific/linux/kernel/htmldocs.nix index ce7ea63f0a6d..4039dafad552 100644 --- a/pkgs/os-specific/linux/kernel/htmldocs.nix +++ b/pkgs/os-specific/linux/kernel/htmldocs.nix @@ -15,7 +15,8 @@ let packageOverrides = final: prev: rec { docutils_old = prev.docutils.overridePythonAttrs (oldAttrs: rec { version = "0.16"; - src = oldAttrs.src.override { + src = final.fetchPypi { + pname = "docutils"; inherit version; sha256 = "sha256-wt46YOnn0Hvia38rAMoDCcIH4GwQD5zCqUkx/HWkePw="; }; From ce0b1b2db7251ac2054a5c0240d0d5db0d6a5489 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 27 Jul 2022 12:47:38 +0200 Subject: [PATCH 701/701] python3Packages.pelican: fix src hash --- pkgs/development/python-modules/pelican/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pelican/default.nix b/pkgs/development/python-modules/pelican/default.nix index d197e03617d1..f6268953fde3 100644 --- a/pkgs/development/python-modules/pelican/default.nix +++ b/pkgs/development/python-modules/pelican/default.nix @@ -35,7 +35,7 @@ buildPythonPackage rec { owner = "getpelican"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-N8/gxBrRdYPoP8B8nQp/3ma170yhz/KxQaaEhlypGys="; + hash = "sha256-T+XBRBfroG1gh9ZHU7V5wsgnI1xuNTXYAe6g5Xk8Qyg="; # Remove unicode file names which leads to different checksums on HFS+ # vs. other filesystems because of unicode normalisation. postFetch = ''