AnswerDotAI / FastHTML-Gallery

https://gallery.fastht.ml/
52 stars 10 forks source link

fh-plotly #31

Closed Isaac-Flath closed 1 month ago

Isaac-Flath commented 1 month ago

FYI @CarloLepelaars

Due to a package conflict, I cannot upgrade to the latest FastHTML, and upgrading is needed for FastHTML routing API changes. I need to look at the Plotly plugin to get it working with the newer version.

ERROR: Cannot install -r requirements.txt (line 2), -r requirements.txt (line 3), fh-plotly==0.1.0 and python-fasthtml==0.4.3 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested python-fasthtml==0.4.3
    fh-matplotlib 0.0.1 depends on python-fasthtml
    fh-altair 0.0.1 depends on python-fasthtml
    fh-plotly 0.1.0 depends on python-fasthtml<0.3.0 and >=0.2.1
CarloLepelaars commented 1 month ago

Hey @Isaac-Flath, thanks for the heads-up!

I've relaxed the python-fasthtml version so it will work with future versions. If you update fh-plotly to 0.1.1 you should be all set.

Pypi release: https://pypi.org/project/fh-plotly/

Github release: https://github.com/CarloLepelaars/fh-plotly/releases/tag/v0.1.1

Isaac-Flath commented 1 month ago

Awesome, thanks!