[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#77895] [PATCH v2 07/10] gnu: python-transient: Update to 0.25.
From: |
Nicolas Graves |
Subject: |
[bug#77895] [PATCH v2 07/10] gnu: python-transient: Update to 0.25. |
Date: |
Tue, 22 Apr 2025 16:00:34 +0200 |
* gnu/packages/virtualization.scm (python-transient): Update to 0.25.
[source]: Switch to git-fetch to enable tests.
[arguments]{phases}: Refresh phase 'fix-dependencies.
[native-inputs]: Remove python-black, python-mypy, python-twine. Add
python-pytest.
[propagated-inputs]: Replace python-lark by python-lark-parser.
---
gnu/packages/virtualization.scm | 33 +++++++++++++++++----------------
1 file changed, 17 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index b5a0ec9d88..28dd3202df 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -2999,34 +2999,35 @@ (define-public osinfo-db
(define-public python-transient
(package
(name "python-transient")
- (version "0.12")
+ (version "0.25")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "transient" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ALSchwalm/transient")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "148yiqrmcscsi6787y0f27i1y9cf0gcw3mqfv5frhpmsmv62mv5z"))))
+ (base32 "1c2v0z1amgfx747sqn8airq71bnp58syvsaqlazirahyn2yjg04d"))))
(build-system pyproject-build-system)
(arguments
- `(#:tests? #f ; Requires behave
- #:phases (modify-phases %standard-phases
- (add-after 'unpack 'fix-dependencies
- (lambda _
- (substitute* "setup.py"
- (("==")
- ">=")))))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-dependencies
+ (lambda _
+ (substitute* "setup.py"
+ (("(~|=)=") ">=")
+ (("lark-parser>=[0-9.]*") "lark")))))))
(native-inputs
- (list python-black
- python-mypy
- python-pyhamcrest
+ (list python-pyhamcrest
+ python-pytest
python-setuptools
- python-twine
python-wheel))
(propagated-inputs
(list python-beautifultable
python-click
python-importlib-resources
- python-lark-parser
+ python-lark
python-marshmallow
python-progressbar2
python-requests
--
2.49.0
- [bug#77895] [PATCH 5/7] gnu: python-skranger: Improve phase 'build-extensions., (continued)
- [bug#77895] [PATCH python-team 0/7] Some fixes., Sharlatan Hellseher, 2025/04/21
- [bug#77895] [PATCH v2 01/10] gnu: Add python-lark., Nicolas Graves, 2025/04/22
- [bug#77895] [PATCH v2 06/10] gnu: gnome-plots: Switch to python-lark., Nicolas Graves, 2025/04/22
- [bug#77895] [PATCH v2 04/10] gnu: python-bed-reader: Improve phases' style., Nicolas Graves, 2025/04/22
- [bug#77895] [PATCH v2 03/10] gnu: chirp: Update to 0.4.0-4.bc27f66., Nicolas Graves, 2025/04/22
- [bug#77895] [PATCH v2 05/10] gnu: gitless: Fix build and disable failing tests., Nicolas Graves, 2025/04/22
- [bug#77895] [PATCH v2 10/10] gnu: Remove python-lark-parser., Nicolas Graves, 2025/04/22
- [bug#77895] [PATCH v2 02/10] gnu: python-suds: Fix dist-info., Nicolas Graves, 2025/04/22
- [bug#77895] [PATCH v2 07/10] gnu: python-transient: Update to 0.25.,
Nicolas Graves <=
- [bug#77895] [PATCH v2 08/10] gnu: python-commentjson: Switch to python-lark., Nicolas Graves, 2025/04/22
- [bug#77895] [PATCH v2 09/10] gnu: python-hypothesmith: Update to 0.2.0., Nicolas Graves, 2025/04/22
- bug#77895: [PATCH python-team 0/7] Some fixes., Sharlatan Hellseher, 2025/04/23
- [bug#77895] [PATCH python-team 0/7] Some fixes., Sharlatan Hellseher, 2025/04/23