Skip to content

Commit dc44d85

Browse files
derek73claude
andcommitted
Bump version to 1.2.0 and include py.typed in package
Add release log entry summarizing the Python 2 drop, type hints, and tooling modernization. Include py.typed via package-data so PEP 561 markers are shipped in the sdist and wheel. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 9164038 commit dc44d85

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

docs/release_log.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
Release Log
22
===========
3+
* 1.2.0 - June 11, 2026
4+
- Drop Python 2 and Python < 3.10 support; Python 3.10–3.14 now required
5+
- Add type hints and type declarations (PEP 561 ``py.typed`` marker)
6+
- Migrate build tooling to ``pyproject.toml``, drop ``setup.py``
7+
- Remove dead Python 2 compatibility shims (``ENCODING`` constant, ``next()`` aliases)
8+
- Modernize CI: uv-based workflow, trusted publishing to PyPI, Dependabot
39
* 1.1.3 - September 20, 2023
410
- Fix case when we have two same prefixes in the name ()#147)
511
* 1.1.2 - November 13, 2022

nameparser/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
VERSION = (1, 1, 3)
1+
VERSION = (1, 2, 0)
22
__version__ = '.'.join(map(str, VERSION))

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ build-backend = "setuptools.build_meta"
3434
[tool.setuptools.dynamic]
3535
version = {attr = "nameparser._version.__version__"}
3636

37+
[tool.setuptools.package-data]
38+
nameparser = ["py.typed"]
39+
3740
[dependency-groups]
3841
dev = [
3942
"dill (>=0.2.5)",

0 commit comments

Comments
 (0)