Skip to content

Commit e383f83

Browse files
xslingcngemini-code-assist[bot]
authored andcommitted
chore: drop python 3.9 (#108)
Now requires the python version to be 3.10-3.13. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Minimum Python requirement raised to 3.10; package metadata updated accordingly. * Python 3.13 added to supported versions. * **Tests** * CI test matrix updated to run against Python 3.10–3.13. * **Documentation** * Installation/prerequisites updated to reflect new supported Python range (3.10–3.13). <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 6ca7bd8 commit e383f83

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.github/workflows/unit_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python: ['3.9', '3.10', '3.11', '3.12']
15+
python: ['3.10', '3.11', '3.12', '3.13']
1616

1717
steps:
1818
- name: Checkout

docs/start/installation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Prerequisites
44

55
- OS: Linux
6-
- Python: 3.9, 3.10, 3.11, 3.12
6+
- Python: 3.10, 3.11, 3.12, 3.13
77

88
## Python Package (WIP)
99

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "flashinfer-bench"
77
dynamic = ["version"]
88
description = "FlashInfer-Bench - AI for AI Infrastructure for Accelerating AI Deployment"
99
readme = "README.md"
10-
requires-python = ">=3.9,<4.0"
10+
requires-python = ">=3.10,<4.0"
1111
license = { text = "Apache License 2.0" }
1212
authors = [{ name = "FlashInfer team" }]
1313
keywords = ["deep-learning", "inference", "benchmark", "flashinfer", "gpu"]
@@ -17,7 +17,6 @@ classifiers = [
1717
"Intended Audience :: Science/Research",
1818
"License :: OSI Approved :: Apache Software License",
1919
"Programming Language :: Python :: 3",
20-
"Programming Language :: Python :: 3.9",
2120
"Programming Language :: Python :: 3.10",
2221
"Programming Language :: Python :: 3.11",
2322
"Programming Language :: Python :: 3.12",
@@ -57,7 +56,7 @@ include = ["flashinfer_bench*"]
5756

5857
[tool.black]
5958
line-length = 100
60-
target-version = ["py38", "py39", "py310", "py311"]
59+
target-version = ["py310", "py311", "py312", "py313"]
6160
skip-magic-trailing-comma = true
6261

6362
[tool.isort]
@@ -67,7 +66,7 @@ line_length = 100
6766
[tool.ruff]
6867
include = ["flashinfer_bench/**/*.py", "tests/**/*.py"]
6968
line-length = 100
70-
target-version = "py38"
69+
target-version = "py310"
7170

7271
[tool.ruff.lint]
7372
# Never enforce `E501` (line length violations).
@@ -81,7 +80,7 @@ select = ["C", "E", "F", "W", "TID252"]
8180
"flashinfer_bench/compile/builders/triton_builder.py" = ["F401"]
8281

8382
[tool.mypy]
84-
python_version = "3.8"
83+
python_version = "3.10"
8584
ignore_missing_imports = true
8685
strict = true
8786

0 commit comments

Comments
 (0)