Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cursor/rules/test-running.mdc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: run tests wit uv tooling
description: run tests with uv tooling
globs:
alwaysApply: true
---
Expand Down
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,9 @@ repos:
rev: 2025.05.02
hooks:
- id: sp-repo-review

- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
args: [-w, --ignore-words-list=hist,nd,te]
13 changes: 7 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
### Fixed

- fix #1180: ensure version dumping works when no scm_version is given (problems in downstreams)
- fix #1181: config - reintroduce controll over when we expect a section to be present
as it turns out theres valid use cases where setuptools_scm is not direct part of the dependencies
- fix #1181: config - reintroduce control over when we expect a section to be present
as it turns out there's valid use cases where setuptools_scm is not direct part of the dependencies
- add codespell pre-commit hook

## v9.0.0

### Breaking

- fix #1019: pass python version build tags from scm version to results propperly
- fix #1019: pass python version build tags from scm version to results properly

### Added

Expand All @@ -38,7 +39,7 @@
- fix #1150: enable setuptools-scm when we are a build requirement
- feature #1154: add the commit id the the default version file template
- drop scriv
- fix #921: document setuptools version requirements more consistently - 61 as minumum asn 8 as recommended minimum
- fix #921: document setuptools version requirements more consistently - 61 as minimum asn 8 as recommended minimum

### Fixed

Expand All @@ -51,7 +52,7 @@
- fix #879: add test that validates case different behavior on windows
- migrate git describe command to new scm config
- add support for failing on missing submodules
- fix #279: expand errors when scm can be found upwards and relative_to wasnt used
- fix #279: expand errors when scm can be found upwards and relative_to wasn't used
- fix #577: introduce explicit scmversion node and short node
- fix #1100: add workaround for readthedocs worktress to the docs
- fix #790: document shallow fail for rtd
Expand All @@ -72,7 +73,7 @@

### Fixed

- fixed #1131: allow self-build without importlib_metadata avaliable on python3.9
- fixed #1131: allow self-build without importlib_metadata available on python3.9

## v8.3.0

Expand Down
4 changes: 2 additions & 2 deletions testing/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,13 +514,13 @@ def local(self) -> str | None:
def test_no_matching_entrypoints(config_key: str) -> None:
version = meta(
"1.0",
config=replace(c, **{config_key: "nonexistant"}), # type: ignore[arg-type]
config=replace(c, **{config_key: "nonexistent"}), # type: ignore[arg-type]
)
with pytest.raises(
ValueError,
match=(
r'Couldn\'t find any implementations for entrypoint "setuptools_scm\..*?"'
' with value "nonexistant"'
' with value "nonexistent"'
),
):
format_version(version)
Expand Down
Loading