Skip to content

Commit 35393b1

Browse files
authored
Fix Linux Python 3.12 wheel build (#102)
* Install libffi-dev for Ubuntu Python 3.12 wheel * Drop 3.12 from regular tests as it's not available from Conda yet
1 parent 8d55769 commit 35393b1

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/wheels.yml

+3
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ jobs:
120120
# Build SuiteSparse
121121
CIBW_BEFORE_ALL: bash suitesparse.sh ${{ github.ref }}
122122

123+
# Install FFI dev library, needed for Python 3.12
124+
CIBW_BEFORE_BUILD_LINUX: yum install -y libffi-devel
125+
123126
CIBW_ENVIRONMENT_LINUX: SUITESPARSE_FAST_BUILD=${{ env.SUITESPARSE_FAST_BUILD }}
124127

125128
# CMAKE_GNUtoMS=ON asks suitesparse.sh to build libraries in MSVC style on Windows.

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ classifiers = [
5353
"Programming Language :: Python :: 3.9",
5454
"Programming Language :: Python :: 3.10",
5555
"Programming Language :: Python :: 3.11",
56+
"Programming Language :: Python :: 3.12",
5657
"Programming Language :: Python :: 3 :: Only",
5758
"Intended Audience :: Developers",
5859
"Intended Audience :: Other Audience",

0 commit comments

Comments
 (0)