Skip to content

Commit a2b9044

Browse files
derek73claude
andcommitted
Watch namedivider-python with Dependabot; note the lock-vs-float gap at release
pyproject's [ja] extra floats >=0.4 so fresh installs always resolve the newest namedivider release, while CI's ja-extra job installs from uv.lock -- frozen at whatever was locked last. Nothing moved the lock, so CI would keep proving an old version against adapter code whose guards (DividedName field access, the measured 0.9 confidence floor, the sub-2-char raise) are calibrated to it. A monthly Dependabot uv-lock bump, scoped to just this dependency, runs the ja-extra job against each new release when it appears instead of when a user hits it. The release checklist gains the matching step: merge open Dependabot lock PRs before releasing, so a release never ships proven against an older namedivider than the one its users will install that day. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 48390f1 commit a2b9044

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,14 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "monthly"
7+
# nameparser has no runtime dependencies; this watches the one optional-extra
8+
# dependency, namedivider-python (the [ja] segmenter). pyproject floats >=0.4 so
9+
# fresh installs always get the newest release, but CI's ja-extra job installs
10+
# from uv.lock — without these bumps, CI keeps proving an old version while
11+
# users install a newer one.
12+
- package-ecosystem: "uv"
13+
directory: "/"
14+
schedule:
15+
interval: "monthly"
16+
allow:
17+
- dependency-name: "namedivider-python"

AGENTS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ uv run sphinx-build -b html docs dist/docs
4949
# 0. Review docs/ for anything stale — especially usage.rst (examples, API surface)
5050
# and any .rst files that reference config constants or HumanName kwargs
5151
# Also review AGENTS.md for stale commands, architecture notes, or gotchas
52+
# And check for open Dependabot PRs on uv.lock (namedivider-python) and merge them
53+
# first — pyproject floats >=0.4 so fresh installs get the newest namedivider, but
54+
# CI's ja-extra job installs from uv.lock and only tests what the lock pins
5255
# 1. Bump VERSION in nameparser/_version.py (and the `version:` field in CITATION.cff to match)
5356
# For a pre-release, set PRE_RELEASE = 'rc1' (etc.) — __version__ joins it without a dot ('2.0.0rc1'); '' means final
5457
# 2. Stamp "Unreleased" → "X.Y.Z - Month DD, YYYY" in docs/release_log.rst

0 commit comments

Comments
 (0)