Comments (2)
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.
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)
- OCI Stop Untagged instance pytho
- Project Status HOT 4
- A key can only consist of ASCII letter, digit or '_' (underscore) characters. HOT 6
- function sample for authorizer for IDCS in python HOT 2
- oracle function sample in dotnet
- oci-serviceconnector-streaming-json-to-csv-python not working HOT 1
- Update cx_Oracle to the latest version - which doesn't need Instant Client.
- Display an OCI Cloud Event - Tutorial not clear HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oracle-functions-samples.