Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bring package into the future of 2019 #188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Fuyukai wants to merge 6 commits into python-hyper:master
base: master
Choose a base branch
Loading
from Fuyukai:master

Conversation

@Fuyukai
Copy link

@Fuyukai Fuyukai commented Oct 29, 2025
edited
Loading

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.

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /