Skip to content

Gallery: the visualci-gallery Python package (sc-9301) - #196

Merged
ndbroadbent merged 1 commit into
mainfrom
sc-9301-gallery-python
Dec 4, 2026
Merged

ndbroadbent merged 1 commit into
mainfrom
sc-9301-gallery-python

Conversation

@ndbroadbent

@ndbroadbent ndbroadbent commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Stacked on the Ruby PR.

  • Package (clients/gallery/python): standard library only, Python 3.10+. fetch() raises when the manifest can't be read, and render() emits the contract's markup.
  • Assets: static_dir() holds the library's JS and CSS for Django's static files.
  • Tests: every golden fixture and error message.
  • Release: release-gallery-python.yml publishes on a gallery-python-v* tag through PyPI trusted publishing. CI runs the tests on 3.10 and 3.14 with -W error and checks that the wheel builds.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@ndbroadbent
ndbroadbent force-pushed the sc-9301-gallery-python branch from b36edd0 to dcd53ac Compare December 4, 2026 08:43
@ndbroadbent
ndbroadbent force-pushed the sc-9301-gallery-python branch 2 times, most recently from 7eecdaa to 725d00a Compare December 4, 2026 08:56
@ndbroadbent
ndbroadbent force-pushed the sc-9301-gallery-python branch from 725d00a to 7f383bb Compare December 4, 2026 11:53
@ndbroadbent
ndbroadbent force-pushed the sc-9299-gallery-ruby branch 3 times, most recently from 3adcf19 to 90d01e8 Compare December 4, 2026 14:24
@ndbroadbent
ndbroadbent changed the base branch from sc-9299-gallery-ruby to main December 4, 2026 14:33
@ndbroadbent
ndbroadbent force-pushed the sc-9301-gallery-python branch from 7f383bb to ac042b1 Compare December 4, 2026 14:34
@visualci-com

visualci-com Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #744 · 4 changed, 517 unchanged · approved by visualci coordinator agent (MCP) for Nathan Broadbent

Blog post shots match merged PR #190's approved change (also approved on #209); #196 only touches clients/gallery and CI.

This PR vs base: 64 changed, 87 added since #571, across 5 builds

Snapshot Before After
screenshots/blog/post/1440-dark (changed)
screenshots/blog/post/1440-light (changed)
screenshots/blog/post/390-dark (changed)
screenshots/blog/post/390-light (changed)

docspring/visualci · journeys · build #742 · 50 unchanged · no changes

This PR vs base: 2 changed, 8 added since #560, across 6 builds

Updated as builds change. Agents can review with VisualCI's MCP tools.

Renders the gallery contract's markup in Python, byte for byte, with the standard library only, and
carries the JS library's ES5 build and stylesheet as Django static files. CI runs the golden fixtures
on Python 3.10 and 3.14 and builds the wheel; a release workflow publishes it with PyPI trusted
publishing.
@ndbroadbent
ndbroadbent force-pushed the sc-9301-gallery-python branch from ac042b1 to 7f8df61 Compare December 4, 2026 15:14
@ndbroadbent
ndbroadbent merged commit 5de71e7 into main Dec 4, 2026
38 of 42 checks passed
@ndbroadbent
ndbroadbent deleted the sc-9301-gallery-python branch December 4, 2026 15:31
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.

1 participant