From patchwork Mon Dec 7 10:09:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 25625 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4205527BC01; Mon, 7 Dec 2020 10:10:28 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C05D227BC00 for ; Mon, 7 Dec 2020 10:10:27 +0000 (GMT) Received: from localhost ([::1]:54856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmDTO-0002yT-UX for patchwork@mira.cbaines.net; Mon, 07 Dec 2020 05:10:26 -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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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