Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updpatch: python-aiohttp 3.10.5-1 #4341

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions python-aiohttp/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
diff --git PKGBUILD PKGBUILD
index b776af4..bbe3adb 100644
index dc761d5..55f9a37 100644
--- PKGBUILD
+++ PKGBUILD
@@ -83,7 +83,8 @@ check() {
local _python_version=$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))')
@@ -84,8 +84,10 @@ check() {
local python_version=$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))')
mv tests/autobahn/test_autobahn.py{,.bak} # Docker tests
# https://github.com/aio-libs/aiohttp/issues/8234
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-${_python_version}" pytest -k 'not test_aiohttp_plugin'
+ # skip import time test
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-${_python_version}" pytest -k 'not test_aiohttp_plugin and not test_import_time'
+ # and skip import time test for slow riscv64
PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-$python_version" pytest \
- --deselect 'tests/test_pytest_plugin.py::test_aiohttp_plugin'
+ --deselect 'tests/test_pytest_plugin.py::test_aiohttp_plugin' \
+ --deselect 'tests/test_imports.py::test_import_time'
mv tests/autobahn/test_autobahn.py{.bak,}
}

Loading