posit-dev / py-shiny-site

The documentation website for Shiny for Python
https://shiny.posit.co/py/
MIT License
17 stars 15 forks source link

Error starting app! on All together now section of site #218

Open mklimstra opened 1 month ago

mklimstra commented 1 month ago

https://shiny.posit.co/py/docs/user-interfaces.html#all-together-now

gadenbuie commented 1 month ago

Thanks for reporting! We're getting this error:

ValueError: Can't find a pure Python 3 wheel for 'statsmodels!=0.14.2,>=0.12'.
See: https://pyodide.org/en/stable/usage/faq.html#why-can-t-micropip-find-a-pure-python-wheel-for-a-package
You can use `await micropip.install(..., keep_going=True)` to get a list of all packages with missing wheels.

which results from ridgeplot removing statsmodels==0.14.2, but which we have bundled in the last release of shinylive.

wch commented 4 weeks ago

I filed an issue on pyodide to update statsmodels from 0.14.2 to 0.14.3: https://github.com/pyodide/pyodide/issues/5093

However, I think this will be a nontrivial task because that version of statsmodels wants an updated version of numpy and scipy.

agriyakhetarpal commented 4 weeks ago

Thanks for the cross-link! statsmodels 0.14.3 already works, so we just need to merge pyodide/pyodide#5058; I'll do it as soon as possible (side note: we support SciPy v1.14.1 already and NumPy v2 is in progress).

gadenbuie commented 3 weeks ago

The upstream PR was merged

wch commented 3 weeks ago

Great! Hopefully there will be a new release of Pyodide soon.

agriyakhetarpal commented 3 weeks ago

Yes, it's quite close. We expect to release 0.27 stable by the middle of October.