@@ -23,7 +23,7 @@ authors = [
2323 { name = " Florian Bruhin" },
2424 { name = " Others (See AUTHORS)" },
2525]
26- requires-python = " >=3.8 "
26+ requires-python = " >=3.9 "
2727classifiers = [
2828 " Development Status :: 6 - Mature" ,
2929 " Intended Audience :: Developers" ,
@@ -33,7 +33,6 @@ classifiers = [
3333 " Operating System :: POSIX" ,
3434 " Operating System :: Unix" ,
3535 " Programming Language :: Python :: 3 :: Only" ,
36- " Programming Language :: Python :: 3.8" ,
3736 " Programming Language :: Python :: 3.9" ,
3837 " Programming Language :: Python :: 3.10" ,
3938 " Programming Language :: Python :: 3.11" ,
@@ -84,11 +83,11 @@ scripts.pytest = "pytest:console_main"
8483write_to = " src/_pytest/_version.py"
8584
8685[tool .black ]
87- target-version = [
88- ' py38' ,
89- ]
86+ # See https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#t-target-version
87+ target-version = [ " py39" , " py310" , " py311" , " py312" , " py313" ]
9088
9189[tool .ruff ]
90+ target-version = " py39"
9291line-length = 88
9392src = [
9493 " src" ,
@@ -230,7 +229,6 @@ disable = [
230229 " deprecated-argument" ,
231230 " deprecated-attribute" ,
232231 " deprecated-class" ,
233- " deprecated-typing-alias" ,
234232 " disallowed-name" , # foo / bar are used often in tests
235233 " duplicate-code" ,
236234 " else-if-used" , # not activated by default, PLR5501 disabled in ruff
@@ -508,7 +506,7 @@ files = [
508506mypy_path = [
509507 " src" ,
510508]
511- python_version = " 3.8 "
509+ python_version = " 3.9 "
512510check_untyped_defs = true
513511disallow_any_generics = true
514512disallow_untyped_defs = true
0 commit comments