Skip to content

Commit 971a569

Browse files
committed
Conditional PyYAML dependency for atest
1 parent 8275f36 commit 971a569

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

atest/requirements.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
# External Python modules required by acceptance tests.
22
# See atest/README.rst for more information.
33

4-
docutils >= 0.9; platform_python_implementation != 'IronPython' # https://github.com/IronLanguages/ironpython2/issues/113
5-
pygments
6-
pyyaml
74
enum34; python_version < '3.0'
85
pillow; platform_system == 'Windows'
96

7+
# https://github.com/IronLanguages/ironpython2/issues/113
8+
docutils >= 0.9; platform_python_implementation != 'IronPython'
9+
pygments; platform_python_implementation != 'IronPython'
10+
11+
# https://github.com/yaml/pyyaml/issues/369
12+
pyyaml; platform_python_implementation != 'Jython'
13+
pyyaml==5.2; platform_python_implementation == 'Jython'
14+
1015
# On Linux installing lxml with pip may require compilation and development
1116
# headers. Alternatively it can be installed using a package manager like
1217
# `sudo apt-get install python-lxml`.

0 commit comments

Comments
 (0)