Update fiboa CLI, update fiboa to v0.3 (breaking)#241
Merged
Conversation
This was
linked to
issues
Feb 16, 2026
isaaccorley
approved these changes
Feb 16, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates ftw-tools to use the latest fiboa CLI (to address the pkg_resources install issue) and adapts the codebase to fiboa v0.3-style field/property naming and GeoParquet writing.
Changes:
- Bump
fiboa-clidependency to>=0.21,<0.22and refresh the lockfile accordingly. - Update polygon output properties to namespaced fields (e.g.,
metrics:*,determination:*) and route Parquet writing through the newerfiboa_cli/vecorel_clipathway. - Adjust tests to match the renamed
metrics:*properties.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
uv.lock |
Updates resolved dependency set for the new fiboa-cli version (and transitive deps). |
pyproject.toml |
Bumps fiboa-cli requirement to >=0.21,<0.22. |
ftw_tools/postprocess/polygonize.py |
Renames output properties to metrics:*/determination:* and switches Parquet writing to convert_to_fiboa. |
ftw_tools/inference/utils.py |
Replaces legacy parquet writer usage with Registry + vecorel_cli GeoParquet writing; updates property names. |
tests/test_merge_adjacent.py |
Updates assertions for the new metrics:* properties. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the pkg_resources issue which prevents ftw-tools to be installed by updating to the most recent fiboa CLI version.
This also updates the fiboa version to 0.3, which means we need to update the app slightly (see fieldsoftheworld/ftw-inference-app#231 )
Waiting for fiboa/cli#202