[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/45: gnu: python-isort: Update to 5.10.1.
From: |
guix-commits |
Subject: |
22/45: gnu: python-isort: Update to 5.10.1. |
Date: |
Wed, 12 Jan 2022 17:58:42 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 5f7559efd49ca22fd8fc849f0ca10b1dd6c787a9
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Jan 12 18:02:05 2022 +0100
gnu: python-isort: Update to 5.10.1.
* gnu/packages/python-xyz.scm (python-isort): Update to 5.10.1.
[arguments]: Add phase to support newer Black versions. Install another
test plugin.
[native-inputs]: Add PYTHON-NATSORT.
---
gnu/packages/python-xyz.scm | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2c332de983..2b37a4d560 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18437,7 +18437,7 @@ multitouch applications.")
(define-public python-isort
(package
(name "python-isort")
- (version "5.7.0")
+ (version "5.10.1")
(source
(origin
(method git-fetch)
@@ -18450,11 +18450,17 @@ multitouch applications.")
(snippet '(for-each delete-file (find-files "." "\\.whl$")))
(sha256
(base32
- "0phq4s911mjjdyr5h5siz93jnpkqb2qgphgcfk6axncgxr8i7vi1"))))
+ "09spgl2k9xrprr5gbpfc91a8p7mx7a0c64ydgc91b3jhrmnd9jg1"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'loosen-requirements
+ (lambda _
+ ;; Permit newer versions of black.
+ (substitute* "example_isort_formatting_plugin/pyproject.toml"
+ (("\\^20\\.08b1")
+ ">= 20.08b1"))))
;; A foretaste of what our future python-build-system will need to
;; do.
(replace 'build
@@ -18471,6 +18477,7 @@ multitouch applications.")
(let ((out (assoc-ref outputs "out")))
;; Patch to use the core poetry API.
(substitute* '("example_isort_formatting_plugin/pyproject.toml"
+ "example_isort_sorting_plugin/pyproject.toml"
"example_shared_isort_profile/pyproject.toml")
(("poetry>=0.12")
"poetry-core>=1.0.0")
@@ -18482,6 +18489,7 @@ multitouch applications.")
"--no-isolation" "--outdir=dist"
source-directory))
'("example_isort_formatting_plugin"
+ "example_isort_sorting_plugin"
"example_shared_isort_profile"))
;; Install them to temporary storage, for the test.
(setenv "HOME" (getcwd))
@@ -18502,6 +18510,7 @@ multitouch applications.")
("python-colorama" ,python-colorama)
("python-hypothesmith" ,python-hypothesmith)
("python-libcst" ,python-libcst-minimal)
+ ("python-natsort" ,python-natsort)
("python-poetry-core" ,python-poetry-core)
("python-pylama" ,python-pylama)
("python-pypa-build" ,python-pypa-build)
- 09/45: gnu: postorius: Build with Django 2.2., (continued)
- 09/45: gnu: postorius: Build with Django 2.2., guix-commits, 2022/01/12
- 13/45: gnu: abjad: Fix build., guix-commits, 2022/01/12
- 11/45: gnu: repo2docker: Update to 2021.08.0., guix-commits, 2022/01/12
- 10/45: gnu: python-matrix-synapse-ldap3: Fix build., guix-commits, 2022/01/12
- 21/45: gnu: python-platformdirs: Update to 2.4.1., guix-commits, 2022/01/12
- 19/45: gnu: python-typing-extensions: Update to 3.10.0.2., guix-commits, 2022/01/12
- 20/45: gnu: python-pathspec: Update to 0.9.0., guix-commits, 2022/01/12
- 01/45: gnu: Add cmark-gfm., guix-commits, 2022/01/12
- 15/45: gnu: python-modin: Permit newer versions of pandas., guix-commits, 2022/01/12
- 17/45: gnu: python-nbsphinx: Update to 0.8.8., guix-commits, 2022/01/12
- 22/45: gnu: python-isort: Update to 5.10.1.,
guix-commits <=
- 34/45: gnu: python-packaging: Add 21.3., guix-commits, 2022/01/12
- 33/45: gnu: python-oslo.config: Update to 8.7.1., guix-commits, 2022/01/12
- 25/45: gnu: python-pyls-black: Update to 0.4.7., guix-commits, 2022/01/12
- 35/45: gnu: python-oslo.utils: Update to 4.12.0., guix-commits, 2022/01/12
- 32/45: gnu: python-sphinx-gallery: Update to 0.10.1., guix-commits, 2022/01/12
- 37/45: gnu: python-oslo.log: Update to 4.6.1., guix-commits, 2022/01/12
- 38/45: gnu: python-scikit-fuzzy: Disable tests., guix-commits, 2022/01/12
- 39/45: gnu: python-sqlalchemy-utils: Update to 0.38.2., guix-commits, 2022/01/12
- 40/45: gnu: python-websocket-client: Update to 1.2.3., guix-commits, 2022/01/12
- 42/45: gnu: python-dyniterpy: Add missing inputs., guix-commits, 2022/01/12