Repository navigation
chore(py): prune unused dev deps, cap dev tooling, and clear lockfile vulns - #153
Merged
Merged
Conversation
This was referenced Nov 19, 2026
This was referenced Nov 19, 2026
MichaelDoyle
approved these changes
Nov 19, 2026
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.
Part 1 of 4 in the dependency hygiene stack: #153 -> #154 -> #156 -> #157.
Removes unused workspace dev/lint dependencies, caps dev tooling at the next major, and upgrades audited packages in
uv.lockwithout touching any publishedpackages/*/pyproject.tomlbounds.Main Changes
[dependency-groups]carried 20+ packages nothing in the workspace imports (streamlit,jupyter,ipython,bpython,pypdf,litestar,quart,grpcio,mypy, ...). Removing them drops 137 locked packages and eliminates most transitive Dependabot alerts.psutil(used bygenkit-mcpprocess tests),numpy(generate_loop_test.py), andpython-dotenv(samples/fastapi-bugbot, type-checked byty) previously only resolved by accident through unrelated dev tools. Declaring them directly keeps tests and type checks reproducible.pytest>=8.3.4,<10,ruff>=0.9,<1, ...) only stops a blanketuv lock --upgradefrom jumping a linter or test runner across a breaking major.liccheckfriction: Upgraded flagged transitive packages inuv.lock, added SPDX"isc"(dnspython>=2.9) toauthorized_licenses, and widenedcertififrom an exact pin to>=2026.1.4so routine CA bundle updates don't break license checks.Why this is safe
pyproject.toml(the unpublished workspace project) anduv.lock, and pip/uv never read either when installing from PyPI. I built wheels for all 37 workspace members (16 packages + samples) onmainand on this branch and diffedName,Version,Requires-Python,Requires-DistandProvides-Extrain everyMETADATA: identical.git grep -woverpackages/,samples/,tests/,bin/,scripts/,justfile,noxfile.pyand.github/finds no import or invocation. The only hits are an error message mentioning IPython in_aio.py, andfastapi/structlog, which still install throughgenkit-fastapiand coregenkit.psutil,numpyandpython-dotenvwere only installed because unrelated dev tools pulled them in. They're listed directly, so removingjupyterand friends doesn't quietly break the MCP tests,generate_loop_test.py, ortyonsamples/fastapi-bugbot.uv lock --upgrade: Dev and lint groups never ship, so the<Ncaps can't affect users. They also don't move anything today; every capped tool is already locked below its cap.liccheck,pip-audit) and Build Distributions.deploy_docs.ymlonly runs on push tomain, so I ranmkdocs buildlocally with the reduced dev group: it builds.main(0.14.0):uv lock --checkpasses. Locally: 7900 tests passed, pyright/pyrefly/ty clean,liccheckpasses for 109 packages, andpip-auditreports only the 3 knownsetuptoolsfindings (held below 82 forliccheck).uv sync.