Skip to content

Conversation

@pgjones
Copy link
Member

@pgjones pgjones commented Feb 18, 2022

H11, and python versions

fixes #169

The latest h11 events are frozen dataclasses and hence the headers
can't be overwritten.
Python 3.6 reached End Of Life a month ago.
These are now preset as h11 is typed.
'Programming Language :: Python :: Implementation :: PyPy',
],
install_requires=[
"dataclasses ; python_version < '3.7'",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a specific incompatibility with dataclasses on 3.6 that makes it easier to simply drop 3.6 and move to "native" 3.7?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dataclasses was added to the stdlib in 3.7

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, my question was actually: why drop support for 3.6?
or was this needed to fix the compatibility with h11?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh right. 3.6 is now unsupported, https://endoflife.date/python. h11 will drop 3.6 in the next release as well.

@Kriechi Kriechi merged commit d2654f7 into python-hyper:master Feb 19, 2022
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.

missing compatibility with h11 0.13.0

2 participants