posit-dev / py-shinylive

Python package for deploying Shinylive applications
https://shiny.posit.co/py/docs/shinylive.html
MIT License
42 stars 4 forks source link

Use `SHINYLIVE_ASSETS_VERSION` envvar to control assets version in export #33

Open gadenbuie opened 3 weeks ago

gadenbuie commented 3 weeks ago

In R, we have assets_version() that uses the default (hard-coded) assets version but also consults the SHINYLIVE_ASSETS_VERSION envvar. We should replicate that with py-shinylive. Doing so makes it easier to move between asset versions, improves testing and decouples py-shinylive package releases from the shinylive releases (which do need to be updated with py-shiny releases).

Note that not all assets versions will be compatible with all shinylive versions.