diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8ac6b8c..277f5bf 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,3 +4,14 @@ updates: directory: "/" schedule: interval: "monthly" + # nameparser has no runtime dependencies; this watches the one optional-extra + # dependency, namedivider-python (the [ja] segmenter). pyproject floats >=0.4 so + # fresh installs always get the newest release, but CI's ja-extra job installs + # from uv.lock — without these bumps, CI keeps proving an old version while + # users install a newer one. + - package-ecosystem: "uv" + directory: "/" + schedule: + interval: "monthly" + allow: + - dependency-name: "namedivider-python" diff --git a/AGENTS.md b/AGENTS.md index 29633d5..790d70d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -49,6 +49,9 @@ uv run sphinx-build -b html docs dist/docs # 0. Review docs/ for anything stale — especially usage.rst (examples, API surface) # and any .rst files that reference config constants or HumanName kwargs # Also review AGENTS.md for stale commands, architecture notes, or gotchas +# And check for open Dependabot PRs on uv.lock (namedivider-python) and merge them +# first — pyproject floats >=0.4 so fresh installs get the newest namedivider, but +# CI's ja-extra job installs from uv.lock and only tests what the lock pins # 1. Bump VERSION in nameparser/_version.py (and the `version:` field in CITATION.cff to match) # For a pre-release, set PRE_RELEASE = 'rc1' (etc.) — __version__ joins it without a dot ('2.0.0rc1'); '' means final # 2. Stamp "Unreleased" → "X.Y.Z - Month DD, YYYY" in docs/release_log.rst