From 514c44bb9cc421df9c323acbad430cbb6ee5b89a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 15 May 2024 00:01:28 +0100 Subject: gentoo auto-resync : 15:05:2024 - 00:01:27 --- dev-python/pytest/Manifest | 2 +- dev-python/pytest/pytest-8.2.0.ebuild | 44 ++++++++++++++++++++++++++++------- 2 files changed, 37 insertions(+), 9 deletions(-) (limited to 'dev-python/pytest') diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest index 4f476adecdd8..94f4aacf3030 100644 --- a/dev-python/pytest/Manifest +++ b/dev-python/pytest/Manifest @@ -6,5 +6,5 @@ DIST pytest-8.2.0.tar.gz 1422883 BLAKE2B 91f39aa14bfc56f7f98789ef9eeed80d1aa81c8 EBUILD pytest-7.4.4.ebuild 3796 BLAKE2B 1bee0d6df20d013802a7de4abc2937af9e3bfe99215d07a9ba888538f8526b6a14f1e4c41554f9a847d47867bb3dea34d8678e9a61a1e6b8fded8f336e21d4da SHA512 74823f180543e26b51739781b369db414ecbd0784d9cd8883ddc053831922001ec120247d7adac275830e5fe836972f7b6dd7c05c018f0ff122c4248b6c1fa3e EBUILD pytest-8.0.2.ebuild 3768 BLAKE2B 504e70b6671111e8d2f7ee0505d56c9dd3da36addfcb27093155c4d83708a36934acddb40d62c770e8fdfe53a59a58181d4ab706d9560bb70217787340c6b99e SHA512 8ec6ec4f723f00eef59966a3c4f5cc57b9eae51f5cb50aa20416741199d6c3dbf7b8f361d17d5bccdc983ff822d0b7432a1993e19eeda066a9fdb0e25d4b03ae EBUILD pytest-8.1.2.ebuild 3749 BLAKE2B 27968ad5f5ead2630694233c690e5df7ef8866a3a6a50a009bda1d3923cf6a10f1372fa24fa9bdc0760bfa7abe1512a9fbd6fb85fd62e0782a9b575d54a58761 SHA512 cacd0f1909ee1cf40d444c628d76921722c4d28ba3a864ccb19909e763a7e66ce8b77cc682fe8333fa97944d8ca9be1c06a94ae7fb1123a0f2c3ed0fc1dd5826 -EBUILD pytest-8.2.0.ebuild 3770 BLAKE2B b3fc622374b5bbef29d32f3f2b371ce10b4da856ce6fb03cfc1f0eb115472892404b121071e1d2fe824d7d6d4ff7b70d0845614e729231bbaa5eea60966178f6 SHA512 0a4c94e638afd118e682eca6db1f5e6ab807e01cfa4a7ae977fac052ecb348ccb1065fd4492e679aa3f7e68c78ceecb6ed9526e27e2431e12237f1c185ee3b27 +EBUILD pytest-8.2.0.ebuild 5038 BLAKE2B 0913b435e5664b207a8f39ba797ebe26c8fe485ba57bae694126898ca4511e142268a65c490ae080bcbe0074a320df7f6e3e759c2f20ca15469b576d2b60c975 SHA512 30c920b2754bdbc99316a73aed5fcc80e6101140c36ccaa148683ae34d9056d39d3408178ef590ce044c20c9b498657f3ae43fa7461c7fbb3ed6a00158ee4d54 MISC metadata.xml 391 BLAKE2B 48d31ecb4c8b171ee4e84a58399211368ddc00dfb5dbe0999f96e03d744294cd4fd5263e90600c93d1f13c7da21052faef84b6d0d56709f3559e37b3392ca31d SHA512 6e9caa57eda23995d21df6f52c52d5868e1ff56abb6c1351ffc0fe14b771639473481a2630e659caaff83f0255379aa2d012175af52a0de41221b27d3ab2f425 diff --git a/dev-python/pytest/pytest-8.2.0.ebuild b/dev-python/pytest/pytest-8.2.0.ebuild index 7c7bab6ebe19..54e62aabbc4d 100644 --- a/dev-python/pytest/pytest-8.2.0.ebuild +++ b/dev-python/pytest/pytest-8.2.0.ebuild @@ -4,8 +4,8 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{10..12} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_13 ) +PYTHON_TESTED=( python3_{10..13} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) inherit distutils-r1 pypi @@ -101,12 +101,40 @@ python_test() { testing/test_debugging.py::TestPDB::test_pdb_with_caplog_on_pdb_invocation ) - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( - # regressions on pypy3.9 - # https://github.com/pytest-dev/pytest/issues/9787 - testing/test_skipping.py::test_errors_in_xfail_skip_expressions - testing/test_unraisableexception.py - ) + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # regressions on pypy3.9 + # https://github.com/pytest-dev/pytest/issues/9787 + testing/test_skipping.py::test_errors_in_xfail_skip_expressions + testing/test_unraisableexception.py + ) + ;; + python3.13) + EPYTEST_DESELECT+=( + # regressions reproduced via `tox -e py313` + # https://github.com/pytest-dev/pytest/issues/12323 + testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_traceback_recursion + testing/code/test_excinfo.py::TestTraceback_f_g_h::test_traceback_recursion_index + testing/code/test_excinfo.py::test_exception_repr_extraction_error_on_recursion + testing/code/test_source.py::test_getfslineno + testing/test_collection.py::TestSession::test_collect_custom_nodes_multi_id + testing/test_collection.py::TestSession::test_collect_protocol_single_function + testing/test_collection.py::TestSession::test_collect_subdir_event_ordering + testing/test_collection.py::TestSession::test_collect_two_commandline_args + testing/test_doctest.py::TestDoctests::test_doctest_linedata_on_property + testing/test_doctest.py::TestDoctests::test_doctest_unexpected_exception + testing/test_legacypath.py::test_testdir_makefile_ext_none_raises_type_error + + # TODO? + testing/code/test_excinfo.py::test_excinfo_no_sourcecode + + # more weird timeouts + testing/test_debugging.py::TestPDB::test_pdb_used_outside_test + testing/test_debugging.py::TestPDB::test_pdb_used_in_generate_tests + ) + ;; + esac local EPYTEST_XDIST=1 epytest -- cgit v1.2.3