Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit b4eb012

Browse files
authored
Merge pull request #349 from hugovk/add-pypy-3.9
Add support for PyPy3.9, drop PyPy3.7
2 parents 8149809 + cde82a1 commit b4eb012

3 files changed

Lines changed: 25 additions & 5 deletions

File tree

.github/workflows/wheels-linux.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,15 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
python: [ "pypy3.7-7.3.9", "pypy3.8-7.3.9", "3.7", "3.8", "3.9", "3.10", "3.11" ]
24+
python: [
25+
"pypy3.8-7.3.10",
26+
"pypy3.9-7.3.10",
27+
"3.7",
28+
"3.8",
29+
"3.9",
30+
"3.10",
31+
"3.11",
32+
]
2533
platform: [ "i686", "x86_64" ]
2634
mb-ml-libc: [ "manylinux" ]
2735
mb-ml-ver: [ 2014, "_2_28" ]

.github/workflows/wheels-macos.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,22 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
python: [ "pypy3.7-7.3.9", "pypy3.8-7.3.9", "3.7", "3.8", "3.9", "3.10", "3.11" ]
24+
python: [
25+
"pypy3.8-7.3.10",
26+
"pypy3.9-7.3.10",
27+
"3.7",
28+
"3.8",
29+
"3.9",
30+
"3.10",
31+
"3.11",
32+
]
2533
platform: [ "x86_64", "arm64" ]
2634
exclude:
2735
- python: "3.7"
2836
platform: "arm64"
29-
- python: "pypy3.7-7.3.9"
37+
- python: "pypy3.8-7.3.10"
3038
platform: "arm64"
31-
- python: "pypy3.8-7.3.9"
39+
- python: "pypy3.9-7.3.10"
3240
platform: "arm64"
3341
env:
3442
BUILD_COMMIT: ${{ inputs.build-commit }}

config.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,11 @@ function run_tests_in_repo {
144144
}
145145

146146
EXP_CODECS="jpg jpg_2000 libtiff zlib"
147-
EXP_MODULES="freetype2 littlecms2 pil tkinter webp"
147+
if [[ "$MB_PYTHON_VERSION" == pypy3.* ]] && [ -n "$IS_MACOS" ]; then
148+
EXP_MODULES="freetype2 littlecms2 pil webp"
149+
else
150+
EXP_MODULES="freetype2 littlecms2 pil tkinter webp"
151+
fi
148152
EXP_FEATURES="fribidi harfbuzz libjpeg_turbo raqm transp_webp webp_anim webp_mux xcb"
149153

150154
function run_tests {

0 commit comments

Comments
 (0)