diff options
author | Alfred Wingate <parona@protonmail.com> | 2023-11-14 07:09:16 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-11-14 14:22:44 +0100 |
commit | 2e25d6f9f59e580aceed2709c70c7fab37c5f7c5 (patch) | |
tree | 9c348ca11800de52a2430d86172ad15c0e942696 /dev-python/pipdeptree/files | |
parent | dev-python/graphviz: enable pypy3 (diff) | |
download | gentoo-2e25d6f9f59e580aceed2709c70c7fab37c5f7c5.tar.gz gentoo-2e25d6f9f59e580aceed2709c70c7fab37c5f7c5.tar.bz2 gentoo-2e25d6f9f59e580aceed2709c70c7fab37c5f7c5.zip |
dev-python/pipdeptree: add 2.13.1
Closes: https://bugs.gentoo.org/917320
Closes: https://bugs.gentoo.org/917321
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33816
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.13.1-expect-hpy-in-pypy-7.3.3.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-python/pipdeptree/files/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch b/dev-python/pipdeptree/files/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch new file mode 100644 index 000000000000..5cc4b1ca580d --- /dev/null +++ b/dev-python/pipdeptree/files/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch @@ -0,0 +1,26 @@ +https://github.com/tox-dev/pipdeptree/pull/302 + +From 8a2ccfe062d8978f010e2e4bd3f8e8b9e46ecbce 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 +@@ -33,7 +33,11 @@ def test_custom_interpreter( + if implementation == "CPython": + expected = {"pip", "setuptools", "wheel"} + elif implementation == "PyPy": +- expected = {"cffi", "greenlet", "pip", "readline", "setuptools", "wheel"} ++ # hpy added in 7.3.2, enabled in 7.3.3 ++ if sys.pypy_version_info >= (7, 3, 3): ++ 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.42.1 + |