Skip to content

Modernize packaging and development tooling with uv and Ruff #203

Description

@gorewilliams

h11’s packaging and development configuration is spread across setup.py, tox.ini, and requirements files. Its advertised Python support and CI matrix also need updating.

Following the approach used by h2, I propose:

  • Consolidating package metadata, dependency groups, and tool configuration in pyproject.toml.
  • Adopting uv with a committed lockfile for development and CI.
  • Updating support to Python 3.10–3.14 and PyPy 3.10/3.11, dropping Python 3.8 and 3.9.
  • Replacing Black and isort with Ruff for formatting and linting.
  • Updating documentation builds and contributor instructions.

This should preserve h11’s runtime behavior, dependency-free installation, and existing package layout.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions