Skip to content

Commit 2a9d2d3

Browse files
committed
printout of sys.version_info —> sys.version
1 parent 59b0082 commit 2a9d2d3

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

circle/setup.sh

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
2424
export PYENV_VERSION=${version}
2525
echo "Using pyenv version $(pyenv version)"
2626

27+
# this was a major issue previously, sanity check that we're using the
28+
# version we *think* we're using (that pyenv is pointing to)
29+
echo "python -c 'import sys; print(sys.version)'"
30+
python -c 'import sys; print(sys.version)'
31+
2732
# install core requirements all versions need
2833
pip install -r ${PLOTLY_CORE_REQUIREMENTS_FILE} ||
2934
error_exit "${LINENO}: can't install core reqs for Python ${version}"

circle/test.sh

+4-7
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,11 @@ for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
2424
export PYENV_VERSION=${version}
2525
echo "Using pyenv version $(pyenv version)"
2626

27-
echo "python -c 'import sys; print(sys.version_info)' yields:"
28-
python -c 'import sys; print(sys.version_info)'
27+
# this was a major issue previously, sanity check that we're using the
28+
# version we *think* we're using (that pyenv is pointing to)
29+
echo "python -c 'import sys; print(sys.version)'"
30+
python -c 'import sys; print(sys.version)'
2931

30-
echo "python -c 'import os; print(os.getenv('\''PYENV_VERSION'\''))'"
31-
python -c 'import os; print(os.getenv('\''PYENV_VERSION'\''))'
32-
33-
echo "current env"
34-
env
3532

3633
echo "install plotly (ignoring possibly cached versions)"
3734
pip install -I ${PLOTLY_PACKAGE_ROOT} ||

0 commit comments

Comments
 (0)