dev-python/toolz: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-04-04 19:43:01 +02:00
parent 862842450a
commit 9a572c27e2
4 changed files with 0 additions and 81 deletions

View File

@@ -1,3 +1,2 @@
DIST toolz-1.0.0.tar.gz 66790 BLAKE2B c5e6d8bb96561f7ca97ac7b3a8233eb1002892974c7dd4127732a89117608dfa964ec9d8ab1f8f679e487885b76d4eaed33be275a90afa4beb4a21e1ce4f29ab SHA512 90ba917ff06b7c4a4bbeb1d2c64bcb34bbe41607c7cea402f9d96f352c20c53edc53333ba06da9193bc714a2a836e68acd55e581b9f590fe1d962fc4ae8847d9
DIST toolz-1.1.0.tar.gz 52613 BLAKE2B 1b72dc41a37023450564029f0d258fc7e2739addfe1f58270187b6984743e5d2c540d1a6cfd8fcfb70628b31bded315a2684c5afdc32877cefde520f922cec03 SHA512 9ed105cdd2cf84fe9c14416544e689f163d250df75e426b568e19233aed08a0c453288ee54a13cf890773f3d6c118f12dfcb37d2b8fa74adb1b16415f5fd2843
DIST toolz-1.1.0.tar.gz.provenance 9263 BLAKE2B cbc9cf4b5cbfd92b3131b763d31719089d0d5bc7d8d36f1a445c76bfb1052b6e3aa481b1703c99ed7fea5e92f3969ba6c3e15f6fc4932ec0265e5e5c8430e5ce SHA512 28f3c61bc6d6162e4b05affff5f8bf37ba9483b62987314078612c55beec2cd672a466149a6a1373e679c3f91e007fa1b645fefa208cb95643b473296cb19148

View File

@@ -1,27 +0,0 @@
diff --git a/toolz/curried/operator.py b/toolz/curried/operator.py
index 35979a68..78e54f98 100644
--- a/toolz/curried/operator.py
+++ b/toolz/curried/operator.py
@@ -9,7 +9,7 @@
IGNORE = {
"__abs__", "__index__", "__inv__", "__invert__", "__neg__", "__not__",
"__pos__", "_abs", "abs", "attrgetter", "index", "inv", "invert",
- "itemgetter", "neg", "not_", "pos", "truth"
+ "is_none", "is_not_none", "itemgetter", "neg", "not_", "pos", "truth"
}
locals().update(
{name: f if name in IGNORE else curry(f)
diff --git a/toolz/tests/test_inspect_args.py b/toolz/tests/test_inspect_args.py
index f26dbc64..b7f623c4 100644
--- a/toolz/tests/test_inspect_args.py
+++ b/toolz/tests/test_inspect_args.py
@@ -286,7 +286,8 @@ def test_has_keywords():
assert has_keywords(int)
assert has_keywords(sorted)
assert has_keywords(max)
- assert has_keywords(map) is False
+ # map gained `strict=False` keyword in Python 3.14
+ assert has_keywords(map) == (sys.version_info[1] >= 14)
assert has_keywords(bytearray) is None

View File

@@ -1,27 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="List processing tools and functional utilities"
HOMEPAGE="
https://github.com/pytoolz/toolz/
https://pypi.org/project/toolz/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
PATCHES=(
# https://github.com/pytoolz/toolz/pull/592
"${FILESDIR}/${P}-py314.patch"
)

View File

@@ -1,26 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="List processing tools and functional utilities"
HOMEPAGE="
https://github.com/pytoolz/toolz/
https://pypi.org/project/toolz/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
distutils_enable_tests pytest
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}