Marcel Telka
2023-12-04 7d855734e9c0192df5dc09dd355a18453ad149d8
python/pytest-asyncio: update to 0.23.2

1 files deleted
1 files added
3 files modified
220 ■■■■■ changed files
components/python/pytest-asyncio/Makefile 19 ●●●●● patch | view | raw | blame | history
components/python/pytest-asyncio/history 2 ●●● patch | view | raw | blame | history
components/python/pytest-asyncio/patches/01-tox-gmake.patch 13 ●●●●● patch | view | raw | blame | history
components/python/pytest-asyncio/python-integrate-project.conf 10 ●●●●● patch | view | raw | blame | history
components/python/pytest-asyncio/test/results-all.master 176 ●●●●● patch | view | raw | blame | history
components/python/pytest-asyncio/Makefile
@@ -19,17 +19,26 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        pytest-asyncio
HUMAN_VERSION =            0.21.1
HUMAN_VERSION =            0.23.2
COMPONENT_SUMMARY =        pytest-asyncio - Pytest support for asyncio
COMPONENT_PROJECT_URL =        https://github.com/pytest-dev/pytest-asyncio
COMPONENT_ARCHIVE_URL =        \
    https://files.pythonhosted.org/packages/5a/85/d39ef5f69d5597a206f213ce387bcdfa47922423875829f7a98a87d33281/pytest-asyncio-0.21.1.tar.gz
    https://files.pythonhosted.org/packages/1e/4a/9ed4762a08facf8dfb2e31b0393913e3dce391a7735e0965c0f2e66f0938/pytest-asyncio-0.23.2.tar.gz
COMPONENT_ARCHIVE_HASH =    \
    sha256:40a7eae6dded22c7b604986855ea48400ab15b069ae38116e8c01238e9eeb64d
    sha256:c16052382554c7b22d48782ab3438d5b10f8cf7a4bdcae7f0f67f097d95beecc
