diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-06-12 00:39:18 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-06-12 00:39:18 +0000 |
| commit | 785b36533f358bb9bb10e2520caffa60edc399e4 (patch) | |
| tree | 63d7e0e1a89b6658baa81e976ec572a5996cd4d2 /dev-python/aiohttp | |
| parent | 702a22a99f5ded073508aa1f44667e74a40e5d4b (diff) | |
| download | baldeagleos-repo-785b36533f358bb9bb10e2520caffa60edc399e4.tar.gz baldeagleos-repo-785b36533f358bb9bb10e2520caffa60edc399e4.tar.xz baldeagleos-repo-785b36533f358bb9bb10e2520caffa60edc399e4.zip | |
Adding metadata
Diffstat (limited to 'dev-python/aiohttp')
| -rw-r--r-- | dev-python/aiohttp/aiohttp-3.8.1-r1.ebuild | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/dev-python/aiohttp/aiohttp-3.8.1-r1.ebuild b/dev-python/aiohttp/aiohttp-3.8.1-r1.ebuild index db44e48134d3..2f6383c1e599 100644 --- a/dev-python/aiohttp/aiohttp-3.8.1-r1.ebuild +++ b/dev-python/aiohttp/aiohttp-3.8.1-r1.ebuild @@ -67,6 +67,9 @@ src_prepare() { # xfail_strict fails on py3.10 sed -i -e '/--cov/d' -e '/xfail_strict/d' setup.cfg || die + # which(1)... + sed -i -e 's:which:command -v:' Makefile || die + distutils-r1_src_prepare } @@ -96,10 +99,25 @@ python_test() { tests/test_client_session.py::test_client_session_timeout_zero ) - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( - # C extensions are not used on PyPy3 - tests/test_http_parser.py::test_c_parser_loaded - ) + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # C extensions are not used on PyPy3 + tests/test_http_parser.py::test_c_parser_loaded + ) + ;; + python3.11) + EPYTEST_DESELECT+=( + # known problem with tests, not code itself + 'tests/test_client_functional.py::test_timeout_on_reading_headers[pyloop]' + 'tests/test_client_functional.py::test_timeout_on_conn_reading_headers[pyloop]' + 'tests/test_client_request.py::test_data_stream_exc_chain[pyloop]' + tests/test_test_utils.py::TestAioHTTPTestCase::test_example_with_loop + tests/test_test_utils.py::TestAioHTTPTestCase::test_example_without_explicit_loop + tests/test_test_utils.py::TestAioHTTPTestCase::test_inner_example_without_explicit_loop + ) + ;; + esac local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin,pytest_forked |
