Skip to content

Commit 131cec6

Browse files
committed
Update requirements.txt for higher python versions
1 parent 7e7d916 commit 131cec6

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

requirements.txt

+16-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
1-
PySerial>=3.0,<4.0
2-
requests>=2.0,<3.0
3-
intelhex>=2.0,<3.0
1+
PySerial>=3.0,<4.0; python_version <= '3.7'
2+
PySerial; python_version > '3.7'
3+
requests>=2.0,<3.0; python_version <= '3.7'
4+
requests; python_version > '3.7'
5+
intelhex>=2.0,<3.0; python_version <= '3.7'
6+
intelhex; python_version > '3.7'
47
future
58
PrettyTable<=1.0.1; python_version < '3.6'
6-
prettytable>=2.0,<3.0; python_version >= '3.6'
9+
prettytable>=2.0,<3.0; python_version == '3.7'
10+
prettytable; python_version > '3.7'
711
fasteners
8-
appdirs>=1.4,<2.0
9-
junit-xml>=1.0,<2.0
12+
appdirs>=1.4,<2.0; python_version <= '3.7'
13+
appdirs; python_version > '3.7'
14+
junit-xml>=1.0,<2.0; python_version <= '3.7'
15+
junit-xml; python_version > '3.7'
1016
lockfile
11-
six>=1.0,<2.0
12-
colorama>=0.3,<0.5
17+
six>=1.0,<2.0; python_version <= '3.7'
18+
six; python_version > '3.7'
19+
colorama>=0.3,<0.5; python_version <= '3.7'
20+
colorama; python_version > '3.7'
1321
# When using beautiful soup, the XML parser needs to be installed independently. It is only needed on macOs though.
1422
beautifulsoup4
1523
lxml; sys_platform == 'darwin'

0 commit comments

Comments
 (0)