Skip to content

Commit 3fb937c

Browse files
authored
Merge branch 'main' into add-dcs
2 parents e4f2645 + 50d89a3 commit 3fb937c

Some content is hidden

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

61 files changed

+1628
-2154
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- run:
2828
name: Build the Linux wheels.
2929
command: |
30-
pip3 install --user cibuildwheel==2.10.2
30+
pip3 install --user cibuildwheel==2.12.0
3131
PATH="$HOME/.local/bin:$PATH" cibuildwheel --output-dir wheelhouse
3232
3333
- store_artifacts:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
arch: [s390x, ppc64le]
5151

5252
steps:
53-
- uses: actions/checkout@v3.0.2
53+
- uses: actions/checkout@v3.3.0
5454

5555
- name: Build sources and run tests
5656
uses: uraimo/[email protected]

.github/workflows/build-emsdk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
WHEELHOUSE_CYTHON: /tmp/wheelhouse/cython
4848

4949
steps:
50-
- uses: actions/checkout@v3.0.2
50+
- uses: actions/checkout@v3.3.0
5151

5252
- name: Cache Cython
5353
id: cache-cython

.github/workflows/build-macos.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
macarch: [arm64, x86_64]
4545

4646
steps:
47-
- uses: actions/checkout@v3.0.2
47+
- uses: actions/checkout@v3.3.0
4848

4949
- name: Test for Mac Deps cache hit
5050
id: macdep-cache
@@ -60,7 +60,7 @@ jobs:
6060
if: steps.macdep-cache.outputs.cache-hit != 'true'
6161
run: |
6262
export MAC_ARCH="${{ matrix.macarch }}"
63-
brew install coreutils
63+
brew install coreutils pkg-config
6464
cd buildconfig/macdependencies
6565
bash ./build_mac_deps.sh
6666
@@ -129,6 +129,7 @@ jobs:
129129
# Setup MacOS dependencies
130130
CIBW_BEFORE_ALL: |
131131
export MAC_ARCH="${{ matrix.macarch }}"
132+
brew install pkg-config
132133
cd buildconfig/macdependencies
133134
bash ./install_mac_deps.sh
134135
@@ -158,7 +159,7 @@ jobs:
158159
key: macdep-${{ hashFiles('buildconfig/manylinux-build/**') }}-${{ hashFiles('buildconfig/macdependencies/*.sh') }}-${{ matrix.macarch }}
159160

160161
- name: Build and test wheels
161-
uses: pypa/cibuildwheel@v2.10.2
162+
uses: pypa/cibuildwheel@v2.12.0
162163

163164
- uses: actions/upload-artifact@v3
164165
with:

.github/workflows/build-manylinux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ jobs:
9797
CIBW_BUILD_VERBOSITY: 2
9898

9999
steps:
100-
- uses: actions/checkout@v3.0.2
100+
- uses: actions/checkout@v3.3.0
101101

102102
- name: Build and test wheels
103-
uses: pypa/cibuildwheel@v2.10.2
103+
uses: pypa/cibuildwheel@v2.12.0
104104

105105
# We upload the generated files under github actions assets
106106
- name: Upload dist

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,13 @@ jobs:
5050
os: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04]
5151

5252
steps:
53-
- uses: actions/checkout@v3.0.2
53+
- uses: actions/checkout@v3.3.0
5454

5555
- name: Install deps
5656
# install numpy from pip and not apt because the one from pip is newer,
5757
# and has typestubs
5858
run: |
59+
sudo apt-mark hold grub-efi-amd64-signed
5960
sudo apt-get update --fix-missing
6061
sudo apt-get upgrade
6162
sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libfreetype6-dev libportmidi-dev libjpeg-dev python3-setuptools python3-dev
@@ -78,9 +79,8 @@ jobs:
7879
- name: Test typestubs
7980
if: matrix.os == 'ubuntu-22.04' # run stubtest only once
8081
run: |
81-
cd buildconfig/stubs
8282
pip3 install mypy
83-
python3 -m mypy.stubtest pygame --allowlist mypy_allow_list.txt
83+
python3 setup.py stubcheck
8484
8585
# We upload the generated files under github actions assets
8686
- name: Upload sdist

