Skip to content

Commit d55136c

Browse files
authored
Merge branch 'main' into rect-center
2 parents 8b70876 + f46a4b6 commit d55136c

File tree

512 files changed

+20384
-13308
lines changed

Some content is hidden

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

512 files changed

+20384
-13308
lines changed

.circleci/config.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.

.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: []

.gitattributes

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# define files/directories that won't be exported in an sdist
22
# Keep in sync with MANIFEST.in
3-
.circleci/ export-ignore
43
.github/ export-ignore
5-
buildconfig/ci/ export-ignore
64
buildconfig/macdependencies/ export-ignore
75
buildconfig/manylinux-build/ export-ignore
86

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ env:
4949
jobs:
5050
build-multiarch:
5151
name: Debian (Bookworm - 12) [${{ matrix.arch }}]
52-
runs-on: ubuntu-24.04
52+
runs-on: ubuntu-22.04
5353

5454
strategy:
5555
fail-fast: false # if a particular matrix build fails, don't skip the rest
@@ -65,10 +65,10 @@ 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
71-
uses: uraimo/run-on-arch-action@v2.8.1
71+
uses: uraimo/run-on-arch-action@v3.0.1
7272
id: build
7373
with:
7474
arch: ${{ matrix.base_image && 'none' || matrix.arch }}
@@ -118,10 +118,10 @@ jobs:
118118
test-armv7-on-armv6:
119119
needs: build-multiarch
120120
name: Debian (Bookworm - 12) [build - armv7, test - armv6]
121-
runs-on: ubuntu-24.04
121+
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
@@ -134,7 +134,7 @@ jobs:
134134
done
135135
136136
- name: Test armv7 wheel on armv6
137-
uses: uraimo/run-on-arch-action@v2.8.1
137+
uses: uraimo/run-on-arch-action@v3.0.1
138138
with:
139139
arch: armv6
140140
distro: bookworm

.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: 9 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,13 @@
11
name: macOS
22

33
# Run CI only when a release is created, on changes to main branch, or any PR
4-
# to main. Do not run CI on any other branch. Also, skip any non-source changes
5-
# from running on CI
4+
# to main.
65
on:
76
push:
87
branches: main
9-
paths-ignore:
10-
- 'docs/**'
11-
- 'examples/**'
12-
- '.gitignore'
13-
- '*.rst'
14-
- '*.md'
15-
- '.github/workflows/*.yml'
16-
# re-include current file to not be excluded
17-
- '!.github/workflows/build-macos.yml'
188

199
pull_request:
2010
branches: main
21-
paths-ignore:
22-
- 'docs/**'
23-
- 'examples/**'
24-
- '.gitignore'
25-
- '*.rst'
26-
- '*.md'
27-
- '.github/workflows/*.yml'
28-
# re-include current file to not be excluded
29-
- '!.github/workflows/build-macos.yml'
3011

3112
# the github release drafter can call this workflow
3213
workflow_call:
@@ -47,11 +28,11 @@ jobs:
4728
- { macarch: x86_64, os: macos-13 }
4829

4930
steps:
50-
- uses: actions/checkout@v4.2.2
31+
- uses: actions/checkout@v5.0.0
5132

5233
- name: Test for Mac Deps cache hit
5334
id: macdep-cache
54-
uses: actions/cache@v4.2.0
35+
uses: actions/cache@v4.2.4
5536
with:
5637
path: ${{ github.workspace }}/pygame_mac_deps_${{ matrix.macarch }}
5738
# The hash of all files in buildconfig manylinux-build and macdependencies is
@@ -115,29 +96,29 @@ jobs:
11596
CIBW_BEFORE_TEST: rm -rf ${{ github.workspace }}/pygame_mac_deps
11697

11798
steps:
118-
- uses: actions/checkout@v4.2.2
99+
- uses: actions/checkout@v5.0.0
119100

120101
- name: pip cache
121-
uses: actions/cache@v4.2.0
102+
uses: actions/cache@v4.2.4
122103
with:
123104
path: ~/Library/Caches/pip # This cache path is only right on mac
124105
key: pip-cache-${{ matrix.macarch }}-${{ matrix.os }}
125106

126107
- name: Fetch Mac deps
127108
id: macdep-cache
128-
uses: actions/cache@v4.2.0
109+
uses: actions/cache@v4.2.4
129110
with:
130111
path: ${{ github.workspace }}/pygame_mac_deps_${{ matrix.macarch }}
131112
key: macdep-${{ hashFiles('buildconfig/manylinux-build/**') }}-${{ hashFiles('buildconfig/macdependencies/*.sh') }}-${{ matrix.macarch }}
132113
fail-on-cache-miss: true
133114

134115
- name: Install uv for speed
135-
uses: yezz123/setup-uv@v4
116+
uses: astral-sh/setup-uv@v6
136117
with:
137-
uv-version: "0.5.4"
118+
version: "0.8.3"
138119

139120
- name: Build and test wheels
140-
uses: pypa/cibuildwheel@v2.22.0
121+
uses: pypa/cibuildwheel@v3.1.4
141122

142123
- uses: actions/upload-artifact@v4
143124
with:

0 commit comments

Comments
 (0)