From: Tanguy Le Carrour <tanguy@bioneland.org>
To: 53054@debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy@bioneland.org>
Subject: [bug#53054] [PATCH 2/3] gnu: python-msgpack-transitional: Fix broken tests.
Date: Thu, 6 Jan 2022 15:33:58 +0100 [thread overview]
Message-ID: <20220106143359.11750-2-tanguy@bioneland.org> (raw)
In-Reply-To: <20220106143359.11750-1-tanguy@bioneland.org>
* gnu/packages/python-xyz.scm (python-msgpack-transitional)[arguments]:
Replace references to deprecated Python methods.
---
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 bea33cbf05..40c9e30969 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10688,6 +10688,11 @@ (define-public python-msgpack-transitional
(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
--
2.34.0
next prev parent reply other threads:[~2022-01-06 14:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-06 13:59 [bug#53054] [PATCH 0/3] gnu: poetry: Fix package inputs Tanguy Le Carrour
2022-01-06 14:33 ` [bug#53054] [PATCH 1/3] gnu: python-os-testr: Add python-testrepository to inputs Tanguy Le Carrour
2022-01-06 14:33 ` Tanguy Le Carrour [this message]
2022-01-11 19:51 ` [bug#53054] [PATCH 2/3] gnu: python-msgpack-transitional: Fix broken tests Leo Famulari
2022-01-12 8:10 ` Tanguy LE CARROUR
2022-01-12 18:35 ` Leo Famulari
2022-01-13 8:02 ` Tanguy LE CARROUR
2022-01-13 9:51 ` Tanguy LE CARROUR
2022-01-06 14:33 ` [bug#53054] [PATCH 3/3] gnu: poetry: Fix package inputs Tanguy Le Carrour
2022-01-11 17:55 ` bug#53054: [PATCH 0/3] " Ludovic Courtès
2022-01-12 7:53 ` [bug#53054] " Tanguy LE CARROUR
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220106143359.11750-2-tanguy@bioneland.org \
--to=tanguy@bioneland.org \
--cc=53054@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).