-
Notifications
You must be signed in to change notification settings - Fork 0
/
dev-requirements.txt
142 lines (121 loc) · 5.86 KB
/
dev-requirements.txt
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# Pip requirements file for development.
#
# The order of packages is significant, because pip processes them in the order
# of appearance.
#
# Make sure that the minimum versions required in this file are consistent with
# the minimum versions specified in minimum-constraints.txt.
-r test-requirements.txt
# Indirect dependencies that must be handled early:
# tox and flake8 have requirements on importlib-metadata
importlib-metadata>=1.1.0,<4.3; python_version <= '3.7'
# Direct dependencies:
# Coverage reporting (no imports, invoked via coveralls script):
# We exclude Python 3.4 from coverage testing and reporting.
# coverage 5.0 has removed support for py34
coverage>=5.0; python_version == '2.7' or python_version >= '3.5'
pytest-cov>=2.7.0; python_version == '2.7' or python_version >= '3.5'
# coveralls 2.0 has removed support for Python 2.7 and 3.4
git+https://github.com/andy-maier/coveralls-python.git@andy/add-py27#egg=coveralls; python_version == '2.7'
# TODO: Remove coveralls pinning to <3.0.0 once fixed (TheKevJames/coveralls-python#252)
coveralls>=2.1.2,<3.0.0; python_version >= '3.5'
# Safety CI by pyup.io
# safety 1.9.0 removed support for Python 2.7 and 3.4 (and now also enforces that)
safety>=1.8.7,<1.9.0; python_version <= '3.4'
safety>=1.9.0; python_version >= '3.5'
# dparse 0.5.0 has an infinite recursion issue on Python 2.7,
# see https://github.com/pyupio/dparse/issues/46
# safety 1.9.0 requires dparse>=0.5.1
dparse>=0.4.1,<0.5.0; python_version == '2.7'
dparse>=0.4.1; python_version == '3.4'
dparse>=0.5.1; python_version >= '3.5'
# PyYAML is pulled in by dparse and python-coveralls
# PyYAML 5.3 has removed support for Python 3.4
# PyYAML 5.3 fixed narrow build error on Python 2.7
# PyYAML 5.3.1 addressed issue 38100 reported by safety
# PyYAML 5.2 addressed issue 38639 reported by safety
PyYAML>=5.3.1; python_version == '2.7'
PyYAML>=5.2,<5.3; python_version == '3.4'
PyYAML>=5.3.1; python_version > '3.4'
# Tox
# tox 3.17 requires six>=1.14.0 - covered in test-requirements.txt
# tox 3.14 requires importlib-metadata<1,>=0.12 on py<3.8
# tox 3.21 requires importlib-metadata>=0.12 on py<3.8
# tox 3.15 removed support for Python 3.4
tox>=3.14.0; python_version <= '3.4'
tox>=3.21.0; python_version >= '3.5'
# Sphinx (no imports, invoked via sphinx-build script):
# Keep in sync with rtd-requirements.txt
# Sphinx 2.0.0 removed support for Python 2.7 and 3.4
# Sphinx 4.0.0 breaks autodocsumm and needs to be excluded
# Sphinx <4.2.0 fails on Python 3.10 because it tries to import non-existing
# types.Union. This also drives docutils>=0.14.
# Sphinx pins docutils to <0.18 (some versions even to <0.17) but the package
# version resolver in the pip version used on py27 ignores package dependencies
Sphinx>=1.7.6,<2.0.0; python_version <= '3.4'
Sphinx>=3.5.4,!=4.0.0; python_version >= '3.5' and python_version <= '3.9'
Sphinx>=4.2.0; python_version >= '3.10'
docutils>=0.13.1,<0.17; python_version == '2.7'
docutils>=0.13.1; python_version >= '3.4' and python_version <= '3.9'
docutils>=0.14; python_version >= '3.10'
sphinx-git>=10.1.1
GitPython>=2.1.1
sphinxcontrib-fulltoc>=1.2.0
sphinxcontrib-websupport>=1.1.2
# Pygments 2.4.0 has removed support for Python 3.4
Pygments>=2.1.3; python_version == '2.7'
Pygments>=2.1.3,<2.4.0; python_version == '3.4'
Pygments>=2.1.3; python_version >= '3.5'
sphinx-rtd-theme>=0.5.0
# Babel 2.7.0 fixes an ImportError for MutableMapping which starts failing on Python 3.10
Babel>=2.7.0
# PyLint (no imports, invoked via pylint script)
# Pylint requires astroid
# Pylint 2.4 / astroid 2.3 removed py34
# Pylint 2.7 / astroid 2.5 removed py35
# Pylint 2.7-2.9 had issue https://github.com/PyCQA/pylint/issues/4118
pylint>=2.4.4; python_version == '3.5'
pylint>=2.10.0; python_version >= '3.6'
astroid>=2.3.3; python_version == '3.5'
astroid>=2.7.2; python_version >= '3.6'
# typed-ast is used by astroid on py34..py37
typed-ast>=1.4.0,<1.5.0; python_version >= '3.5' and python_version < '3.8' and implementation_name=='cpython'
wrapt>=1.11.2; python_version >= '3.5'
# Flake8 and dependents (no imports, invoked via flake8 script):
# flake8 3.9.0 has removed support for py34 and pip 19.1.1 on py34 does not deal
# well with its pinned dependencies, so we need to repeat these for py34.
# flake8 4.0.0 fixes an AttributeError on Python 3.10.
# flake8 5.0.4 requires importlib-metadata>=1.1.0,<4.3 on py<3.8
flake8>=3.8.0; python_version == '2.7'
flake8>=3.8.0,<3.9.0; python_version == '3.4'
flake8>=3.8.0; python_version >= '3.5' and python_version <= '3.9'
flake8>=4.0.0; python_version >= '3.10'
mccabe>=0.6.0; python_version == '2.7'
mccabe>=0.6.0,<0.7.0; python_version == '3.4'
mccabe>=0.6.0; python_version >= '3.5'
pycodestyle>=2.6.0; python_version == '2.7'
pycodestyle>=2.6.0a1,<2.7.0; python_version == '3.4'
pycodestyle>=2.6.0; python_version >= '3.5' and python_version <= '3.9'
pycodestyle>=2.8.0; python_version >= '3.10'
pyflakes>=2.2.0; python_version == '2.7'
pyflakes>=2.2.0,<2.3.0; python_version == '3.4'
pyflakes>=2.2.0; python_version >= '3.5' and python_version <= '3.9'
pyflakes>=2.4.0; python_version >= '3.10'
entrypoints>=0.3.0
functools32>=3.2.3.post2; python_version == '2.7' # technically: python_version < '3.2'
# Twine (no imports, invoked via twine script):
twine>=1.8.1
# readme-renderer 25.0 has removed support for Python 3.4
# readme-renderer 23.0 has made cmarkgfm part of extras (it fails on Cygwin)
readme-renderer>=23.0; python_version == '2.7'
readme-renderer>=23.0,<25.0; python_version == '3.4'
readme-renderer>=23.0; python_version >= '3.5'
# Indirect dependencies with special constraints:
# pytz (used by TBD)
pytz>=2016.10
# colorama (used by tox, pytest)
# colorama 0.4.0 removed support for Python 3.4
# tox 3.21.0 depends on colorama>=0.4.1 for platform_system == "Windows"
colorama>=0.3.9,<0.4.0; python_version <= '3.4'
colorama>=0.4.1; python_version >= '3.5'
# Additional indirect dependencies are not specified in this file.