Manage Python with uv + 7-day minimum release age - #23
Open
akan72 wants to merge 1 commit into
Open
Conversation
88 tasks
akan72
force-pushed
the
akan72/uv-python-management
branch
from
August 22, 2026 19:29
8c87bfa to
1702334
Compare
akan72
added a commit
that referenced
this pull request
Aug 22, 2026
Extends the supply-chain protection uv got in #23 to the JS package managers actually in use: - npm: min-release-age=7 (days) appended to ~/.npmrc by assimilate.sh, append-only since npm login writes auth tokens there. Enforced by npm >= 11.10; older npms warn about the unknown key and ignore it. - bun: [install].minimumReleaseAge = 604800 (seconds) in .bunfig.toml at the repo root — bun's global config path is $XDG_CONFIG_HOME/.bunfig.toml and XDG_CONFIG_HOME points at this repo. Also symlinked to ~/.bunfig.toml for contexts without XDG_CONFIG_HOME. Verified on this machine: with vite@8.1.3 published 3 days ago, both npm and bun resolve vite to 8.1.0, the newest version older than 7 days.
akan72
force-pushed
the
akan72/uv-python-management
branch
from
August 22, 2026 19:36
1702334 to
3152f60
Compare
akan72
added a commit
that referenced
this pull request
Aug 22, 2026
Extends the supply-chain protection uv got in #23 to the JS package managers actually in use: - npm: min-release-age=7 (days) appended to ~/.npmrc by assimilate.sh, append-only since npm login writes auth tokens there. Enforced by npm >= 11.10; older npms warn about the unknown key and ignore it. - bun: [install].minimumReleaseAge = 604800 (seconds) in .bunfig.toml at the repo root — bun's global config path is $XDG_CONFIG_HOME/.bunfig.toml and XDG_CONFIG_HOME points at this repo. Also symlinked to ~/.bunfig.toml for contexts without XDG_CONFIG_HOME. Verified on this machine: with vite@8.1.3 published 3 days ago, both npm and bun resolve vite to 8.1.0, the newest version older than 7 days.
akan72
force-pushed
the
akan72/uv-python-management
branch
from
August 22, 2026 19:42
3152f60 to
16c975a
Compare
akan72
added a commit
that referenced
this pull request
Aug 22, 2026
Extends the supply-chain protection uv got in #23 to the JS package managers actually in use: - npm: min-release-age=7 (days) appended to ~/.npmrc by assimilate.sh, append-only since npm login writes auth tokens there. Enforced by npm >= 11.10; older npms warn about the unknown key and ignore it. - bun: [install].minimumReleaseAge = 604800 (seconds) in .bunfig.toml at the repo root — bun's global config path is $XDG_CONFIG_HOME/.bunfig.toml and XDG_CONFIG_HOME points at this repo. Also symlinked to ~/.bunfig.toml for contexts without XDG_CONFIG_HOME. Verified on this machine: with vite@8.1.3 published 3 days ago, both npm and bun resolve vite to 8.1.0, the newest version older than 7 days.
akan72
force-pushed
the
akan72/uv-python-management
branch
from
August 22, 2026 19:46
16c975a to
fd11260
Compare
akan72
added a commit
that referenced
this pull request
Aug 22, 2026
Extends the supply-chain protection uv got in #23 to the JS package managers actually in use: - npm: min-release-age=7 (days) appended to ~/.npmrc by assimilate.sh, append-only since npm login writes auth tokens there. Enforced by npm >= 11.10; older npms warn about the unknown key and ignore it. - bun: [install].minimumReleaseAge = 604800 (seconds) in .bunfig.toml at the repo root — bun's global config path is $XDG_CONFIG_HOME/.bunfig.toml and XDG_CONFIG_HOME points at this repo. Also symlinked to ~/.bunfig.toml for contexts without XDG_CONFIG_HOME. Verified on this machine: with vite@8.1.3 published 3 days ago, both npm and bun resolve vite to 8.1.0, the newest version older than 7 days.
akan72
force-pushed
the
akan72/uv-python-management
branch
from
August 22, 2026 19:50
fd11260 to
c71da39
Compare
akan72
added a commit
that referenced
this pull request
Aug 22, 2026
Extends the supply-chain protection uv got in #23 to the JS package managers actually in use: - npm: min-release-age=7 (days) appended to ~/.npmrc by assimilate.sh, append-only since npm login writes auth tokens there. Enforced by npm >= 11.10; older npms warn about the unknown key and ignore it. - bun: [install].minimumReleaseAge = 604800 (seconds) in .bunfig.toml at the repo root — bun's global config path is $XDG_CONFIG_HOME/.bunfig.toml and XDG_CONFIG_HOME points at this repo. Also symlinked to ~/.bunfig.toml for contexts without XDG_CONFIG_HOME. Verified on this machine: with vite@8.1.3 published 3 days ago, both npm and bun resolve vite to 8.1.0, the newest version older than 7 days.
- Add uv/uv.toml with exclude-newer = "7 days" (rolling supply-chain window: never resolve a package release younger than a week) and python-preference = "managed" so uv owns Python version management - Symlink uv/uv.toml -> ~/.config/uv/uv.toml in assimilate.sh (also discovered via $XDG_CONFIG_HOME) - Add brew "uv" to the Brewfile and run 'uv python install' during assimilate to install a uv-managed CPython on fresh machines
akan72
force-pushed
the
akan72/uv-python-management
branch
from
August 22, 2026 19:54
c71da39 to
5f56e69
Compare
akan72
added a commit
that referenced
this pull request
Aug 22, 2026
Extends the supply-chain protection uv got in #23 to the JS package managers actually in use: - npm: min-release-age=7 (days) appended to ~/.npmrc by assimilate.sh, append-only since npm login writes auth tokens there. Enforced by npm >= 11.10; older npms warn about the unknown key and ignore it. - bun: [install].minimumReleaseAge = 604800 (seconds) in .bunfig.toml at the repo root — bun's global config path is $XDG_CONFIG_HOME/.bunfig.toml and XDG_CONFIG_HOME points at this repo. Also symlinked to ~/.bunfig.toml for contexts without XDG_CONFIG_HOME. Verified on this machine: with vite@8.1.3 published 3 days ago, both npm and bun resolve vite to 8.1.0, the newest version older than 7 days.
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.
Summary
uv.toml.Test Plan
uv/uv.tomlwith real uv 0.11.8 and confirmed the installer invokeduv python install.bash -n assimilate.sh,uv --config-file uv/uv.toml --version, andgit diff --check.