Skip to content

Subtle 3.9 incompatibility via simplejson #62

Closed
@matthewdeanmartin

Description

@matthewdeanmartin

So 2.0 claims to support 3.9, however it has a dep on the wrong version of a library that lacks a wheel for 3.9

pipenv install --python=3.9
# restrict to installing only wheels because some organizations have never met a security feature they didn't like
export PIP_ONLY_BINARY=:all:
pipenv install awslambdaric --skip-lock

The relevant part of error

ERROR: Cannot install awslambdaric==1.0.0, awslambdaric==1.1.0, awslambdaric==1.1.1, awslambdaric==1.2.0, awslambdaric==1.2.1, awslambdaric==1.2.2 and awslambdaric==2.0.0 because these package versions have conflicting dependencies.
The conflict is caused by:
    awslambdaric 2.0.0 depends on simplejson==3.17.2
... snip ...
    awslambdaric 1.0.0 depends on simplejson==3.17.2

Translated, the error is saying that simplejson lacks a wheel for 3.9.

Comments

Activity

added a commit that references this issue on Oct 11, 2022
6c81b94
salwon

salwon commented on Nov 15, 2023

@salwon

Are there any updates from the team on this? I see that the change was made to upgrade, but it was downgraded again a few weeks ago. This is a blocker for upgrading from 3.8 - I am unable to build a Lambda function because simplejson 3.17.2 does not have wheels for 3.9+.

kpark-hrp

kpark-hrp commented on Feb 13, 2024

@kpark-hrp
Contributor

@briensea Any update?

briensea

briensea commented on Mar 28, 2024

@briensea
Contributor

Fixed in 2.0.11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @matthewdeanmartin@briensea@salwon@kpark-hrp

      Issue actions

        Subtle 3.9 incompatibility via simplejson · Issue #62 · aws/aws-lambda-python-runtime-interface-client