Skip to content

Commit 8efef8f

Browse files
authored
bump to python 3.10 (#3337)
* remove math dependency from python 3.9 * bump to python 3.10 * add 3.12
1 parent c0fc717 commit 8efef8f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/new_tasks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ jobs:
4444
echo "One or more test file(s) has changed."
4545
echo "List of all the files that have changed: ${{ steps.changed-tasks.outputs.tasks_all_modified_files }}"
4646
47-
- name: Set up Python 3.9
47+
- name: Set up Python 3.10
4848
if: steps.changed-tasks.outputs.tasks_any_modified == 'true' || steps.changed-tasks.outputs.api_any_modified == 'true'
4949
uses: actions/setup-python@v5
5050
with:
51-
python-version: 3.9
51+
python-version: '3.10'
5252
cache: 'pip'
5353
cache-dependency-path: pyproject.toml
5454
- name: Install dependencies

.github/workflows/unit_tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
steps:
2323
- name: Checkout Code
2424
uses: actions/checkout@v4
25-
- name: Set up Python 3.9
25+
- name: Set up Python 3.10
2626
uses: actions/setup-python@v5
2727
with:
28-
python-version: 3.9
28+
python-version: '3.10'
2929
cache: pip
3030
cache-dependency-path: pyproject.toml
3131
- name: Pre-Commit
@@ -39,7 +39,7 @@ jobs:
3939
strategy:
4040
fail-fast: true
4141
matrix:
42-
python-version: ["3.9", "3.10", "3.11"]
42+
python-version: ["3.10", "3.11", "3.12"]
4343
timeout-minutes: 30
4444
steps:
4545
- name: Checkout Code

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ classifiers = [
1616
"License :: OSI Approved :: MIT License",
1717
"Operating System :: OS Independent",
1818
]
19-
requires-python = ">=3.9"
19+
requires-python = ">=3.10"
2020
license = { "text" = "MIT" }
2121
dependencies = [
2222
"accelerate>=0.26.0",

0 commit comments

Comments
 (0)