From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ANkgBpPvLmH4BgEAgWs5BA (envelope-from ) for ; Wed, 01 Sep 2021 05:12:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6DeYAZPvLmEpSQAA1q6Kng (envelope-from ) for ; Wed, 01 Sep 2021 03:12:19 +0000 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 BD1416E76 for ; Wed, 1 Sep 2021 05:12:18 +0200 (CEST) Received: from localhost ([::1]:51360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLGfh-000775-P2 for larch@yhetil.org; Tue, 31 Aug 2021 23:12:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLGfU-00073R-Rb for guix-patches@gnu.org; Tue, 31 Aug 2021 23:12:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52457) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLGfU-00034e-JI for guix-patches@gnu.org; Tue, 31 Aug 2021 23:12:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mLGfU-0004oU-FN for guix-patches@gnu.org; Tue, 31 Aug 2021 23:12:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50213] [PATCH 6/6] gnu: python-flask: Update to 2.0.1. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Sep 2021 03:12:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50213 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50213@debbugs.gnu.org Cc: jgart Received: via spool by 50213-submit@debbugs.gnu.org id=B50213.163046586718400 (code B ref 50213); Wed, 01 Sep 2021 03:12:04 +0000 Received: (at 50213) by debbugs.gnu.org; 1 Sep 2021 03:11:07 +0000 Received: from localhost ([127.0.0.1]:35765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLGeZ-0004mb-1T for submit@debbugs.gnu.org; Tue, 31 Aug 2021 23:11:07 -0400 Received: from mx1.dismail.de ([78.46.223.134]:41420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLGeU-0004l3-Kg for 50213@debbugs.gnu.org; Tue, 31 Aug 2021 23:11:03 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 3c3eaa50 for <50213@debbugs.gnu.org>; Wed, 1 Sep 2021 05:10:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=20190914; bh=lttzcGdwdpZ3QZxX6xVfY H9ZD8xIY4PbnxIV3bULkro=; b=iV1iQjedVCCzgSdnQpyxHJ2CSEkE1VTNDyP80 gVFx0IE8FR7+qS7Q8eeTjywsU8+9DFJezNKov/RFPM3Jaw3UsnKnEr6Tx/XJO7cJ e45ik4ytJyt49XD9y/w1mYl7pV7toRVd5zz9xWjlbvfAWUeeaFQreysQTbZAep2U MCNnJcSUxXGw6ru7mJCdLe/q7I2ethEksGcC73+9Vb9pOwiki7Fl5ubiFCnvpT4g NZShcsmDtDdOMA+TJxCTaqjM4otCsjDBcFKRh13x4PbeFYpBRHBOz9cHz7WhSSke Vt/2NS9oVlZcdjokU+pZ8RIakzNK0WDsoxOhiuPNqOr4TltHQ== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id c039dfa1 for <50213@debbugs.gnu.org>; Wed, 1 Sep 2021 05:10:54 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 42c2cf54 for <50213@debbugs.gnu.org>; Wed, 1 Sep 2021 05:10:53 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id d0f818fd (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 1 Sep 2021 05:10:53 +0200 (CEST) Date: Tue, 31 Aug 2021 23:09:58 -0400 Message-Id: <20210901030958.16733-6-jgart@dismail.de> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210901030958.16733-1-jgart@dismail.de> References: <20210901030958.16733-1-jgart@dismail.de> 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" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630465938; h=from:from:sender:sender:reply-to: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=EEKw+alRqWzJ0pFInpfmgcK/91r70OJmZcjX2v4r+JY=; b=vArRDx/HRCh93z9qcCySprTE3oBBMqxhENA4pWVg37TMsp6Q8yybyNUu75rr4R4css5Spj nk/B0vg0Sw1CsgEBbK84/gGRUcO7btSJMXR6HWeXIxviQQ55t15fgX0uVv9aX5RWttfN6e bkYAHZwNETVqCO3ZO1s6KL8AQKDQR0PklTOqKAy4ojWAs8ERiTapNcTigfC4k9ZDj+ZcLO G/1flyWGJg6lQ07TGlZCa67r1EFlcxxnYwC9dUGrkZcfSOVM3AzVftWM/qQCXEZVlaEcD3 3VB7lH6dkhOgyDYfWbYebaaIJB2NQN/XaXLTlFC7Xy2MGTmCYNARF+9f7Ny1LQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630465938; a=rsa-sha256; cv=none; b=j/BSQaoUwtkqDcW7o1RRFkw6htYJDlrKKitzuvkq1HRP51wqdbsHDfUotDIKNvxsi6aX8w JEAQcreVtBQMbUuQPzhVbNpIs2wGGZJ7ZuFAvJXcYRBKDJjyeqf5/wZBLNWa2bQr5Mn6Fl 7L8vu/oHyVvU2nCiR2FmclsSQZCUz0pw9L4eC6/oLGIlp/No/Tfdi0TdIi19/TOiDV4Srf Ka1/pvoDZiEZS+IFMhM+ZPYKRMO84EeR/Liw9xhXTRctD9D5Vz+ex54EBa6af+GKn90FpS IjEOH5RxHDTbqZIN85d3bLzYVA4Ir/5g46P298jE8rlqRCqj+pbKF9iZcM5nKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=iV1iQjed; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 1.08 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=iV1iQjed; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: BD1416E76 X-Spam-Score: 1.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: ubc6ovi4KROe * gnu/packages/python-web.scm (python-flask): Update to 2.0.1. [arguments]: Use add-installed-pythonpath and tests? predicate in the check phase. [native-inputs]: Add python-blinker, python-greenlet, and python-pytest-6. [propagated-inputs]: Add python-markupsafe, python-asgiref, and python-dotenv. --- gnu/packages/python-web.scm | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 07db685e2a..938b93a4ba 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2975,27 +2975,32 @@ minimum of WSGI.") (define-public python-flask (package (name "python-flask") - (version "1.1.2") + (version "2.0.1") (source (origin (method url-fetch) (uri (pypi-uri "Flask" version)) (sha256 (base32 - "0q3h295izcil7lswkzfnyg3k5gq4hpmqmpl6i7s5m1n9szi1myjf")))) + "0mcgwq7b4qd99mf5bsvs3wphchxarf8kgil4hwww3blj31xjak0w")))) (build-system python-build-system) (arguments '(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - (setenv "PYTHONPATH" (string-append "./build/lib:" - (getenv "PYTHONPATH"))) - (invoke "pytest" "-vv" "tests")))))) + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv"))))))) (native-inputs - `(("python-pytest" ,python-pytest))) + `(("python-blinker" ,python-blinker) + ("python-greenlet" ,python-greenlet) + ("python-pytest" ,python-pytest-6))) (propagated-inputs `(("python-itsdangerous" ,python-itsdangerous) ("python-jinja2" ,python-jinja2) + ("python-markupsafe" ,python-markupsafe) + ("python-asgiref" ,python-asgiref) + ("python-dotenv" ,python-dotenv) ("python-click" ,python-click) ("python-werkzeug" ,python-werkzeug))) (home-page "https://www.palletsprojects.com/p/flask/") -- 2.33.0