Skip to content

Commit

Permalink
Require newer h11
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
felixonmars authored and pgjones committed Aug 26, 2022
1 parent b722026 commit a7d9ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -47,6 +47,6 @@
'Programming Language :: Python :: Implementation :: PyPy',
],
install_requires=[
'h11>=0.9.0,<1',
'h11>=0.13.0,<1',
],
)

0 comments on commit a7d9ff0

Please sign in to comment.