Skip to content

Commit

Permalink
[workflow] upgrad python version to 3.10 (#2472)
Browse files Browse the repository at this point in the history
* [workflow] upgrad python version to 3.10

* [workflow] try to pass
  • Loading branch information
xingchensong authored Apr 14, 2024
1 parent 1792a67 commit 8bad166
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
torch: ["1.13.1"]
python-version: ["3.8"]
torch: ["2.2.2"]
python-version: ["3.10"]
steps:
- uses: actions/checkout@v1

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.9
python-version: 3.10.14
architecture: x64
- name: Fetch Wenet
uses: actions/checkout@v1
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.x
python-version: 3.10.14
architecture: x64
- name: Fetch Wenet
uses: actions/checkout@v1
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.x
python-version: 3.10.14
architecture: x64
- name: Fetch Wenet
uses: actions/checkout@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
max-parallel: 20
matrix:
os: [ubuntu-latest]
python-version: [3.8]
python-version: [3.10]
steps:
- name: Cache Python Packages
uses: actions/cache@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
# Used to host cibuildwheel
- uses: actions/setup-python@v3
with:
python-version: '3.6'
python-version: '3.10'

- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_BUILD_VERBOSITY: 1
CIBW_BUILD: "cp36-* cp37-* cp38-* cp39-*"
CIBW_BUILD: "cp36-* cp37-* cp38-* cp39-* cp310-*"
# Disable building PyPy wheels on all platforms
# Skip 32-bit builds
CIBW_SKIP: "pp* *-win32 *-manylinux_i686 *-musllinux_*"
Expand Down

0 comments on commit 8bad166

Please sign in to comment.