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

Package httpx? #1216

Open
jtpio opened this issue Jul 15, 2024 · 4 comments
Open

Package httpx? #1216

jtpio opened this issue Jul 15, 2024 · 4 comments

Comments

@jtpio
Copy link
Contributor

jtpio commented Jul 15, 2024

httpx is noarch on conda-forge: https://anaconda.org/conda-forge/httpx

But it looks like it might need some patching either upstream in https://github.com/encode/httpx or here as a recipe:

Running:

import httpx

Gives:

ModuleNotFoundError: No module named '_ssl'

image

For reference httpx can also be installed with Pyodide, but raising an error at runtime: (pyodide/pyodide#4730 (comment) may be relevant)

ConnectError: [Errno 23] Host is unreachable

image

@jtpio
Copy link
Contributor Author

jtpio commented Jul 15, 2024

Also linking to pyodide/pyodide#4549 which includes a patch for httpx.

@jtpio
Copy link
Contributor Author

jtpio commented Jul 15, 2024

The ssl issue seems to be related to jupyterlite/xeus-python-demo#32.

@DerThorsten
Copy link
Contributor

DerThorsten commented Jul 16, 2024

for the missing ssl I think we just need to port https://github.com/pyodide/pyodide/blob/main/packages/ssl/meta.yaml which should be not that hard (famous last words... #1223)

@agriyakhetarpal
Copy link

See also: pyodide/pyodide#4999

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

No branches or pull requests

3 participants