You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(pypi): pass the correct versions to get_index_urls and fix cache invalidation (#3758)
Fix the versions of packages that we are recording to a
`MODULE.bazel.lock`
file facts by passing all of the versions and packages to the
`get_index` function.
Summary:
- Parse ALL requirements files (not just platform-matched), pass all
versions to get_index so lockfile facts are platform-independent.
- Return None when versions mismatch (re-fetch), drop removed packages
so you can start immediately.
- Include files with no matching platforms so packages aren't lost
- Add bzlmod lockfile integration test - Update CI to run new test in
bazel-in-bazel subset - Bump Bazel 9.0.0rc1 → 9.1.0 in bazel-in-bazel
tests
Fixes#3756
(cherry picked from commit 3871306)
Conflicts:
* CHANGELOG.md - trivial fixes
* python/private/pypi/parse_requirements.bzl - refactors to add unused
arguments
* tests/pypi/parse_requirements/parse_requirements_tests.bzl - similar
0 commit comments