Skip to content
Closed
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
8 changes: 5 additions & 3 deletions .cursor/rules/test-running.mdc
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
---
description: run tests wit uv tooling
description: run tests with uv tooling
globs:
alwaysApply: true
---

use `uv run pytest` to run tests
use uv to manage dependencies

use `uv run python ...` to run inline tests
follow preexisting conventions in the project

- use the fixtures
in cases where a unittest/integration test adds value, prefer adding them first

- use the fixtures the project defines
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: [--ignore-words-list=hist,nd,te]
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

### 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 @@ -37,7 +37,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 @@ -50,7 +50,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 @@ -71,7 +71,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