forked from python-trio/trio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-requirements.in
41 lines (36 loc) · 1.35 KB
/
test-requirements.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# For tests
pytest >= 5.0 # for faulthandler in core
coverage >= 7.2.5
async_generator >= 1.9
pyright
# ipython 7.x is the last major version supporting Python 3.7
ipython < 7.35 # for the IPython traceback integration tests
pyOpenSSL >= 22.0.0 # for the ssl + DTLS tests
trustme # for the ssl + DTLS tests
pylint # for pylint finding all symbols tests
jedi # for jedi code completion tests
cryptography>=36.0.0 # 35.0.0 is transitive but fails
# Tools
black; implementation_name == "cpython"
mypy; implementation_name == "cpython"
types-pyOpenSSL; implementation_name == "cpython"
flake8 < 6.0.0 # 6.0.0 drops python 3.7
astor # code generation
pip-tools >= 6.13.0
# https://github.com/python-trio/trio/pull/654#issuecomment-420518745
# typed_ast is deprecated as of 3.8, and straight up doesn't compile on 3.10-dev as of 2021-12-13
typed_ast; implementation_name == "cpython" and python_version < "3.8"
mypy-extensions; implementation_name == "cpython"
typing-extensions; implementation_name == "cpython"
# Trio's own dependencies
cffi; os_name == "nt"
attrs >= 20.1.0
sortedcontainers
idna
outcome
sniffio
exceptiongroup >= 1.0.0rc9; python_version < "3.11"
# isort 5.12.0 requires python 3.8
isort < 5.12.0
# cryptography 40.0.2 (and presumably prior) segfaults on PyPy 3.7
cryptography < 40.0.0