Skip to content
Merged
Show file tree
Hide file tree
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
18 changes: 16 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -336,15 +336,29 @@ jobs:
- name: Cythonize
run: |
make cythonize
- name: Enable KVM group perms for Android emulator
if: ${{ matrix.config.platform == 'android' }}
# This is normally done by cibuildwheel automatically, when it detects Github Actions. But by unsetting GITHUB_ACTIONS
# in the test step, we also disable that automatic setup. So we need to do it manually here.
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Install cibuildwheel
run: uv pip install cibuildwheel==3.4.1
- name: Build wheels and test
uses: pypa/cibuildwheel@v3.4.1
# cibuildwheel normally uses grouping in its outputs for its build/test steps. But the loading time when
# expanding large groups in GitHub Actions is very high. So by unsetting GITHUB_ACTIONS, cibuildwheel does
# not know that it is running in a GitHub Action and thus does not use groups.
run: env -u GITHUB_ACTIONS cibuildwheel
env:
CIBW_BUILD: ${{ matrix.pyver }}-*
CIBW_PLATFORM: ${{ matrix.config.platform }}
CIBW_ARCHS: ${{ matrix.config.archs }}
CIBW_TEST_REQUIRES: -r requirements/test-mobile.txt
CIBW_TEST_SOURCES: setup.cfg README.rst tests
CIBW_TEST_COMMAND: python -m pytest
# Currently only Android supports colored output. See https://github.com/python/cpython/issues/150932 for iOS.
CIBW_TEST_COMMAND: python -m pytest ${{ matrix.config.platform == 'android' && '--color=yes' || '' }}

autobahn:
permissions:
Expand Down
1 change: 0 additions & 1 deletion docs/web_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1880,7 +1880,6 @@ Application and Router

.. method:: add_static(prefix, path, *, name=None, expect_handler=None, \
chunk_size=256*1024, \
response_factory=StreamResponse, \
show_index=False, \
break_symlink_sandbox=False, \
append_version=False)
Expand Down
Loading