From a7d9ff0c34567b042d025db555595bb6234f89e8 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Fri, 26 Aug 2022 13:26:43 +0300 Subject: [PATCH] Require newer h11 The test suite currently doesn't run with older h11: ``` ==================================== ERRORS ==================================== _____________________ ERROR collecting test/test_server.py _____________________ test/test_server.py:289: in ) -> 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. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index fc365bd..db4d302 100644 --- a/setup.py +++ b/setup.py @@ -47,6 +47,6 @@ 'Programming Language :: Python :: Implementation :: PyPy', ], install_requires=[ - 'h11>=0.9.0,<1', + 'h11>=0.13.0,<1', ], )