From: Tanguy Le Carrour <tanguy@bioneland.org>
To: 45096@debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy@bioneland.org>
Subject: [bug#45096] [PATCH] gnu: python-arrow: Update to 0.17.0.
Date: Mon, 7 Dec 2020 11:09:20 +0100 [thread overview]
Message-ID: <20201207100920.6899-1-tanguy@bioneland.org> (raw)
* 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
next reply other threads:[~2020-12-07 10:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-07 10:09 Tanguy Le Carrour [this message]
2020-12-13 7:51 ` bug#45096: [PATCH] gnu: python-arrow: Update to 0.17.0 Efraim Flashner
2020-12-13 14:10 ` [bug#45096] " Tanguy LE CARROUR
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201207100920.6899-1-tanguy@bioneland.org \
--to=tanguy@bioneland.org \
--cc=45096@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).