Description
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
-
Why are we even using simplejson? json is built into 3.x and it appears that simplejson exist so you can cater to people using python 2.6/2.5
-
Can you remove your dependency on simplejson and use regular json?
-
Or can you at least depend on a version of simplejson that has a 3.9 wheel? For example 3.17.6
Metadata
Metadata
Assignees
Labels
No labels
Activity
Update simplejson to 3.17.6
salwon commentedon Nov 15, 2023
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 commentedon Feb 13, 2024
@briensea Any update?
3.18.4
#136briensea commentedon Mar 28, 2024
Fixed in 2.0.11.