From 5190d30ad814608f7c5894c16df72de1df0b16b3 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 10 Aug 2025 01:57:36 +0100 Subject: [PATCH] gnu: Remove python-msgpack-transitional. * gnu/packages/python-xyz.scm (python-msgpack-transitional): Delete variable. Change-Id: I5bd01468837d9ee353d85134ebd316a9cc7f192c --- gnu/packages/python-xyz.scm | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d740622237e2445ae30fbd9a7d9d3a62229e667a..c172db95667497938ff187bdc694b1b7784da843 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17699,37 +17699,6 @@ reading and writing MessagePack data.") (home-page "https://pypi.org/project/msgpack/") (license license:asl2.0))) -;; This msgpack library's name changed from "python-msgpack" to "msgpack" with -;; release 0.5. Some packages like poetry still call it by the old name for now. -;; -(define-public python-msgpack-transitional - (package - (inherit python-msgpack) - (name "python-msgpack-transitional") - (version "0.5.6") - (source (origin - (method url-fetch) - (uri (pypi-uri "msgpack" version)) - (sha256 - (base32 - "1hz2dba1nvvn52afg34liijsm7kn65cmn06dl0xbwld6bb4cis0f")))) - (arguments - (substitute-keyword-arguments (package-arguments python-msgpack) - ((#:phases phases) - `(modify-phases ,phases - (add-after 'unpack 'configure-transitional - (lambda _ - ;; Keep using the old name. - (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 python-openstep-plist (package (name "python-openstep-plist")