FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Bring package into the future of 2019 by Fuyukai · Pull Request #188 · python-hyper/h11 · GitHub

Bring package into the future of 2019 - #188

Open
Fuyukai wants to merge 6 commits into
python-hyper:masterfrom
Fuyukai:master
Open

Bring package into the future of 2019#188
Fuyukai wants to merge 6 commits into
python-hyper:masterfrom
Fuyukai:master

Conversation

Fuyukai commented Oct 29, 2025
edited
Loading

Copy link
Copy Markdown

I saw a book entitled "Die setup.py" and I thought "My feelings exactly". Turns out the book was in German.

(Paraphrased).

This brings h11 into the glorious future year of 2019, removing setup.py and replacing it with a working pyproject.toml. It also does the following:

  • Sets up Ruff as a linter with all rules enabled except for a handful
  • Sets up Pyrefly as the type checker and fixes (nearly) all type errors picked up
  • Updates the code base to Python 3.10
  • Drops support for the geriatic Python 3.8 and 3.9.

Tox setup is still in its own file because, well, I don't get Tox. This also updates the classifier from Alpha to Beta (although it's not like anyone actually reads those).

The test suite passes on all versions, and httpcore's test suite passes when this PR is installed manually too.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL