mirror of
https://github.com/aljazceru/mcp-python-sdk.git
synced 2025-12-18 22:44:20 +01:00
Pin uv version (#806)
This commit is contained in:
committed by
GitHub
parent
294fc6b4d3
commit
8a2359ffeb
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
|
uses: astral-sh/setup-uv@v3
|
||||||
with:
|
with:
|
||||||
enable-cache: true
|
enable-cache: true
|
||||||
|
version: 0.7.2
|
||||||
|
|
||||||
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
|
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
|
||||||
- uses: actions/cache@v4
|
- 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
|
uses: astral-sh/setup-uv@v3
|
||||||
with:
|
with:
|
||||||
enable-cache: true
|
enable-cache: true
|
||||||
|
version: 0.7.2
|
||||||
|
|
||||||
- name: Set up Python 3.12
|
- name: Set up Python 3.12
|
||||||
run: uv python install 3.12
|
run: uv python install 3.12
|
||||||
@@ -67,6 +68,7 @@ jobs:
|
|||||||
uses: astral-sh/setup-uv@v3
|
uses: astral-sh/setup-uv@v3
|
||||||
with:
|
with:
|
||||||
enable-cache: true
|
enable-cache: true
|
||||||
|
version: 0.7.2
|
||||||
|
|
||||||
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
|
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
|
||||||
- uses: actions/cache@v4
|
- 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
|
uses: astral-sh/setup-uv@v3
|
||||||
with:
|
with:
|
||||||
enable-cache: true
|
enable-cache: true
|
||||||
|
version: 0.7.2
|
||||||
|
|
||||||
- name: Install the project
|
- name: Install the project
|
||||||
run: uv sync --frozen --all-extras --dev --python 3.12
|
run: uv sync --frozen --all-extras --dev --python 3.12
|
||||||
@@ -29,6 +30,7 @@ jobs:
|
|||||||
uses: astral-sh/setup-uv@v3
|
uses: astral-sh/setup-uv@v3
|
||||||
with:
|
with:
|
||||||
enable-cache: true
|
enable-cache: true
|
||||||
|
version: 0.7.2
|
||||||
|
|
||||||
- name: Install the project
|
- name: Install the project
|
||||||
run: uv sync --frozen --all-extras --dev --python 3.12
|
run: uv sync --frozen --all-extras --dev --python 3.12
|
||||||
@@ -50,6 +52,7 @@ jobs:
|
|||||||
uses: astral-sh/setup-uv@v3
|
uses: astral-sh/setup-uv@v3
|
||||||
with:
|
with:
|
||||||
enable-cache: true
|
enable-cache: true
|
||||||
|
version: 0.7.2
|
||||||
|
|
||||||
- name: Install the project
|
- name: Install the project
|
||||||
run: uv sync --frozen --all-extras --dev --python ${{ matrix.python-version }}
|
run: uv sync --frozen --all-extras --dev --python ${{ matrix.python-version }}
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ mcp = "mcp.cli:app [cli]"
|
|||||||
[tool.uv]
|
[tool.uv]
|
||||||
resolution = "lowest-direct"
|
resolution = "lowest-direct"
|
||||||
default-groups = ["dev", "docs"]
|
default-groups = ["dev", "docs"]
|
||||||
|
required-version = ">=0.7.2"
|
||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
dev = [
|
dev = [
|
||||||
@@ -55,6 +56,7 @@ dev = [
|
|||||||
"pytest-xdist>=3.6.1",
|
"pytest-xdist>=3.6.1",
|
||||||
"pytest-examples>=0.0.14",
|
"pytest-examples>=0.0.14",
|
||||||
"pytest-pretty>=1.2.0",
|
"pytest-pretty>=1.2.0",
|
||||||
|
"inline-snapshot>=0.23.0",
|
||||||
]
|
]
|
||||||
docs = [
|
docs = [
|
||||||
"mkdocs>=1.6.1",
|
"mkdocs>=1.6.1",
|
||||||
@@ -63,7 +65,6 @@ docs = [
|
|||||||
"mkdocstrings-python>=1.12.2",
|
"mkdocstrings-python>=1.12.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["hatchling", "uv-dynamic-versioning"]
|
requires = ["hatchling", "uv-dynamic-versioning"]
|
||||||
build-backend = "hatchling.build"
|
build-backend = "hatchling.build"
|
||||||
|
|||||||
Reference in New Issue
Block a user