Skip to content

Multiple versions installed in python layer #1108

@bneijt

Description

@bneijt

Describe the bug
If I download arn:aws:lambda:eu-west-1:901920570463:layer:aws-otel-python-amd64-ver-1-29-0:2 and extract the zip file, I see multiple versions of opentelemetry-api in the zip.

Steps to reproduce

aws lambda get-layer-version-by-arn --arn 'arn:aws:lambda:eu-west-1:901920570463:layer:aws-otel-python-amd64-ver-1-29-0:2'
  • Download the zip
  • extract the zip layer
  • ls in the python folder will show
ls python/ |grep opentelemetry_api
opentelemetry_api-1.29.0.dist-info
opentelemetry_api-1.31.1.dist-info

What did you expect to see?
Only a single version of opentelemetry_api package installed.

What did you see instead?
Multiple versions for various packages creammed in the same folder.

What version of collector/language SDK version did you use?
arn:aws:lambda:eu-west-1:901920570463:layer:aws-otel-python-amd64-ver-1-29-0:2

What language layer did you use?
Python

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions