usethis-python
usethis-python
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Don't treat shared `tomli` dep as identifying a tool as used `tomli` is a supporting dependency that several tools need to parse TOML on Python < 3.11; it is not characteristic of any one of them. But `ToolSpec.is_declared_as_dep` treated every declared dependency as evidence that the tool was in use, so once both `codespell` and `pyproject-fmt` declared `tomli`, declaring it for one tool falsely marked the other as used (and vice versa). This surfaced as spurious "Run 'uv run <tool>'" migration messages when removing pre-commit. Add an `is_identifying` flag to `Dependency` (defaulting to True, excluded from equality/hash since it is metadata, not identity), mark the `tomli` deps of `codespell` and `pyproject-fmt` as non-identifying, and have `is_declared_as_dep` ignore non-identifying deps. This was already latently wrong for `codespell` alone; it only became observable once `pyproject-fmt` shared the dependency.
fix/pyproject-fmt-tomli-dep
9 days ago
Use simplified upsert from yamltrip 0.6.0
refactor/replace-ruamel-yaml-with-yamltrip
9 days ago
Explicitly declare `tomli` as a dependency for `pyproject-fmt` PyprojectFmtToolSpec.deps_by_group() now conditionally includes tomli for Python < 3.11 projects, mirroring the existing CodespellToolSpec pattern. When requires-python from pyproject.toml indicates Python < 3.11 is supported (or the interpreter itself is < 3.11), tomli is added alongside pyproject-fmt in the dev dependency group. This compensates for pyproject-fmt v2.22.0 dropping its external toml-fmt-common dependency declaration while still using import tomli internally on Python < 3.11.
fix/pyproject-fmt-tomli-dep
9 days ago
Bump `dulwich` for development (#1947) Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
main
13 days ago
Add dulwich to dev bump options
nathanjmcdougall-patch-1
13 days ago
Merge branch 'refactor/replace-ruamel-yaml-with-yamltrip' of https://github.com/usethis-python/usethis-python into refactor/replace-ruamel-yaml-with-yamltrip
refactor/replace-ruamel-yaml-with-yamltrip
21 days ago
Remove unnecessary pyright ignore
refactor/replace-ruamel-yaml-with-yamltrip
21 days ago
Fix None handling in fancy_model_dump
refactor/replace-ruamel-yaml-with-yamltrip
21 days ago
Latest Branches
CodSpeed Performance Gauge
-1%
Fix tool-usage detection for shared deps & declare `tomli` for `pyproject-fmt`
#1948
9 days ago
c315ec4
fix/pyproject-fmt-tomli-dep
CodSpeed Performance Gauge
+6%
Replace ruamel.yaml with yamltrip for YAML round-tripping
#1937
9 days ago
5424968
refactor/replace-ruamel-yaml-with-yamltrip
CodSpeed Performance Gauge
0%
Add dulwich to dev bump options
#1946
13 days ago
1ddedeb
nathanjmcdougall-patch-1
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs