Giter Site home page Giter Site logo

Comments (2)

sachin-pikle avatar sachin-pikle commented on May 31, 2024

Hi @tanker110, is this the error you are seeing "ModuleNotFoundError: No module named 'setuptools_rust'" in the last line of the output when you run "fn -v build" or while run the deploy command?

If yes, then can you set the version of the "oci" python sdk to 2.40.0 in function's the "requirements.txt" ... We have updated the function sample with this change.
oci==2.40.0

Looks like there is a new dependency introduced in oci python sdk library from version 2.40.1. The cryptography<=3.4.7,>=3.2.1 results in an error "ModuleNotFoundError: No module named 'setuptools_rust'"

Please reopen the ticket is you run into issues with the suggested change.

from oracle-functions-samples.

sachin-pikle avatar sachin-pikle commented on May 31, 2024

Hi @tanker110, we have updated the Dockerfile and func.yaml for this sample to use the latest OCI Python SDK (versions 2.40.1+). We had to update pip in the Dockerfile. The OCI Python SDK (version 2.40.1) updated the Cryptography versions. The new Cryptography uses a newer version of setuptools which is not available in Pip. Updating Pip gives you access to download that.

from oracle-functions-samples.

Related Issues (9)

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.