Skip to content

Commit 6f8c370

Browse files
authored
ci: test floors the CI10 way and collapse the wheel-only floors (#57)
1 parent c9e5da2 commit 6f8c370

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

‎.github/workflows/_checks.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ jobs:
5151
- run: uv python install ${{ matrix.python-version }}
5252
- run: uv python pin ${{ matrix.python-version }}
5353
- run: uv venv
54-
- run: uv pip compile pyproject.toml --all-extras --no-deps --resolution lowest-direct -o floors.txt
54+
- if: matrix.python-version == '3.11'
55+
run: uv pip compile pyproject.toml --all-extras --no-deps --resolution lowest-direct -o floors.txt
56+
- if: matrix.python-version != '3.11'
57+
run: uv pip compile pyproject.toml --all-extras --resolution lowest-direct --no-build -o floors.txt
5558
- run: uv pip install -r pyproject.toml --all-extras --group dev --constraints floors.txt --no-build
5659
# `--version` reads the package metadata, which only an installed package has.
5760
- run: uv pip install --no-deps -e .

‎pyproject.toml‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,7 @@ classifiers = [
2121
version = "0"
2222
dependencies = [
2323
"typer>=0.26",
24-
# The first release whose pydantic-core ships a wheel for each interpreter.
25-
"pydantic>=2; python_version < '3.12'",
26-
"pydantic>=2.0.2; python_version == '3.12'",
27-
"pydantic>=2.8.2; python_version == '3.13'",
28-
"pydantic>=2.12; python_version == '3.14'",
29-
"pydantic>=2.14; python_version >= '3.15'",
24+
"pydantic>=2",
3025
"pydantic-settings>=2",
3126
"modern-di-typer>=4,<5",
3227
"httpx2>=2",

0 commit comments

Comments
 (0)