From 8d8da41aaaf2917b66dd6a59e803044c09c32584 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 13 Jan 2023 07:33:52 +0000 Subject: [PATCH 1/4] python310Packages.flask-caching: 2.0.1 -> 2.0.2 --- pkgs/development/python-modules/flask-caching/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/flask-caching/default.nix b/pkgs/development/python-modules/flask-caching/default.nix index a75e1b4a435cc..334851cf0fa6a 100644 --- a/pkgs/development/python-modules/flask-caching/default.nix +++ b/pkgs/development/python-modules/flask-caching/default.nix @@ -11,13 +11,13 @@ buildPythonPackage rec { pname = "Flask-Caching"; - version = "2.0.1"; + version = "2.0.2"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-EN8gCgPwMq9gB3vv5Bd53ZSJi2fIIEDTTochC3G6Jjg="; + sha256 = "sha256-JLYMVS1ZqWBcwbakLFbNs5qCoo2rRTK77bkiKuVOy04="; }; postPatch = '' From fe7cfed92655301d88c5ada343b8445a61614ab6 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 13 Jan 2023 07:34:00 +0000 Subject: [PATCH 2/4] python310Packages.flask-caching: remove unnused postPatch --- pkgs/development/python-modules/flask-caching/default.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/development/python-modules/flask-caching/default.nix b/pkgs/development/python-modules/flask-caching/default.nix index 334851cf0fa6a..ef494b638a081 100644 --- a/pkgs/development/python-modules/flask-caching/default.nix +++ b/pkgs/development/python-modules/flask-caching/default.nix @@ -20,11 +20,6 @@ buildPythonPackage rec { sha256 = "sha256-JLYMVS1ZqWBcwbakLFbNs5qCoo2rRTK77bkiKuVOy04="; }; - postPatch = '' - substituteInPlace setup.py \ - --replace "Flask <= 2.1.2" "Flask <= 2.2" - ''; - propagatedBuildInputs = [ cachelib flask From 1edee9b53d445021f8a1c9491b3de361a1fecfb8 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 13 Jan 2023 07:34:00 +0000 Subject: [PATCH 3/4] python310Packages.flask-caching: update meta --- pkgs/development/python-modules/flask-caching/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/flask-caching/default.nix b/pkgs/development/python-modules/flask-caching/default.nix index ef494b638a081..9ecdaa07482e2 100644 --- a/pkgs/development/python-modules/flask-caching/default.nix +++ b/pkgs/development/python-modules/flask-caching/default.nix @@ -40,8 +40,10 @@ buildPythonPackage rec { ]; meta = with lib; { - description = "Adds caching support to your Flask application"; - homepage = "https://github.com/sh4nks/flask-caching"; + description = "A caching extension for Flask"; + homepage = "https://github.com/pallets-eco/flask-caching"; + changelog = "https://github.com/pallets-eco/flask-caching/blob/v${version}/CHANGES.rst"; + maintainers = with maintainers; [ ]; license = licenses.bsd3; }; } From 5d6d47252419510931908e02c710bc7173f9e937 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 13 Jan 2023 07:34:00 +0000 Subject: [PATCH 4/4] python310Packages.flask-caching: ignore flaky test --- pkgs/development/python-modules/flask-caching/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/flask-caching/default.nix b/pkgs/development/python-modules/flask-caching/default.nix index 9ecdaa07482e2..48ab187089555 100644 --- a/pkgs/development/python-modules/flask-caching/default.nix +++ b/pkgs/development/python-modules/flask-caching/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonPackage , pythonOlder , fetchPypi @@ -37,6 +38,9 @@ buildPythonPackage rec { # optional backends "Redis" "Memcache" + ] ++ lib.optionals stdenv.isDarwin [ + # ignore flaky test + "test_cached_view_class" ]; meta = with lib; {