Skip to content

Commit d188fa6

Browse files
committed
Merge branch 'main' of https://github.com/pygame-community/pygame-ce into andrew-c-unit-testing
2 parents 917b360 + f17f602 commit d188fa6

File tree

142 files changed

+3351
-690
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+3351
-690
lines changed

.coderabbit.yaml

Lines changed: 186 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
1+
language: en-US
2+
tone_instructions: ''
3+
early_access: false
4+
enable_free_tier: true
5+
reviews:
6+
profile: chill
7+
request_changes_workflow: false
8+
high_level_summary: false
9+
high_level_summary_placeholder: '@coderabbitai summary'
10+
high_level_summary_in_walkthrough: true
11+
auto_title_placeholder: '@coderabbitai'
12+
auto_title_instructions: ''
13+
review_status: true
14+
commit_status: true
15+
fail_commit_status: false
16+
collapse_walkthrough: true
17+
changed_files_summary: true
18+
sequence_diagrams: true
19+
estimate_code_review_effort: true
20+
assess_linked_issues: true
21+
related_issues: true
22+
related_prs: true
23+
suggested_labels: true
24+
auto_apply_labels: false
25+
suggested_reviewers: true
26+
auto_assign_reviewers: false
27+
poem: false
28+
labeling_instructions: []
29+
path_filters:
30+
- '!src_c/doc/*' # autogenerated C header files
31+
- '!src_c/freetype/*' # freetype vendored files
32+
- '!src_c/include/pythoncapi_compat.h' # vendored python file
33+
- '!docs/LGPL.txt' # license file
34+
- '!docs/licenses/*' # licenses for dependencies
35+
path_instructions: []
36+
abort_on_close: false
37+
disable_cache: false
38+
auto_review:
39+
enabled: true
40+
auto_incremental_review: true
41+
ignore_title_keywords: []
42+
labels: []
43+
drafts: false
44+
base_branches: []
45+
finishing_touches:
46+
docstrings:
47+
enabled: true
48+
unit_tests:
49+
enabled: true
50+
pre_merge_checks:
51+
docstrings:
52+
mode: warning
53+
threshold: 80
54+
title:
55+
mode: warning
56+
requirements: ''
57+
description:
58+
mode: warning
59+
issue_assessment:
60+
mode: warning
61+
tools:
62+
ast-grep:
63+
rule_dirs: []
64+
util_dirs: []
65+
essential_rules: true
66+
packages: []
67+
shellcheck:
68+
enabled: true
69+
ruff:
70+
enabled: true
71+
markdownlint:
72+
enabled: true
73+
github-checks:
74+
enabled: true
75+
timeout_ms: 90000
76+
languagetool:
77+
enabled: true
78+
enabled_rules: []
79+
disabled_rules: []
80+
enabled_categories: []
81+
disabled_categories: []
82+
enabled_only: false
83+
level: default
84+
biome:
85+
enabled: false
86+
hadolint:
87+
enabled: false
88+
swiftlint:
89+
enabled: false
90+
phpstan:
91+
enabled: false
92+
level: default
93+
phpmd:
94+
enabled: false
95+
phpcs:
96+
enabled: false
97+
golangci-lint:
98+
enabled: false
99+
yamllint:
100+
enabled: true
101+
gitleaks:
102+
enabled: true
103+
checkov:
104+
enabled: true
105+
detekt:
106+
enabled: false
107+
eslint:
108+
enabled: false
109+
flake8:
110+
enabled: true
111+
rubocop:
112+
enabled: false
113+
buf:
114+
enabled: false
115+
regal:
116+
enabled: false
117+
actionlint:
118+
enabled: true
119+
pmd:
120+
enabled: false
121+
cppcheck:
122+
enabled: true
123+
semgrep:
124+
enabled: true
125+
circleci:
126+
enabled: false
127+
clippy:
128+
enabled: false
129+
sqlfluff:
130+
enabled: false
131+
prismaLint:
132+
enabled: false
133+
pylint:
134+
enabled: true
135+
oxc:
136+
enabled: false
137+
shopifyThemeCheck:
138+
enabled: false
139+
luacheck:
140+
enabled: false
141+
brakeman:
142+
enabled: false
143+
dotenvLint:
144+
enabled: true
145+
htmlhint:
146+
enabled: false
147+
checkmake:
148+
enabled: true
149+
osvScanner:
150+
enabled: true
151+
chat:
152+
art: true
153+
auto_reply: true
154+
integrations:
155+
jira:
156+
usage: auto
157+
linear:
158+
usage: auto
159+
knowledge_base:
160+
opt_out: false
161+
web_search:
162+
enabled: true
163+
code_guidelines:
164+
enabled: true
165+
filePatterns: []
166+
learnings:
167+
scope: auto
168+
issues:
169+
scope: auto
170+
jira:
171+
usage: auto
172+
project_keys: []
173+
linear:
174+
usage: auto
175+
team_keys: []
176+
pull_requests:
177+
scope: auto
178+
mcp:
179+
usage: auto
180+
disabled_servers: []
181+
code_generation:
182+
docstrings:
183+
language: en-US
184+
path_instructions: []
185+
unit_tests:
186+
path_instructions: []

