Skip to content

Commit 922e273

Browse files
committed
drop python 3.8
1 parent 57636ad commit 922e273

7 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/pr_dependency_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Python
2323
uses: actions/setup-python@v4
2424
with:
25-
python-version: "3.8"
25+
python-version: "3.10"
2626
- name: Install dependencies
2727
run: |
2828
pip install -e .

.github/workflows/pr_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Set up Python
3636
uses: actions/setup-python@v4
3737
with:
38-
python-version: "3.8"
38+
python-version: "3.10"
3939
- name: Install dependencies
4040
run: |
4141
pip install --upgrade pip
@@ -55,7 +55,7 @@ jobs:
5555
- name: Set up Python
5656
uses: actions/setup-python@v4
5757
with:
58-
python-version: "3.8"
58+
python-version: "3.10"
5959
- name: Install dependencies
6060
run: |
6161
pip install --upgrade pip

.github/workflows/pr_tests_gpu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Set up Python
3737
uses: actions/setup-python@v4
3838
with:
39-
python-version: "3.8"
39+
python-version: "3.10"
4040
- name: Install dependencies
4141
run: |
4242
pip install --upgrade pip
@@ -56,7 +56,7 @@ jobs:
5656
- name: Set up Python
5757
uses: actions/setup-python@v4
5858
with:
59-
python-version: "3.8"
59+
python-version: "3.10"
6060
- name: Install dependencies
6161
run: |
6262
pip install --upgrade pip

.github/workflows/pr_torch_dependency_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Python
2323
uses: actions/setup-python@v4
2424
with:
25-
python-version: "3.8"
25+
python-version: "3.10"
2626
- name: Install dependencies
2727
run: |
2828
pip install -e .

.github/workflows/pypi_publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Setup Python
4848
uses: actions/setup-python@v4
4949
with:
50-
python-version: "3.8"
50+
python-version: "3.10"
5151

5252
- name: Install dependencies
5353
run: |

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"pytest",
123123
"pytest-timeout",
124124
"pytest-xdist",
125-
"python>=3.8.0",
125+
"python>=3.9.0",
126126
"ruff==0.9.10",
127127
"safetensors>=0.3.1",
128128
"sentencepiece>=0.1.91,!=0.1.92",
@@ -287,7 +287,7 @@ def run(self):
287287
packages=find_packages("src"),
288288
package_data={"diffusers": ["py.typed"]},
289289
include_package_data=True,
290-
python_requires=">=3.8.0",
290+
python_requires=">=3.9.0",
291291
install_requires=list(install_requires),
292292
extras_require=extras,
293293
entry_points={"console_scripts": ["diffusers-cli=diffusers.commands.diffusers_cli:main"]},

src/diffusers/dependency_versions_table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"pytest": "pytest",
3030
"pytest-timeout": "pytest-timeout",
3131
"pytest-xdist": "pytest-xdist",
32-
"python": "python>=3.8.0",
32+
"python": "python>=3.9.0",
3333
"ruff": "ruff==0.9.10",
3434
"safetensors": "safetensors>=0.3.1",
3535
"sentencepiece": "sentencepiece>=0.1.91,!=0.1.92",

0 commit comments

Comments
 (0)