Skip to content

fix: constrain routine wheel resolution - #247

Closed
phantom-jacob wants to merge 1 commit into
mainfrom
jacobd-codex-deterministic-wheel-resolution
Closed

fix: constrain routine wheel resolution#247
phantom-jacob wants to merge 1 commit into
mainfrom
jacobd-codex-deterministic-wheel-resolution

Conversation

@phantom-jacob

Copy link
Copy Markdown
Contributor

What changed

Normal dependency packaging now constrains pip to the versions represented by the connector’s committed wheel manifest. An explicit --refresh-wheels flag permits intentional dependency refreshes.

Why

Routine connector pre-commit gates could otherwise select newer transitive packages from PyPI without any requirements.txt change, 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.py
  • git diff --check

Written by Codex.

@phantom-jacob
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
phantom-jacob force-pushed the jacobd-codex-deterministic-wheel-resolution branch from ae98199 to f45eaff Compare July 17, 2026 16:17
@phantom-jacob

Copy link
Copy Markdown
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant