[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/96: gnu: python-hatchling: Update to 1.14.0.
From: |
guix-commits |
Subject: |
18/96: gnu: python-hatchling: Update to 1.14.0. |
Date: |
Wed, 19 Apr 2023 21:41:06 -0400 (EDT) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 545b9548d590edf3cbf357524abc964762a348b8
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Apr 15 23:55:38 2023 -0400
gnu: python-hatchling: Update to 1.14.0.
* gnu/packages/python-build.scm (python-hatchling): Update to 1.14.0.
[arguments]: Replace do-not-depend-on-hatchling phase with add-src-to-path.
[description]: Expound.
---
gnu/packages/python-build.scm | 59 +++++++++++++++++++------------------------
1 file changed, 26 insertions(+), 33 deletions(-)
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 16a47f151a..f2724ed2fa 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -641,44 +641,37 @@ reflected in the package visible to Python, without
needing a reinstall.")
(define-public python-hatchling
(package
(name "python-hatchling")
- (version "1.13.0")
+ (version "1.14.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "hatchling" version))
(sha256
(base32
- "1isk1kqra0sm2sj2yp39sgk62mx0bp1jnbkwdcl3a1vjrji7blpq"))))
+ "1nn5cyc9fgrbawz38drfkl2s588k2gn3yqdm2cldbx9zy0fsjbj6"))))
(build-system pyproject-build-system)
(arguments
- (list
- #:tests? #false ;there are none
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'do-not-depend-on-hatchling
- (lambda _
- ;; We don't use hatchling.
- (delete-file "pyproject.toml")
- (call-with-output-file "pyproject.toml"
- (lambda (port)
- (format port "\
-[build-system]
-build-backend = 'setuptools.build_meta'
-requires = ['setuptools']
-")))
- (call-with-output-file "setup.cfg"
- (lambda (port)
- (format port "\
-[metadata]
-name = hatchling
-version = '~a' " #$version))))))))
- (propagated-inputs
- (list python-editables
- python-importlib-metadata
- python-packaging
- python-pathspec
- python-pluggy
- python-tomli))
- (home-page "https://pypi.org/project/hatchling/")
- (synopsis "Extensible Python build backend")
- (description "Hatchling is an extensible Python build backend.")
+ (list #:tests? #f ;to keep dependencies to a minimum
+ #:phases #~(modify-phases %standard-phases
+ (add-before 'build 'add-src-to-path
+ ;; Hatchling uses itself to build itself.
+ (lambda _
+ (setenv "PYTHONPATH" "src"))))))
+ (propagated-inputs (list python-editables
+ python-packaging-bootstrap
+ python-pathspec
+ python-pluggy
+ python-tomli
+ python-trove-classifiers))
+ (home-page "https://hatch.pypa.io/latest/")
+ (synopsis "Modern, extensible Python build backend")
+ (description "Hatch is a modern, extensible Python project manager. It
+has features such as:
+@itemize
+@item Standardized build system with reproducible builds by default
+@item Robust environment management with support for custom scripts
+@item Easy publishing to PyPI or other indexes
+@item Version management
+@item Configurable project generation with sane defaults
+@item Responsive CLI, ~2-3x faster than equivalent tools.
+@end itemize")
(license license:expat)))
- 09/96: gnu: python-pep517-bootstrap: Add TODO comment., (continued)
- 09/96: gnu: python-pep517-bootstrap: Add TODO comment., guix-commits, 2023/04/19
- 11/96: gnu: python-flit-core-bootstrap: Update to 3.8.0., guix-commits, 2023/04/19
- 13/96: gnu: Remove python-typing-extensions-next., guix-commits, 2023/04/19
- 10/96: gnu: python-poetry-core: Update to 1.5.2., guix-commits, 2023/04/19
- 15/96: gnu: python-setuptools-scm: Update to 7.1.0., guix-commits, 2023/04/19
- 03/96: gnu: python-pathspec: Update to 0.11.1., guix-commits, 2023/04/19
- 07/96: gnu: python-setuptools: Update to 67.6.1., guix-commits, 2023/04/19
- 20/96: gnu: python-execnet: Update to 1.9.0-1.d6aa1a5., guix-commits, 2023/04/19
- 08/96: gnu: python-wheel: Update to 0.40.0., guix-commits, 2023/04/19
- 12/96: gnu: python-typing-extensions: Use pyproject-build-system., guix-commits, 2023/04/19
- 18/96: gnu: python-hatchling: Update to 1.14.0.,
guix-commits <=
- 21/96: gnu: python-pytest-benchmark: Update to 4.0.0., guix-commits, 2023/04/19
- 27/96: gnu: poetry: Update to 1.1.12., guix-commits, 2023/04/19
- 30/96: gnu: Add python-asynctest., guix-commits, 2023/04/19
- 33/96: gnu: python-pytest-asyncio: Update to 0.21.0., guix-commits, 2023/04/19
- 36/96: gnu: python-aiohttp: Update to 3.8.4., guix-commits, 2023/04/19
- 52/96: gnu: usbutils: Use G-Expressions., guix-commits, 2023/04/19
- 16/96: gnu: python-flit-scm: Update to 1.7.0., guix-commits, 2023/04/19
- 01/96: gnu: python-xyz: Move some packages to (gnu packages python-build)., guix-commits, 2023/04/19
- 05/96: gnu: python-tomli-w: Use pyproject-build-system., guix-commits, 2023/04/19
- 02/96: gnu: Add python-trove-classifiers., guix-commits, 2023/04/19