René's URL Explorer Experiment


Title: Rework dependency updates: Dependabot for CVEs, Renovate for everything else · Issue #400 · DiamondLightSource/python-copier-template · GitHub

Open Graph Title: Rework dependency updates: Dependabot for CVEs, Renovate for everything else · Issue #400 · DiamondLightSource/python-copier-template

X Title: Rework dependency updates: Dependabot for CVEs, Renovate for everything else · Issue #400 · DiamondLightSource/python-copier-template

Description: Rework dependency updates: Renovate only, no automerge, 3-day cooldown, weekly unlocked tests Problem We use an uncomfortable mix of Renovate and Dependabot, with no clear split of responsibilities. Renovate's lockFileMaintenance automer...

Open Graph Description: Rework dependency updates: Renovate only, no automerge, 3-day cooldown, weekly unlocked tests Problem We use an uncomfortable mix of Renovate and Dependabot, with no clear split of responsibilities...

X Description: Rework dependency updates: Renovate only, no automerge, 3-day cooldown, weekly unlocked tests Problem We use an uncomfortable mix of Renovate and Dependabot, with no clear split of responsibilities...

Opengraph URL: https://github.com/DiamondLightSource/python-copier-template/issues/400

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Rework dependency updates: Dependabot for CVEs, Renovate for everything else","articleBody":"# Rework dependency updates: Renovate only, no automerge, 3-day cooldown, weekly unlocked tests\n\n## Problem\n\n- We use an uncomfortable mix of Renovate and Dependabot, with no clear split of responsibilities.\n- Renovate's `lockFileMaintenance` automerges, which people dislike, and it fills git history with lockfile commits.\n- Nothing tells us when an upstream release will break downstream users who install unlocked.\n- There's no cooldown on new releases, which leaves us exposed to supply-chain attacks via freshly published packages.\n- Until recently, Renovate only fixed CVEs in direct dependencies, so CVEs in transitive dependencies in `uv.lock` sat unfixed (see python-zocalo#319 for an example of the manual catch-up).\n\n## Goals\n\n1. CI runs against the lockfile, so upstream releases don't break unrelated PRs.\n2. A periodic **unlocked** run tells us what upstream changes would break downstream users.\n3. Nothing resolves releases newer than **3 days**: not lock refreshes, not local upgrades, not unlocked runs.\n4. CVEs are patched as soon as the fix release is 3 days old, including in transitive dependencies. Urgent fixes can bypass the cooldown per package.\n\n## Proposal\n\n| Area | Current | Proposed |\n|---|---|---|\n| CI | Runs locked (`uv run --locked`) | Unchanged |\n| Release cooldown | None | **`exclude-newer = \"3 days\"` in `pyproject.toml`**, matched by Renovate `minimumReleaseAge: \"3 days\"`. Applies to every resolution: lock refreshes, local `uv lock --upgrade`, and the unlocked job |\n| CVE alerts | Dependabot alerts (enabled in settings) | Unchanged. Used only as the alert source; **no Dependabot PRs, no settings changes** |\n| CVE fixes | Renovate `vulnerabilityAlerts` (via `config:recommended`), **direct dependencies only** | Unchanged config, and **now covers transitive deps in `uv.lock`** (Renovate ≥ 44.221.0, renovatebot/renovate#47482). Security PRs open immediately, ignoring schedule and grouping. If the fix is under 3 days old, the PR fails to lock until the window passes; for urgent cases, add `exclude-newer-package` to bypass |\n| Lockfile refresh | Renovate `lockFileMaintenance`, **automerged** | **On demand only**: a Dependency Dashboard checkbox, never automerged. Obeys the cooldown via `pyproject.toml` |\n| Upstream breakage | Nothing | **Weekly unlocked test job in `periodic.yml`**; opens/updates an issue on failure |\n| Actions / pre-commit bumps | Renovate, minor/patch grouped | Renovate, **all grouped into a weekly PR, no automerge** |\n| Template-managed deps downstream | Ignored in `template/renovate.json.jinja` | Unchanged |\n| Copier updates | Renovate copier manager | Unchanged |\n| Automerge | On for lock maintenance, via the `renovate-approve` app | **Off everywhere**; `renovate-approve` no longer needed |\n\nRenovate is the only bot. Dependabot is used only as the source of alerts on GitHub. On internal GitLab, Renovate's `osvVulnerabilityAlerts` plays the same role, and also covers uv transitive deps. So the setup is consistent across both.\n\nRenovate doesn't apply `minimumReleaseAge` to `lockFileMaintenance`; it just runs `uv lock --upgrade`. That's why the cooldown has to live in `pyproject.toml` rather than only in Renovate config.\n\n## Implementation (outline)\n\n- **`template/pyproject.toml.jinja` (and the template's own `pyproject.toml`):** add `exclude-newer = \"3 days\"` under `[tool.uv]`.\n- **`renovate.json` / `template/renovate.json.jinja`:**\n  - set `automerge: false`\n  - add a weekly `schedule`\n  - set `minimumReleaseAge: \"3 days\"`\n  - set `lockFileMaintenance.dependencyDashboardApproval: true`\n  - group actions/pre-commit updates\n  - keep the existing template-managed ignores and the default `vulnerabilityAlerts`\n- **`periodic.yml`:**\n  - add a weekly job that runs tests with `--upgrade` instead of `--locked`, across the supported Python matrix (the cooldown comes from `pyproject.toml`)\n  - open or update a single issue on failure\n  - render `periodic.yml` unconditionally, since it's currently gated on `sphinx`, and make the linkcheck job conditional instead\n- **Docs:**\n  - rewrite `renovate.md` to remove automerge and the `renovate-approve` app, and to describe the dashboard lock refresh and security PRs\n  - document the cooldown in `lock-requirements.md`, including how to bypass it for an urgent fix with `exclude-newer-package = { \u003cpkg> = false }`, to be removed after merge\n\n## Open questions\n\n- [ ] Is the Mend-hosted Renovate app on ≥ 44.221.0, and does it have `read` access to Dependabot alerts? Both are needed for transitive CVE fixes.\n- [ ] Verify on a test repo that Renovate opens a fix PR for a transitive-only vulnerable package in `uv.lock`, and that a fix under 3 days old succeeds on a later run once the window passes. The transitive feature only landed on 2026-11-05.\n- [ ] Should the weekly periodic job also run `pip-audit` against the locked environment, as a safety net while the transitive support beds in?\n- [ ] Does `dependencyDashboardApproval` behave as expected for `lockFileMaintenance` on our Renovate version?\n- [ ] Should repos that build and deploy images from the lock keep a scheduled (e.g. monthly) lock refresh in their own Renovate config?\n- [ ] Align the cooldown window with python-zocalo, which uses the same pattern with 7 days.","author":{"url":"https://github.com/coretl","@type":"Person","name":"coretl"},"datePublished":"2026-11-06T14:45:29Z","url":"https://github.com/DiamondLightSource/python-copier-template/issues/400"}

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:a73979d2-37c7-1273-57ae-c1c900761671
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBAD8:3AA6A6:4F29DC:6CF4EC:6B0455E9
html-safe-nonce3c82aefaa523937f44ab6625b62108296a5e455294121dbbcb242b680154f91a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUQ4OjNBQTZBNjo0RjI5REM6NkNGNEVDOjZCMDQ1NUU5IiwidmlzaXRvcl9pZCI6IjMyNDUxMzg5Nzk4MjEyMTMxNjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2554a4f9a4f134bf26e8b34e31025bfad97ca2220f40c0bf5a5c0917278ad5fb
hovercard-subject-tagissue:6244761215
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/DiamondLightSource/python-copier-template/400/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d5ceb31715537a58843ec2036da3768e864496ee066d2d02f9645df8afdd2f81/DiamondLightSource/python-copier-template/issues/400
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d5ceb31715537a58843ec2036da3768e864496ee066d2d02f9645df8afdd2f81/DiamondLightSource/python-copier-template/issues/400
og:image:altRework dependency updates: Renovate only, no automerge, 3-day cooldown, weekly unlocked tests Problem We use an uncomfortable mix of Renovate and Dependabot, with no clear split of responsibilities...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecoretl
hostnamegithub.com
expected-hostnamegithub.com
None910ca0e260cfec6aff11407d8dc6a0d3a4cd381a2ec9ada56627b063426892a0
turbo-cache-controlno-preview
go-importgithub.com/DiamondLightSource/python-copier-template git https://github.com/DiamondLightSource/python-copier-template.git
octolytics-dimension-user_id1233618
octolytics-dimension-user_loginDiamondLightSource
octolytics-dimension-repository_id725201281
octolytics-dimension-repository_nwoDiamondLightSource/python-copier-template
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id725201281
octolytics-dimension-repository_network_root_nwoDiamondLightSource/python-copier-template
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
releasee086f9b7e88322eb2b41885a6ad425b215737fa5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/DiamondLightSource/python-copier-template/issues/400#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDiamondLightSource%2Fpython-copier-template%2Fissues%2F400
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%2FDiamondLightSource%2Fpython-copier-template%2Fissues%2F400
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=DiamondLightSource%2Fpython-copier-template
Reloadhttps://github.com/DiamondLightSource/python-copier-template/issues/400
Reloadhttps://github.com/DiamondLightSource/python-copier-template/issues/400
Reloadhttps://github.com/DiamondLightSource/python-copier-template/issues/400
DiamondLightSourcehttps://github.com/DiamondLightSource
python-copier-templatehttps://github.com/DiamondLightSource/python-copier-template
Codehttps://github.com/DiamondLightSource/python-copier-template
Issues63 (63)https://github.com/DiamondLightSource/python-copier-template/issues
Pull requests6 (6)https://github.com/DiamondLightSource/python-copier-template/pulls
Discussionshttps://github.com/DiamondLightSource/python-copier-template/discussions
Actionshttps://github.com/DiamondLightSource/python-copier-template/actions
Projectshttps://github.com/DiamondLightSource/python-copier-template/projects
Security and qualityhttps://github.com/DiamondLightSource/python-copier-template/security
Insightshttps://github.com/DiamondLightSource/python-copier-template/insights
https://github.com/DiamondLightSource/python-copier-template
New issuehttps://github.com/login?return_to=https://github.com/DiamondLightSource/python-copier-template/issues/400
New issuehttps://github.com/login?return_to=https://github.com/DiamondLightSource/python-copier-template/issues/400
Rework dependency updates: Dependabot for CVEs, Renovate for everything elsehttps://github.com/DiamondLightSource/python-copier-template/issues/400#top
https://github.com/coretl
coretlhttps://github.com/coretl
on Nov 6, 2026https://github.com/DiamondLightSource/python-copier-template/issues/400#issue-6244761215
renovatebot/renovate#47482https://github.com/renovatebot/renovate/pull/47482
https://github.com/gilesknap
gilesknaphttps://github.com/gilesknap
on Nov 6, 2026https://github.com/DiamondLightSource/python-copier-template/issues/400#issuecomment-6687688678
Select more ruff checks and fix the errors it finds #85https://github.com/DiamondLightSource/python-copier-template/pull/85
Fix packaging issues #86https://github.com/DiamondLightSource/python-copier-template/pull/86
merge main into branch to overcome downgrades aren't supported error #89https://github.com/DiamondLightSource/python-copier-template/pull/89
Import version from setuptools_scm generated file #90https://github.com/DiamondLightSource/python-copier-template/pull/90
Make template .gitignore a file #103https://github.com/DiamondLightSource/python-copier-template/pull/103
Select more ruff checks and fix the errors it finds #85https://github.com/DiamondLightSource/python-copier-template/pull/85
added adopting template docs #99https://github.com/DiamondLightSource/python-copier-template/pull/99
Add link to template how-to guides in contributing.md #100https://github.com/DiamondLightSource/python-copier-template/pull/100
Change wording for ADRs and add template #102https://github.com/DiamondLightSource/python-copier-template/pull/102
Fix packaging issues #86https://github.com/DiamondLightSource/python-copier-template/pull/86
Make template .gitignore a file #103https://github.com/DiamondLightSource/python-copier-template/pull/103
Badge #91https://github.com/DiamondLightSource/python-copier-template/pull/91
Fix ADR underline length #12https://github.com/DiamondLightSource/python-copier-template/pull/12
Auth requirement and tokens for creating a new GitHub project #13https://github.com/DiamondLightSource/python-copier-template/pull/13
Do version handling in the root docs in the same way as template #105https://github.com/DiamondLightSource/python-copier-template/pull/105
https://github.com/coretl
coretlhttps://github.com/coretl
on Nov 9, 2026https://github.com/DiamondLightSource/python-copier-template/issues/400#issuecomment-6746067076
Sign up for freehttps://github.com/signup?return_to=https://github.com/DiamondLightSource/python-copier-template/issues/400
Sign in to commenthttps://github.com/login?return_to=https://github.com/DiamondLightSource/python-copier-template/issues/400
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.