22# https://packaging.python.org/en/latest/specifications/pyproject-toml/
33
44[build-system ]
5- requires = [" setuptools" ]
5+ requires = [" setuptools>=82 " , " wheel>=0.46.3 " ]
66build-backend = " setuptools.build_meta"
77
88[project ]
@@ -37,7 +37,6 @@ classifiers = [
3737 " Programming Language :: Python :: 3.13" ,
3838 " Programming Language :: Python :: 3.14" ,
3939 " Programming Language :: Python :: Implementation :: CPython" ,
40- " Programming Language :: Python :: Implementation :: PyPy" ,
4140]
4241
4342[project .urls ]
@@ -53,29 +52,29 @@ dev = [
5352 { include-group = " packaging" },
5453 { include-group = " docs" },
5554]
55+
5656testing = [
57- " pytest>=8.3 .3,<9 " ,
58- " pytest-cov>=6.0 .0,<7 " ,
59- " pytest-xdist>=3.6.1 ,<4" ,
60- " hypothesis>=6.119.4 ,<7" ,
57+ " pytest>=9.0 .3,<10 " ,
58+ " pytest-cov>=7.1 .0,<8 " ,
59+ " pytest-xdist>=3.8.0 ,<4" ,
60+ " hypothesis>=6.152.1 ,<7" ,
6161]
6262
6363linting = [
64- " ruff>=0.8.0 ,<1" ,
65- " mypy>=1.13.0 ,<2" ,
66- " typing_extensions>=4.12.2 " ,
64+ " ruff>=0.15.11 ,<1" ,
65+ " mypy>=1.20.1 ,<2" ,
66+ " typing_extensions>=4.15.0,<5 " ,
6767]
6868
6969packaging = [
70- " check-manifest==0.50" ,
71- " readme-renderer==44.0" ,
72- " build>=1.3.0,<2" ,
70+ " check-manifest==0.51" ,
71+ " build>=1.4.2,<2" ,
7372 " twine>=6.2.0,<7" ,
74- " wheel>=0.45.1 ,<1" ,
73+ " wheel>=0.46.3 ,<1" ,
7574]
7675
7776docs = [
78- " sphinx>=7.4.7,<9 " ,
77+ " sphinx>=9.1.0,<10 " ,
7978]
8079
8180[tool .setuptools .packages .find ]
@@ -89,7 +88,7 @@ version = { attr = "hpack.__version__" }
8988
9089[tool .ruff ]
9190line-length = 150
92- target-version = " py39 "
91+ target-version = " py310 "
9392format.preview = true
9493format.docstring-code-line-length = 100
9594format.docstring-code-format = true
@@ -123,13 +122,13 @@ lint.ignore = [
123122]
124123lint.isort.required-imports = [ " from __future__ import annotations" ]
125124
125+ [tool .pytest ]
126+ testpaths = [ " tests" ]
127+
126128[tool .mypy ]
127129show_error_codes = true
128130strict = true
129131
130- [tool .pytest .ini_options ]
131- testpaths = [ " tests" ]
132-
133132[tool .coverage .run ]
134133branch = true
135134source = [ " hpack" ]
@@ -150,16 +149,15 @@ source = [
150149
151150[tool .tox ]
152151min_version = " 4.23.2"
153- env_list = [ " py310" , " py311" , " py312" , " py313" , " py314" , " pypy311 " , " lint" , " docs" , " packaging" ]
152+ env_list = [ " py310" , " py311" , " py312" , " py313" , " py314" , " lint" , " docs" , " packaging" ]
154153
155154[tool .tox .gh-actions ]
156155python = """
157- 3.10: py310, h2spec, lint, docs, packaging
156+ 3.10: py310, h2spec, lint, packaging
158157 3.11: py311
159158 3.12: py312
160- 3.13: py313
159+ 3.13: py313, docs
161160 3.14: py314
162- pypy3.11: pypy311
163161"""
164162
165163[tool .tox .env_run_base ]
@@ -209,7 +207,7 @@ commands = [
209207[tool .tox .env .bench ]
210208deps = [
211209 " {[tool.tox.env]deps}" ,
212- " pytest-benchmark==3 .2.3" ,
210+ " pytest-benchmark==5 .2.3" ,
213211]
214212commands = [
215213 [" pytest {toxinidir}/bench/ --benchmark-only --benchmark-group-by=name --benchmark-autosave --benchmark-compare --benchmark-min-rounds=500000" ],
0 commit comments