summaryrefslogtreecommitdiff
path: root/dev-python/pytest/files
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-05-21 18:10:31 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-05-21 18:10:31 +0000
commitaa60ccb7c9d247fc8f12cfb61f2e2a4a18da8e40 (patch)
treee2c4a97bf0646bb4185abe217dd320e6764c725d /dev-python/pytest/files
parent5fb24e839710dc6a247ecb0c750a5290c46cf835 (diff)
downloadbaldeagleos-repo-aa60ccb7c9d247fc8f12cfb61f2e2a4a18da8e40.tar.gz
baldeagleos-repo-aa60ccb7c9d247fc8f12cfb61f2e2a4a18da8e40.tar.xz
baldeagleos-repo-aa60ccb7c9d247fc8f12cfb61f2e2a4a18da8e40.zip
Adding metadata
Diffstat (limited to 'dev-python/pytest/files')
-rw-r--r--dev-python/pytest/files/pytest-8.3.5-pypy.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-python/pytest/files/pytest-8.3.5-pypy.patch b/dev-python/pytest/files/pytest-8.3.5-pypy.patch
new file mode 100644
index 000000000000..eb665396b6b4
--- /dev/null
+++ b/dev-python/pytest/files/pytest-8.3.5-pypy.patch
@@ -0,0 +1,17 @@
+diff --git a/src/_pytest/fixtures.py b/src/_pytest/fixtures.py
+index 6b882fa35..985e45ce3 100644
+--- a/src/_pytest/fixtures.py
++++ b/src/_pytest/fixtures.py
+@@ -278,6 +278,12 @@ def reorder_items_atscope(
+ for other_scope in HIGH_SCOPES:
+ other_scoped_items_by_argkey = items_by_argkey[other_scope]
+ for argkey in argkeys_by_item[other_scope].get(i, ()):
++ if hasattr(sys, "pypy_version_info"):
++ # Gentoo workaround for https://github.com/pytest-dev/pytest/issues/13312
++ del other_scoped_items_by_argkey[argkey][i]
++ new_dict = OrderedDict({i: None})
++ new_dict.update(other_scoped_items_by_argkey[argkey])
++ continue
+ other_scoped_items_by_argkey[argkey][i] = None
+ other_scoped_items_by_argkey[argkey].move_to_end(
+ i, last=False