Skip to content

Commit 406431e

Browse files
committed
Use python 3.11
1 parent 615b20b commit 406431e

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/build_wheels.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,14 @@ jobs:
278278
RUNNER_OS: ${{ matrix.os }}
279279
PYTHON_VERSION: ${{ matrix.python-version }}
280280
steps:
281+
- name: Install Offical Python 3.11
282+
uses: actions/setup-python@v2
283+
with:
284+
python-version: ${{ matrix.python-version }}
285+
- name: Check Python version
286+
run: |
287+
python3 -VV
288+
python3-config --includes
281289
- name: Install clang++ for macOS
282290
if: matrix.os == 'macos-11' || matrix.os == 'macos-12'
283291
run: |
@@ -328,9 +336,9 @@ jobs:
328336
df -h
329337
env:
330338
CIBW_ENVIRONMENT_MACOS: "PATH=$(brew --prefix llvm@16)/bin:/usr/local/opt/grep/libexec/gnubin:/usr/local/opt/binutils/bin:$PATH:/usr/local/opt/findutils/libexec/gnubin CC=$(brew --prefix llvm@16)/bin/clang CXX=$(brew --prefix llvm@16)/bin/clang++"
331-
- name: Remove /usr/local/bin/python3
332-
run: |
333-
sudo rm -f /usr/local/bin/python3
339+
# - name: Remove /usr/local/bin/python3
340+
# run: |
341+
# sudo rm -f /usr/local/bin/python3
334342
- name: Install dependencies for building wheels
335343
run: |
336344
python3 -m pip install -U pip tox pybind11 twine setuptools wheel

0 commit comments

Comments
 (0)