Skip to content

Commit

Permalink
Update to Python 3.12
Browse files Browse the repository at this point in the history
Now that PyTorch 2.4 supports Python 3.12, This change attempts
updating the default Python version to 3.12. It also brings the
update to PyTorch 2.4.1 and all its dependencies.

Signed-off-by: Fabien Dupont <[email protected]>
  • Loading branch information
fabiendupont committed Oct 10, 2024
1 parent da678a5 commit b7b3fc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on:
- '.github/**'

env:
PYTHON_VERSION: 3.11
PYTHON_VERSION: 3.12

jobs:
lint:
Expand All @@ -45,10 +45,10 @@ jobs:
fetch-depth: 0
submodules: true

- name: Setup Python 3.11
- name: Setup Python 3.12
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: 3.11
python-version: 3.12
cache: pip
cache-dependency-path: |
**/pyproject.toml
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[tox]
# py3-unit runs unit tests with 'python3'
# py311-unit runs the same tests with 'python3.11'
# py312-unit runs the same tests with 'python3.12'
envlist = ruff, lint, mypy, spellcheck
minversion = 4.4

Expand Down

0 comments on commit b7b3fc7

Please sign in to comment.