Skip to content

Bug: Issue with JMESPath dependency in Idempotency on some scenarios #626

@hjgraca

Description

@hjgraca

Expected Behaviour

When adding a dependency on Idempotency version 1.2.1 I should not see an error when restoring the project.

Current Behaviour

error NU1101: Unable to find package AWS.Lambda.Powertools.JMESPath. 
No packages exist with this id in source(s): /usr/local/share/dotnet/library-packs, Local, nuget.org

Code snippet

<ItemGroup>
    <PackageReference Include="AWS.Lambda.Powertools.Idempotency" Version="1.2.1" />
  </ItemGroup>

Possible Solution

Remove the build target step in DIrectory.Build.targets to include JMESPath in the Idempotency project

Steps to Reproduce

Add version 1.2.1

  <ItemGroup>
    <PackageReference Include="AWS.Lambda.Powertools.Idempotency" Version="1.2.1" />
  </ItemGroup>

Powertools for AWS Lambda (.NET) version

latest

AWS Lambda function runtime

dotnet6

Debugging logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/idempotencybugUnexpected, reproducible and unintended software behaviourreleasedFix or implementation already in main and released

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions