Pin uv version (#806)
This commit is contained in:
parent
294fc6b4d3
commit
8a2359ffeb
5 changed files with 715 additions and 669 deletions
1
.github/workflows/publish-docs-manually.yml
vendored
1
.github/workflows/publish-docs-manually.yml
vendored
|
|
@ -19,6 +19,7 @@ jobs:
|
|||
uses: astral-sh/setup-uv@v3
|
||||
with:
|
||||
enable-cache: true
|
||||
version: 0.7.2
|
||||
|
||||
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
|
||||
- uses: actions/cache@v4
|
||||
|
|
|
|||
2
.github/workflows/publish-pypi.yml
vendored
2
.github/workflows/publish-pypi.yml
vendored
|
|
@ -16,6 +16,7 @@ jobs:
|
|||
uses: astral-sh/setup-uv@v3
|
||||
with:
|
||||
enable-cache: true
|
||||
version: 0.7.2
|
||||
|
||||
- name: Set up Python 3.12
|
||||
run: uv python install 3.12
|
||||
|
|
@ -67,6 +68,7 @@ jobs:
|
|||
uses: astral-sh/setup-uv@v3
|
||||
with:
|
||||
enable-cache: true
|
||||
version: 0.7.2
|
||||
|
||||
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
|
||||
- uses: actions/cache@v4
|
||||
|
|
|
|||
3
.github/workflows/shared.yml
vendored
3
.github/workflows/shared.yml
vendored
|
|
@ -13,6 +13,7 @@ jobs:
|
|||
uses: astral-sh/setup-uv@v3
|
||||
with:
|
||||
enable-cache: true
|
||||
version: 0.7.2
|
||||
|
||||
- name: Install the project
|
||||
run: uv sync --frozen --all-extras --dev --python 3.12
|
||||
|
|
@ -29,6 +30,7 @@ jobs:
|
|||
uses: astral-sh/setup-uv@v3
|
||||
with:
|
||||
enable-cache: true
|
||||
version: 0.7.2
|
||||
|
||||
- name: Install the project
|
||||
run: uv sync --frozen --all-extras --dev --python 3.12
|
||||
|
|
@ -50,6 +52,7 @@ jobs:
|
|||
uses: astral-sh/setup-uv@v3
|
||||
with:
|
||||
enable-cache: true
|
||||
version: 0.7.2
|
||||
|
||||
- name: Install the project
|
||||
run: uv sync --frozen --all-extras --dev --python ${{ matrix.python-version }}
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ mcp = "mcp.cli:app [cli]"
|
|||
[tool.uv]
|
||||
resolution = "lowest-direct"
|
||||
default-groups = ["dev", "docs"]
|
||||
required-version = ">=0.7.2"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
|
|
@ -55,6 +56,7 @@ dev = [
|
|||
"pytest-xdist>=3.6.1",
|
||||
"pytest-examples>=0.0.14",
|
||||
"pytest-pretty>=1.2.0",
|
||||
"inline-snapshot>=0.23.0",
|
||||
]
|
||||
docs = [
|
||||
"mkdocs>=1.6.1",
|
||||
|
|
@ -63,7 +65,6 @@ docs = [
|
|||
"mkdocstrings-python>=1.12.2",
|
||||
]
|
||||
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling", "uv-dynamic-versioning"]
|
||||
build-backend = "hatchling.build"
|
||||
|
|
|
|||
Loading…
Reference in a new issue