Skip to content

Commit d197de0

Browse files
committed
add python 3.10 to build
1 parent 0224d6c commit d197de0

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
matrix:
99
os: [ubuntu-latest, macos-latest, windows-latest]
10-
python-version: [3.6, 3.7, 3.8, 3.9]
10+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
1111
runs-on: "${{ matrix.os }}"
1212
steps:
1313
# Check out the code
@@ -115,7 +115,7 @@ jobs:
115115
- name: "Set up python"
116116
uses: "actions/setup-python@v2"
117117
with:
118-
python-version: "3.9"
118+
python-version: "3.10"
119119

120120
- name: "Get Python Path"
121121
id: get-py-path
@@ -273,7 +273,7 @@ jobs:
273273
strategy:
274274
matrix:
275275
os: [macos-latest, windows-latest]
276-
python-version: [3.6, 3.7, 3.8, 3.9]
276+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
277277
runs-on: "${{ matrix.os }}"
278278
steps:
279279
# Check out the code
@@ -363,7 +363,7 @@ jobs:
363363
- name: "Set up python"
364364
uses: "actions/setup-python@v2"
365365
with:
366-
python-version: 3.8
366+
python-version: "3.8"
367367

368368
# Generate the lockfile
369369
- name: "Generate Cargo Lockfile"
@@ -492,7 +492,7 @@ jobs:
492492
strategy:
493493
matrix:
494494
os: [macos-latest, windows-latest]
495-
python-version: [3.6, 3.7, 3.8, 3.9]
495+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
496496
runs-on: "${{ matrix.os }}"
497497
steps:
498498
# Check out the code
@@ -502,7 +502,7 @@ jobs:
502502
- name: "Set up python"
503503
uses: "actions/setup-python@v2"
504504
with:
505-
python-version: 3.8
505+
python-version: "3.8"
506506

507507
- name: "Pull cargo version tracking file"
508508
uses: "actions/download-artifact@v1"
@@ -552,7 +552,7 @@ jobs:
552552
- name: "Set up python"
553553
uses: "actions/setup-python@v2"
554554
with:
555-
python-version: 3.9
555+
python-version: "3.10"
556556

557557
- name: "Pull cargo version tracking file"
558558
uses: "actions/download-artifact@v1"

build-wheels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export PATH=/root/.cargo/bin:$PATH
1313

1414
mkdir -p build && rm -rf build/*
1515

16-
for PYBIN in /opt/python/{cp36-cp36m,cp37-cp37m,cp38-cp38,cp39-cp39}/bin; do
16+
for PYBIN in /opt/python/{cp36-cp36m,cp37-cp37m,cp38-cp38,cp39-cp39,cp310-cp310}/bin; do
1717
export PYTHON_SYS_EXECUTABLE="$PYBIN/python"
1818

1919
"${PYBIN}/python" -m ensurepip

0 commit comments

Comments
 (0)