GithubHelp home page GithubHelp logo

Comments (6)

Julian avatar Julian commented on May 24, 2024

Please share something which reproduces, as everything works fine here.

from jsonschema.

amirbtb avatar amirbtb commented on May 24, 2024

Hi, I have the same error.
Here is my environment :

  • AWS Lambda with Python 3.9 runtime, x86_64 Architecture
  • jsonschema==4.19.1
  • rdps-py==0.10.4
    I got this error with a simple import :
from jsonschema import validators
from jsonschema import Draft4Validator

from jsonschema.

Julian avatar Julian commented on May 24, 2024

Lambda isn't a supported environment inasmuch as it isn't something that runs in CI here, and I don't personally have access or test on it. Everything may work there (and it seems likely it does, given I know many users do use it) but I don't directly support it even at the level that I provide support at all. Please provide some reproducer that doesn't involve it -- something that I can run which produces the behavior you're indicating.

from jsonschema.

amirbtb avatar amirbtb commented on May 24, 2024

According to this stackoverflow, the issue appeared with 4.18 : https://stackoverflow.com/questions/76667202/aws-lambda-function-cant-find-module.
I'll try setting up a Dockerfile with everything required to test this use case.

from jsonschema.

Julian avatar Julian commented on May 24, 2024

rpds as a dependency was introduced in 4.18, so that's not surprising. Feel free to follow up if you have a reproducer. Going to close for now, as I don't believe anything is wrong with the package itself, I suspect it's Lambda doing wrong things on installation, but if that turns out to not be the case happy to look into things with the reproducer.

from jsonschema.

CynanX avatar CynanX commented on May 24, 2024

I am seeing this also when using AWS ZIP lambdas or AWS sam local. AWS Docker lambdas are working fine.

I can knock together a project demonstrating this using AWS sam local if that helps?

from jsonschema.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.