[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/13: gnu: python-pymodbus: Update to 2.5.3.
From: |
guix-commits |
Subject: |
09/13: gnu: python-pymodbus: Update to 2.5.3. |
Date: |
Fri, 5 Nov 2021 10:22:13 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit f3875628407f0e407696dcfad20832ea1ab5e3d0
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Nov 4 22:43:10 2021 -0400
gnu: python-pymodbus: Update to 2.5.3.
* gnu/packages/python-xyz.scm (python-pymodbus): Update to 2.5.3.
[phases]{disable-problematic-tests}: Delete an extra test module.
[native-inputs]: Remove python-asynctest.
---
gnu/packages/python-xyz.scm | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e2dfbd8..0565152 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16298,7 +16298,7 @@ support.")
(define-public python-pymodbus
(package
(name "python-pymodbus")
- (version "2.5.2")
+ (version "2.5.3")
(source
(origin
(method git-fetch)
@@ -16308,24 +16308,28 @@ support.")
(file-name (git-file-name name version))
(sha256
(base32
- "009blvzi56434f0qfjdg3r8q1flb1jcx2786wi0i0xf81025z9cf"))))
+ "0kjjrx7xrlx0pf3y67hhr4xvqrly3xzmvf6ic5as61m6z19m7zd5"))))
(build-system python-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(add-after 'unpack 'disable-problematic-tests
(lambda _
- ;; The following test module rely on Python's own 'test'
- ;; module, which is not distributed in the Python
+ ;; The following test modules rely on Python's own
+ ;; 'test' module, which is not distributed in the Python
;; package of Guix.
(delete-file "test/test_client_async_asyncio.py")
- (delete-file "test/test_client_sync_diag.py")))
+ (delete-file "test/test_client_sync_diag.py")
+ ;; The following test module requires the asynctest
+ ;; library, abandoned without support for Python 3.9+
+ ;; (see:
+ ;; https://github.com/riptideio/pymodbus/issues/681).
+ (delete-file "test/test_server_asyncio.py")))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "python" "-m" "pytest")))))))
(native-inputs
- `(("python-asynctest" ,python-asynctest)
- ("python-mock" ,python-mock)
+ `(("python-mock" ,python-mock)
("python-pytest" ,python-pytest)
("python-redis" ,python-redis)
("python-sqlalchemy" ,python-sqlalchemy)
- 01/13: gnu: osinfo-db-tools: Update to 1.9.0., (continued)
- 01/13: gnu: osinfo-db-tools: Update to 1.9.0., guix-commits, 2021/11/05
- 06/13: gnu: Add python-asyncmy., guix-commits, 2021/11/05
- 07/13: gnu: Add python-aiomysql., guix-commits, 2021/11/05
- 11/13: gnu: python-wmctrl: Add missing python-attrs propagated inputs., guix-commits, 2021/11/05
- 13/13: gnu: conan: Update to 1.42.0., guix-commits, 2021/11/05
- 05/13: gnu: Add python-asyncpg., guix-commits, 2021/11/05
- 08/13: gnu: python-aiomysql: Update to 0.17.8., guix-commits, 2021/11/05
- 04/13: gnu: Add python-sphinxcontrib-asyncio., guix-commits, 2021/11/05
- 12/13: gnu: python-urllib3: Update to 1.26.7., guix-commits, 2021/11/05
- 10/13: gnu: python-asynctest: Delete package., guix-commits, 2021/11/05
- 09/13: gnu: python-pymodbus: Update to 2.5.3.,
guix-commits <=