René's URL Explorer Experiment


Title: [MNT]: Changing the release workflow for external builds · Issue #30765 · matplotlib/matplotlib · GitHub

Open Graph Title: [MNT]: Changing the release workflow for external builds · Issue #30765 · matplotlib/matplotlib

X Title: [MNT]: Changing the release workflow for external builds · Issue #30765 · matplotlib/matplotlib

Description: Intro This is an implementation following the pattern of https://github.com/scipy/scipy-release of building release builds outside of the main repo. Currently it lives at https://github.com/ksunden/matplotlib-release I am in particular l...

Open Graph Description: Intro This is an implementation following the pattern of https://github.com/scipy/scipy-release of building release builds outside of the main repo. Currently it lives at https://github.com/ksunden...

X Description: Intro This is an implementation following the pattern of https://github.com/scipy/scipy-release of building release builds outside of the main repo. Currently it lives at https://github.com/ksunden...

Opengraph URL: https://github.com/matplotlib/matplotlib/issues/30765

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[MNT]: Changing the release workflow for external builds","articleBody":"Intro\n=====\n\nThis is an implementation following the pattern of https://github.com/scipy/scipy-release of building release builds outside of the main repo.\n\nCurrently it lives at https://github.com/ksunden/matplotlib-release\n\nI am in particular looking for technical review from @qulogic, and policy review from the steering council (@tacaswell @efiring @dopplershift @timhoffm).\n\nCatalyzing incident (failure to upload v3.10.8)\n===============================================\n\nThe build failed, not because of anything actually wrong with matplotlib, but because\none of the dependencies (Pillow) lacked a wheel and the headers to build from source were missing.\nThe failure was in the `test` stage, not the wheel building stage.\n\nRather than fix in repo and tag as 3.10.9, skipping yet another version in this series,\nI decided to accelerate the timeline for building in an external repo.\n\n\n\nTechnical details\n=================\n\nUsage\n-----\n\nBranches mirror the main repo with `main` and `v3.XX.x` branches\n\nTarget is set by editing the `SOURCE_REF_TO_BUILD: main` at the top of the workflow file.\nFor releases, this should point to the _tag_\n\nRelease builds are done via `dispatch_workflow` with the `pypi` option chosen. (Most often web UI, also available vi CLI etc)\n\n\n\nChanges from existing workflows\n-------------------------------\n\n- License file munging\n  - In doing a review, noticed that our auxilliary licenses are not being included and have not been since 3.9.0\n  - Meson-python version that we use does not handle multiple license files\n    - May look into newer versions, we were pinned for unrelated reasons, worth investigating\n  - Auxilliary licenses combined into one file, which lives in the matplotlib-release repo\n  - That file is cat'd onto the main LICENSE file, which is then included in wheel .dist-info\n  - Happens as a separate job that uploads the artifact for auditability\n  - Interstitial sdist uploaded with a name that is not caught by publish artifact downloader\n- Trigger conditions:\n  - since this repo is separate, I do just trigger on push/pull request, but final uploads _must_ be done with `workflow_dispatch` (which is new)\n- `CIBW_AFTER_BUILD` does not actually exist, so those steps were not run previously\n  - Moved some into `CIBW_TEST_COMMAND`, but in the process of getting things to work mostly elided\n    - Twine check removed because python 3.13t proved hard due to `cryptography` trying to install there (CFFI under the hood the problem)\n    - License check removed due to combining into one file\n- `CIBW_TEST_ENVIRONMENT` added `PIP_PREFER_BINARY=1`\n  - This is the actual fix for why 3.10.8 failed\n  - Used the general solution to avoid similar problems in the future\n\n- Upload tasks\n  - Largely taken from scipy's version, with only minor edits (mostly s/scipy/matplotlib/g)\n  - Include testpypi upload option\n  - Include check that upstream reference is a tag\n    - I did not change this other than the repo it points to, seems potentially underspecified but didn't look too hard at it\n  - Attestations now baked into the pypa/gh-action-pypi-publish, so removed that extra step\n    - id-token only permission necessary it seems\n  - I have not fully tested these, as fully doing so requires uploading to PyPI, sooo\n\nFollowup steps\n==============\n\nNear term/get 3.10.8 out\n------------------------\n\n- [ ] move matplotlib-release into matplotlib github org\n  - [ ] ensure permissions are restricted to necessary parties only (release managers, steering council, perhaps it)\n- [ ] set up PyPI trusted publishers to look to matplotlib-release\n- [ ] Run workflow with appropriate settings to publish on the v3.10.x branch\n- [ ] update devdocs for new release workflow (Would like to do it once first to make sure, but don't want to put it off)\n\nFuture work\n-----------\n\n- [ ] Work towards removing CIBW jobs from main repo\n  - [ ] Make the matplotlib-release version triggerable from the main repo \n    - Currently we run the job on merges and on labeled PRs, can probably look towards doing the same, though opportunity to think about it\n  - [ ] Upload to nightlies from matplotlib-release\n    - scipy does it on scheduled runs of the cibw job, we could copy that\n    - we currently do as a separate job that runs on a schedule but picks up the latest successful run\n  - [ ] Better notification of failures\n    - e.g. open issues like \"upcoming nightly failures\" does\n    - possibly needs to check backport branches too?\n    - impact is lessened by the ability to build from the same tag with different CIBW settings, so less important than it would otherwise be\n- [ ] Consider features that may be useful\n  - [ ] Some of this can be shared with scipy/etc who are also doing similar things\n  - [ ] e.g. we could make the target a variable that can be passed into the job\n     - Useful for triggering from the main repo\n     - Could make release workflow easier (i.e. don't need to edit the workflow file)\n       - On the other hand, a little friction is often a good thing, so, perhaps not a priority\n  - [ ] Consider if other settings should be moved to the release repo\n    - e.g. build flags, pyproject.toml, etc.\n    - Current leaning: only when proven necessary, so hopefully never, but escape hatches may exist\n- [ ] Investigate meson-python update and enabling multiple license files\n  - Would allow removal of step/artifact\n  - Original reason for pinning was to do with symlinks, 0.18 supposedly fixes our problem, and has at least some support for multiple license files\n  - things to look for: dynamic `license-files` (we specify in meson.build, but don't think they get used)\n  - in particular the QHull license is a little funky since it is not in the repo by default","author":{"url":"https://github.com/ksunden","@type":"Person","name":"ksunden"},"datePublished":"2025-11-18T23:52:54Z","url":"https://github.com/matplotlib/matplotlib/issues/30765"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5aa77cd3-f0a0-dd59-ef2e-39884415d33a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDACA:E76E0:101DEC8:15812F5:6B0654E7
html-safe-nonce92b0feb5c660655c7ff38f483abcd6bdeb21237d8b70ebbca20e8c2f1717ea9d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUNBOkU3NkUwOjEwMURFQzg6MTU4MTJGNTo2QjA2NTRFNyIsInZpc2l0b3JfaWQiOiI4NzgzNDI0Njg3MjUxNTQzMjcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac8ae46f03a019b90c9cab27c74864b0e178531c6de548f0e057bd270094d64555
hovercard-subject-tagissue:3640431122
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/30765/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bf3acb18c006d84b787e233f52556c295b86edf42472103a2131b7c9902bb376/matplotlib/matplotlib/issues/30765
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bf3acb18c006d84b787e233f52556c295b86edf42472103a2131b7c9902bb376/matplotlib/matplotlib/issues/30765
og:image:altIntro This is an implementation following the pattern of https://github.com/scipy/scipy-release of building release builds outside of the main repo. Currently it lives at https://github.com/ksunden...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameksunden
hostnamegithub.com
expected-hostnamegithub.com
None6324e6ac990fb6befbec840cc0e102a1071c339bfe8f9826bb12de2e3ba1d297
turbo-cache-controlno-preview
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7f0aa75f4141d440c6110dc31af7ea7797abb6c4
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/issues/30765#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F30765
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F30765
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/issues/30765
Reloadhttps://github.com/matplotlib/matplotlib/issues/30765
Reloadhttps://github.com/matplotlib/matplotlib/issues/30765
matplotlibhttps://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Codehttps://github.com/matplotlib/matplotlib
Issues1k (1k)https://github.com/matplotlib/matplotlib/issues
Pull requests430 (430)https://github.com/matplotlib/matplotlib/pulls
Actionshttps://github.com/matplotlib/matplotlib/actions
Projectshttps://github.com/matplotlib/matplotlib/projects
Wikihttps://github.com/matplotlib/matplotlib/wiki
Security and qualityhttps://github.com/matplotlib/matplotlib/security
Insightshttps://github.com/matplotlib/matplotlib/insights
https://github.com/matplotlib/matplotlib
New issuehttps://github.com/login?return_to=https://github.com/matplotlib/matplotlib/issues/30765
New issuehttps://github.com/login?return_to=https://github.com/matplotlib/matplotlib/issues/30765
[MNT]: Changing the release workflow for external buildshttps://github.com/matplotlib/matplotlib/issues/30765#top
Maintenancehttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22Maintenance%22
https://github.com/ksunden
ksundenhttps://github.com/ksunden
on Nov 18, 2025https://github.com/matplotlib/matplotlib/issues/30765#issue-3640431122
https://github.com/scipy/scipy-releasehttps://github.com/scipy/scipy-release
https://github.com/ksunden/matplotlib-releasehttps://github.com/ksunden/matplotlib-release
@QuLogichttps://github.com/QuLogic
@tacaswellhttps://github.com/tacaswell
@efiringhttps://github.com/efiring
@dopplershifthttps://github.com/dopplershift
@timhoffmhttps://github.com/timhoffm
ksundenhttps://github.com/ksunden
Maintenancehttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22Maintenance%22
on Nov 18, 2025https://github.com/matplotlib/matplotlib/issues/30765#event-21029019112
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
on Nov 20, 2025https://github.com/matplotlib/matplotlib/issues/30765#issuecomment-3559624112
https://github.com/QuLogic
QuLogichttps://github.com/QuLogic
on Nov 20, 2025https://github.com/matplotlib/matplotlib/issues/30765#issuecomment-3559899963
#30252https://github.com/matplotlib/matplotlib/pull/30252
https://github.com/timhoffm
timhoffmhttps://github.com/timhoffm
on Nov 21, 2025https://github.com/matplotlib/matplotlib/issues/30765#issuecomment-3562847203
Sign up for freehttps://github.com/signup?return_to=https://github.com/matplotlib/matplotlib/issues/30765
Sign in to commenthttps://github.com/login?return_to=https://github.com/matplotlib/matplotlib/issues/30765
Maintenancehttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22Maintenance%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.