From 7de9dbd5d5126a594116cb62dfb7935536640b94 Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Sun, 3 Mar 2024 09:11:06 +0100 Subject: [PATCH 1/2] python3Packages.flask-security-too: 5.3.3 -> 5.4.1 Signed-off-by: Florian Brandes --- .../flask-security-too/default.nix | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/flask-security-too/default.nix b/pkgs/development/python-modules/flask-security-too/default.nix index 9fab0385e463..ba319022e584 100644 --- a/pkgs/development/python-modules/flask-security-too/default.nix +++ b/pkgs/development/python-modules/flask-security-too/default.nix @@ -3,7 +3,6 @@ , fetchPypi , pythonOlder , setuptools -, fetchpatch # extras: babel , babel @@ -34,6 +33,7 @@ , passlib , importlib-resources , wtforms +, freezegun # tests , argon2-cffi @@ -42,13 +42,12 @@ , peewee , pony , pytestCheckHook -, python-dateutil , zxcvbn }: buildPythonPackage rec { pname = "flask-security-too"; - version = "5.3.3"; + version = "5.4.1"; pyproject = true; disabled = pythonOlder "3.7"; @@ -56,19 +55,9 @@ buildPythonPackage rec { src = fetchPypi { pname = "Flask-Security-Too"; inherit version; - hash = "sha256-we2TquU28qP/ir4eE67J0Nlft/8IL8w7Ny3ypSE5cNk="; + hash = "sha256-Ay7+gk+zuUlXtw0LDdsnvSa22z+yE6VR1guu9QmiFvw="; }; - patches = [ - # https://github.com/Flask-Middleware/flask-security/pull/901 - (fetchpatch { - name = "fixes-for-py_webauthn-2.0.patch"; - url = "https://github.com/Flask-Middleware/flask-security/commit/5725f7021343567ec0b25c890e859f4e84c93ba6.patch"; - hash = "sha256-4EgwT4zRj0mh4ZaoZFz7H5KeiZ9zs+BY4siYm8DwMfU="; - excludes = [ "CHANGES.rst" ]; - }) - ]; - nativeBuildInputs = [ setuptools ]; @@ -82,6 +71,7 @@ buildPythonPackage rec { passlib importlib-resources wtforms + freezegun ]; passthru.optional-dependencies = { @@ -114,7 +104,6 @@ buildPythonPackage rec { peewee pony pytestCheckHook - python-dateutil zxcvbn ] ++ passthru.optional-dependencies.babel From dd3329327d9f3ef779cf1bf15cc8bcc02e0bd412 Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Thu, 14 Mar 2024 12:01:51 +0100 Subject: [PATCH 2/2] python3Packages.flask-security-too: 5.4.1 -> 5.4.2 Signed-off-by: Florian Brandes --- .../python-modules/flask-security-too/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/flask-security-too/default.nix b/pkgs/development/python-modules/flask-security-too/default.nix index ba319022e584..e2058bddc2ad 100644 --- a/pkgs/development/python-modules/flask-security-too/default.nix +++ b/pkgs/development/python-modules/flask-security-too/default.nix @@ -33,7 +33,6 @@ , passlib , importlib-resources , wtforms -, freezegun # tests , argon2-cffi @@ -43,11 +42,12 @@ , pony , pytestCheckHook , zxcvbn +, freezegun }: buildPythonPackage rec { pname = "flask-security-too"; - version = "5.4.1"; + version = "5.4.2"; pyproject = true; disabled = pythonOlder "3.7"; @@ -55,7 +55,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "Flask-Security-Too"; inherit version; - hash = "sha256-Ay7+gk+zuUlXtw0LDdsnvSa22z+yE6VR1guu9QmiFvw="; + hash = "sha256-dzVHHC5Lsh6rUC+cOyNEe/uHVTzkObhFffgSvFOfKoI="; }; nativeBuildInputs = [ @@ -71,7 +71,6 @@ buildPythonPackage rec { passlib importlib-resources wtforms - freezegun ]; passthru.optional-dependencies = { @@ -105,6 +104,7 @@ buildPythonPackage rec { pony pytestCheckHook zxcvbn + freezegun ] ++ passthru.optional-dependencies.babel ++ passthru.optional-dependencies.common