-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8991 from khoaguin/fix-uv-windows-issue
Fix uv issue on windows
- Loading branch information
Showing
13 changed files
with
88 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,20 +43,21 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Upgrade pip | ||
- name: Install pip dependencies | ||
if: steps.changes.outputs.frontend == 'true' | ||
run: | | ||
pip install --upgrade pip==24.0 uv==0.2.13 | ||
python -m pip install --upgrade pip | ||
pip install uv==0.2.17 tox tox-uv==1.9.0 | ||
uv --version | ||
- name: Get pip cache dir | ||
- name: Get uv cache dir | ||
id: pip-cache | ||
if: steps.changes.outputs.frontend == 'true' | ||
shell: bash | ||
run: | | ||
echo "dir=$(uv cache dir)" >> $GITHUB_OUTPUT | ||
- name: pip cache | ||
- name: Load github cache | ||
uses: actions/cache@v4 | ||
if: steps.changes.outputs.frontend == 'true' | ||
with: | ||
|
@@ -69,11 +70,6 @@ jobs: | |
if: steps.changes.outputs.frontend == 'true' && matrix.os == 'macos-latest' | ||
uses: crazy-max/[email protected] | ||
|
||
- name: Install Tox | ||
if: steps.changes.outputs.frontend == 'true' | ||
run: | | ||
pip install --upgrade tox tox-uv==1.9.0 | ||
- name: Remove existing containers | ||
if: steps.changes.outputs.frontend == 'true' | ||
continue-on-error: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,28 +29,25 @@ jobs: | |
|
||
- name: Install pip packages | ||
run: | | ||
pip install --upgrade pip==24.0 uv==0.2.13 | ||
python -m pip install --upgrade pip | ||
pip install uv==0.2.17 tox tox-uv==1.9.0 | ||
uv --version | ||
- name: Get pip cache dir | ||
- name: Get uv cache dir | ||
id: pip-cache | ||
shell: bash | ||
run: | | ||
echo "dir=$(uv cache dir)" >> $GITHUB_OUTPUT | ||
# TODO: change cache key from setup.cfg to something more general | ||
- name: pip cache | ||
- name: Load github cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: ${{ steps.pip-cache.outputs.dir }} | ||
key: ${{ runner.os }}-uv-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }} | ||
restore-keys: | | ||
${{ runner.os }}-uv-py${{ matrix.python-version }}- | ||
- name: Install Tox | ||
run: | | ||
pip install --upgrade tox tox-uv==1.9.0 | ||
- uses: pre-commit/[email protected] | ||
|
||
- name: Check Protocol Version | ||
|
Oops, something went wrong.