Repository navigation
fix: restore Python client distribution name - #374
Merged
Merged
Conversation
- rename the distribution while preserving pyhugegraph imports - align workspace and downstream dependency source keys - clarify installation docs and client install guidance - assert installed distribution contracts in existing CI tests
- align package metadata with runtime type annotations - document the supported minimum Python version - verify the installed distribution requirement
imbajin
marked this pull request as ready for review
September 24, 2026 09:21
- preserve the existing LLM lint rules explicitly - format Python examples in five Markdown documents - shorten the client introduction without wrapping prose - verify current and legacy Ruff plus downstream tests
MrJs133
approved these changes
Sep 24, 2026
18 tasks
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.
The uv migration renamed the distribution to
hugegraph-python-client, while existing PyPI users installhugegraph-python. Restore the published name so the next client release follows the existing upgrade path.hugegraph-python; the module directory andpyhugegraphimports stay unchanged.Validation: 47 client unit/contract tests passed (50.94% coverage); 381 LLM tests passed, 3 skipped. Client, LLM and ML distributions build with
uv build --no-sources; client wheel/sdist installation on Python 3.10/3.11 and Twine checks pass. The ignored workspace lock was regenerated and checked locally.Fix the PR's Ruff failure by formatting Python examples in five Markdown files and explicitly preserving LLM's existing E4/E7/E9/F plus I lint baseline across Ruff default-rule changes. Latest Ruff CI passes on Python 3.10/3.11/3.12; no lint gate is disabled.
Release validation: wheel and sdist each pass 47 unit/contract tests in isolated Python 3.10 and 3.11 environments. Both were uploaded to TestPyPI using the companion release script and uv 0.12.18; downloaded bytes match the build SHA-256 values and both install/import successfully. Production PyPI was not uploaded.
Companion publishing automation: hugegraph/actions#32. Independent review of final commits found no actionable issues. Merge is left to the maintainer.