Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request to add Boto3 #4731

Open
cosmosanalytics opened this issue May 1, 2024 · 4 comments
Open

request to add Boto3 #4731

cosmosanalytics opened this issue May 1, 2024 · 4 comments

Comments

@cosmosanalytics
Copy link

🐍 Package Request

image

But when I import boto3 in pyscript, it no longer can run.

@cosmosanalytics
Copy link
Author

when I add "boto3" in the package list in pyscript, it does not install
image

@JamesParrott
Copy link

JamesParrott commented May 2, 2024

Boto and its sub projects use threading, sockets and urllib3, so this is unlikely to be a smooth ride. This could be a big job even if it didn't require managing other known issues and platform limitations.

https://pyodide.org/en/stable/usage/wasm-constraints.html#synchronous-http-requests-support

"
Synchronous HTTP requests support
Packages for urllib3 and requests are included in pyodide. In browser, these function roughly the same as on other operating systems with some limitations.....
"

"
Included but not working modules

The following modules can be imported, but are not functional due to the limitations of the WebAssembly VM:

multiprocessing

threading

sockets
"

@cosmosanalytics
Copy link
Author

cosmosanalytics commented May 2, 2024 via email

@JamesParrott
Copy link

I do not. I'm just estimating what the original idea requires from a Pyodide contributor, and managing your expectations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants