Skip to content

Commit 2d4f65f

Browse files
committed
Fix merge conflict and refcount with surface c_api object
2 parents e33b87a + 885b64f commit 2d4f65f

File tree

319 files changed

+5109
-3785
lines changed

Some content is hidden

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

319 files changed

+5109
-3785
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
- uses: actions/checkout@v4.2.2
6969

7070
- name: Build sources and run tests
71-
uses: uraimo/run-on-arch-action@v3.0.0
71+
uses: uraimo/run-on-arch-action@v3.0.1
7272
id: build
7373
with:
7474
arch: ${{ matrix.base_image && 'none' || matrix.arch }}
@@ -134,7 +134,7 @@ jobs:
134134
done
135135
136136
- name: Test armv7 wheel on armv6
137-
uses: uraimo/run-on-arch-action@v3.0.0
137+
uses: uraimo/run-on-arch-action@v3.0.1
138138
with:
139139
arch: armv6
140140
distro: bookworm

.github/workflows/build-macos.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
- name: Test for Mac Deps cache hit
5353
id: macdep-cache
54-
uses: actions/cache@v4.2.2
54+
uses: actions/cache@v4.2.3
5555
with:
5656
path: ${{ github.workspace }}/pygame_mac_deps_${{ matrix.macarch }}
5757
# The hash of all files in buildconfig manylinux-build and macdependencies is
@@ -118,26 +118,26 @@ jobs:
118118
- uses: actions/checkout@v4.2.2
119119

120120
- name: pip cache
121-
uses: actions/cache@v4.2.2
121+
uses: actions/cache@v4.2.3
122122
with:
123123
path: ~/Library/Caches/pip # This cache path is only right on mac
124124
key: pip-cache-${{ matrix.macarch }}-${{ matrix.os }}
125125

126126
- name: Fetch Mac deps
127127
id: macdep-cache
128-
uses: actions/cache@v4.2.2
128+
uses: actions/cache@v4.2.3
129129
with:
130130
path: ${{ github.workspace }}/pygame_mac_deps_${{ matrix.macarch }}
131131
key: macdep-${{ hashFiles('buildconfig/manylinux-build/**') }}-${{ hashFiles('buildconfig/macdependencies/*.sh') }}-${{ matrix.macarch }}
132132
fail-on-cache-miss: true
133133

134134
- name: Install uv for speed
135-
uses: astral-sh/setup-uv@v5
135+
uses: astral-sh/setup-uv@v6
136136
with:
137137
version: "0.5.26"
138138

139139
- name: Build and test wheels
140-
uses: pypa/cibuildwheel@v2.23.0
140+
uses: pypa/cibuildwheel@v2.23.2
141141

142142
- uses: actions/upload-artifact@v4
143143
with:

.github/workflows/build-manylinux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- uses: actions/checkout@v4.2.2
5656

5757
- name: Log in to the Container registry
58-
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567
58+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772
5959
with:
6060
registry: ghcr.io
6161
username: ${{ github.actor }}
@@ -75,7 +75,7 @@ jobs:
7575

7676
- name: Build and push Docker image
7777
if: steps.inspect.outcome == 'failure'
78-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4
78+
uses: docker/build-push-action@1dc73863535b631f98b2378be8619f83b136f4a0
7979
with:
8080
context: ${{ github.workspace }}/buildconfig/manylinux-build/docker_base
8181
file: ${{ github.workspace }}/buildconfig/manylinux-build/docker_base/Dockerfile-${{ matrix.arch }}
@@ -93,7 +93,7 @@ jobs:
9393
CIBW_MANYLINUX_AARCH64_IMAGE: ghcr.io/${{ github.repository }}_aarch64:${{ steps.meta.outputs.version }}
9494
CIBW_MANYLINUX_PYPY_AARCH64_IMAGE: ghcr.io/${{ github.repository }}_aarch64:${{ steps.meta.outputs.version }}
9595

