@@ -110,15 +110,11 @@ jobs:
110110
111111 - name : Download and install package
112112 run : |
113- pip install strands-agents[all] ==${{ inputs.package_version }} \
113+ pip install strands-agents==${{ inputs.package_version }} \
114114 --python-version ${{ matrix.python-version }} \
115115 --platform manylinux2014_${{ matrix.architecture }} \
116116 -t layer/python/ \
117117 --only-binary=:all:
118- - name : Remove grpc files to reduce size
119- run : |
120- find layer/python -name "*grpc*" -type f -delete
121- find layer/python -name "*grpc*" -type d -exec rm -rf {} + 2>/dev/null || true
122118
123119 - name : Create layer zip
124120 run : |
@@ -130,7 +126,7 @@ jobs:
130126 PYTHON_VERSION="${{ matrix.python-version }}"
131127 ARCH="${{ matrix.architecture }}"
132128 REGION="${{ matrix.region }}"
133- LAYER_NAME="strands-agents-py${PYTHON_VERSION//./_}-${ARCH}-all "
129+ LAYER_NAME="strands-agents-py${PYTHON_VERSION//./_}-${ARCH}"
134130 ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)
135131 BUCKET_NAME="${{ env.BUCKET_NAME }}-${ACCOUNT_ID}-${REGION}"
136132 LAYER_KEY="$LAYER_NAME/v${{ inputs.package_version }}/lambda-layer.zip"
@@ -162,7 +158,7 @@ jobs:
162158 PYTHON_VERSION="${{ matrix.python-version }}"
163159 ARCH="${{ matrix.architecture }}"
164160 REGION="${{ matrix.region }}"
165- LAYER_NAME="strands-agents-py${PYTHON_VERSION//./_}-${ARCH}-all "
161+ LAYER_NAME="strands-agents-py${PYTHON_VERSION//./_}-${ARCH}"
166162 ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)
167163 REGION_BUCKET="${{ env.BUCKET_NAME }}-${ACCOUNT_ID}-${REGION}"
168164 LAYER_KEY="$LAYER_NAME/v${{ inputs.package_version }}/lambda-layer.zip"
0 commit comments