@@ -30,15 +30,10 @@ jobs:
3030 uses : pypa/cibuildwheel@v2.23.3
3131 env :
3232 # CGO_ENABLED: 1
33- CIBW_BUILD : " cp3 *_x86_64"
33+ CIBW_BUILD : " cp311 *_x86_64"
3434 CIBW_ARCHS : " native"
3535 # For Linux, install Go once per container using CIBW_BEFORE_ALL.
3636 # This is more efficient than installing it for every Python version.
37- # CIBW_BEFORE_ALL_LINUX: >
38- # curl -sL https://go.dev/dl/go1.23.0.linux-amd64.tar.gz | tar -C /usr/local -xzf - &&
39- # /usr/local/go/bin/go version &&
40- # /usr/local/go/bin/go install github.com/go-python/gopy@latest &&
41- # /usr/local/go/bin/go install golang.org/x/tools/cmd/goimports@latest
4237 CIBW_BEFORE_ALL_LINUX : >
4338 set -ex &&
4439 curl -sL https://go.dev/dl/go1.23.0.linux-amd64.tar.gz | tar -C /usr/local -xzf - &&
5550 CIBW_BEFORE_BUILD : " pip install pybindgen setuptools wheel"
5651
5752 # Skip building for Python 3.7 and older, and all PyPy versions.
58- CIBW_SKIP : " cp36-* cp37-* pp* *-i686"
53+ CIBW_SKIP : " cp36-* cp37-* cp38-* cp39-* cp310-* cp312-* cp313-* pp* *-i686"
5954
6055 - name : Store wheel artifacts
6156 uses : actions/upload-artifact@v4
7166 steps :
7267 - uses : actions/checkout@v4
7368
74- - name : Set up Python
75- uses : actions/setup-python@v5
76- with : # fix gcc cannot find -lpython3.11
77- python-version : ' 3.11'
78-
7969 - name : Use custom setup.py
8070 shell : bash # Use bash for consistency across platforms
8171 run : cp python/setup_custom.py setup.py
8878 with :
8979 platforms : all
9080
91- - name : Install cibuildwheel # fix gcc cannot find -lpython3.11
92- run : python -m pip install cibuildwheel
93-
9481 - name : Build wheels
9582 uses : pypa/cibuildwheel@v2.23.3
9683 env :
0 commit comments