Skip to content

fix(deps): give pathspec a lower bound - #49

Merged
lesnik512 merged 1 commit into
mainfrom
fix/dependency-floors
Sep 20, 2026
Merged

lesnik512 merged 1 commit into
mainfrom
fix/dependency-floors

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Closes #48.

pathspec was declared as a bare name, so the declared range admitted every release ever published. Resolved at the bottom it installs cleanly and then the suite fails at collection:

ImportError: cannot import name 'GitIgnoreSpec' from 'pathspec'

The floor

0.12.0, bisected against the suite rather than guessed — it is the first release carrying GitIgnoreSpec, which the walker imports.

Verification

uv pip install --resolution lowest-direct . then the full suite:

interpreter result
3.10 44 passed
3.14 44 passed

just lint-ci clean. Normal resolution: 44 passed.

Nothing changes at the top of the range, so this is inert for anyone not installing at the lower bound.

Declared as a bare name, so the range admitted every pathspec ever
published. Bisected against the suite: 0.12.0 is the first release with
GitIgnoreSpec, which the walker imports.

Closes #48
@lesnik512
lesnik512 merged commit 7991243 into main Sep 20, 2026
8 checks passed
@lesnik512
lesnik512 deleted the fix/dependency-floors branch September 20, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pathspec is declared with no lower bound, so the declared minimum fails at import

1 participant