Skip to content

Commit

Permalink
Add python3.11 to CI, python3.7 deprecated (#1457)
Browse files Browse the repository at this point in the history
* Add python3.11 to CI

* Update torch version for python3.11

* Python3.7 deprecated
  • Loading branch information
Dipet committed Jun 4, 2023
1 parent b773a1a commit 30deec1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-11]
python-version: [3.7, 3.8, 3.9, "3.10"]
python-version: [3.8, 3.9, "3.10", "3.11"]
fail-fast: false
steps:
- name: Checkout
Expand All @@ -30,11 +30,11 @@ jobs:
matrix.operating-system == 'ubuntu-latest' ||
matrix.operating-system == 'windows-latest'
run: >
pip install torch==1.13.1 torchvision==0.14.1
pip install torch==2.0.1 torchvision==0.15.2
--extra-index-url https://download.pytorch.org/whl/cpu
- name: Install PyTorch on MacOS
if: matrix.operating-system == 'macos-latest'
run: pip install torch==1.13.1 torchvision==0.14.1
run: pip install torch==2.0.1 torchvision==0.15.2
- name: Install dependencies
run: pip install .[tests]
- name: Install linters
Expand Down

0 comments on commit 30deec1

Please sign in to comment.