Marcel Telka
2024-02-17 5d2ee7b3a75882b7ab1af0b6ebf8ffc2ef1311c0
python/pytest: update to 8.0.1

5 files modified
39 ■■■■■ changed files
components/python/pytest/Makefile 6 ●●●●● patch | view | raw | blame | history
components/python/pytest/patches/02-test-rmtree.patch 8 ●●●● patch | view | raw | blame | history
components/python/pytest/patches/03-test-pdb+expect.patch 4 ●●●● patch | view | raw | blame | history
components/python/pytest/patches/04-test-pdb-randomly-fails.patch 4 ●●●● patch | view | raw | blame | history
components/python/pytest/test/results-all.master 17 ●●●● patch | view | raw | blame | history
components/python/pytest/Makefile
@@ -19,13 +19,11 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        pytest
HUMAN_VERSION =            8.0.0
HUMAN_VERSION =            8.0.1
COMPONENT_SUMMARY =        pytest - pytest: simple powerful testing with Python
COMPONENT_PROJECT_URL =        https://docs.pytest.org/en/latest/
COMPONENT_ARCHIVE_URL =        \
    https://files.pythonhosted.org/packages/50/fd/af2d835eed57448960c4e7e9ab76ee42f24bcdd521e967191bc26fa2dece/pytest-8.0.0.tar.gz
COMPONENT_ARCHIVE_HASH =    \
    sha256:249b1b0864530ba251b7438274c4d251c58d868edaaec8762893ad4a0d71c36c
    sha256:267f6563751877d772019b13aacbe4e860d73fe8f651f28112e9ac37de7513ae
COMPONENT_LICENSE =        MIT
COMPONENT_LICENSE_FILE =    LICENSE
components/python/pytest/patches/02-test-rmtree.patch
@@ -1,6 +1,6 @@
--- pytest-8.0.0/testing/_py/test_local.py.orig
+++ pytest-8.0.0/testing/_py/test_local.py
@@ -617,6 +617,7 @@
--- pytest-8.0.1/testing/_py/test_local.py.orig
+++ pytest-8.0.1/testing/_py/test_local.py
@@ -618,6 +618,7 @@
         assert str(local()) == os.getcwd()
 
     @skiponwin32
@@ -8,7 +8,7 @@
     def test_chdir_gone(self, path1):
         p = path1.ensure("dir_to_be_removed", dir=1)
         p.chdir()
@@ -630,6 +631,7 @@
@@ -631,6 +632,7 @@
                 raise NotImplementedError
 
     @skiponwin32
components/python/pytest/patches/03-test-pdb+expect.patch
@@ -1,7 +1,7 @@
https://github.com/pytest-dev/pytest/issues/10042#issuecomment-1274655510
--- pytest-8.0.0/testing/test_debugging.py.orig
+++ pytest-8.0.0/testing/test_debugging.py
--- pytest-8.0.1/testing/test_debugging.py.orig
+++ pytest-8.0.1/testing/test_debugging.py
@@ -372,7 +372,6 @@
         result = pytester.runpytest_subprocess("--pdb", ".")
         result.stdout.fnmatch_lines(["-> import unknown"])
components/python/pytest/patches/04-test-pdb-randomly-fails.patch
@@ -1,5 +1,5 @@
--- pytest-8.0.0/testing/test_debugging.py.orig
+++ pytest-8.0.0/testing/test_debugging.py
--- pytest-8.0.1/testing/test_debugging.py.orig
+++ pytest-8.0.1/testing/test_debugging.py
@@ -667,6 +667,7 @@
         self.flush(child)
 
