python-hyper / wsproto

Sans-IO WebSocket protocol implementation
https://wsproto.readthedocs.io/
MIT License
261 stars 38 forks source link

Require newer h11 #177

Closed felixonmars closed 2 years ago

felixonmars commented 2 years ago

The test suite currently doesn't run with older h11:

==================================== ERRORS ====================================
_____________________ ERROR collecting test/test_server.py _____________________
test/test_server.py:289: in <module>
    ) -> List[h11.Event]:
E   AttributeError: module 'h11' has no attribute 'Event'

Although h11.Event is only used in the test suite, I think we shouldn't declare support for versions we cannot test with.

pgjones commented 2 years ago

Thanks.