Skip to content

Commit b7f337a

Browse files
authored
fix(deps): raise the rich floor the typer floor requires, and pin the floors before installing them wheel-only (#82)
* ci: pin the declared floors before installing them wheel-only * fix(deps): raise the rich floor to what the typer floor requires
1 parent 77fd971 commit b7f337a

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

‎.github/workflows/_checks.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ jobs:
7373
cache-dependency-glob: "**/pyproject.toml"
7474
- run: uv python install ${{ matrix.python-version }}
7575
- run: uv python pin ${{ matrix.python-version }}
76-
# --no-build so a floor with no wheel for this interpreter fails here instead of
77-
# quietly compiling its sdist; --no-install-project because that flag would refuse to
78-
# build this project too, and the tests import it from the checkout.
79-
- run: uv sync --all-extras --no-install-project --resolution lowest-direct --no-build
76+
- run: uv venv
77+
# Pinned with builds allowed, so a floor with no wheel fails the wheel-only install below.
78+
- run: uv pip compile pyproject.toml --all-extras --no-deps --resolution lowest-direct -o floors.txt
79+
- run: uv pip install -r pyproject.toml --all-extras --group dev --constraints floors.txt --no-build
8080
- run: uv run --no-sync pytest
8181

8282
links:

‎pyproject.toml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ classifiers = [
2020
version = "0"
2121
dependencies = [
2222
"typer>=0.13",
23-
"rich>=10.2",
23+
"rich>=10.11",
2424
"semver>=3",
2525
"pydantic-settings>=2",
2626
"modern-di-typer>=3,<4",
@@ -47,7 +47,6 @@ module-name = "semvertag"
4747
module-root = ""
4848

4949
[dependency-groups]
50-
# Floored so `uv sync --resolution lowest-direct` resolves a usable harness, not each name's first release.
5150
dev = [
5251
"pytest>=8",
5352
"pytest-cov>=5",

0 commit comments

Comments
 (0)