Skip to content

Commit

Permalink
🔧 do not explicitly set the uv version to latest
Browse files Browse the repository at this point in the history
Signed-off-by: burgholzer <[email protected]>
  • Loading branch information
burgholzer committed Jan 16, 2025
1 parent 803dbe6 commit 6758711
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 13 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/reusable-python-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ jobs:
# set up uv for faster Python package management
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
- name: Run mypy
run: uvx --with pre-commit-uv pre-commit run -a mypy
# run check-sdist to ensure the package sdist is correct
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/reusable-python-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ jobs:
# set up uv for faster Python package management
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
enable-cache: true
# workaround for https://github.com/pypa/setuptools-scm/issues/455
- if: ${{ inputs.no-local-version }}
name: Disable local version identifiers for setuptools_scm
Expand Down Expand Up @@ -83,8 +80,6 @@ jobs:
# set up uv for faster Python package management
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
# workaround for https://github.com/pypa/setuptools-scm/issues/455
- if: ${{ inputs.no-local-version }}
name: Disable local version identifiers for setuptools_scm
Expand Down Expand Up @@ -155,7 +150,6 @@ jobs:
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
enable-cache: ${{ matrix.runs-on != 'ubuntu-latest' }}
# workaround for https://github.com/pypa/setuptools-scm/issues/455
- if: ${{ inputs.no-local-version }}
Expand Down Expand Up @@ -215,7 +209,6 @@ jobs:
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
enable-cache: false
# workaround for https://github.com/pypa/setuptools-scm/issues/455
- if: ${{ inputs.no-local-version }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/reusable-python-tests-individual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ jobs:
# set up uv for faster Python package management
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
# run the nox session (assumes a corresponding nox session exists) with coverage
- name: Test on 🐍 ${{ inputs.python-version }}
run: uvx nox -s ${{ inputs.session }}-${{ inputs.python-version }} --verbose -- --cov --cov-report=xml:coverage-${{ inputs.session }}-${{ inputs.python-version }}-${{ inputs.runs-on }}.xml
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/reusable-python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ jobs:
# set up uv for faster Python package management
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
# set up nox for convenient testing
- uses: wntrblm/[email protected]
# run the nox minimums session (assumes a nox session named "minimums" exists) with coverage
Expand Down

0 comments on commit 6758711

Please sign in to comment.