Skip to content

Release: twine metadata gate + matplotlib core dep for upcoming plotting - #11

Closed
OVVO-Financial wants to merge 2 commits into
mainfrom
claude/serene-goodall-dx2o3d
Closed

Release: twine metadata gate + matplotlib core dep for upcoming plotting#11
OVVO-Financial wants to merge 2 commits into
mainfrom
claude/serene-goodall-dx2o3d

Conversation

@OVVO-Financial

@OVVO-Financial OVVO-Financial commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Two release-readiness changes.

1. Metadata-check gate (release.yml)

Motivated by the PyPI pre-flight (a stale system packaging 24.0 rejected the
PEP 639 License-Expression / Metadata 2.4 field — tooling, not the package):

  • New check_metadata job runs twine check --strict over the built wheels
    • sdist with pinned twine>=6.1 / packaging>=24.2, so a metadata or
      README-rendering problem fails the run before anything is published.
  • publish_testpypi / publish_pypi now depend on it.

2. matplotlib as a core dependency

Plotting is coming and should ship with the base install, so matplotlib>=3.7
moves into [project].dependencies. pip install ovvo-nns will then include the
forthcoming R-colored nns.plotting layer with no extra step (no optional
[plot] extra). The plotting code itself lands in a later PR; this just wires
the dependency so it's ready.

Build/packaging only; no runtime behavior change yet. ruff clean; pyproject
parses with dependencies = [numpy, scipy, matplotlib>=3.7].

https://claude.ai/code/session_017KnASettwNxUdYJzchRLux

claude added 2 commits June 13, 2026 20:31
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 OVVO-Financial changed the title Harden release pipeline with a twine metadata-check gate Release: twine metadata gate + matplotlib core dep for upcoming plotting Jun 13, 2026
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.
@OVVO-Financial
OVVO-Financial deleted the claude/serene-goodall-dx2o3d branch June 14, 2026 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants