Skip to content

Commit a23ee07

Browse files
justinchubybmehta001
authored andcommitted
Formally drop python 3.8 support (microsoft#2354)
Python 3.8 has reached EOL. Fix microsoft#2233
1 parent d417c02 commit a23ee07

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

pyproject.toml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=61.0.0"]
2+
requires = ["setuptools>=70.0.0"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
@@ -8,7 +8,7 @@ dynamic = ["version", "urls"]
88
description = "Naturally author ONNX functions and models using a subset of Python"
99
authors = [{ name = "Microsoft Corporation", email = "[email protected]" }]
1010
readme = "README.md"
11-
requires-python = ">=3.8"
11+
requires-python = ">=3.9"
1212
license = { file = "LICENSE" }
1313
classifiers = [
1414
"Development Status :: 4 - Beta",
@@ -17,7 +17,6 @@ classifiers = [
1717
"Operating System :: POSIX",
1818
"Operating System :: MacOS :: MacOS X",
1919
"Operating System :: Microsoft :: Windows",
20-
"Programming Language :: Python :: 3.8",
2120
"Programming Language :: Python :: 3.9",
2221
"Programming Language :: Python :: 3.10",
2322
"Programming Language :: Python :: 3.11",
@@ -108,18 +107,6 @@ warn_no_return = true
108107
warn_unused_configs = true
109108
warn_unused_ignores = false
110109

111-
[tool.black]
112-
target-version = ["py39", "py310", "py311"]
113-
# Black's extend-exclude needs to be a regex string
114-
extend-exclude = "/tests/models|/tests/onnx_backend_test_code"
115-
line-length = 95
116-
117-
[tool.isort]
118-
profile = "black"
119-
extend_skip_glob = [
120-
"tests/onnx_backend_test_code/*.py",
121-
]
122-
123110
[tool.pylint.messages_control]
124111
# NOTE: This list is for vscode. Add new disables in pyproject_pylint.toml for lintrunner
125112
# Exclude patterns should be modified in .lintrunner.toml

0 commit comments

Comments
 (0)