Commits on Source (4)
-
Tomer Shterenberg authoredd90837cf
-
Sebastian Birunt authored
Having: ```py pip.parse( hub_name = "pre-commit-hook-{}".format(version), python_version = version, requirements_lock = "//pre-commit/hook/requirements:lock.txt", ), ``` and using `requirements_lock` attribute will create pip spoke whl repositories just for the host platform. This can have potential issues when the repository is platform dependent and the host platform is different of execution platform (common case for RBE build). The change sets pip requirements for different platforms separately. Specifying platforms as: - `"linux_*"` - `"osx_*"` - `"windows_*"` allows the pip to create repositories for different platforms and picks up correct one for the execution platform.
6daa9df9 -
Alex Tercete authoredVerifiedf5c7984d
-
Bot authored
## [1.0.5](https://git.gitlab.arm.com/bazel/pre-commit/compare/v1.0.4...v1.0.5) (2025-05-07) ### Bug Fixes * make config list sorting deterministic ([d90837cf](https://git.gitlab.arm.com/bazel/pre-commit/commit/d90837cfe393493e7cac696b68f8d1d57cc7c252)) * pip spoke whl repository platform ([6daa9df9](https://git.gitlab.arm.com/bazel/pre-commit/commit/6daa9df9f60f9d7d1780421be21a5d12c3d5117f))
Showing
- CHANGELOG.md 7 additions, 0 deletionsCHANGELOG.md
- MODULE.bazel 4 additions, 2 deletionsMODULE.bazel
- MODULE.bazel.lock 1 addition, 1 deletionMODULE.bazel.lock
- e2e/MODULE.bazel.lock 1 addition, 1 deletione2e/MODULE.bazel.lock
- pre-commit/hook/hook.py 3 additions, 3 deletionspre-commit/hook/hook.py