Skip to content
  1. May 07, 2025
  2. May 06, 2025
    • Sebastian Birunt's avatar
      fix: pip spoke whl repository platform · 6daa9df9
      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
  3. Mar 23, 2025
  4. Mar 10, 2025
  5. Mar 07, 2025
  6. Mar 05, 2025
  7. Feb 28, 2025
  8. Feb 27, 2025
Loading