.github/workflows/build-debian-multiarch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- { arch: armv7, base_image: 'balenalib/raspberrypi3-debian:bookworm' }
6666

6767
steps:
68-
- uses: actions/checkout@v4.2.2
68+
- uses: actions/checkout@v5.0.0
6969

7070
- name: Build sources and run tests
7171
uses: uraimo/[email protected]
@@ -121,7 +121,7 @@ jobs:
121121
runs-on: ubuntu-22.04
122122
steps:
123123
- name: Download all multiarch artifacts
124-
uses: actions/download-artifact@v4
124+
uses: actions/download-artifact@v5
125125
with:
126126
name: pygame-multiarch-armv7-dist
127127
path: ~/artifacts

.github/workflows/build-emsdk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
SDKROOT: /opt/python-wasm-sdk
4242

4343
steps:
44-
- uses: actions/checkout@v4.2.2
44+
- uses: actions/checkout@v5.0.0
4545

4646
- name: Regen with latest cython (using system python3)
4747
run: |

.github/workflows/build-macos.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828
- { macarch: x86_64, os: macos-13 }
2929

3030
steps:
31-
- uses: actions/checkout@v4.2.2
31+
- uses: actions/checkout@v5.0.0
3232

3333
- name: Test for Mac Deps cache hit
3434
id: macdep-cache
35-
uses: actions/cache@v4.2.3
35+
uses: actions/cache@v4.3.0
3636
with:
3737
path: ${{ github.workspace }}/pygame_mac_deps_${{ matrix.macarch }}
3838
# The hash of all files in buildconfig manylinux-build and macdependencies is
@@ -96,17 +96,17 @@ jobs:
9696
CIBW_BEFORE_TEST: rm -rf ${{ github.workspace }}/pygame_mac_deps
9797

9898
steps:
99-
- uses: actions/checkout@v4.2.2
99+
- uses: actions/checkout@v5.0.0
100100

101101
- name: pip cache
102-
uses: actions/cache@v4.2.3
102+
uses: actions/cache@v4.3.0
103103
with:
104104
path: ~/Library/Caches/pip # This cache path is only right on mac
105105
key: pip-cache-${{ matrix.macarch }}-${{ matrix.os }}
106106

107107
- name: Fetch Mac deps
108108
id: macdep-cache
109-
uses: actions/cache@v4.2.3
109+
uses: actions/cache@v4.3.0
110110
with:
111111
path: ${{ github.workspace }}/pygame_mac_deps_${{ matrix.macarch }}
112112
key: macdep-${{ hashFiles('buildconfig/manylinux-build/**') }}-${{ hashFiles('buildconfig/macdependencies/*.sh') }}-${{ matrix.macarch }}
@@ -115,10 +115,10 @@ jobs:
115115
- name: Install uv for speed
116116
uses: astral-sh/setup-uv@v6
117117
with:
118-
version: "0.5.26"
118+
version: "0.8.3"
119119

