python-visualization / branca

This library is a spinoff from folium, that would host the non-map-specific features.
https://python-visualization.github.io/branca/
MIT License
112 stars 64 forks source link

Add jinja2 version constraint #156

Closed tomboehling closed 8 months ago

tomboehling commented 8 months ago

Branca does not work with some older versions of Jinja2, resulting in an ImportError: cannot import name 'soft_unicode' from 'markupsafe' (for e.g. import branca.colormap as colormap). To address this issue, we have added a version constraint for Jinja2>=3.

tomboehling commented 8 months ago

Thank you for your quick response, @martinfleis! Could you please create a release after merging this?

martinfleis commented 8 months ago

@Conengmo do you want to do a patch release with this and #145?

ocefpaf commented 8 months ago

@Conengmo do you want to do a patch release with this and #145?

I can do that today. Working on it now...