Skip to content

CI: Pin miniconda version #17700

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Sep 28, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ install:

# install our build environment
- cmd: conda config --set show_channel_urls true --set always_yes true --set changeps1 false
- cmd: conda update -q conda
# - cmd: conda update -q conda
- cmd: conda config --set ssl_verify false

# add the pandas channel *before* defaults to have defaults take priority
Expand Down
4 changes: 2 additions & 2 deletions ci/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $MINICONDA_URL = "http://repo.continuum.io/miniconda/"

function DownloadMiniconda ($python_version, $platform_suffix) {
$webclient = New-Object System.Net.WebClient
$filename = "Miniconda3-latest-Windows-" + $platform_suffix + ".exe"
$filename = "Miniconda3-4.3.21-Windows-" + $platform_suffix + ".exe"
$url = $MINICONDA_URL + $filename

$basedir = $pwd.Path + "\"
Expand Down Expand Up @@ -85,7 +85,7 @@ function UpdateConda ($python_home) {

function main () {
InstallMiniconda "3.5" $env:PYTHON_ARCH $env:CONDA_ROOT
UpdateConda $env:CONDA_ROOT
# UpdateConda $env:CONDA_ROOT
InstallCondaPackages $env:CONDA_ROOT "conda-build jinja2 anaconda-client"
}

Expand Down
6 changes: 4 additions & 2 deletions ci/install_circle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@ echo "[Using clean Miniconda install]"
rm -rf "$MINICONDA_DIR"

# install miniconda
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -q -O miniconda.sh || exit 1
# wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -q -O miniconda.sh || exit 1
# Pin miniconda
wget https://repo.continuum.io/miniconda/Miniconda2-4.3.21-Linux-x86_64.sh -q -O miniconda.sh || exit 1
bash miniconda.sh -b -p "$MINICONDA_DIR" || exit 1

export PATH="$MINICONDA_DIR/bin:$PATH"

echo "[update conda]"
conda config --set ssl_verify false || exit 1
conda config --set always_yes true --set changeps1 false || exit 1
conda update -q conda
# conda update -q conda

# add the pandas channel to take priority
# to add extra packages
Expand Down
10 changes: 7 additions & 3 deletions ci/install_travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,13 @@ fi

# install miniconda
if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
time wget http://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh || exit 1
# temporarily pin miniconda
# time wget http://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh || exit 1
time wget https://repo.continuum.io/miniconda/Miniconda2-4.3.21-MacOSX-x86_64.sh -O miniconda.sh || exit 1
else
time wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh || exit 1
# temporarily pin miniconda
# time wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh || exit 1
time wget https://repo.continuum.io/miniconda/Miniconda2-4.3.21-Linux-x86_64.sh -O miniconda.sh || exit 1
fi
time bash miniconda.sh -b -p "$MINICONDA_DIR" || exit 1

Expand All @@ -48,7 +52,7 @@ echo
echo "[update conda]"
conda config --set ssl_verify false || exit 1
conda config --set quiet true --set always_yes true --set changeps1 false || exit 1
conda update -q conda
# conda update -q conda

echo
echo "[add channels]"
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements-2.7_SLOW.run
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ s3fs
psycopg2
pymysql
html5lib
beautiful-soup
beautifulsoup4
2 changes: 1 addition & 1 deletion ci/requirements-2.7_WIN.run
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ xlsxwriter
s3fs
bottleneck
html5lib
beautiful-soup
beautifulsoup4
jinja2=2.8
2 changes: 1 addition & 1 deletion ci/requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ xlrd
xlwt
html5lib
patsy
beautiful-soup
beautifulsoup4
numpy
cython
scipy
Expand Down
4 changes: 4 additions & 0 deletions pandas/tests/io/test_pytables.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,10 @@ def test_complibs(self):
# Remove lzo if its not available on this platform
if not tables.which_lib_version('lzo'):
all_complibs.remove('lzo')
# Remove bzip2 if its not available on this platform
if not tables.which_lib_version("bzip2"):
all_complibs.remove("bzip2")

all_levels = range(0, 10)
all_tests = [(lib, lvl) for lib in all_complibs for lvl in all_levels]

Expand Down