COMPONENT_LICENSE =        Apache-2.0
COMPONENT_LICENSE_FILE =    LICENSE
include $(WS_MAKE_RULES)/common.mk
# https://github.com/pytest-dev/pluggy/issues/457
TEST_CONFLICTING_PACKAGES.python += library/python/pytest-checkdocs
TEST_CONFLICTING_PACKAGES.python += library/python/pytest-console-scripts
TEST_CONFLICTING_PACKAGES.python += library/python/pytest-enabler
TEST_CONFLICTING_PACKAGES.python += library/python/pytest-randomly
TEST_CONFLICTING_PACKAGES.python += library/python/pytest-relaxed
TEST_CONFLICTING_PACKAGES.python += library/python/pytest-reporter
TEST_CONFLICTING_PACKAGES.python += library/python/typeguard
# Auto-generated dependencies
PYTHON_REQUIRED_PACKAGES += library/python/pytest
@@ -38,8 +47,4 @@
PYTHON_REQUIRED_PACKAGES += library/python/wheel
PYTHON_REQUIRED_PACKAGES += runtime/python
TEST_REQUIRED_PACKAGES.python += library/python/coverage
TEST_REQUIRED_PACKAGES.python += library/python/flaky
TEST_REQUIRED_PACKAGES.python += library/python/hypothesis
TEST_REQUIRED_PACKAGES.python += library/python/mypy
TEST_REQUIRED_PACKAGES.python += library/python/pytest
TEST_REQUIRED_PACKAGES.python += library/python/pytest-trio
components/python/pytest-asyncio/history
@@ -1 +1 @@
library/python/pytest-asyncio-37@0.21.0,5.11-2023.0.0.1 noincorporate
library/python/pytest-asyncio-37@0.21.0,5.11-2023.0.0.2
components/python/pytest-asyncio/patches/01-tox-gmake.patch
File was deleted
components/python/pytest-asyncio/python-integrate-project.conf
@@ -13,4 +13,12 @@
# Copyright 2022 Marcel Telka
#
%patch% 01-tox-gmake.patch
%include-3%
# https://github.com/pytest-dev/pluggy/issues/457
TEST_CONFLICTING_PACKAGES.python += library/python/pytest-checkdocs
TEST_CONFLICTING_PACKAGES.python += library/python/pytest-console-scripts
TEST_CONFLICTING_PACKAGES.python += library/python/pytest-enabler
TEST_CONFLICTING_PACKAGES.python += library/python/pytest-randomly
TEST_CONFLICTING_PACKAGES.python += library/python/pytest-relaxed
TEST_CONFLICTING_PACKAGES.python += library/python/pytest-reporter
TEST_CONFLICTING_PACKAGES.python += library/python/typeguard
components/python/pytest-asyncio/test/results-all.master
New file
@@ -0,0 +1,176 @@
py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV)
py$(PYV): commands[0]> make test
coverage run --parallel-mode --omit */_version.py -m pytest
============================= test session starts ==============================
platform sunos5 -- Python $(PYTHON_VERSION).X -- $(PYTHON)
cachedir: .tox/py$(PYV)/.pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase(PosixPath('$(@D)/.hypothesis/examples'))
rootdir: $(@D)
configfile: setup.cfg
testpaths: docs/source, tests
asyncio: mode=auto
collecting ... collected 159 items
docs/source/concepts_function_scope_example.py::test_runs_in_a_loop PASSED
docs/source/concepts_module_scope_example.py::test_remember_loop PASSED
docs/source/concepts_module_scope_example.py::test_runs_in_a_loop PASSED
docs/source/how-to-guides/class_scoped_loop_example.py::TestInOneEventLoopPerClass::test_assert_same_loop PASSED
docs/source/how-to-guides/class_scoped_loop_example.py::TestInOneEventLoopPerClass::test_remember_loop PASSED
docs/source/how-to-guides/module_scoped_loop_example.py::test_assert_same_loop PASSED
docs/source/how-to-guides/module_scoped_loop_example.py::test_remember_loop PASSED
docs/source/how-to-guides/multiple_loops_example.py::test_uses_custom_event_loop_policy[event_loop_policy0] PASSED
docs/source/how-to-guides/multiple_loops_example.py::test_uses_custom_event_loop_policy[event_loop_policy1] PASSED
docs/source/reference/fixtures/event_loop_example.py::test_event_loop_fixture PASSED
docs/source/reference/fixtures/event_loop_policy_example.py::test_uses_custom_event_loop_policy PASSED
docs/source/reference/fixtures/event_loop_policy_parametrized_example.py::test_uses_custom_event_loop_policy[event_loop_policy0] PASSED
docs/source/reference/fixtures/event_loop_policy_parametrized_example.py::test_uses_custom_event_loop_policy[event_loop_policy1] PASSED
docs/source/reference/markers/class_scoped_loop_custom_policies_strict_mode_example.py::TestWithDifferentLoopPolicies::test_parametrized_loop[event_loop_policy0] PASSED
docs/source/reference/markers/class_scoped_loop_custom_policies_strict_mode_example.py::TestWithDifferentLoopPolicies::test_parametrized_loop[event_loop_policy1] PASSED
docs/source/reference/markers/class_scoped_loop_strict_mode_example.py::TestClassScopedLoop::test_remember_loop PASSED
docs/source/reference/markers/class_scoped_loop_strict_mode_example.py::TestClassScopedLoop::test_this_runs_in_same_loop PASSED
docs/source/reference/markers/class_scoped_loop_with_fixture_strict_mode_example.py::TestClassScopedLoop::test_runs_is_same_loop_as_fixture PASSED
docs/source/reference/markers/function_scoped_loop_pytestmark_strict_mode_example.py::test_runs_in_asyncio_event_loop PASSED
docs/source/reference/markers/function_scoped_loop_strict_mode_example.py::test_runs_in_asyncio_event_loop PASSED
docs/source/reference/markers/module_scoped_loop_strict_mode_example.py::TestClassA::test_this_runs_in_same_loop PASSED
docs/source/reference/markers/module_scoped_loop_strict_mode_example.py::test_remember_loop PASSED
docs/source/reference/markers/module_scoped_loop_strict_mode_example.py::test_this_runs_in_same_loop PASSED
tests/async_fixtures/test_async_fixtures.py::TestAsyncFixtureMethod::test_async_fixture_method PASSED
tests/async_fixtures/test_async_fixtures.py::test_async_fixture PASSED
tests/async_fixtures/test_async_fixtures_scope.py::test_async_fixture_scope PASSED
tests/async_fixtures/test_async_fixtures_with_finalizer.py::test_module_with_event_loop_finalizer PASSED
tests/async_fixtures/test_async_fixtures_with_finalizer.py::test_module_with_get_event_loop_finalizer PASSED
tests/async_fixtures/test_async_gen_fixtures.py::TestAsyncGenFixtureMethod::test_async_gen_fixture_method PASSED
tests/async_fixtures/test_async_gen_fixtures.py::test_async_gen_fixture PASSED
tests/async_fixtures/test_async_gen_fixtures.py::test_async_gen_fixture_finalized PASSED
tests/async_fixtures/test_nested.py::test_async_fixture PASSED
tests/async_fixtures/test_parametrized_loop.py::test_event_loop_parametrization PASSED
tests/hypothesis/test_base.py::test_async_auto_marked PASSED
tests/hypothesis/test_base.py::test_can_use_explicit_event_loop_fixture PASSED
tests/hypothesis/test_base.py::test_hypothesis_given_decorator_before_asyncio_mark PASSED
tests/hypothesis/test_base.py::test_mark_and_parametrize[1] PASSED
tests/hypothesis/test_base.py::test_mark_and_parametrize[2] PASSED
tests/hypothesis/test_base.py::test_mark_outer PASSED
tests/hypothesis/test_base.py::test_sync_not_auto_marked PASSED
tests/loop_fixture_scope/test_loop_fixture_scope.py::test_dependent_fixture PASSED
tests/loop_fixture_scope/test_loop_fixture_scope.py::test_for_custom_loop PASSED
tests/markers/test_class_scope.py::TestPyTestMark::test_is_asyncio PASSED
tests/markers/test_class_scope.py::test_asyncio_mark_allows_combining_class_scoped_fixture_with_function_scoped_test PASSED
tests/markers/test_class_scope.py::test_asyncio_mark_handles_missing_event_loop_triggered_by_fixture PASSED
tests/markers/test_class_scope.py::test_asyncio_mark_is_inherited_to_subclasses PASSED
tests/markers/test_class_scope.py::test_asyncio_mark_provides_class_scoped_loop_to_fixtures PASSED
tests/markers/test_class_scope.py::test_asyncio_mark_provides_class_scoped_loop_when_applied_to_class PASSED
tests/markers/test_class_scope.py::test_asyncio_mark_provides_class_scoped_loop_when_applied_to_functions PASSED
tests/markers/test_class_scope.py::test_asyncio_mark_raises_when_class_scoped_is_request_without_class PASSED
tests/markers/test_class_scope.py::test_asyncio_mark_respects_parametrized_loop_policies PASSED
tests/markers/test_class_scope.py::test_asyncio_mark_respects_the_loop_policy PASSED
tests/markers/test_function_scope.py::test_asyncio_mark_handles_missing_event_loop_triggered_by_fixture PASSED
tests/markers/test_function_scope.py::test_asyncio_mark_provides_function_scoped_loop_strict_mode PASSED
tests/markers/test_function_scope.py::test_asyncio_mark_provides_function_scoped_loop_to_fixtures PASSED
tests/markers/test_function_scope.py::test_asyncio_mark_respects_parametrized_loop_policies PASSED
tests/markers/test_function_scope.py::test_asyncio_mark_respects_the_loop_policy PASSED
tests/markers/test_function_scope.py::test_function_scope_supports_explicit_event_loop_fixture_request PASSED
tests/markers/test_module_scope.py::test_asyncio_mark_allows_combining_module_scoped_fixture_with_class_scoped_test PASSED
tests/markers/test_module_scope.py::test_asyncio_mark_allows_combining_module_scoped_fixture_with_function_scoped_test PASSED
tests/markers/test_module_scope.py::test_asyncio_mark_handles_missing_event_loop_triggered_by_fixture PASSED
tests/markers/test_module_scope.py::test_asyncio_mark_provides_module_scoped_loop_strict_mode PASSED
tests/markers/test_module_scope.py::test_asyncio_mark_provides_module_scoped_loop_to_fixtures PASSED
tests/markers/test_module_scope.py::test_asyncio_mark_respects_parametrized_loop_policies PASSED
tests/markers/test_module_scope.py::test_asyncio_mark_respects_the_loop_policy PASSED
tests/markers/test_module_scope.py::test_asyncio_mark_works_on_module_level PASSED
tests/markers/test_module_scope.py::test_raise_when_event_loop_fixture_is_requested_in_addition_to_scoped_loop PASSED
tests/markers/test_package_scope.py::test_asyncio_mark_allows_combining_package_scoped_fixture_with_class_scoped_test PASSED
tests/markers/test_package_scope.py::test_asyncio_mark_allows_combining_package_scoped_fixture_with_function_scoped_test PASSED
tests/markers/test_package_scope.py::test_asyncio_mark_allows_combining_package_scoped_fixture_with_module_scoped_test PASSED
tests/markers/test_package_scope.py::test_asyncio_mark_handles_missing_event_loop_triggered_by_fixture PASSED
tests/markers/test_package_scope.py::test_asyncio_mark_provides_package_scoped_loop_strict_mode PASSED
tests/markers/test_package_scope.py::test_asyncio_mark_provides_package_scoped_loop_to_fixtures PASSED
tests/markers/test_package_scope.py::test_asyncio_mark_respects_parametrized_loop_policies PASSED
tests/markers/test_package_scope.py::test_asyncio_mark_respects_the_loop_policy PASSED
tests/markers/test_package_scope.py::test_raise_when_event_loop_fixture_is_requested_in_addition_to_scoped_loop PASSED
tests/markers/test_session_scope.py::test_asyncio_mark_allows_combining_session_scoped_fixture_with_class_scoped_test PASSED
tests/markers/test_session_scope.py::test_asyncio_mark_allows_combining_session_scoped_fixture_with_function_scoped_test PASSED
tests/markers/test_session_scope.py::test_asyncio_mark_allows_combining_session_scoped_fixture_with_module_scoped_test PASSED
tests/markers/test_session_scope.py::test_asyncio_mark_allows_combining_session_scoped_fixture_with_package_scoped_test PASSED
tests/markers/test_session_scope.py::test_asyncio_mark_handles_missing_event_loop_triggered_by_fixture PASSED
tests/markers/test_session_scope.py::test_asyncio_mark_provides_session_scoped_loop_strict_mode PASSED
tests/markers/test_session_scope.py::test_asyncio_mark_provides_session_scoped_loop_to_fixtures PASSED
tests/markers/test_session_scope.py::test_asyncio_mark_respects_parametrized_loop_policies PASSED
tests/markers/test_session_scope.py::test_asyncio_mark_respects_the_loop_policy PASSED
tests/markers/test_session_scope.py::test_raise_when_event_loop_fixture_is_requested_in_addition_to_scoped_loop PASSED
tests/modes/test_auto_mode.py::test_auto_mode_async_fixture PASSED
tests/modes/test_auto_mode.py::test_auto_mode_cfg PASSED
tests/modes/test_auto_mode.py::test_auto_mode_cmdline PASSED
tests/modes/test_auto_mode.py::test_auto_mode_method_fixture PASSED
tests/modes/test_auto_mode.py::test_auto_mode_static_method PASSED
tests/modes/test_auto_mode.py::test_auto_mode_static_method_fixture PASSED
tests/modes/test_strict_mode.py::test_strict_mode_cfg PASSED
tests/modes/test_strict_mode.py::test_strict_mode_cmdline PASSED
tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_coroutine PASSED
tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_fixture PASSED
tests/modes/test_strict_mode.py::test_strict_mode_method_fixture PASSED
tests/test_asyncio_fixture.py::test_bare_fixture PASSED
tests/test_asyncio_fixture.py::test_fixture_with_name PASSED
tests/test_asyncio_fixture.py::test_fixture_with_params[2] PASSED
tests/test_asyncio_fixture.py::test_fixture_with_params[4] PASSED
tests/test_asyncio_fixture.py::test_sync_function_uses_async_fixture[auto] PASSED
tests/test_asyncio_fixture.py::test_sync_function_uses_async_fixture[strict] PASSED
tests/test_asyncio_mark.py::test_asyncio_mark_on_async_generator_function_emits_warning_in_auto_mode PASSED
tests/test_asyncio_mark.py::test_asyncio_mark_on_async_generator_function_emits_warning_in_strict_mode PASSED
tests/test_asyncio_mark.py::test_asyncio_mark_on_async_generator_method_emits_warning_in_auto_mode PASSED
tests/test_asyncio_mark.py::test_asyncio_mark_on_async_generator_method_emits_warning_in_strict_mode PASSED
tests/test_asyncio_mark.py::test_asyncio_mark_on_async_generator_staticmethod_emits_warning_in_auto_mode PASSED
tests/test_asyncio_mark.py::test_asyncio_mark_on_async_generator_staticmethod_emits_warning_in_strict_mode PASSED
tests/test_asyncio_mark.py::test_asyncio_mark_on_sync_function_emits_warning PASSED
tests/test_dependent_fixtures.py::test_dependent_fixture PASSED
tests/test_dependent_fixtures.py::test_factory_involving_factories PASSED
tests/test_doctest.py::test_plugin_does_not_interfere_with_doctest_collection PASSED
tests/test_doctest.py::test_plugin_does_not_interfere_with_doctest_textfile_collection PASSED
tests/test_event_loop_fixture.py::test_event_loop_fixture_respects_event_loop_policy PASSED
tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_handles_loop_set_to_none_async_with_fixture PASSED
tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_handles_loop_set_to_none_async_without_fixture PASSED
tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_handles_loop_set_to_none_sync PASSED
tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_fixture_leaves_loop_unclosed PASSED
tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_test_leaves_loop_unclosed PASSED
tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_returns_fresh_loop_after_test PASSED
tests/test_event_loop_fixture_override_deprecation.py::test_does_not_emit_warning_when_no_test_uses_the_event_loop_fixture PASSED
tests/test_event_loop_fixture_override_deprecation.py::test_emit_warning_when_event_loop_fixture_is_redefined PASSED
tests/test_event_loop_fixture_override_deprecation.py::test_emit_warning_when_event_loop_fixture_is_redefined_explicit_request PASSED
tests/test_event_loop_fixture_override_deprecation.py::test_emit_warning_when_redefined_event_loop_is_used_by_fixture PASSED
tests/test_explicit_event_loop_fixture_request.py::test_does_not_emit_warning_when_event_loop_is_explicitly_requested_in_sync_fixture PASSED
tests/test_explicit_event_loop_fixture_request.py::test_does_not_emit_warning_when_event_loop_is_explicitly_requested_in_sync_function PASSED
tests/test_explicit_event_loop_fixture_request.py::test_emit_warning_when_event_loop_is_explicitly_requested_in_async_gen_fixture PASSED
tests/test_explicit_event_loop_fixture_request.py::test_emit_warning_when_event_loop_is_explicitly_requested_in_coroutine PASSED
tests/test_explicit_event_loop_fixture_request.py::test_emit_warning_when_event_loop_is_explicitly_requested_in_coroutine_fixture PASSED
tests/test_explicit_event_loop_fixture_request.py::test_emit_warning_when_event_loop_is_explicitly_requested_in_coroutine_method PASSED
tests/test_explicit_event_loop_fixture_request.py::test_emit_warning_when_event_loop_is_explicitly_requested_in_coroutine_staticmethod PASSED
tests/test_is_async_test.py::test_returns_false_for_sync_item PASSED
tests/test_is_async_test.py::test_returns_false_for_unmarked_coroutine_item_in_strict_mode PASSED
tests/test_is_async_test.py::test_returns_true_for_marked_coroutine_item_in_strict_mode PASSED
tests/test_is_async_test.py::test_returns_true_for_unmarked_coroutine_item_in_auto_mode PASSED
tests/test_multiloop.py::test_event_loop_override PASSED
tests/test_port_factories.py::test_unused_port_factory_duplicate PASSED
tests/test_port_factories.py::test_unused_tcp_port_factory_selects_unused_port PASSED
tests/test_port_factories.py::test_unused_tcp_port_selects_unused_port PASSED
tests/test_port_factories.py::test_unused_udp_port_factory_duplicate PASSED
tests/test_port_factories.py::test_unused_udp_port_factory_selects_unused_port PASSED
tests/test_port_factories.py::test_unused_udp_port_selects_unused_port PASSED
tests/test_pytest_skip.py::test_asyncio_auto_mode_module_level_skip PASSED
tests/test_pytest_skip.py::test_asyncio_auto_mode_skip PASSED
tests/test_pytest_skip.py::test_asyncio_auto_mode_wrong_skip_usage PASSED
tests/test_pytest_skip.py::test_asyncio_strict_mode_module_level_skip PASSED
tests/test_pytest_skip.py::test_asyncio_strict_mode_skip PASSED
tests/test_simple.py::TestEventLoopStartedBeforeFixtures::test_event_loop_after_fixture PASSED
tests/test_simple.py::TestEventLoopStartedBeforeFixtures::test_event_loop_before_fixture PASSED
tests/test_simple.py::TestEventLoopStartedBeforeFixtures::test_no_event_loop PASSED
tests/test_simple.py::TestMarkerInClassBasedTests::test_asyncio_marker_with_implicit_loop_fixture PASSED
tests/test_simple.py::test_asyncio_auto_mode_compatibility_with_xfail PASSED
tests/test_simple.py::test_asyncio_marker PASSED
tests/test_simple.py::test_asyncio_marker_compatibility_with_xfail PASSED
tests/test_simple.py::test_asyncio_marker_with_default_param PASSED
tests/test_simple.py::test_event_loop_fixture PASSED
tests/test_simple.py::test_invalid_asyncio_mode PASSED
tests/test_subprocess.py::test_subprocess PASSED
======== 159 passed ========
  py$(PYV): OK
  congratulations :)