components/python/pytest/test/results-all.master
@@ -7,7 +7,7 @@
rootdir: $(@D)
configfile: pyproject.toml
testpaths: testing
collecting ... collected 3605 items
collecting ... collected 3618 items
testing/_py/test_local.py::TestBinaryAndTextMethods::test_default_encoding PASSED
testing/_py/test_local.py::TestBinaryAndTextMethods::test_read_binwrite PASSED
@@ -1087,6 +1087,7 @@
testing/python/fixtures.py::test_call_fixture_function_error PASSED
testing/python/fixtures.py::test_deduplicate_names PASSED
testing/python/fixtures.py::test_fixture_arg_ordering PASSED
testing/python/fixtures.py::test_fixture_double_decorator PASSED
testing/python/fixtures.py::test_fixture_named_request PASSED
testing/python/fixtures.py::test_fixture_param_shadowing PASSED
testing/python/fixtures.py::test_fixture_parametrization_nparray SKIPPED
@@ -1228,6 +1229,7 @@
testing/python/raises.py::TestRaises::test_does_not_raise_does_raise PASSED
testing/python/raises.py::TestRaises::test_expected_exception_is_not_a_baseexception PASSED
testing/python/raises.py::TestRaises::test_invalid_arguments_to_raises PASSED
testing/python/raises.py::TestRaises::test_issue_11872 PASSED
testing/python/raises.py::TestRaises::test_match_failure_exact_string_message PASSED
testing/python/raises.py::TestRaises::test_match_failure_string_quoting PASSED
testing/python/raises.py::TestRaises::test_no_raise_message PASSED
@@ -1745,6 +1747,7 @@
testing/test_collection.py::TestPrunetraceback::test_collection_error_traceback_is_clean PASSED
testing/test_collection.py::TestPrunetraceback::test_custom_repr_failure PASSED
testing/test_collection.py::TestSession::test_collect_custom_nodes_multi_id PASSED
testing/test_collection.py::TestSession::test_collect_parametrized_order PASSED
testing/test_collection.py::TestSession::test_collect_protocol_method PASSED
testing/test_collection.py::TestSession::test_collect_protocol_single_function PASSED
testing/test_collection.py::TestSession::test_collect_subdir_event_ordering PASSED
@@ -2111,6 +2114,11 @@
testing/test_debugging.py::test_quit_with_swallowed_SystemExit PASSED
testing/test_debugging.py::test_raises_bdbquit_with_eoferror PASSED
testing/test_debugging.py::test_trace_after_runpytest PASSED
testing/test_doctest.py::TestDoctestAutoUseFixtures::test_auto_use_defined_in_same_module[class] PASSED
testing/test_doctest.py::TestDoctestAutoUseFixtures::test_auto_use_defined_in_same_module[function] PASSED
testing/test_doctest.py::TestDoctestAutoUseFixtures::test_auto_use_defined_in_same_module[module] PASSED
testing/test_doctest.py::TestDoctestAutoUseFixtures::test_auto_use_defined_in_same_module[package] PASSED
testing/test_doctest.py::TestDoctestAutoUseFixtures::test_auto_use_defined_in_same_module[session] PASSED
testing/test_doctest.py::TestDoctestAutoUseFixtures::test_auto_use_request_attributes[class] PASSED
testing/test_doctest.py::TestDoctestAutoUseFixtures::test_auto_use_request_attributes[function] PASSED
testing/test_doctest.py::TestDoctestAutoUseFixtures::test_auto_use_request_attributes[module] PASSED
@@ -2991,7 +2999,10 @@
testing/test_recwarn.py::TestWarns::test_catch_warning_within_raise PASSED
testing/test_recwarn.py::TestWarns::test_check_callable PASSED
testing/test_recwarn.py::TestWarns::test_double_test PASSED
testing/test_recwarn.py::TestWarns::test_exit_within_warns PASSED
testing/test_recwarn.py::TestWarns::test_fail_within_warns PASSED
testing/test_recwarn.py::TestWarns::test_function PASSED
testing/test_recwarn.py::TestWarns::test_keyboard_interrupt_within_warns PASSED
testing/test_recwarn.py::TestWarns::test_match_regex PASSED
testing/test_recwarn.py::TestWarns::test_none_of_multiple_warns PASSED
testing/test_recwarn.py::TestWarns::test_one_from_multiple_warns PASSED
@@ -3005,8 +3016,10 @@
testing/test_recwarn.py::TestWarns::test_record_only PASSED
testing/test_recwarn.py::TestWarns::test_record_only_none_deprecated_warn PASSED
testing/test_recwarn.py::TestWarns::test_several_messages PASSED
testing/test_recwarn.py::TestWarns::test_skip_within_warns PASSED
testing/test_recwarn.py::TestWarns::test_warning_tuple PASSED
testing/test_recwarn.py::TestWarns::test_warns_context_manager_with_kwargs PASSED
testing/test_recwarn.py::test_multiple_arg_custom_warning PASSED
testing/test_recwarn.py::test_recwarn_captures_deprecation_warning PASSED
testing/test_recwarn.py::test_recwarn_functional PASSED
testing/test_recwarn.py::test_recwarn_stacklevel PASSED
@@ -3629,6 +3642,6 @@
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=================================== XPASSES ====================================
=========================== short test summary info ============================
======== 3537 passed, 55 skipped, 12 xfailed, 1 xpassed, 7 warnings ========
======== 3550 passed, 55 skipped, 12 xfailed, 1 xpassed, 7 warnings ========
  py$(PYV): OK
  congratulations :)