96-
uses: pypa/cibuildwheel@v2.23.0
96+
uses: pypa/cibuildwheel@v2.23.2
9797

9898
# We upload the generated files under github actions assets
9999
- name: Upload dist

.github/workflows/build-ubuntu-debug-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
8585
- name: Cache debug python build
8686
id: cache-python
87-
uses: actions/cache@v4.2.2
87+
uses: actions/cache@v4.2.3
8888
with:
8989
key: ${{ matrix.python }}
9090
path: ~/.pyenv/versions/${{ matrix.python }}-debug/**

.github/workflows/build-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ jobs:
5757
arch: ${{ matrix.msvc-dev-arch }}
5858

5959
- name: Install uv for speed
60-
uses: astral-sh/setup-uv@v5
60+
uses: astral-sh/setup-uv@v6
6161
with:
6262
version: "0.5.26"
6363

6464
- name: Build and test wheels
65-
uses: pypa/cibuildwheel@v2.23.0
65+
uses: pypa/cibuildwheel@v2.23.2
6666

6767
- uses: actions/upload-artifact@v4
6868
with:

.github/workflows/release-gh-draft.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: echo "VER=${GITHUB_REF_NAME#'release/'}" >> $GITHUB_OUTPUT
4242

4343
- name: Generate release attestation
44-
uses: actions/attest-build-provenance@v2.2.0
44+
uses: actions/attest-build-provenance@v2.3.0
4545
with:
4646
subject-path: "pygame-wheels/*"
4747

.github/workflows/release-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v4.2.2
1616

1717
- name: Pull all release assets
18-
uses: robinraju/release-downloader@v1.11
18+
uses: robinraju/release-downloader@v1.12
1919
with:
2020
releaseId: ${{ github.event.release.id }}
2121
fileName: "*"

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
# mypy
3333
.mypy_cache/
3434

35+
# Ruff
36+
.ruff_cache
37+
3538
# Other
3639
envdev*
3740
.virtualenv*
@@ -49,4 +52,5 @@ buildconfig/win_dll_dirs.json
4952
# cython generated files
5053
src_c/_sdl2/*.c
5154
!/src_c/_sdl2/touch.c
55+
!/src_c/_sdl2/controller.c
5256
src_c/pypm.c

.pre-commit-config.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
repos:
88
- repo: https://github.com/pre-commit/pre-commit-hooks
9-
rev: v4.6.0
9+
rev: v5.0.0
1010
hooks:
1111
- id: end-of-file-fixer
1212
exclude: |
@@ -26,13 +26,16 @@ repos:
2626
)$
2727
2828
- repo: https://github.com/astral-sh/ruff-pre-commit
29-
rev: v0.4.2
29+
rev: v0.11.5
3030
hooks: # See pyproject.toml for configuration options.
31+
- id: ruff
32+
name: ruff-sort-imports
33+
args: [ --select, I, --fix ]
3134
- id: ruff-format # Run the formatter
3235
types_or: [ python, pyi, jupyter ]
3336

3437
- repo: https://github.com/pre-commit/mirrors-clang-format
35-
rev: v18.1.4
38+
rev: v20.1.0
3639
hooks:
3740
- id: clang-format
3841
exclude: |

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ See docs/licenses for licenses of dependencies.
190190
.. |Python3| image:: https://img.shields.io/badge/python-3-blue.svg?v=1
191191

192192
.. |GithubCommits| image:: https://img.shields.io/github/commits-since/pygame-community/pygame-ce/2.5.2.svg
193-
:target: https://github.com/pygame-community/pygame-ce/compare/2.5.2...main
193+
:target: https://github.com/pygame-community/pygame-ce/compare/2.5.3...main
194194

195195
.. |DocsStatus| image:: https://img.shields.io/website?down_message=offline&label=docs&up_message=online&url=https%3A%2F%2Fpyga.me%2Fdocs%2F
196196
:target: https://pyga.me/docs/

0 commit comments

Comments
 (0)