diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-11-02 09:46:42 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-11-02 09:46:42 +0100 |
commit | b1f3c3dfaa69d180306afc01fb1991d759350c4c (patch) | |
tree | dc3fc99e9dc6ee2bd9ed6586d0264310b8745db8 /dev-python/cloudpickle | |
parent | dev-python/poetry-core: Remove old (diff) | |
download | gentoo-b1f3c3dfaa69d180306afc01fb1991d759350c4c.tar.gz gentoo-b1f3c3dfaa69d180306afc01fb1991d759350c4c.tar.bz2 gentoo-b1f3c3dfaa69d180306afc01fb1991d759350c4c.zip |
dev-python/cloudpickle: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cloudpickle')
-rw-r--r-- | dev-python/cloudpickle/Manifest | 1 | ||||
-rw-r--r-- | dev-python/cloudpickle/cloudpickle-3.0.0.ebuild | 44 | ||||
-rw-r--r-- | dev-python/cloudpickle/files/cloudpickle-3.0.0-py313.patch | 32 |
3 files changed, 0 insertions, 77 deletions
diff --git a/dev-python/cloudpickle/Manifest b/dev-python/cloudpickle/Manifest index 9b75a99249dc..ce9eb012e497 100644 --- a/dev-python/cloudpickle/Manifest +++ b/dev-python/cloudpickle/Manifest @@ -1,2 +1 @@ -DIST cloudpickle-3.0.0.gh.tar.gz 59519 BLAKE2B 6d5c7b98990bb4d59ffc4e75efe109814430c8b73753d630b169ce0c455e5d5105782a314d4921b5051d458758980c954b8a84cf79a9534c9a382a8066d03c27 SHA512 e091cc0de2489c06e020fac2852d25f7fd832036a2b2c4c34f0cda0c642a1c65413fc0f21dc51fec75803e7c7da37f26f613620150acd9ab4aa2bb7b1eaabb79 DIST cloudpickle-3.1.0.gh.tar.gz 62638 BLAKE2B f99e2c96aa60a98ed401c59d8bfb6fc18735cda685ce669747e50a28d19cf27bea6e863af42b8e93c28ee7ddd0a075359864b683fca356c74c425a13f9573833 SHA512 1ab356d394af43496ab426c58a33e087dc2c71da77a7e744f860115a40217bac9f16d10b9510543415f8b8c1799729c6a6bf0f4c6b4b5eb82fce7a25fabbfa1d diff --git a/dev-python/cloudpickle/cloudpickle-3.0.0.ebuild b/dev-python/cloudpickle/cloudpickle-3.0.0.ebuild deleted file mode 100644 index 24187b1ba770..000000000000 --- a/dev-python/cloudpickle/cloudpickle-3.0.0.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( pypy3 python3_{10..13} ) - -inherit distutils-r1 - -DESCRIPTION="Extended pickling support for Python objects" -HOMEPAGE=" - https://github.com/cloudpipe/cloudpickle/ - https://pypi.org/project/cloudpickle/ -" -SRC_URI=" - https://github.com/cloudpipe/cloudpickle/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" - -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/cloudpipe/cloudpickle/pull/534 - "${FILESDIR}/${P}-py313.patch" -) - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTHONPATH=${PYTHONPATH}:tests/cloudpickle_testpkg - # -s unbreaks some tests - # https://github.com/cloudpipe/cloudpickle/issues/252 - epytest -s -} diff --git a/dev-python/cloudpickle/files/cloudpickle-3.0.0-py313.patch b/dev-python/cloudpickle/files/cloudpickle-3.0.0-py313.patch deleted file mode 100644 index 5b9655b82716..000000000000 --- a/dev-python/cloudpickle/files/cloudpickle-3.0.0-py313.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 3dc53183e86bb9f0ee9d45ff9d4971036c61ecba Mon Sep 17 00:00:00 2001 -From: Lumir Balhar <lbalhar@redhat.com> -Date: Wed, 15 May 2024 10:43:50 +0200 -Subject: [PATCH] Fix test_extract_class_dict for Python 3.13 beta 1 - -Resolves: https://github.com/cloudpipe/cloudpickle/issues/533 -Closes: https://github.com/cloudpipe/cloudpickle/pull/534 ---- - tests/cloudpickle_test.py | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/tests/cloudpickle_test.py b/tests/cloudpickle_test.py -index 4041bf7..6d0d915 100644 ---- a/tests/cloudpickle_test.py -+++ b/tests/cloudpickle_test.py -@@ -108,7 +108,12 @@ def test_extract_class_dict(): - return "c" - - clsdict = _extract_class_dict(C) -- assert sorted(clsdict.keys()) == ["C_CONSTANT", "__doc__", "method_c"] -+ expected_keys = ["C_CONSTANT", "__doc__", "method_c"] -+ # New attribute in Python 3.13 beta 1 -+ # https://github.com/python/cpython/pull/118475 -+ if sys.version_info >= (3, 13): -+ expected_keys.insert(2, "__firstlineno__") -+ assert sorted(clsdict.keys()) == expected_keys - assert clsdict["C_CONSTANT"] == 43 - assert clsdict["__doc__"] is None - assert clsdict["method_c"](C()) == C().method_c() --- -2.45.2 - |