apache / iceberg-rust

Apache Iceberg
https://rust.iceberg.apache.org/
Apache License 2.0
674 stars 159 forks source link

Python: Use hatch for dependency management #572

Closed sungwy closed 3 months ago

sungwy commented 3 months ago

Currently, the dependency management is a bit awkward because we duplicate the list of optional dependencies in pyproject.toml under [project.optional-dependencies], and then in .github/workflows/bindings_python_ci.yml in order to install the optional dependencies to test the built binary.

Hatch is a lightweight dependency manager that will allow us to manage the dependencies in one place, and reuse the hatch commands in both local development, builds and environment setup in the CI