go-multibase has a version.json file that tracks the library version. py-multibase should have one for consistency across the multiformats ecosystem.
Problem
go-multibase includes:
This file is used by ecosystem tooling to track version compatibility across implementations. py-multibase does not have this file — version info exists only in pyproject.toml and __init__.py.
Proposed Solution
-
Create version.json at the repository root:
-
Add it to the bump-my-version configuration in pyproject.toml:
[[tool.bumpversion.files]]
filename = "version.json"
search = '"version": "v{current_version}"'
replace = '"version": "v{new_version}"'
Related
go-multibase has a
version.jsonfile that tracks the library version. py-multibase should have one for consistency across the multiformats ecosystem.Problem
go-multibase includes:
{ "version": "v0.6.0" }This file is used by ecosystem tooling to track version compatibility across implementations. py-multibase does not have this file — version info exists only in
pyproject.tomland__init__.py.Proposed Solution
Create
version.jsonat the repository root:{ "version": "v2.0.0" }Add it to the
bump-my-versionconfiguration inpyproject.toml:Related
version.json