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

Lite: started to launch due to the ruff dependency #7120

Closed
whitphx opened this issue Jan 23, 2024 · 0 comments · Fixed by #7133
Closed

Lite: started to launch due to the ruff dependency #7120

whitphx opened this issue Jan 23, 2024 · 0 comments · Fixed by #7133
Assignees
Labels
bug Something isn't working

Comments

@whitphx
Copy link
Member

whitphx commented Jan 23, 2024

Lite apps fail to start with the following error.
This is because ruff can't be installed in the Pyodide runtime, which has been introduced in #7030.

Traceback (most recent call last): File "/lib/python3.11/site-packages/micropip/_commands/install.py", line 142, in install raise ValueError( ValueError: Can't find a pure Python 3 wheel for: 'ruff>=0.1.7' See: https://pyodide.org/en/stable/usage/faq.html#why-can-t-micropip-find-a-pure-python-wheel-for-a-package

PythonError: Traceback (most recent call last):
  File "/lib/python3.11/site-packages/micropip/_commands/install.py", line 142, in install
    raise ValueError(
ValueError: Can't find a pure Python 3 wheel for: 'ruff>=0.1.7'
See: https://pyodide.org/en/stable/usage/faq.html#why-can-t-micropip-find-a-pure-python-wheel-for-a-package


    at new_error (https://cdn.jsdelivr.net/pyodide/v0.24.0/full/pyodide.asm.js:9:12519)
    at https://cdn.jsdelivr.net/pyodide/v0.24.0/full/pyodide.asm.wasm:wasm-function[295]:0x158827
    at https://cdn.jsdelivr.net/pyodide/v0.24.0/full/pyodide.asm.wasm:wasm-function[452]:0x15fcd5
    at _PyCFunctionWithKeywords_TrampolineCall (https://cdn.jsdelivr.net/pyodide/v0.24.0/full/pyodide.asm.js:9:123040)
    at https://cdn.jsdelivr.net/pyodide/v0.24.0/full/pyodide.asm.wasm:wasm-function[1057]:0x1a3091
    at https://cdn.jsdelivr.net/pyodide/v0.24.0/full/pyodide.asm.wasm:wasm-function[3387]:0x289e4d
    at https://cdn.jsdelivr.net/pyodide/v0.24.0/full/pyodide.asm.wasm:wasm-function[2037]:0x1e3f77
    at https://cdn.jsdelivr.net/pyodide/v0.24.0/full/pyodide.asm.wasm:wasm-function[1064]:0x1a3579
    at https://cdn.jsdelivr.net/pyodide/v0.24.0/full/pyodide.asm.wasm:wasm-function[1067]:0x1a383a
    at https://cdn.jsdelivr.net/pyodide/v0.24.0/full/pyodide.asm.wasm:wasm-function[1068]:0x1a38dc
    at https://cdn.jsdelivr.net/pyodide/v0.24.0/full/pyodide.asm.wasm:wasm-function[3200]:0x2685c5
    at https://cdn.jsdelivr.net/pyodide/v0.24.0/full/pyodide.asm.wasm:wasm-function[3201]:0x26e3d0
    at https://cdn.jsdelivr.net/pyodide/v0.24.0/full/pyodide.asm.wasm:wasm-function[1070]:0x1a3a04
    at https://cdn.jsdelivr.net/pyodide/v0.24.0/full/pyodide.asm.wasm:wasm-function[1065]:0x1a3694
    at https://cdn.jsdelivr.net/pyodide/v0.24.0/full/pyodide.asm.wasm:wasm-function[440]:0x15f45e
    at Module.callPyObjectKwargs (https://cdn.jsdelivr.net/pyodide/v0.24.0/full/pyodide.asm.js:9:81732)
    at Module.callPyObject (https://cdn.jsdelivr.net/pyodide/v0.24.0/full/pyodide.asm.js:9:82066)
    at wrapper (https://cdn.jsdelivr.net/pyodide/v0.24.0/full/pyodide.asm.js:9:58562)
@whitphx whitphx added the bug Something isn't working label Jan 23, 2024
This was referenced Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants