From 13cbc0a0db489c5734d2d7ec5dd8a2a128c0a8db Mon Sep 17 00:00:00 2001 From: Derek Gulbranson Date: Sun, 25 Oct 2026 01:26:34 -0700 Subject: [PATCH] Open the 2.7 cycle after 2.6.0 VERSION 2.7.0 with PRE_RELEASE 'dev', an Unreleased 2.7.0 entry in the release log, and compare.py's DEFAULT_BASELINE at the version just released (release checklist steps 8-9). CITATION.cff stays at 2.6.0. Co-Authored-By: Claude Opus 5.5 --- docs/release_log.rst | 4 ++++ nameparser/_version.py | 10 +++++----- tools/differential/compare.py | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/release_log.rst b/docs/release_log.rst index c7125517..2aad3e20 100644 --- a/docs/release_log.rst +++ b/docs/release_log.rst @@ -1,5 +1,9 @@ Release Log =========== +* 2.7.0 - Unreleased + + nameparser 2.7 is under development. + * 2.6.0 - October 25, 2026 nameparser 2.6 ships the default vocabulary as per-word data files, adds an opt-in reading for names with two family names, and fixes words read as a credential or a title that are part of the name. Highlights: diff --git a/nameparser/_version.py b/nameparser/_version.py index cea4abcd..331594dc 100644 --- a/nameparser/_version.py +++ b/nameparser/_version.py @@ -4,16 +4,16 @@ #: #: Bumped when a cycle OPENS, not when it ships, so the tree says what #: it is building. Note the cost of the tuple being purely numeric: it -#: cannot carry the dev marker, so `VERSION >= (2, 6, 0)` is already -#: true here while 2.6.0 is unreleased. Compare `__version__` instead +#: cannot carry the dev marker, so `VERSION >= (2, 7, 0)` is already +#: true here while 2.7.0 is unreleased. Compare `__version__` instead #: where that distinction matters. -VERSION = (2, 6, 0) +VERSION = (2, 7, 0) #: PEP 440 pre-release/dev segment appended to the numeric version, or #: "" for a final release. Joined WITHOUT a dot ("2.0.0rc1", not #: "2.0.0.rc1"); setuptools reads __version__ as the package version. #: #: "dev" through the cycle, cleared at release. It normalizes to -#: 2.6.0.dev0, which sorts above 2.5.0 and BELOW 2.6.0, so an install +#: 2.7.0.dev0, which sorts above 2.6.0 and BELOW 2.7.0, so an install #: from master can never masquerade as the release it precedes. -PRE_RELEASE = "" +PRE_RELEASE = "dev" __version__ = ".".join(map(str, VERSION)) + PRE_RELEASE diff --git a/tools/differential/compare.py b/tools/differential/compare.py index 691cc980..491dbadb 100644 --- a/tools/differential/compare.py +++ b/tools/differential/compare.py @@ -32,7 +32,7 @@ from typing import NamedTuple HERE = Path(__file__).resolve().parent -DEFAULT_BASELINE = "2.5.0" +DEFAULT_BASELINE = "2.6.0" REPO_ROOT = HERE.parents[1]