From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OG+JOJX/zV8oFQAA0tVLHw (envelope-from ) for ; Mon, 07 Dec 2020 10:10:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4M1jNJX/zV8kFgAAbx9fmQ (envelope-from ) for ; Mon, 07 Dec 2020 10:10:29 +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 3494F9403AA for ; Mon, 7 Dec 2020 10:10:29 +0000 (UTC) Received: from localhost ([::1]:54856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmDTQ-0002yT-31 for larch@yhetil.org; Mon, 07 Dec 2020 05:10:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmDT0-0002y8-DF for guix-patches@gnu.org; Mon, 07 Dec 2020 05:10:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40940) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmDT0-0006he-5v for guix-patches@gnu.org; Mon, 07 Dec 2020 05:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kmDT0-0005nc-0Y for guix-patches@gnu.org; Mon, 07 Dec 2020 05:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45096] [PATCH] gnu: python-arrow: Update to 0.17.0. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Dec 2020 10:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45096 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45096@debbugs.gnu.org Cc: Tanguy Le Carrour X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160733577722234 (code B ref -1); Mon, 07 Dec 2020 10:10:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Dec 2020 10:09:37 +0000 Received: from localhost ([127.0.0.1]:52479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmDSb-0005mY-Cv for submit@debbugs.gnu.org; Mon, 07 Dec 2020 05:09:37 -0500 Received: from lists.gnu.org ([209.51.188.17]:48994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmDSa-0005mR-8q for submit@debbugs.gnu.org; Mon, 07 Dec 2020 05:09:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmDSa-0002vx-4V for guix-patches@gnu.org; Mon, 07 Dec 2020 05:09:36 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:55061) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmDSX-0006XI-S0 for guix-patches@gnu.org; Mon, 07 Dec 2020 05:09:35 -0500 Received: from rafflesia.easter-eggs.fr (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay12.mail.gandi.net (Postfix) with ESMTPA id 87A73200010; Mon, 7 Dec 2020 10:09:29 +0000 (UTC) From: Tanguy Le Carrour Date: Mon, 7 Dec 2020 11:09:20 +0100 Message-Id: <20201207100920.6899-1-tanguy@bioneland.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=217.70.178.232; envelope-from=tanguy@bioneland.org; helo=relay12.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Spam-Score: 2.70 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 3494F9403AA X-Spam-Score: 2.70 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: a7sckRmltXan * gnu/packages/time.scm (python-arrow): Update to 0.17.0. [arguments]: Replace check phase to invoke pytest. [native-inputs]: Add python-pytest, python-pytest-cov and python-pytest-mock. [propagated-inputs]: Add python-pytz. [home-page]: Update. --- gnu/packages/time.scm | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index d9ea0e12c2..e10258b6db 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -399,21 +399,30 @@ timestamps.") (define-public python-arrow (package (name "python-arrow") - (version "0.10.0") + (version "0.17.0") (source (origin (method url-fetch) (uri (pypi-uri "arrow" version)) (sha256 (base32 - "08n7q2l69hlainds1byd4lxhwrq7zsw7s640zkqc3bs5jkq0cnc0")))) + "1m3fpz96w3g08i9x9cpqh3cr795y9zbj1bfnay3ccdhxv86d227z")))) (build-system python-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest" "-vv" "tests")))))) (native-inputs `(;; For testing ("python-chai" ,python-chai) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-mock" ,python-pytest-mock) ("python-simplejson" ,python-simplejson))) (propagated-inputs - `(("python-dateutil" ,python-dateutil))) - (home-page "https://github.com/crsmithdev/arrow/") + `(("python-dateutil" ,python-dateutil) + ("python-pytz" ,python-pytz))) + (home-page "https://github.com/arrow-py/arrow") (synopsis "Dates and times for Python") (description "Arrow is a Python library to creating, manipulating, formatting and -- 2.29.2