Skip to content

Commit 0a719ea

Browse files
allow old cffi versions
1 parent ca4752d commit 0a719ea

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ jobs:
513513
# You can use PyPy versions in python-version.
514514
# For example, pypy2 and pypy3
515515
matrix:
516-
python-version: [ '3.12' ]
516+
python-version: [ '3.8' ]
517517
raylib-platform: [ 'Desktop', 'SDL' ]
518518
steps:
519519
- uses: actions/checkout@v4
@@ -668,7 +668,7 @@ jobs:
668668
uses: actions/setup-python@v5
669669
with:
670670
# Version range or exact version of a Python version to use, using SemVer's version range syntax.
671-
python-version: '3.12'
671+
python-version: '3.8'
672672
# The target architecture (x86, x64) of the Python interpreter.
673673
architecture: x64
674674

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>=2.0.0"]
2+
requires = ["setuptools", "cffi>=1.17.1"]
33
build-backend = "setuptools.build_meta"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def has_ext_modules(foo):
4141
],
4242
packages=["raylib", "pyray"],
4343
include_package_data=True,
44-
install_requires=["cffi>=2.0.0"],
44+
install_requires=["cffi>=1.17.1"],
4545
distclass=BinaryDistribution,
4646
cffi_modules=["raylib/build.py:ffibuilder"]
4747
)

0 commit comments

Comments
 (0)