Closed
Description
There's a name collision between two imported Path
symbols:
Path
frompathlib
(imported in MonsterUI's core module)Path
fromfasthtml.svg
(used for SVG path elements)
When using wildcard imports Python uses the latest import's definition of a name. In this case, the SVG Path
constructor was being silently overridden by pathlib.Path
, causing SVG elements to fail to render.
I think this was introduced in latest updated to pip release.