Repository navigation
Release 1.0.0 - #14
Merged
Merged
Conversation
Six years of production use (first commit 2020-09-20), a real downstream dependency (RTB), and this cycle's comprehensive type-hinting/documentation/bug-fixing pass felt like the right point to commit to API stability. See CHANGELOG.md for the full list of what changed since 0.6.5 (the last real release -- 0.6.4 and 0.6.5 were identical except for the version string). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #14 +/- ##
=======================================
Coverage 97.54% 97.54%
=======================================
Files 4 4
Lines 1586 1586
=======================================
Hits 1547 1547
Misses 39 39 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Breaking changes with how to migrate, deprecations, additions, fixes, and known limitations. Each before-and-after was checked by running it against the real 0.6.5 code, which corrected three statements: adjacent() did not exist in 0.6.5 (so the alias change is additive), Edge.vertices() raised rather than warned, and the old wrong-subclass claim no longer applies with one vertex class. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Up to standards ✅🟢 Issues
|
Checked against 0.6.5 on undirected and directed paths and stars: the matrix was wrong in all four, from a loop variable that overwrote the vertex index and, for a directed graph, from visiting only each vertex's outgoing edges. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
plot() now draws a directed graph with arrowheads, bows parallel and antiparallel edges apart and draws loops, so it is no longer a known limitation. Adds the plot() option renames to the deprecations, nc not returning for many directed graphs and label being None until nc had been asked for to what is fixed. Each was checked against the real 0.6.5. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The action has normalized its inputs; skip_existing is deprecated. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A leftover of the MATLAB version that held 0.6.1. Nothing reads it; the version is in pyproject.toml. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Two files of an old setuptools build were committed with the move to the src layout, and were shipped in the sdist next to the real source. Co-Authored-By: Claude Sonnet 5.5 <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
Six years of production use (first commit 2020-09-20), real downstream dependencies (RTB and MVTB), and this cycle's comprehensive type-hinting/documentation/bug-fixing pass felt like the right point to commit to API stability.
See
CHANGELOG.mdfor the full list of what changed since 0.6.5 (the last real release -- 0.6.4 and 0.6.5 were identical except for the version string;0.6.5's tag came from a branch that was never merged intomainand predates everything in this changelog).Not merging this yet -- holding for review. Once merged, the plan is: create a GitHub Release from this tag (
v1.0.0) via the Releases UI, which triggers.github/workflows/publish.ymlto build and publish to PyPI via trusted publishing.Test plan
importlib.metadata.version("pgraph-python")reports1.0.0after an editable installWhat the CHANGELOG now says
The 1.0.0 entry was rewritten after the API work landed (#26 to #49). It leads with the breaking changes and how to migrate, then deprecations, additions, fixes and known limitations. Every before-and-after in it was checked by running it against the real
v0.6.5code, not from memory.Breaking changes, in brief: keyword-only constructor arguments;
DGraphdegree is in plus out;edges()is a list in order of addition and returns copies;Edge.v1/v2andVertex.labelare read-only;add_vertexrefuses duplicate names; oneVertexclass (UVertex/DVertexdeprecated);PGraphis nowGraph.Known limitation recorded there:
plot()draws no arrowheads for a directed graph (a follow-up branch is planned).