Kanaries / pygwalker

PyGWalker: Turn your pandas dataframe into an interactive UI for visual analysis
https://kanaries.net/pygwalker
Apache License 2.0
10.7k stars 544 forks source link

Poetry `add duckdb pygwalker` fails to resolve dependencies. #544

Closed gregglind closed 1 month ago

gregglind commented 2 months ago

As Duckdb continues to develop (and increase version, consider relaxing the constraint in pyproject.toml to a Semver on ^0.

See: https://python-poetry.org/docs/dependency-specification/ for details.

hermansje commented 1 month ago

Before a the first major release, breaking changes can be introduced in minor updates according to semver. This is something DuckDB also has also used (e.g. between 0.9.x and 0.10.x). But I agree that the constraint could be relaxed to enforce a minor version, currently ^0.10, which would allow using the currently latest 0.10.2 release instead of 0.10.1.

longxiaofei commented 1 month ago

When upgrading from duckdb 0.8.0 to 0.9.0, due to changes in duckdb function logic, pygwalker cannot work.

So I fixed the duckdb version.

Thanks for your suggestion, I will change it to ^0.10.

gregglind commented 1 month ago

Thanks @longxiaofei!

Versioning is the worst.