Release: twine metadata gate + matplotlib core dep for upcoming plotting - #11
Closed
OVVO-Financial wants to merge 2 commits into
Closed
Release: twine metadata gate + matplotlib core dep for upcoming plotting#11OVVO-Financial wants to merge 2 commits into
OVVO-Financial wants to merge 2 commits into
Conversation
Add a check_metadata job that runs 'twine check --strict' over the built wheels + sdist before publishing, with pinned twine>=6.1 / packaging>=24.2 so PEP 639 License-Expression (Metadata 2.4) validates regardless of any stale system 'packaging'. publish_testpypi and publish_pypi now gate on it.
Plotting is coming and should ship with the base install, so matplotlib moves into [project].dependencies — 'pip install ovvo-nns' will include the R-colored nns.plotting layer with no extra step (no optional [plot] extra needed).
OVVO-Financial
pushed a commit
that referenced
this pull request
Jun 13, 2026
Fold in the release-readiness gate from PR #11 so it can be merged alongside the plotting work: a new `check_metadata` job runs `twine check --strict` over the built wheels + sdist with pinned `twine>=6.1` / `packaging>=24.2`, and both `publish_testpypi` and `publish_pypi` now depend on it. This fails a metadata or README-rendering problem before anything is published. The matplotlib core-dependency change from PR #11 is already present on this branch, so only the workflow gate is ported here.
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.
Two release-readiness changes.
1. Metadata-check gate (
release.yml)Motivated by the PyPI pre-flight (a stale system
packaging24.0 rejected thePEP 639
License-Expression/ Metadata 2.4 field — tooling, not the package):check_metadatajob runstwine check --strictover the built wheelstwine>=6.1/packaging>=24.2, so a metadata orREADME-rendering problem fails the run before anything is published.
publish_testpypi/publish_pypinow depend on it.2. matplotlib as a core dependency
Plotting is coming and should ship with the base install, so
matplotlib>=3.7moves into
[project].dependencies.pip install ovvo-nnswill then include theforthcoming R-colored
nns.plottinglayer with no extra step (no optional[plot]extra). The plotting code itself lands in a later PR; this just wiresthe dependency so it's ready.
Build/packaging only; no runtime behavior change yet.
ruffclean; pyprojectparses with
dependencies = [numpy, scipy, matplotlib>=3.7].https://claude.ai/code/session_017KnASettwNxUdYJzchRLux