diff options
author | Alfred Wingate <parona@protonmail.com> | 2024-04-06 10:34:51 +0300 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-04-06 16:39:43 +0200 |
commit | 5d7a38732cc5c723e615283d28f144301883cccc (patch) | |
tree | 28c9407c92f934b495f3ff9200754bfc94256f7f /dev-python/pipdeptree/files | |
parent | profiles.desc: Add a few experimental riscv 32bit profiles (diff) | |
download | gentoo-5d7a38732cc5c723e615283d28f144301883cccc.tar.gz gentoo-5d7a38732cc5c723e615283d28f144301883cccc.tar.bz2 gentoo-5d7a38732cc5c723e615283d28f144301883cccc.zip |
dev-python/pipdeptree: add 2.17.0
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36133
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pipdeptree/files')
-rw-r--r-- | dev-python/pipdeptree/files/pipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/pipdeptree/files/pipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch b/dev-python/pipdeptree/files/pipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch new file mode 100644 index 000000000000..09c31f8a78b4 --- /dev/null +++ b/dev-python/pipdeptree/files/pipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch @@ -0,0 +1,28 @@ +https://github.com/tox-dev/pipdeptree/pull/302 + +From 1fc794e66fc5cac464704dda1bc303353386584f Mon Sep 17 00:00:00 2001 +From: Alfred Wingate <parona@protonmail.com> +Date: Tue, 14 Nov 2023 08:36:09 +0200 +Subject: [PATCH] Expect hpy in pypy versions >= 7.3.3 + +Signed-off-by: Alfred Wingate <parona@protonmail.com> +--- a/tests/test_non_host.py ++++ b/tests/test_non_host.py +@@ -32,8 +32,12 @@ def test_custom_interpreter( + implementation = python_implementation() + if implementation == "CPython": + expected = {"pip", "setuptools", "wheel"} +- elif implementation == "PyPy": +- expected = {"cffi", "greenlet", "pip", "readline", "setuptools", "wheel"} # pragma: no cover ++ elif implementation == "PyPy": # pragma: no cover ++ # hpy added in 7.3.2, enabled in 7.3.3 ++ if sys.pypy_version_info >= (7, 3, 3): # type: ignore[attr-defined] ++ expected = {"cffi", "greenlet", "hpy", "pip", "readline", "setuptools", "wheel"} ++ else: ++ expected = {"cffi", "greenlet", "pip", "readline", "setuptools", "wheel"} + else: + raise ValueError(implementation) + if sys.version_info >= (3, 12): +-- +2.44.0 + |