120120
- name: Build and test wheels
121-
uses: pypa/cibuildwheel@v3.1.3
121+
uses: pypa/cibuildwheel@v3.2.0
122122

123123
- uses: actions/upload-artifact@v4
124124
with:

.github/workflows/build-manylinux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
CIBW_ARCHS: ${{ matrix.arch }}
3434

3535
steps:
36-
- uses: actions/checkout@v4.2.2
36+
- uses: actions/checkout@v5.0.0
3737

3838
- name: Log in to the Container registry
39-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772
39+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef
4040
with:
4141
registry: ghcr.io
4242
username: ${{ github.actor }}
@@ -74,7 +74,7 @@ jobs:
7474
CIBW_MANYLINUX_AARCH64_IMAGE: ghcr.io/${{ github.repository }}_aarch64:${{ steps.meta.outputs.version }}
7575
CIBW_MANYLINUX_PYPY_AARCH64_IMAGE: ghcr.io/${{ github.repository }}_aarch64:${{ steps.meta.outputs.version }}
7676

77-
uses: pypa/cibuildwheel@v3.1.3
77+
uses: pypa/cibuildwheel@v3.2.0
7878

7979
# We upload the generated files under github actions assets
8080
- name: Upload dist

.github/workflows/build-on-msys2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
# - { sys: clangarm64, env: clang-aarch64 }
4848

4949
steps:
50-
- uses: actions/checkout@v4.2.2
50+
- uses: actions/checkout@v5.0.0
5151
- uses: msys2/setup-msys2@v2
5252
with:
5353
msystem: ${{ matrix.sys }}

.github/workflows/build-sdl3.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
PG_DEPS_FROM_SYSTEM: 1
5353

5454
steps:
55-
- uses: actions/checkout@v4.2.2
55+
- uses: actions/checkout@v5.0.0
5656

5757
- name: Install pygame deps (linux)
5858
if: matrix.os == 'ubuntu-24.04'

.github/workflows/build-ubuntu-sdist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
PG_DEPS_FROM_SYSTEM: 1
4040

4141
steps:
42-
- uses: actions/checkout@v4.2.2
42+
- uses: actions/checkout@v5.0.0
4343

4444
- name: Install deps
4545
# install numpy from pip and not apt because the one from pip is newer,

.github/workflows/build-windows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@ jobs:
3131
CIBW_ARCHS: ${{ matrix.winarch }}
3232

3333
steps:
34-
- uses: actions/checkout@v4.2.2
34+
- uses: actions/checkout@v5.0.0
3535

36-
- uses: TheMrMilchmann/setup-msvc-dev@v3 # this lets us use the developer command prompt on windows
36+
- uses: TheMrMilchmann/setup-msvc-dev@v4 # this lets us use the developer command prompt on windows
3737
with:
3838
arch: ${{ matrix.msvc-dev-arch }}
3939

4040
- name: Install uv for speed
4141
uses: astral-sh/setup-uv@v6
4242
with:
43-
version: "0.5.26"
43+
version: "0.8.3"
4444

4545
- name: Build and test wheels
46-
uses: pypa/cibuildwheel@v3.1.3
46+
uses: pypa/cibuildwheel@v3.2.0
4747

4848
- uses: actions/upload-artifact@v4
4949
with:

.github/workflows/dev-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
SDL_AUDIODRIVER: "disk"
3232

3333
steps:
34-
- uses: actions/checkout@v4.2.2
34+
- uses: actions/checkout@v5.0.0
3535

3636
- name: Install deps
3737
run: |

0 commit comments

Comments
 (0)