Skip to content

Commit cac9cfb

Browse files
update for python 3.14, remove 3.10 and 3.11.
1 parent 0fc449b commit cac9cfb

File tree

4 files changed

+23
-27
lines changed

4 files changed

+23
-27
lines changed

.cirrus.yml

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
pi_task:
55
arm_container:
66
matrix:
7-
- image: dtcooper/raspberrypi-os:python3.13-bullseye
8-
- image: dtcooper/raspberrypi-os:python3.12-bullseye
9-
- image: dtcooper/raspberrypi-os:python3.11-bullseye
10-
- image: dtcooper/raspberrypi-os:python3.10-bullseye
7+
- image: electronstudio/raspberrypi-os:python3.14-bookworm
8+
- image: electronstudio/raspberrypi-os:python3.13-bullseye
9+
- image: electronstudio/raspberrypi-os:python3.12-bullseye
10+
- image: electronstudio/raspberrypi-os:python3.11-bullseye
11+
- image: electronstudio/raspberrypi-os:python3.10-bullseye
1112
env:
1213
matrix:
1314
- RAYLIB_PLATFORM: "Desktop"
@@ -75,18 +76,6 @@ mac_task:
7576
env:
7677
MACOSX_DEPLOYMENT_TARGET: "11.0"
7778
matrix:
78-
- env:
79-
PY_VER: "3.10"
80-
RAYLIB_PLATFORM: Desktop
81-
- env:
82-
PY_VER: "3.10"
83-
RAYLIB_PLATFORM: SDL
84-
- env:
85-
PY_VER: "3.11"
86-
RAYLIB_PLATFORM: Desktop
87-
- env:
88-
PY_VER: "3.11"
89-
RAYLIB_PLATFORM: SDL
9079
- env:
9180
PY_VER: "3.12"
9281
RAYLIB_PLATFORM: Desktop
@@ -99,6 +88,12 @@ mac_task:
9988
- env:
10089
PY_VER: "3.13"
10190
RAYLIB_PLATFORM: SDL
91+
- env:
92+
PY_VER: "3.14"
93+
RAYLIB_PLATFORM: Desktop
94+
- env:
95+
PY_VER: "3.14"
96+
RAYLIB_PLATFORM: SDL
10297

10398

10499
setup_script:

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ on:
1212

1313
jobs:
1414
build-mac-intel:
15-
runs-on: macos-13
15+
runs-on: macos-15-intel
1616
strategy:
1717
matrix:
18-
python-version: [ '3.10', '3.11', '3.12', '3.13', '3.14.0-rc.2', 'pypy-3.10', 'pypy-3.11' ]
18+
python-version: [ '3.12', '3.13', '3.14', 'pypy-3.11' ]
1919
raylib-platform: ['Desktop', 'SDL']
2020
env:
2121
MACOSX_DEPLOYMENT_TARGET: '10.13'
@@ -78,7 +78,7 @@ jobs:
7878

7979
run: |
8080
python -m pip install --upgrade pip
81-
pip3 install --upgrade "cffi>=1.17.1"
81+
pip3 install --upgrade "cffi>=2.0.0"
8282
pip3 install --upgrade wheel
8383
pip3 install --upgrade setuptools
8484
python -m pip install --upgrade build
@@ -130,7 +130,7 @@ jobs:
130130
# You can use PyPy versions in python-version.
131131
# For example, pypy2 and pypy3
132132
matrix:
133-
python-version: ['python3.10', 'python3.11', 'python3.12', 'python3.13', 'pypy3.10', 'pypy3.11']
133+
python-version: ['python3.12', 'python3.13', 'python3.14', 'pypy3.11']
134134
raylib-platform: ['Desktop', 'SDL', 'DRM']
135135
steps:
136136
- name: fix node
@@ -165,7 +165,7 @@ jobs:
165165
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig
166166
run: |
167167
${{ matrix.python-version }} -m pip install --upgrade pip
168-
${{ matrix.python-version }} -m pip install --upgrade "cffi>=1.17.1"
168+
${{ matrix.python-version }} -m pip install --upgrade "cffi>=2.0.0"
169169
${{ matrix.python-version }} -m pip install --upgrade wheel
170170
${{ matrix.python-version }} -m pip install --upgrade setuptools
171171
${{ matrix.python-version }} -m pip install --upgrade build
@@ -221,7 +221,7 @@ jobs:
221221
# You can use PyPy versions in python-version.
222222
# For example, pypy2 and pypy3
223223
matrix:
224-
python-version: [ '3.10', '3.11', '3.12', '3.13', '3.14.0-rc.2', 'pypy-3.10', 'pypy-3.11' ]
224+
python-version: [ '3.12', '3.13', '3.14', 'pypy-3.11' ]
225225
raylib-platform: ['Desktop', 'SDL']
226226
steps:
227227
- uses: actions/checkout@v4
@@ -274,7 +274,7 @@ jobs:
274274
copy ${{ runner.temp }}\SDL2\lib\x64\SDL2.lib .
275275
copy ${{ runner.temp }}\SDL2\lib\x64\SDL2.dll raylib\
276276
python -m pip install --upgrade pip
277-
pip3 install --upgrade "cffi>=1.17.1"
277+
pip3 install --upgrade "cffi>=2.0.0"
278278
pip3 install --upgrade wheel
279279
pip3 install --upgrade setuptools
280280
pip3 install --upgrade build
@@ -346,7 +346,7 @@ jobs:
346346
- name: Build raylib-python-cffi
347347
run: |
348348
python -m pip install --upgrade pip
349-
pip3 install --upgrade "cffi>=1.17.1"
349+
pip3 install --upgrade "cffi>=2.0.0"
350350
pip3 install --upgrade wheel
351351
pip3 install --upgrade setuptools
352352
python setup.py sdist
@@ -381,7 +381,7 @@ jobs:
381381
- name: Build raylib-python-cffi-dynamic
382382
run: |
383383
python -m pip install --upgrade pip
384-
pip3 install --upgrade "cffi>=1.17.1"
384+
pip3 install --upgrade "cffi>=2.0.0"
385385
pip3 install --upgrade wheel
386386
pip3 install --upgrade setuptools
387387
cd dynamic

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build-system]
2-
requires = ["setuptools", "cffi>=1.17.1"]
2+
requires = ["setuptools", "cffi>=2.0.0"]
33
build-backend = "setuptools.build_meta"

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,15 @@ def has_ext_modules(foo):
3535
author_email="github@electronstudio.co.uk",
3636
classifiers=[
3737
"Programming Language :: Python :: 3",
38+
"Programming Language :: Python :: 3.14",
3839
"Programming Language :: Python :: 3.13",
3940
"Programming Language :: Python :: 3.12",
4041
"Programming Language :: Python :: 3.11",
4142
"Programming Language :: Python :: 3.10",
4243
],
4344
packages=["raylib", "pyray"],
4445
include_package_data=True,
45-
install_requires=["cffi>=1.17.1"],
46+
install_requires=["cffi>=2.0.0"],
4647
distclass=BinaryDistribution,
4748
cffi_modules=["raylib/build.py:ffibuilder"]
4849
)

0 commit comments

Comments
 (0)