Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6c99fec

Browse files
committed
Use python_version in requirements files for 2.6-specific stuff.
1 parent ea8b51c commit 6c99fec

4 files changed

+5
-8
lines changed

requirements-install.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ pip install -U -r requirements-test.txt
1010
if [[ $USE_OPTIONAL == "true" ]]; then
1111
if [[ $TRAVIS_PYTHON_VERSION == "pypy" || $TRAVIS_PYTHON_VERSION == "pypy3" ]]; then
1212
pip install -U -r requirements-optional.txt
13-
elif [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then
14-
pip install -U -r requirements-optional-2.6.txt
1513
else
1614
pip install -U -r requirements-optional-cpython.txt
1715
fi

requirements-optional-2.6.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

requirements-optional.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ genshi
77
# charade can be used as a fallback in case we are unable to determine
88
# the encoding of a document.
99
charade
10+
11+
# Can be used to force attributes to be serialized in alphabetical
12+
# order.
13+
ordereddict ; python_version < '2.7'

requirements-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
flake8
44
pytest
55
pytest-expect
6-
ordereddict # Python 2.6
76
mock
7+
ordereddict ; python_version < '2.7'

0 commit comments

Comments
 (0)