[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch wip-python-team updated: gnu: python-jsonpickle: Update to 3.0.4.
From: |
guix-commits |
Subject: |
branch wip-python-team updated: gnu: python-jsonpickle: Update to 3.0.4. |
Date: |
Thu, 02 May 2024 11:45:03 -0400 |
This is an automated email from the git hooks/post-receive script.
rekado pushed a commit to branch wip-python-team
in repository guix.
The following commit(s) were added to refs/heads/wip-python-team by this push:
new aa22848cea gnu: python-jsonpickle: Update to 3.0.4.
aa22848cea is described below
commit aa22848cea768eaa25ec862a2200cf9233c69b03
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu May 2 17:42:49 2024 +0200
gnu: python-jsonpickle: Update to 3.0.4.
* gnu/packages/python-web.scm (python-jsonpickle): Update to 3.0.4.
[build-system]: Use pyproject-build-system.
[arguments]: Use test-flags; add 'pre-check phase.
[propagated-inputs]: Add python-importlib-metadata.
[native-inputs]: Add python-bson, python-ecdsa, python-feedparser,
python-pymongo, python-pytest, python-pytest-benchmark, python-pytest-cov,
python-pytest-enabler, python-setuptools, python-setuptools-scm,
python-simplejson, python-sqlalchemy, python-ujson, and tzdata-for-tests.
Change-Id: I99e41ae2652ce02b090ee2b99a7b850a19b5f353
---
gnu/packages/python-web.scm | 50 +++++++++++++++++++++++++++++----------------
1 file changed, 32 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index affa2f52f4..e1084ef103 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1524,30 +1524,44 @@ CSS3 that adds programming capabilities and some other
syntactic sugar.")
(define-public python-jsonpickle
(package
(name "python-jsonpickle")
- (version "1.5.2")
+ (version "3.0.4")
(source (origin
(method url-fetch)
(uri (pypi-uri "jsonpickle" version))
(sha256
(base32
- "0n93h9b9ad58lxdfbvgsh4b25mkg146qikzcgghyc75vjk7rp2cy"))))
- (build-system python-build-system)
+ "0ay6r1bhcw7qy8k5n4xxgy9dqzhxx8syg5ra9wwqzk91ca6lrcd1"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases (modify-phases %standard-phases
- (replace 'check
- (lambda _
- (invoke "pytest" "-vv"
- ;; Prevent running the flake8 and black
- ;; pytest plugins, which only tests style
- ;; and frequently causes harmless failures.
- "-o" "addopts=''"))))))
- (native-inputs
- (list python-setuptools-scm
- python-toml ;XXX: for setuptools_scm[toml]
- ;; For tests.
- python-numpy
- python-pandas
- python-pytest))
+ (list
+ #:test-flags
+ ;; Prevent running the flake8 and black pytest plugins, which only tests
+ ;; style and frequently causes harmless failures.
+ '(list "-o" "addopts=''" "tests")
+ #:phases
+ '(modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "TZ" "UTC")
+ (setenv "TZDIR"
+ (search-input-directory inputs "share/zoneinfo")))))))
+ (propagated-inputs
+ (list python-importlib-metadata))
+ (native-inputs
+ (list python-bson
+ python-ecdsa
+ python-feedparser
+ python-pymongo
+ python-pytest
+ python-pytest-benchmark
+ python-pytest-cov
+ python-pytest-enabler
+ python-setuptools
+ python-setuptools-scm
+ python-simplejson
+ python-sqlalchemy
+ python-ujson
+ tzdata-for-tests))
(home-page "https://jsonpickle.github.io/")
(synopsis "Serialize object graphs into JSON")
(description
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch wip-python-team updated: gnu: python-jsonpickle: Update to 3.0.4.,
guix-commits <=