diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc0a26c2..d5c1a43d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: cache-suffix: covcheck - if: ${{ matrix.label == 'oldestdeps' }} - run: echo "UV_RESOLUTION=lowest-direct" >> "$GITHUB_ENV" + run: echo "UV_RESOLUTION=lowest" >> "$GITHUB_ENV" - name: Run tests (without coverage) if: ${{ ! startswith( matrix.os, 'ubuntu' ) }} diff --git a/pyproject.toml b/pyproject.toml index 50408904..d4bb107f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,14 @@ typecheck = [ "pyright>=1.1.390", ] +[tool.uv] +constraint-dependencies = [ + # avoid transitive dependencies on six and pyparsing via pytest -> packaging -> { six , pyparsing } + "packaging>=22.0", # TODO: remove this line when bumping pytest >= 8.5.0 + # avoid building 1.0.0 (no wheels), via pytest + "iniconfig>=1.0.1", # TODO: remove this line when bumping pytest >= 8.5.0 +] + [tool.uv.workspace] members = ["lib/inifix"] diff --git a/uv.lock b/uv.lock index e710e8f3..a6bc4553 100644 --- a/uv.lock +++ b/uv.lock @@ -11,6 +11,10 @@ members = [ "inifix", "inifix-cli", ] +constraints = [ + { name = "iniconfig", specifier = ">=1.0.1" }, + { name = "packaging", specifier = ">=22.0" }, +] [[package]] name = "attrs"