.github/workflows/build-windows.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,24 @@ jobs:
114114
msvc-dev-arch: x86,
115115
pyversions: "cp36-win32"
116116
}
117+
- {
118+
name: "Pypy 3.7",
119+
winarch: AMD64,
120+
msvc-dev-arch: x86_amd64,
121+
pyversions: "pp37-*"
122+
}
117123
- {
118124
name: "Pypy 3.8",
119125
winarch: AMD64,
120126
msvc-dev-arch: x86_amd64,
121127
pyversions: "pp38-*"
122128
}
129+
- {
130+
name: "Pypy 3.9",
131+
winarch: AMD64,
132+
msvc-dev-arch: x86_amd64,
133+
pyversions: "pp39-*"
134+
}
123135

124136

125137
env:
@@ -145,7 +157,7 @@ jobs:
145157
CIBW_BUILD_VERBOSITY: 2
146158

147159
steps:
148-
- uses: actions/checkout@v3.0.2
160+
- uses: actions/checkout@v3.3.0
149161

150162
- uses: TheMrMilchmann/setup-msvc-dev@v2 # this lets us use the developer command prompt on windows
151163
with:
@@ -157,7 +169,7 @@ jobs:
157169
set MSSdk=1
158170
python -m pip install setuptools wheel requests numpy Sphinx
159171
python setup.py docs
160-
python -m pip --disable-pip-version-check install cibuildwheel
172+
python -m pip --disable-pip-version-check install cibuildwheel==2.12.0
161173
python -m cibuildwheel --output-dir wheelhouse
162174
163175
- uses: actions/upload-artifact@v3

.github/workflows/cppcheck.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ jobs:
2222
runs-on: ubuntu-20.04
2323

2424
steps:
25-
- uses: actions/checkout@v3.0.2
25+
- uses: actions/checkout@v3.3.0
2626

2727
- name: Install deps
2828
run: |
29+
sudo apt-mark hold grub-efi-amd64-signed
2930
sudo apt-get update --fix-missing
3031
sudo apt-get upgrade
3132
sudo apt install cppcheck

.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.0.2
32+
- uses: actions/checkout@v3.3.0
3333

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

README.rst

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55

66
|AppVeyorBuild| |DocsStatus| |PyPiVersion| |PyPiLicense|
7+
|PyPiVersion| |PyPiLicense|
78
|Python3| |GithubCommits| |BlackFormatBadge|
89

910
Pygame_ is a free and open-source cross-platform library
@@ -170,26 +171,23 @@ The programs in the ``examples`` subdirectory are in the public domain.
170171
See docs/licenses for licenses of dependencies.
171172

172173

173-
.. |AppVeyorBuild| image:: https://ci.appveyor.com/api/projects/status/x4074ybuobsh4myx?svg=true
174-
:target: https://ci.appveyor.com/project/pygame/pygame
174+
.. |PyPiVersion| image:: https://img.shields.io/pypi/v/pygame-ce.svg?v=1
175+
:target: https://pypi.python.org/pypi/pygame-ce
175176

176-
.. |PyPiVersion| image:: https://img.shields.io/pypi/v/pygame.svg?v=1
177-
:target: https://pypi.python.org/pypi/pygame
178-
179-
.. |PyPiLicense| image:: https://img.shields.io/pypi/l/pygame.svg?v=1
180-
:target: https://pypi.python.org/pypi/pygame
177+
.. |PyPiLicense| image:: https://img.shields.io/pypi/l/pygame-ce.svg?v=1
178+
:target: https://pypi.python.org/pypi/pygame-ce
181179

182180
.. |Python3| image:: https://img.shields.io/badge/python-3-blue.svg?v=1
183181

184-
.. |GithubCommits| image:: https://img.shields.io/github/commits-since/pygame/pygame/2.1.2.svg
185-
:target: https://github.com/pygame/pygame/compare/2.1.2...main
182+
.. |GithubCommits| image:: https://img.shields.io/github/commits-since/pygame-community/pygame-ce/2.1.3.svg
183+
:target: https://github.com/pygame-community/pygame-ce/compare/2.1.3...main
186184

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

189187
.. |BlackFormatBadge| image:: https://img.shields.io/badge/code%20style-black-000000.svg
190188
:target: https://github.com/psf/black
191189

192-
.. _pygame: https://www.pyga.me
190+
.. _pygame: https://pyga.me
193191
.. _Simple DirectMedia Layer library: https://www.libsdl.org
194192
.. _We need your help: https://www.pygame.org/contribute.html
195193
.. _Compilation wiki page: https://www.pygame.org/wiki/Compilation

0 commit comments

Comments
 (0)