aws / aws/aws-xray-sdk-python

Installing SDK without botocore and other transitive dependencies

Open
#378 4 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
338
Forks
147
PR merge metrics
No merged PRs in 30d

Description

I'm using the SDK in a Lambda function, meaning AWS automatically provides a fairly recent version of boto3/botocore and JMESPath. Installing botocore brings in 10MB of code and results in the overall deployment package being over the limit at which code can be displayed in the AWS console.

Is there a way to only install the SDK without it's dependencies? I suppose it's possible to have multiple requirements files and install the X-Ray one with "--no-dependencies", but that just pushes extra complication into CI/CD. It would be awesome if I could do something like "pip install aws-xray-sdk[core]" (or slim or whatever). I can accept that it might require a note that having a really new version of the SDK might have problems if my provided botocore is too old.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.