Skip to content

Commit 08a8660

Browse files
committed
Depreciate support for Python 2.6
follow suit of Crypto and py core team: pyca/cryptography@0857894
1 parent 2793609 commit 08a8660

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

circle.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ machine:
22
environment:
33
PLOTLY_PACKAGE_ROOT: /home/ubuntu/python-api
44
PLOTLY_CONFIG_DIR: ${HOME}/.plotly
5-
PLOTLY_PYTHON_VERSIONS: 2.6.8 2.7.8 3.3.3 3.4.1
5+
PLOTLY_PYTHON_VERSIONS: 2.7.8 3.3.3 3.4.1
66
PLOTLY_CORE_REQUIREMENTS_FILE: ${PLOTLY_PACKAGE_ROOT}/requirements.txt
77
PLOTLY_OPTIONAL_REQUIREMENTS_FILE: ${PLOTLY_PACKAGE_ROOT}/optional-requirements.txt
8-
PLOTLY_OPTIONAL_REQUIREMENTS_FILE_2_6: ${PLOTLY_PACKAGE_ROOT}/optional-requirements-2-6.txt
98
dependencies:
109
override:
1110

circle/setup.sh

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,8 @@ for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
3333
pip install -r ${PLOTLY_CORE_REQUIREMENTS_FILE} ||
3434
error_exit "${LINENO}: can't install core reqs for Python ${version}"
3535

36-
# handle funkiness around python 2.6
37-
if [ ${version:0:3} == '2.6' ]
38-
then
39-
pip install -e '.[PY2.6]' ||
40-
error_exit "${LINENO}: can't install extras for Python ${version}"
41-
pip install -r ${PLOTLY_OPTIONAL_REQUIREMENTS_FILE_2_6} ||
42-
error_exit "${LINENO}: can't install optional for Python ${version}"
43-
else
44-
pip install -r ${PLOTLY_OPTIONAL_REQUIREMENTS_FILE} ||
45-
error_exit "${LINENO}: can't install optional for Python ${version}"
46-
fi
36+
pip install -r ${PLOTLY_OPTIONAL_REQUIREMENTS_FILE} ||
37+
error_exit "${LINENO}: can't install optional for Python ${version}"
4738

4839
# install some test tools
4940
pip install nose coverage ||

0 commit comments

Comments
 (0)