From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CKDBMUa8k2IcdAAAbAwnHQ (envelope-from ) for ; Sun, 29 May 2022 20:32:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aPyvMUa8k2LmLwAA9RJhRA (envelope-from ) for ; Sun, 29 May 2022 20:32:38 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6CD103448E for ; Sun, 29 May 2022 20:32:38 +0200 (CEST) Received: from localhost ([::1]:45180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvNiP-0002de-Lm for larch@yhetil.org; Sun, 29 May 2022 14:32:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvNfx-0007ew-D3 for guix-patches@gnu.org; Sun, 29 May 2022 14:30:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48029) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvNfx-0000U0-26 for guix-patches@gnu.org; Sun, 29 May 2022 14:30:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nvNfw-0003GA-VU for guix-patches@gnu.org; Sun, 29 May 2022 14:30:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51314] [PATCH v4 10/14] gnu: Add python-flask-login-0.5. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 May 2022 18:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51314 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51314@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 51314-submit@debbugs.gnu.org id=B51314.165384896812376 (code B ref 51314); Sun, 29 May 2022 18:30:04 +0000 Received: (at 51314) by debbugs.gnu.org; 29 May 2022 18:29:28 +0000 Received: from localhost ([127.0.0.1]:41907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvNfM-0003DX-1M for submit@debbugs.gnu.org; Sun, 29 May 2022 14:29:28 -0400 Received: from mout01.posteo.de ([185.67.36.65]:59159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvNfF-0003Cn-D9 for 51314@debbugs.gnu.org; Sun, 29 May 2022 14:29:22 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id CD82924002C for <51314@debbugs.gnu.org>; Sun, 29 May 2022 20:29:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1653848955; bh=33rjVQm7pi6nNcG3UaWJakiTMJfo6Wj37JFXiaO2ykY=; h=From:To:Cc:Subject:Date:From; b=hdNMcmbM1gL2ZSNt/STq3NRV9QqDkJuBEoKBNv2ZiTnniRha421BtUeGFxJWMQw/Q LBl8B5z50SG7S7qI1Lgo15I9PpSYMi5i0JtGDl97fEuNIa6GrN6uAX9d8Ls95fI5Er mTF5cEdo+hFmmGvrWsFp5pkWGhJiHm8igWexE7IshetUv/HuV7O10a3Ah09CD0YNyN GAH7M20Z1I0lYe9cM/W1+HFta0Xsag1CSUTf5grblb+EKqeCnduZDDPWButMIEZ2o+ e2CIUBGrG+m/+QfhfZZLyp70uIyzCgQrjlHQVnA/+K5/AkKuKw02+BprranugQZ8ul i1iKJqbhwN4ew== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LB6Wb0GGVz9rxd; Sun, 29 May 2022 20:29:14 +0200 (CEST) From: Vinicius Monego Date: Sun, 29 May 2022 18:27:42 +0000 Message-Id: <20220529182746.314668-11-monego@posteo.net> In-Reply-To: <20220529182746.314668-1-monego@posteo.net> References: <20220529182746.314668-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653849158; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=3n3jzS3Xmj3Xk07ReuXY7LBV76LMlmE40r+kp4zWRRA=; b=ZU9JNcGPDBneGDRous717LOcS/e/4SM/5fFUnZ3mxsSMM/mhCOER+PLfxtUcJkf7RiPoEG wMQbOQ1XoU399X8erXO0WyavvmPBldsOPZ11zL+W35ZZj6Dv6OEu9fsnM6Rz+fcEYe7pXY mazsD+wKWtCc3tjAzWAjx0kiFmUyLEb5DjORTAux/CaxUWInRAuNoj73phbNZL3Xjr1tkt KMOrznN86wa59Vd8vD0IQlDUKh+BkGy1gnTNmUpgfQy/yTjTXbroHkgL9X3ofhbheSCQ7m E5fJR6NeWGdWCwtak4Juq/8LH4tk9i9fFv57xPzZU4GfeVVzC18j5Tw7OmeEfg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653849158; a=rsa-sha256; cv=none; b=l3WTtyrrJk/+4Py+/r+ZGElAeS2ZV1HQy+tV73xt8ItEW+A+6mOcpevH6IjsyWWsqiX3Y6 +W2WEuAspy/FFv5wjwlfHq1ERSLjK7qp41Lq32dwWjqVFwWk8uYMby/1wyZ1k97J+c2ZHK MPM/7C2SvN6TUvsEC1e4l5OFFPb0u56w+whChSa+o8A1v08Q9Qi8pcpXwYS+bxza84YFt6 c9awMe2ZfWbGLpcFJuwm4vvyWLZ88kD/5x240wIrjzclH7asVy1lnID1i0F9yTysq1ptgs rx107Vkke8IsZHB+xunPI9LevEdZ3QpbfmQTm4xo3so3U4me28/7Fy1u+0sojg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=hdNMcmbM; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 8.77 X-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=hdNMcmbM; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6CD103448E X-Spam-Score: 8.77 X-Migadu-Spam: Yes X-Migadu-Scanner: scn1.migadu.com X-TUID: JdZTg3cZZHep * gnu/packages/python-web.scm (python-flask-login-0.5): New variable. --- gnu/packages/python-web.scm | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index b4a2bc365b..294060c3f6 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3875,6 +3875,45 @@ (define-public python-flask-login users' sessions over extended periods of time.") (license license:expat))) +(define-public python-flask-login-0.5 + (package + (inherit python-flask-login) + (name "python-flask-login") + (version "0.5.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/maxcountryman/flask-login") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "11ac924w0y4m0kf3mxnxdlidy88jfa7njw5yyrq16dvnx4iwd8gg")))) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv" "-c" "/dev/null" "-k" + ;; All the tests below fail with an AssertionError + ;; because of a missing address, e.g.: + ;; E - /login?next=%2Fsecret + ;; E + http://foo.com/login?next=%2Fsecret + (string-append + "not test_redirects_to_refresh_view" + " and not test_refresh_with_next_in_session" + " and not test_set_login_view_without_blueprints" + " and not test_unauthorized_redirects_to_login_view" + " and not test_unauthorized_uses_blueprint_login_view" + " and not test_unauthorized_with_next_in_session" + " and not test_unauthorized_with_next_in_strong_session" + " and not test_unauthorized_ignores_host_from_x_forwarded_for_header" + " and not test_unauthorized_uses_host_from_config_when_available" + " and not test_unauthorized_uses_host_from_next_url" + " and not test_unauthorized_uses_host_from_x_forwarded_for_header")))))))))) + (define-public python-oauth2client (package (name "python-oauth2client") -- 2.34.1