Skip to content

Commit ff37f78

Browse files
committed
Merge main
2 parents 70a04e4 + 4d3a30a commit ff37f78

File tree

111 files changed

+1265
-941
lines changed

Some content is hidden

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

111 files changed

+1265
-941
lines changed

.circleci/config.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ jobs:
3434
- CIBW_SKIP: '*-musllinux_*'
3535
- CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014_base_aarch64
3636
- CIBW_MANYLINUX_PYPY_AARCH64_IMAGE: manylinux2014_base_aarch64
37-
- CIBW_BEFORE_BUILD: pip install Sphinx"<7.2.0" && python setup.py docs
37+
# urllib3 2.0.0+ needs a newer OpenSSL version than what the python 3.7 build in
38+
# the image has. So downgrade urllib3 for now, until we drop python 3.7 (after
39+
# which there will be no need to downgrade)
40+
- CIBW_BEFORE_BUILD: pip install Sphinx"<7.2.0" urllib3"<2.0.0" && python setup.py docs
3841
- CIBW_TEST_COMMAND: python -m pygame.tests -v --exclude opengl,music,timing --time_out 300
3942
- CIBW_BUILD_VERBOSITY: 2
4043

@@ -48,7 +51,7 @@ jobs:
4851
- run:
4952
name: Build the Linux wheels.
5053
command: |
51-
pip3 install --user cibuildwheel==2.15.0
54+
pip3 install --user cibuildwheel==2.16.1
5255
PATH="$HOME/.local/bin:$PATH" cibuildwheel --output-dir wheelhouse
5356
5457
- store_artifacts:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
arch: [s390x, ppc64le]
4848

4949
steps:
50-
- uses: actions/checkout@v3.6.0
50+
- uses: actions/checkout@v4.1.0
5151

5252
- name: Build sources and run tests
5353
uses: uraimo/run-on-arch-action@v2.5.1

.github/workflows/build-emsdk.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ jobs:
4747
WHEELHOUSE_CYTHON: /tmp/wheelhouse/cython
4848

4949
steps:
50-
- uses: actions/checkout@v3.6.0
50+
- uses: actions/checkout@v4.1.0
5151

5252
- name: Cache Cython
5353
id: cache-cython
54-
uses: actions/cache@v3.3.1
54+
uses: actions/cache@v3.3.2
5555
with:
5656
path: ${{ env.WHEELHOUSE_CYTHON }}
5757
key: wasm-ubuntu-cython-${{ env.LATEST_CYTHON_COMMIT }}-path-${{ env.WHEELHOUSE_CYTHON }}

.github/workflows/build-macos.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ jobs:
4545
macarch: [arm64, x86_64]
4646

4747
steps:
48-
- uses: actions/checkout@v3.6.0
48+
- uses: actions/checkout@v4.1.0
4949

5050
- name: Test for Mac Deps cache hit
5151
id: macdep-cache
52-
uses: actions/cache@v3.3.1
52+
uses: actions/cache@v3.3.2
5353
with:
5454
path: ${{ github.workspace }}/pygame_mac_deps_${{ matrix.macarch }}
5555
# The hash of all files in buildconfig manylinux-build and macdependencies is
@@ -160,24 +160,24 @@ jobs:
160160
CIBW_BUILD_VERBOSITY: 2
161161

162162
steps:
163-
- uses: actions/checkout@v3.6.0
163+
- uses: actions/checkout@v4.1.0
164164

165165
- name: pip cache
166-
uses: actions/cache@v3.3.1
166+
uses: actions/cache@v3.3.2
167167
with:
168168
path: ~/Library/Caches/pip # This cache path is only right on mac
169169
key: pip-cache-${{ matrix.name }}
170170

171171
- name: Fetch Mac deps
172172
id: macdep-cache
173-
uses: actions/cache@v3.3.1
173+
uses: actions/cache@v3.3.2
174174
with:
175175
path: ${{ github.workspace }}/pygame_mac_deps_${{ matrix.macarch }}
176176
key: macdep-${{ hashFiles('buildconfig/manylinux-build/**') }}-${{ hashFiles('buildconfig/macdependencies/*.sh') }}-${{ matrix.macarch }}
177177
fail-on-cache-miss: true
178178

179179
- name: Build and test wheels
180-
uses: pypa/cibuildwheel@v2.15.0
180+
uses: pypa/cibuildwheel@v2.16.0
181181

182182
- uses: actions/upload-artifact@v3
183183
with:

