File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 3333 LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
3434 run : |
3535 set -e
36+ cd aws-proxy
3637 docker pull localstack/localstack-pro &
3738 docker pull public.ecr.aws/lambda/python:3.8 &
3839
4950 # build and install extension
5051 localstack extensions init
5152 (
52- cd aws-proxy
5353 make install
5454 . .venv/bin/activate
5555 pip install --upgrade --pre localstack localstack-ext
6161 pip install awscli-local[ver1]
6262 pip install terraform-local
6363
64+ # Note: Install the same boto3 version as installed in the image. This is a small fix to avoid
65+ # assertion errors (missing `BucketArn` in S3 responses). TODO: to be fixed in a future iteration!
66+ version=$(docker run --entrypoint= --rm localstack/localstack-pro bash -c '. .venv/bin/activate; pip show boto3 | grep Version | cut -d" " -f2')
67+ (. .venv/bin/activate; pip install "boto3==$version")
68+
6469 find /home/runner/.cache/localstack/volume/lib/extensions/python_venv/lib/python3.*/site-packages/aws*
6570 ls -la /home/runner/.cache/localstack/volume/lib/extensions/python_venv/lib/python3.*/site-packages/aws*
6671 DEBUG=1 GATEWAY_SERVER=hypercorn localstack start -d
Original file line number Diff line number Diff line change @@ -18,9 +18,6 @@ dependencies = [
1818
1919[project .optional-dependencies ]
2020test =[
21- # Note: Currently requires a version pin, to avoid assertion errors (missing
22- # `BucketARN` response property) TODO: to be fixed in a future iteration!
23- " boto3==1.40.55" ,
2421 # couple of dependencies required to import localstack test tools
2522 " localstack-core[base-runtime]>4.9" ,
2623 " moto-ext" ,
You can’t perform that action at this time.
0 commit comments