fix: constrain routine wheel resolution - #247
Closed
phantom-jacob wants to merge 1 commit into
Closed
Conversation
phantom-jacob
marked this pull request as ready for review
July 17, 2026 16:08
Preserve committed dependency manifests during normal packaging so pre-commit does not silently update transitive wheels. Provide an explicit refresh mode for intentional dependency updates. Written by Codex.
phantom-jacob
force-pushed
the
jacobd-codex-deterministic-wheel-resolution
branch
from
July 17, 2026 16:17
ae98199 to
f45eaff
Compare
Contributor
Author
|
Written by Codex. Closing this superseded proposal: connector remediation PRs will retain the highest compatible transitive dependency updates produced by their package gates. |
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.
What changed
Normal dependency packaging now constrains pip to the versions represented by the connector’s committed wheel manifest. An explicit
--refresh-wheelsflag permits intentional dependency refreshes.Why
Routine connector pre-commit gates could otherwise select newer transitive packages from PyPI without any
requirements.txtchange, silently altering wheels and license notices.Validation
./.venv/bin/python -m pytest local_hooks/tests/test_package_app_dependencies.py -k "committed_wheels_constrain or package_wrapper_does_not_install_os_packages"./.venv/bin/python -m compileall -q local_hooks/package_app_dependencies.pygit diff --checkWritten by Codex.