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

Fix install of pygame on Python 3.11 #164

Merged
merged 3 commits into from Nov 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/python-test.yml
Expand Up @@ -37,7 +37,16 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Check with mypy
run: |
pip install pygame # Needed for examples
if [[ "${{ matrix.python-version }}" = "3.11" ]]
then
# --pre needed for Python 3.11 which doesn't have wheels (and may not
# be fully supported) in version 2.1.2. Once 2.1.3 is released this
# can be removed. Due to https://github.com/pygame/pygame/issues/3572
# we can't apply this for all Python versions.
pip install --pre pygame # Needed for examples
else
pip install pygame # Needed for examples
fi
mypy pythonosc examples
- name: Test with pytest
run: |
Expand Down