.github/workflows/build-manylinux.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,11 @@ jobs:
6161
CIBW_SKIP: '*-musllinux_*'
6262

6363
# command that runs before every build
64+
# urllib3 2.0.0+ needs a newer OpenSSL version than what the python 3.7 build in
65+
# the image has. So downgrade urllib3 for now, until we drop python 3.7 (after
66+
# which there will be no need to downgrade)
6467
CIBW_BEFORE_BUILD: |
65-
pip install Sphinx"<7.2.0"
68+
pip install Sphinx"<7.2.0" urllib3"<2.0.0"
6669
python setup.py docs
6770
6871
CIBW_TEST_COMMAND: python -m pygame.tests -v --exclude opengl,music,timing --time_out 300
@@ -79,10 +82,10 @@ jobs:
7982
CIBW_BUILD_VERBOSITY: 2
8083

8184
steps:
82-
- uses: actions/checkout@v3.6.0
85+
- uses: actions/checkout@v4.1.0
8386

8487
- name: Log in to the Container registry
85-
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc
88+
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d
8689
with:
8790
registry: ghcr.io
8891
username: ${{ github.actor }}
@@ -95,14 +98,14 @@ jobs:
9598

9699
- name: Extract metadata (tags, labels) for Docker
97100
id: meta
98-
uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175
101+
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934
99102
with:
100103
images: ghcr.io/${{ github.repository }}_${{ matrix.arch }}
101104
tags: type=raw,value=${{ hashFiles('buildconfig/manylinux-build/**') }}
102105

103106
- name: Build and push Docker image
104107
if: steps.inspect.outcome == 'failure'
105-
uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825
108+
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09
106109
with:
107110
context: ${{ github.workspace }}/buildconfig/manylinux-build/docker_base
108111
file: ${{ github.workspace }}/buildconfig/manylinux-build/docker_base/Dockerfile-${{ matrix.arch }}
@@ -118,7 +121,7 @@ jobs:
118121
CIBW_MANYLINUX_I686_IMAGE: ghcr.io/${{ github.repository }}_i686:${{ steps.meta.outputs.version }}
119122
CIBW_MANYLINUX_PYPY_I686_IMAGE: ghcr.io/${{ github.repository }}_i686:${{ steps.meta.outputs.version }}
120123

121-
uses: pypa/cibuildwheel@v2.15.0
124+
uses: pypa/cibuildwheel@v2.16.0
122125

123126
# We upload the generated files under github actions assets
124127
- name: Upload dist

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
os: [ubuntu-20.04, ubuntu-22.04]
5252

5353
steps:
54-
- uses: actions/checkout@v3.6.0
54+
- uses: actions/checkout@v4.1.0
5555

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

.github/workflows/build-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
CIBW_BUILD_VERBOSITY: 2
159159

160160
steps:
161-
- uses: actions/checkout@v3.6.0
161+
- uses: actions/checkout@v4.1.0
162162

163163
- uses: TheMrMilchmann/setup-msvc-dev@v2 # this lets us use the developer command prompt on windows
164164
with:
@@ -170,7 +170,7 @@ jobs:
170170
set MSSdk=1
171171
python -m pip install setuptools wheel requests numpy Sphinx"<7.2.0"
172172
python setup.py docs
173-
python -m pip --disable-pip-version-check install cibuildwheel==2.15.0
173+
python -m pip --disable-pip-version-check install cibuildwheel==2.16.1
174174
python -m cibuildwheel --output-dir wheelhouse
175175
176176
- uses: actions/upload-artifact@v3

.github/workflows/cppcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-20.04
2323

2424
steps:
25-
- uses: actions/checkout@v3.6.0
25+
- uses: actions/checkout@v4.1.0
2626

2727
- name: Install deps
2828
run: |

.github/workflows/format-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-22.04
3030

3131
steps:
32-
- uses: actions/checkout@v3.6.0
32+
- uses: actions/checkout@v4.1.0
3333

3434
- name: Install deps
3535
run: python3 -m pip install pylint black clang-format sphinx"<7.2.0"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
needs: [manylinux-aarch64, manylinux, macos, windows, sdist]
3434
runs-on: ubuntu-latest
3535
steps:
36-
- uses: actions/checkout@v3.6.0
36+
- uses: actions/checkout@v4.1.0
3737

3838
- name: Download all artifacts
3939
uses: actions/download-artifact@v3

0 commit comments

Comments
 (0)