1
1
# migrid core dependencies on a format suitable for pip install as described on
2
2
# https://pip.pypa.io/en/stable/reference/requirement-specifiers/
3
3
future
4
+ # NOTE: python-3.6 and earlier versions require older pyotp, whereas 3.7+
5
+ # should work with any modern version. We tested 2.9.0 to work.
4
6
pyotp;python_version >= "3"
7
+ pyotp<2.8;python_version > "3" and python_version < "3.7"
5
8
pyotp<2.4;python_version < "3"
6
9
pyyaml
7
- email-validator
10
+ # NOTE: python-2.7 requires older dnspython, whereas 3.x should work with any
11
+ # modern version. We tested 2.6.1 to work.
12
+ # IMPORTANT: there's a known security issue (CVE-2023-29483) in dnspython<2.6.1
13
+ # as explained on https://www.dnspython.org/news/2.6.1/
14
+ dnspython>=2.6.1;python_version >= "3"
15
+ # NOTE: one should use a patched 1.x version e.g. from RHEL/Rocky 8 if on python2
16
+ dnspython<2;python_version < "3"
17
+ # NOTE: python-3.6 and earlier versions require older email-validator, whereas
18
+ # 3.7+ should work with any modern version. We tested 2.2.0 to work.
19
+ email-validator;python_version >= "3.7"
20
+ email-validator<2.0;python_version >= "3" and python_version < "3.7"
21
+ email-validator<1.3;python_version < "3"
8
22
9
23
# migrid recommended libs on a format suitable for pip install as described on
10
24
# https://pip.pypa.io/en/stable/reference/requirement-specifiers/
@@ -29,7 +43,6 @@ nbconvert
29
43
papermill
30
44
notebook_parameterizer
31
45
psutil
32
- dnspython
33
46
# sslkeylog requires libssl-dev or similar system package to build
34
47
#sslkeylog
35
48
pyenchant
0 commit comments