Skip to content

Commit

Permalink
Merge pull request #2691 from alphagov/sh-deps-bump
Browse files Browse the repository at this point in the history
Update sagemaker build dependencies
  • Loading branch information
sihugh authored Aug 15, 2023
2 parents 9b142a8 + e072d5c commit 7708150
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"
- name: Check LTR dependencies install
run: |
set -ex
Expand Down
3 changes: 2 additions & 1 deletion ltr/sagemaker/learntorank.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ FROM public.ecr.aws/docker/library/python:3.11-slim

COPY ltr/sagemaker/requirements*.txt .

RUN pip3 install -U --no-cache-dir -r requirements-freeze.txt
RUN python -m pip install --upgrade pip
RUN python -m pip install -U --no-cache-dir -r requirements-freeze.txt

COPY ltr/sagemaker/* .

Expand Down
58 changes: 34 additions & 24 deletions ltr/sagemaker/requirements-freeze.txt
Original file line number Diff line number Diff line change
@@ -1,37 +1,47 @@
awscli==1.27.57
requests==2.31.0
sagemaker==2.129.0
awscli==1.29.24
sagemaker==2.177.0
## The following requirements were added by pip freeze:
attrs==22.2.0
boto3==1.26.57
botocore==1.29.57
attrs==23.1.0
boto3==1.28.24
botocore==1.31.24
certifi==2023.7.22
charset-normalizer==3.0.1
cffi==1.15.1
charset-normalizer==3.2.0
cloudpickle==2.2.1
colorama==0.4.4
contextlib2==21.6.0
dill==0.3.6
dill==0.3.7
docutils==0.16
google-pasta==0.2.0
idna==3.4
importlib-metadata==4.13.0
importlib-metadata==6.8.0
jmespath==1.0.1
multiprocess==0.70.14
numpy==1.24.1
packaging==23.0
pandas==1.5.3
pathos==0.3.0
pox==0.3.2
ppft==1.7.6.6
protobuf==3.20.3
protobuf3-to-dict==0.1.5
pyasn1==0.4.8
jsonschema==4.19.0
jsonschema-specifications==2023.7.1
multiprocess==0.70.15
numpy==1.25.2
packaging==23.1
pandas==2.0.3
pathos==0.3.1
Pillow==10.0.0
platformdirs==3.10.0
pox==0.3.3
ppft==1.7.6.7
protobuf==4.23.4
pyasn1==0.5.0
pycparser==2.21
python-dateutil==2.8.2
pytz==2022.7.1
PyYAML==5.4.1
pytz==2023.3
PyYAML==6.0.1
referencing==0.30.2
requests==2.31.0
rpds-py==0.9.2
rsa==4.7.2
s3transfer==0.6.0
s3transfer==0.6.1
schema==0.7.5
six==1.16.0
smdebug-rulesconfig==1.0.1
urllib3==1.26.14
zipp==3.11.0
tblib==1.7.0
tzdata==2023.3
urllib3==1.26.16
zipp==3.16.2
1 change: 0 additions & 1 deletion ltr/sagemaker/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
awscli
requests
sagemaker

0 comments on commit 7708150

Please sign in to comment.