Skip to content

Commit

Permalink
Install conan using uv
Browse files Browse the repository at this point in the history
Summary:
Linux CI is currently broken because pip tries to remove system package.

uv installs tools in its own virtualenv and it's much faster than pip.

Differential Revision: D68271455
  • Loading branch information
KapJI authored and facebook-github-bot committed Jan 16, 2025
1 parent 865cac0 commit 4738f35
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/actions/setup_linux_env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ runs:
- uses: haskell-actions/setup@v2
with:
ghc-version: '9.10.1'
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install conan
run: sudo pip3 install conan==1.*
run: uv tool install conan==1.*
shell: bash
- uses: actions/setup-go@v5
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/actions/setup_macos_env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ runs:
run: brew install cmake python3 coreutils opam llvm protobuf zstd
shell: bash
- name: Install conan
run: sudo pip3 install --break-system-packages conan==1.*
run: uv tool install conan==1.*
shell: bash
- uses: "./.github/actions/print_versions"
- name: Install uv
uses: astral-sh/setup-uv@v5
- uses: actions/setup-go@v5
with:
cache: false
Expand Down

0 comments on commit 4738f35

Please sign in to comment.