Skip to content

Commit 729285c

Browse files
committed
minor fixes
1 parent f0f5daa commit 729285c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/aws-proxy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ jobs:
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

aws-proxy/pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ dependencies = [
1818

1919
[project.optional-dependencies]
2020
test=[
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",

0 commit comments

Comments
 (0)