Skip to content

bug: Update cbor2 requirement #11703

@hammer498

Description

@hammer498

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Currently cbor is listed as required for >= 5.2
https://github.com/localstack/localstack/blob/master/pyproject.toml#L60
but this commit
b612563
relies on the existence of cbor2._decoder which appears first in cbor 5.5
https://github.com/agronholm/cbor2/tree/5.5.0/cbor2
notice its absence here
https://github.com/agronholm/cbor2/tree/5.4.6/cbor2

Expected Behavior

No response

How are you starting LocalStack?

With a docker-compose file

Steps To Reproduce

How are you starting localstack (e.g., bin/localstack command, arguments, or docker-compose.yml)

docker run localstack/localstack

Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)

awslocal s3 mb s3://mybucket

Environment

- OS:
- LocalStack:
  LocalStack version:
  LocalStack Docker image sha:
  LocalStack build date:
  LocalStack build git hash:

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions