From 26208aea64ea905c684fd43672b9edb1e8594f22 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 30 Jul 2022 12:11:53 +0200 Subject: [PATCH 1/2] python3Packages.sphinx-autodoc-typehints: 1.18.3 -> 1.19.1 --- .../python-modules/sphinx-autodoc-typehints/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sphinx-autodoc-typehints/default.nix b/pkgs/development/python-modules/sphinx-autodoc-typehints/default.nix index 769636976385..199788976ef7 100644 --- a/pkgs/development/python-modules/sphinx-autodoc-typehints/default.nix +++ b/pkgs/development/python-modules/sphinx-autodoc-typehints/default.nix @@ -8,7 +8,7 @@ let pname = "sphinx-autodoc-typehints"; - version = "1.18.3"; + version = "1.19.1"; in buildPythonPackage { @@ -20,7 +20,7 @@ buildPythonPackage { src = fetchPypi { pname = "sphinx_autodoc_typehints"; inherit version; - hash = "sha256-wE2PjXDpiJYOJbIGrzmpDfhOfiwIW7JOEjvDaEAhsxM="; + hash = "sha256-bIQdtV4Om+BIP/OWKiFStg55MG9CiNjE5+hqyESGpeo="; }; propagatedBuildInputs = [ From 6c8454548df742e412fec0e9837d7170c7a3af90 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 30 Jul 2022 12:14:26 +0200 Subject: [PATCH 2/2] python3Packages.psycopg: 3.0.15 -> 3.0.16 --- .../python-modules/psycopg/default.nix | 23 ++----------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/pkgs/development/python-modules/psycopg/default.nix b/pkgs/development/python-modules/psycopg/default.nix index 4e140e5cceb3..23e0f0bc0f9a 100644 --- a/pkgs/development/python-modules/psycopg/default.nix +++ b/pkgs/development/python-modules/psycopg/default.nix @@ -1,7 +1,6 @@ { lib , buildPythonPackage , fetchFromGitHub -, fetchpatch , fetchurl , pythonOlder , substituteAll @@ -28,7 +27,7 @@ let pname = "psycopg"; - version = "3.0.15"; + version = "3.0.16"; in buildPythonPackage { @@ -41,7 +40,7 @@ buildPythonPackage { owner = "psycopg"; repo = pname; rev = version; - hash = "sha256-1Wtp0wDuS6dxa1+u6DXu9fDLU7OtgsCUdbdcO5nhkxU="; + hash = "sha256-jKhpmCcDi7FyMSpn51eSukFvmu3yacNovmRYG9jnu3g="; }; outputs = [ @@ -62,24 +61,6 @@ buildPythonPackage { 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