diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f2125cb..6243ce1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,8 +1,8 @@ Release History =============== -dev ---- +4.1.0 (2025-01-22) +------------------ **API Changes (Backward Incompatible)** @@ -18,9 +18,10 @@ dev - Support for Python 3.11 has been added. - Support for Python 3.12 has been added. - Support for Python 3.13 has been added. -- Optimization of headers into bytes encoding. -- Added type hints. +- Optimized bytes encoding of headers. - Updated packaging and testing infrastructure. +- Code cleanup and linting. +- Added type hints. 4.0.0 (2020-08-30) diff --git a/pyproject.toml b/pyproject.toml index d03e920..62e9193 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -96,6 +96,7 @@ lint.select = [ "ALL", ] lint.ignore = [ + "A005", # backwards-compatibility: Module `struct` shadows a Python standard-library module "ANN401", # kwargs with typing.Any "CPY", # not required "D101", # docs readability @@ -203,11 +204,10 @@ commands = [ ] [tool.tox.env.publish] -base_python = "{[tool.tox.env.packaging]base_python}" -deps = "{[tool.tox.env.packaging]deps}" -allowlist_externals = "{[tool.tox.env.packaging]allowlist_externals}" +base_python = ["python39"] +dependency_groups = ["packaging"] +allowlist_externals = ["twine"] commands = [ - "{[testenv:packaging]commands}", ["twine", "upload", "dist/*"], ] diff --git a/src/hpack/__init__.py b/src/hpack/__init__.py index fc07152..70909f7 100644 --- a/src/hpack/__init__.py +++ b/src/hpack/__init__.py @@ -20,4 +20,4 @@ "OversizedHeaderListError", ] -__version__ = "4.1.0+dev" +__version__ = "4.1.0"