S
Solara•6mo ago
MindsightsAI

installation problem, outdated version solara-ui

poetry add solara Using version ^1.32.0 for solara Updating dependencies Resolving dependencies... (0.1s) Because no versions of solara match >1.32.0,<2.0.0 and solara (1.32.0) depends on solara-ui (1.32.0), solara (>=1.32.0,<2.0.0) requires solara-ui (1.32.0). So, because no versions of solara-ui match 1.32.0 and hsl depends on solara (^1.32.0), version solving failed.
4 Replies
MindsightsAI
MindsightsAI•6mo ago
One more relevant problem when trying to install from git using poetry poetry add "solara @ git+https://github.com/widgetti/solara" Updating dependencies Resolving dependencies... (7.5s) Unable to create package with no name
iisakkirotko
iisakkirotko•6mo ago
Hey @MindsightsAI! The first problem is due to solara-ui and solara-server 1.32.0 not having released on PyPi. Our release action on github seems to have silently failed, so we're looking into fixing that. I don't have much experience with poetry, so I'll take a look at your second issue a bit more and get back to you
MindsightsAI
MindsightsAI•6mo ago
Check pyproject.toml in the Repository: Ensure that the pyproject.toml file must correctly define the package name under [tool.poetry]. It will fix the problem.
MaartenBreddels
MaartenBreddels•6mo ago
the releases are on pypi now 🥳 Regarding using git:
poetry add "solara @ git+https://github.com/widgetti/solara" ✘ 1

Updating dependencies
Resolving dependencies... (11.7s)

The dependency name for solara does not match the actual package's name: solara-ui
poetry add "solara @ git+https://github.com/widgetti/solara" ✘ 1

Updating dependencies
Resolving dependencies... (11.7s)

The dependency name for solara does not match the actual package's name: solara-ui
I get this error, which makes more sense to me that the above that you get. Maybe you use an older poetry (I used 1.8.2). However, with this monorepo setup, it is probably difficult to use poetry with a github link
Want results from more Discord servers?
Add your server