Skip to content

Commit 6ba7ebc

Browse files
authored
DEP version 5.0.0 package updates (civisanalytics#66)
1 parent baef23c commit 6ba7ebc

File tree

4 files changed

+108
-52
lines changed

4 files changed

+108
-52
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ jobs:
3434
name: List packages installed from conda-forge
3535
command: docker run ds-python /bin/bash -c "conda list|grep conda-forge"
3636
- run:
37-
name: Check that the expected number of packages come from conda-forge
38-
command: docker run ds-python /bin/bash -c "conda list|grep -c conda-forge|python -c \"import sys; actual_count = int(sys.stdin.readlines()[0]); expected_count = 11; assert actual_count == expected_count, 'There should be %d conda-forge packages, but there are actually %d.' % (expected_count, actual_count)\""
37+
name: Check for conda-pip conflicts
38+
command: docker run ds-python /bin/bash -c "conda list|python -c \"import sys; from collections import Counter; duplicates = {k for k, v in Counter([l.split()[0] for l in sys.stdin.readlines() if not l.startswith('#')]).items() if v>1}; assert not duplicates, f'These packages are installed by both pip and conda:\n{duplicates}'\""

CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,59 @@ Version number changes (major.minor.micro) in this package denote the following:
99

1010
## Unreleased
1111

12+
## [5.0.0] - 2019-03-12
13+
### Changed
14+
- python 3.6.4 -> 3.7.1
15+
- conda 4.3.30 -> 4.6.8
16+
17+
### New Packages
18+
- explicitly installs click=6.7
19+
20+
### Package Updates
21+
- awscli 1.15.4 -> 1.16.121
22+
- beautifulsoup4 4.5.3 -> 4.7.1
23+
- botocore 1.10.4 -> 1.12.111
24+
- boto 2.46.1 -> 2.49.0
25+
- boto3 1.7.4 -> 1.9.111
26+
- bqplot 0.10.2 -> 0.11.5
27+
- cloudpickle 0.5.2 -> 0.8.0
28+
- cython 0.27.3 -> 0.29.6
29+
- dask 0.17.2 -> 1.1.4
30+
- ipython 6.1.0 -> 7.3.0
31+
- ipywidgets 7.1.0 -> 7.4.2
32+
- jinja2 2.9.6 -> 2.10
33+
- jsonschema 2.5.1 -> 3.0.1
34+
- libtiff 4.0.6 -> 4.0.10
35+
- libxml2 2.9.2 -> 2.9.8
36+
- matplotlib 2.2.2 -> 3.0.3
37+
- notebook 5.4.1 -> 5.7.5
38+
- numexpr 2.6.2 -> 2.6.9
39+
- numpy 1.13.3 -> 1.16.2
40+
- openblas 0.2.20 -> 0.3.5
41+
- pandas 0.22.0 -> 0.24.1
42+
- patsy 0.4.1 -> 0.5.1
43+
- psycopg2 2.6.2 -> 2.7.7
44+
- pyarrow 0.8.0 -> 0.12.1
45+
- pytest 3.1.3 -> 4.3.0
46+
- pyyaml 3.12 -> 3.13
47+
- requests 2.18.4 -> 2.21.0
48+
- s3fs 0.1.2 -> 0.2.0
49+
- seaborn 0.8 -> 0.9.0
50+
- scipy 1.0.1 -> 1.2.0
51+
- scikit-learn 0.19.1 -> 0.19.2
52+
- statsmodels 0.8.0 -> 0.9.0
53+
- urllib3 1.22 -> 1.24.1
54+
- xgboost 0.6a2 -> 0.81
55+
- civis 1.9.0 -> 1.9.4
56+
- civisml-extensions 0.1.8 -> 0.1.10
57+
- dropbox 7.1.1 -> 9.3.0
58+
- glmnet 2.0.0 -> 2.1.1
59+
- muffnn 2.1.0 -> 2.2.0
60+
- pubnub 4.0.13 -> 4.1.2
61+
- requests-toolbelt 0.8.0 -> 0.9.1
62+
- tensorflow 1.7.0 -> 1.13.1
63+
64+
1265
### Maintenance
1366
- Update CircleCI config to v2 (#62).
1467

Dockerfile

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ ENV LANG=en_US.UTF-8 \
1111
CONDARC=/opt/conda/.condarc \
1212
BASH_ENV=/etc/profile \
1313
PATH=/opt/conda/bin:$PATH \
14-
CIVIS_CONDA_VERSION=4.3.30 \
15-
CIVIS_PYTHON_VERSION=3.6.4
14+
CIVIS_MINICONDA_VERSION=4.5.12 \
15+
CIVIS_CONDA_VERSION=4.6.8 \
16+
CIVIS_PYTHON_VERSION=3.7.1
1617

1718
RUN DEBIAN_FRONTEND=noninteractive apt-get update -y --no-install-recommends && \
1819
apt-get install -y --no-install-recommends software-properties-common && \
@@ -52,7 +53,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -y --no-install-recommends &&
5253
#
5354
# The ordering of these steps seems to matter. You seem to have to
5455
# install a specific python version by hand and then pin it.
55-
# 1) install conda
56+
# 1) install conda using CIVIS_MINICONDA_VERSION (may not be most up to date conda version)
5657
# 2) pin conda to the version given by CIVIS_CONDA_VERSION
5758
# 3) install the python version CIVIS_PYTHON_VERSION
5859
# 4) pin the python version
@@ -61,10 +62,11 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -y --no-install-recommends &&
6162
# Red Hat and Debian use different names for this file. git2R wants the latter.
6263
# See conda-recipes GH 423
6364
RUN echo 'export PATH=/opt/conda/bin:$PATH' > /etc/profile.d/conda.sh && \
64-
wget --quiet https://repo.continuum.io/miniconda/Miniconda3-${CIVIS_CONDA_VERSION}-Linux-x86_64.sh && \
65-
/bin/bash /Miniconda3-${CIVIS_CONDA_VERSION}-Linux-x86_64.sh -b -p /opt/conda && \
66-
rm Miniconda3-${CIVIS_CONDA_VERSION}-Linux-x86_64.sh && \
67-
/opt/conda/bin/conda install --yes conda==${CIVIS_CONDA_VERSION} && \
65+
wget --quiet https://repo.continuum.io/miniconda/Miniconda3-${CIVIS_MINICONDA_VERSION}-Linux-x86_64.sh && \
66+
/bin/bash /Miniconda3-${CIVIS_MINICONDA_VERSION}-Linux-x86_64.sh -b -p /opt/conda && \
67+
rm Miniconda3-${CIVIS_MINICONDA_VERSION}-Linux-x86_64.sh && \
68+
/opt/conda/bin/conda install --yes conda==${CIVIS_MINICONDA_VERSION} && \
69+
conda install conda=${CIVIS_CONDA_VERSION} && \
6870
echo "conda ==${CIVIS_CONDA_VERSION}" > /opt/conda/conda-meta/pinned && \
6971
conda install --yes python==${CIVIS_PYTHON_VERSION} && \
7072
echo "python ==${CIVIS_PYTHON_VERSION}" >> /opt/conda/conda-meta/pinned && \

environment.yml

Lines changed: 44 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -3,58 +3,59 @@ channels:
33
- defaults
44
- conda-forge
55
dependencies:
6-
- awscli=1.15.4
7-
- beautifulsoup4=4.5.3
8-
- botocore=1.10.4
9-
- boto=2.46.1
10-
- boto3=1.7.4
11-
- bqplot=0.10.2
12-
- cython=0.27.3
13-
- dask=0.17.2
6+
- awscli=1.16.121
7+
- beautifulsoup4=4.7.1
8+
- botocore=1.12.111
9+
- boto=2.49.0
10+
- boto3=1.9.111
11+
- bqplot=0.11.5
12+
- click=6.7
13+
- cloudpickle=0.8.0
14+
- cython=0.29.6
15+
- dask=1.1.4
1416
- feather-format=0.4.0
15-
- ipython=6.1.0
16-
- ipywidgets=7.1.0
17-
- jinja2=2.9.6
18-
- jsonschema=2.5.1
17+
- ipython=7.3.0
18+
- ipywidgets=7.4.2
19+
- jinja2=2.10
20+
- jsonschema=3.0.1
1921
- jupyter=1.0.0
2022
- libffi=3.2.1
2123
- libgfortran=3.0.0
22-
- libtiff=4.0.6
23-
- libxml2=2.9.2
24-
- matplotlib=2.2.2
24+
- libtiff=4.0.10
25+
- libxml2=2.9.8
26+
- matplotlib=3.0.3
2527
- nomkl=1.0
26-
- notebook=5.4.1
28+
- notebook=5.7.5
2729
- nose=1.3.7
28-
- numexpr=2.6.2
29-
- numpy=1.13.3
30-
- openblas=0.2.20
31-
- pandas=0.22.0
32-
- patsy=0.4.1
33-
- psycopg2=2.6.2
34-
- pyarrow=0.8.0
30+
- numexpr=2.6.9
31+
- numpy=1.16.2
32+
- openblas=0.3.5
33+
- pandas=0.24.1
34+
- patsy=0.5.1
35+
- psycopg2=2.7.7
36+
- pyarrow=0.12.1
3537
- pycrypto=2.6.1
36-
- pytest=3.1.3
37-
- python=3.6.4
38-
- pyyaml=3.12
39-
- requests=2.18.4
40-
- s3fs=0.1.2
41-
- seaborn=0.8
42-
- scipy=1.0.1
43-
- scikit-learn=0.19.1
44-
- statsmodels=0.8.0
45-
- urllib3=1.22
46-
- xgboost=0.6a2
38+
- pytest=4.3.0
39+
- python=3.7.1
40+
- pyyaml=3.13
41+
- requests=2.21.0
42+
- s3fs=0.2.0
43+
- seaborn=0.9.0
44+
- scipy=1.2.0
45+
- scikit-learn=0.19.2
46+
- statsmodels=0.9.0
47+
- urllib3=1.24.1
48+
- xgboost=0.81
4749
- pip:
48-
- civis==1.9.0
49-
- civisml-extensions==0.1.8
50-
- cloudpickle==0.5.2
51-
- dropbox==7.1.1
50+
- civis==1.9.4
51+
- civisml-extensions==0.1.10
52+
- dropbox==9.3.0
5253
- ftputil==3.4
53-
- glmnet==2.0.0
54+
- glmnet==2.1.1
5455
- joblib==0.11.0
55-
- muffnn==2.1.0
56-
- pubnub==4.0.13
56+
- muffnn==2.2.0
57+
- pubnub==4.1.2
5758
- pysftp==0.2.9
5859
- python-simple-hipchat==0.4.0
59-
- requests-toolbelt==0.8.0
60-
- tensorflow==1.7.0
60+
- requests-toolbelt==0.9.1
61+
- tensorflow==1.13.1

0 commit comments

Comments
 (0)