[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/23: gnu: python-utils: Update to 3.9.1.
From: |
guix-commits |
Subject: |
15/23: gnu: python-utils: Update to 3.9.1. |
Date: |
Sun, 1 Dec 2024 19:48:43 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 44a80da750fe36cb62e66cc16eb5de55fa0f87dc
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Dec 1 20:41:52 2024 +0000
gnu: python-utils: Update to 3.9.1.
* gnu/packages/python-xyz.scm (python-utils): Update to 3.9.1.
[source]: Adjust URI name as PyPI archive has been changed.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Add 'fix-pytest-config and use default 'check.
[propagated-inputs]: Add python-loguru and python-typing-extensions.
[native-inputs]: Remove labels. Remove python-pytest-runner and
python-six; add python-setuptools and python-wheel.
[description]: Fix fill column.
Change-Id: I0365e3753e411363f117a35e972ff3e738ddb1ea
---
gnu/packages/python-xyz.scm | 44 ++++++++++++++++++++++++--------------------
1 file changed, 24 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9712f6ce43..a164e9b563 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25305,31 +25305,35 @@ point is the point of maximum curvature.")
(define-public python-utils
(package
(name "python-utils")
- (version "2.4.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "python-utils" version))
- (sha256
- (base32
- "12c0glzkm81ljgf6pwh0d4rmdm1r7vvgg3ifzp8yp9cfyngw07zj"))))
- (build-system python-build-system)
+ (version "3.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "python_utils" version))
+ (sha256
+ (base32 "18292j4p1bvlpbrfj2cgkdby6dpgnl5gbjwly0qb4pj1j914nmzb"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (delete-file "pytest.ini")
- (invoke "pytest" "-vv"))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-pytest-config
+ (lambda _
+ ;; Drop test coverage requirements.
+ (substitute* "pytest.ini"
+ ((".*--cov.*") "")))))))
(native-inputs
- `(("pytest-runner" ,python-pytest-runner)
- ("pytest" ,python-pytest)
- ("six" ,python-six)))
+ (list python-pytest
+ python-setuptools
+ python-wheel))
+ (propagated-inputs
+ (list python-loguru
+ python-typing-extensions))
(home-page "https://github.com/WoLpH/python-utils")
(synopsis "Convenient utilities not included with the standard Python
install")
(description
- "Python Utils is a collection of small Python functions and classes which
- make common patterns shorter and easier.")
+ "Python Utils is a collection of small Python functions and classes
+which make common patterns shorter and easier.")
(license license:bsd-2)))
(define-public python-diff-cover
- branch python-team updated (864747d220 -> f47b84af15), guix-commits, 2024/12/01
- 03/23: gnu: python-flake8-bugbear: Update to 24.10.31., guix-commits, 2024/12/01
- 07/23: gnu: python-flake8-pie: Update to 24.9.0., guix-commits, 2024/12/01
- 04/23: gnu: python-flake8-implicit-str-concat: Update to 0.5.0., guix-commits, 2024/12/01
- 06/23: gnu: python-flake8-pyi: Update to 24.9.0., guix-commits, 2024/12/01
- 11/23: gnu: python-sphinx-5: Adjust inputs., guix-commits, 2024/12/01
- 01/23: gnu: python-stdio-mgr: Fix build., guix-commits, 2024/12/01
- 10/23: gnu: python-sphinx: Adjust inputs., guix-commits, 2024/12/01
- 13/23: gnu: python-py-partiql-parser: Update to 0.5.6., guix-commits, 2024/12/01
- 08/23: gnu: python-flake8-quotes: Update to 3.4.0., guix-commits, 2024/12/01
- 15/23: gnu: python-utils: Update to 3.9.1.,
guix-commits <=
- 17/23: gnu: python-codespell: Update to 2.3.0., guix-commits, 2024/12/01
- 18/23: gnu: python-diff-cover: Update to 9.2.0., guix-commits, 2024/12/01
- 19/23: gnu: python-marshmallow: Update to 3.22.0., guix-commits, 2024/12/01
- 20/23: gnu: python-faker: Update to 33.1.0., guix-commits, 2024/12/01
- 14/23: gnu: python-pep8-naming: Update to 0.14.1., guix-commits, 2024/12/01
- 09/23: gnu: python-flake8-isort: Update to 6.1.1., guix-commits, 2024/12/01
- 05/23: gnu: python-flake8-print: Update to 5.0.0., guix-commits, 2024/12/01
- 02/23: gnu: python-termcolor: Update to 2.5.0., guix-commits, 2024/12/01
- 16/23: gnu: python-progressbar2: Update to 4.5.0., guix-commits, 2024/12/01
- 12/23: gnu: python-validators: Update to 0.34.0., guix-commits, 2024/12/01