22# https://packaging.python.org/en/latest/specifications/pyproject-toml/
33
44[build-system ]
5- requires = [" setuptools" ]
5+ requires = [" setuptools>=77 " ]
66build-backend = " setuptools.build_meta"
77
88[project ]
99name = " h2"
1010description = " Pure-Python HTTP/2 protocol implementation"
1111readme = { file = " README.rst" , content-type = " text/x-rst" }
12- license = { file = " LICENSE" }
12+
13+ license = " MIT"
14+ license-files = [ " LICENSE" ]
1315
1416authors = [
1517 { name = " Cory Benfield" , email = " cory@lukasa.co.uk" }
@@ -29,7 +31,6 @@ dynamic = ["version"]
2931classifiers = [
3032 " Development Status :: 5 - Production/Stable" ,
3133 " Intended Audience :: Developers" ,
32- " License :: OSI Approved :: MIT License" ,
3334 " Programming Language :: Python" ,
3435 " Programming Language :: Python :: 3 :: Only" ,
3536 " Programming Language :: Python :: 3" ,
@@ -72,9 +73,9 @@ linting = [
7273packaging = [
7374 " check-manifest==0.50" ,
7475 " readme-renderer==44.0" ,
75- " build>=1.2.2 ,<2" ,
76- " twine>=6.1 .0,<7" ,
77- " wheel>=0.45.0 ,<1" ,
76+ " build>=1.3.0 ,<2" ,
77+ " twine>=6.2 .0,<7" ,
78+ " wheel>=0.45.1 ,<1" ,
7879]
7980
8081docs = [
@@ -132,7 +133,6 @@ lint.ignore = [
132133 " TD002" , # readability
133134 " TD003" , # readability
134135 " S101" , # readability
135- " PD901" , # readability
136136 " ERA001" , # readability
137137 " ARG001" , # readability
138138 " ARG002" , # readability
@@ -170,7 +170,7 @@ source = [
170170
171171[tool .tox ]
172172min_version = " 4.23.2"
173- env_list = [ " py310" , " py311" , " py312" , " py313" , " py314" , " pypy3 " , " lint" , " docs" , " packaging" ]
173+ env_list = [ " py310" , " py311" , " py312" , " py313" , " py314" , " pypy311 " , " lint" , " docs" , " packaging" ]
174174
175175[tool .tox .gh-actions ]
176176python = """
@@ -179,7 +179,7 @@ python = """
179179 3.12: py312
180180 3.13: py313
181181 3.14: py314
182- pypy3: pypy3
182+ pypy3.11: pypy311
183183"""
184184
185185[tool .tox .env_run_base ]
@@ -188,12 +188,6 @@ commands = [
188188 [" python" , " -bb" , " -m" , " pytest" , " --cov-report=xml" , " --cov-report=term" , " --cov=h2" , { replace = " posargs" , extend = true }]
189189]
190190
191- [tool .tox .env .pypy3 ]
192- # temporarily disable coverage testing on PyPy due to performance problems
193- commands = [
194- [" pytest" , { replace = " posargs" , extend = true }]
195- ]
196-
197191[tool .tox .env .lint ]
198192dependency_groups = [" linting" ]
199193commands = [
0 commit comments