Upgrade to koza 2.x and restore kgx RDF output#9
Open
kevinschaper wants to merge 6 commits intomainfrom
Open
Conversation
- Migrate transform.yaml config for koza 2.2.0 (remove deprecated name fields, fix header_mode, add header_prefix, fix data path) - Fix sibling module import in transform.py for koza 2.x loader - Fix download command in justfile (koza download -> downloader) - Add kgx dependency and RDF generation step to postprocess - Include .nt.gz files in release artifacts - Update all dependencies to latest versions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The downloader CLI is provided by kghub-downloader, which was missing from project dependencies (only available globally on dev machines). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
Changes
pyproject.toml— new hatchling build system, added kgx dependencyjustfile— full pipeline with download, transform, postprocess (taxon split + RDF)src/transform.yaml— koza 2.x config (removed deprecated fields, fixed paths/headers)src/transform.py— fixed module import for koza 2.x loader.github/workflows/release.yaml— includes.nt.gzin release artifactsuv.lock— new lockfileTest plan
just runcompletes successfully (2.7M nodes, 113 taxa, 119M RDF output)uv run pytestpasses🤖 Generated with Claude Code