Skip to content

Commit 3271eb0

Browse files
[CIVIS-8784] ENH update dependency versions: civis-python v2.3.0, python v3.12.4 (#96)
* ENH bump civis-python to v2.3.0 * ENH bump python to v3.12.4
1 parent 9bd3581 commit 3271eb0

File tree

5 files changed

+38
-20
lines changed

5 files changed

+38
-20
lines changed

.circleci/test_image.py

+10
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,18 @@ def test_scipy_links_to_openblas(self):
2929
def test_numpy_can_import(self):
3030
import numpy as np # noqa: F401
3131

32+
def test_sklearn_can_import(self):
33+
import sklearn # noqa: F401
34+
3235
def test_civis_can_import(self):
3336
import civis # noqa: F401
37+
# civis-python uses lazy imports since v2.3.0,
38+
# so try to import the top-level modules.
39+
import civis.io # noqa: F401
40+
import civis.parallel # noqa: F401
41+
import civis.futures # noqa: F401
42+
import civis.ml # noqa: F401
43+
import civis.utils # noqa: F401
3444

3545

3646
if __name__ == "__main__":

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ Version number changes (major.minor.micro) in this package denote the following:
99

1010
## Unreleased
1111

12+
## [7.3.0]
13+
- Core dependencies updated to latest versions:
14+
* awscli 1.32.112 -> 1.33.9
15+
* boto3 1.34.112 -> 1.34.127
16+
* civis 2.1.0 -> 2.3.0
17+
* numpy 1.26.4 -> 2.0.0
18+
* requests 2.32.2 -> 2.32.3
19+
- Python version updated to v3.12.4
20+
1221
## [7.2.0]
1322
- Core dependencies updated to latest versions:
1423
* awscli 1.32.109 -> 1.32.112

Dockerfile

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.12.3-slim AS production
1+
FROM python:3.12.4-slim AS production
22

33
LABEL maintainer = [email protected]
44

@@ -25,8 +25,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -y --no-install-recommends &&
2525

2626
COPY requirements-full.txt .
2727

28-
RUN pip install -r requirements-full.txt && \
29-
pip cache purge && \
28+
RUN pip install --progress-bar off --no-cache-dir -r requirements-full.txt && \
3029
rm requirements-full.txt
3130

3231
# Instruct joblib to use disk for temporary files. Joblib defaults to
@@ -35,9 +34,9 @@ RUN pip install -r requirements-full.txt && \
3534
# https://github.com/joblib/joblib/blob/0.11/joblib/parallel.py#L328L342
3635
ENV JOBLIB_TEMP_FOLDER=/tmp
3736

38-
ENV VERSION=7.2.0 \
37+
ENV VERSION=7.3.0 \
3938
VERSION_MAJOR=7 \
40-
VERSION_MINOR=2 \
39+
VERSION_MINOR=3 \
4140
VERSION_MICRO=0
4241

4342
FROM production AS test

requirements-core.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
awscli==1.32.112
2-
boto3==1.34.112
3-
civis==2.1.0
4-
numpy==1.26.4
1+
awscli==1.33.9
2+
boto3==1.34.127
3+
civis==2.3.0
4+
numpy==2.0.0
55
pandas==2.2.2
6-
requests==2.32.2
6+
requests==2.32.3
77
scikit-learn==1.5.0
88
scipy==1.13.1

requirements-full.txt

+10-10
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ attrs==23.2.0
88
# via
99
# jsonschema
1010
# referencing
11-
awscli==1.32.112
11+
awscli==1.33.9
1212
# via -r requirements-core.txt
13-
boto3==1.34.112
13+
boto3==1.34.127
1414
# via -r requirements-core.txt
15-
botocore==1.34.112
15+
botocore==1.34.127
1616
# via
1717
# awscli
1818
# boto3
1919
# s3transfer
20-
certifi==2024.2.2
20+
certifi==2024.6.2
2121
# via requests
2222
charset-normalizer==3.3.2
2323
# via requests
24-
civis==2.1.0
24+
civis==2.3.0
2525
# via -r requirements-core.txt
2626
click==8.1.7
2727
# via civis
@@ -37,7 +37,7 @@ jmespath==1.0.1
3737
# via
3838
# boto3
3939
# botocore
40-
joblib==1.2.0
40+
joblib==1.4.2
4141
# via
4242
# civis
4343
# scikit-learn
@@ -47,7 +47,7 @@ jsonschema==4.22.0
4747
# via civis
4848
jsonschema-specifications==2023.12.1
4949
# via jsonschema
50-
numpy==1.26.4
50+
numpy==2.0.0
5151
# via
5252
# -r requirements-core.txt
5353
# pandas
@@ -71,7 +71,7 @@ referencing==0.35.1
7171
# via
7272
# jsonschema
7373
# jsonschema-specifications
74-
requests==2.32.2
74+
requests==2.32.3
7575
# via
7676
# -r requirements-core.txt
7777
# civis
@@ -93,13 +93,13 @@ scipy==1.13.1
9393
# scikit-learn
9494
six==1.16.0
9595
# via python-dateutil
96-
tenacity==8.3.0
96+
tenacity==8.4.1
9797
# via civis
9898
threadpoolctl==3.5.0
9999
# via scikit-learn
100100
tzdata==2024.1
101101
# via pandas
102-
urllib3==2.2.1
102+
urllib3==2.2.2
103103
# via
104104
# botocore
105105
# requests

0 commit comments

Comments
 (0)