[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/08: gnu: python-msgpack-transitional: Fix broken tests.
From: |
guix-commits |
Subject: |
06/08: gnu: python-msgpack-transitional: Fix broken tests. |
Date: |
Tue, 11 Jan 2022 14:35:56 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit d07d3ea008d24f8ad5f4f32f86cb1f89226123ae
Author: Tanguy Le Carrour <tanguy@bioneland.org>
AuthorDate: Thu Jan 6 15:33:58 2022 +0100
gnu: python-msgpack-transitional: Fix broken tests.
* gnu/packages/python-xyz.scm (python-msgpack-transitional)[arguments]:
Replace references to deprecated Python methods.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/python-xyz.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 36434a4707..cf6f17493e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10870,6 +10870,11 @@ reading and writing MessagePack data.")
(substitute* "setup.py"
(("TRANSITIONAL = False")
"TRANSITIONAL = 1"))
+ ;; This old version is not compatible with Python 3.9
+ (substitute* '("test/test_buffer.py" "test/test_extension.py")
+ ((".tostring\\(") ".tobytes("))
+ (substitute* '("test/test_buffer.py" "test/test_extension.py")
+ ((".fromstring\\(") ".frombytes("))
#t))))))))
(define-public python2-msgpack
- branch master updated (10b2ad7dbf -> cd68fc1e42), guix-commits, 2022/01/11
- 01/08: doc: Fix typo in 'setuid-program' example., guix-commits, 2022/01/11
- 03/08: shell: Cache profiles even when using package specs., guix-commits, 2022/01/11
- 04/08: ui: 'package->recutils' can split the "system:" line., guix-commits, 2022/01/11
- 07/08: gnu: poetry: Fix package inputs., guix-commits, 2022/01/11
- 08/08: gnu: ceres: Update to 2.0.0., guix-commits, 2022/01/11
- 02/08: build-system: Pass #:make-dynamic-linker-cache? #f when cross-compiling., guix-commits, 2022/01/11
- 05/08: gnu: python-os-testr: Add python-testrepository to inputs., guix-commits, 2022/01/11
- 06/08: gnu: python-msgpack-transitional: Fix broken tests.,
guix-commits <=