Skip to content

Errors using build[uv] in macos #2804

@BishopWolf

Description

@BishopWolf

Description

Hello

I am trying to add homebrew cache before building my wheel

If I use

- name: Set up Homebrew
      if: (inputs.os == 'macos-15') || (inputs.os == 'macos-15-intel')
      id: set-up-homebrew
      uses: Homebrew/actions/setup-homebrew@main

Everything runs fine. However using

- name: Cache Homebrew prefix
      if: (inputs.os == 'macos-15') || (inputs.os == 'macos-15-intel')
      id: cache-homebrew
      uses: Homebrew/actions/cache-homebrew-prefix@main
      with:
        install: wget ccache fftw libomp xerces-c qt cmake
        uninstall: true
        workflow-key: ${homebrew-key}

I get errors in the CI. Basically the uv isolated environment loses the system python. Am I doomed to install qt everytime?

Build log

https://github.com/BishopWolf/opengate/actions/runs/23798872465/job/69353385037

CI config

https://github.com/BishopWolf/opengate/blob/windows-qt6/.github/workflows/actions_build/action.yml

EDIT

The exact same build that fails for python 3.11+ using cache, it strangely works for python 3.10
https://github.com/BishopWolf/opengate/actions/runs/23798872465/job/69353385033

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions