diff --git a/pyproject.toml b/pyproject.toml index 8fbc7cd..0448a11 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,14 +4,14 @@ build-backend = "setuptools.build_meta" [project] name = "py-multicodec" -version = "0.2.1" +version = "1.0.0" description = "Multicodec implementation in Python" readme = "README.rst" authors = [{ name = "Dhruv Baldawa", email = "dhruv@dhruvb.com" }] license = { text = "MIT" } keywords = ["multicodec", "multiformats", "CID", "IPFS", "IPLD"] classifiers = [ - "Development Status :: 4 - Beta", + "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", @@ -29,19 +29,16 @@ dependencies = [ [project.urls] Homepage = "https://github.com/multiformats/py-multicodec" -Download = "https://github.com/multiformats/py-multicodec/tarball/0.2.1" +Download = "https://github.com/multiformats/py-multicodec/tarball/1.0.0" [project.optional-dependencies] dev = [ "Sphinx>=5.0.0", "build>=0.9.0", "bump-my-version>=1.2.0", - "codecov", - "coverage>=6.5.0", "mypy", "pre-commit", "pytest", - "pytest-cov", "pytest-runner", "ruff", "towncrier>=24,<25", @@ -63,21 +60,6 @@ include = ["multicodec*"] testpaths = ["tests"] python_classes = "*TestCase" -[tool.coverage.run] -source = ["multicodec"] - -[tool.coverage.report] -exclude_lines = [ - "pragma: no cover", - "def __repr__", - "if self.debug:", - "if settings.DEBUG", - "raise AssertionError", - "raise NotImplementedError", - "if 0:", - "if __name__ == .__main__.:", -] - [tool.towncrier] # Read https://github.com/multiformats/py-multicodec/blob/master/newsfragments/README.md for instructions directory = "newsfragments" @@ -134,7 +116,7 @@ name = "Removals" showcontent = true [tool.bumpversion] -current_version = "0.2.1" +current_version = "1.0.0" parse = """ (?P\\d+) \\.(?P\\d+) @@ -162,14 +144,19 @@ replace = "version = \"{new_version}\"" [[tool.bumpversion.files]] filename = "multicodec/__init__.py" -search = "__version__ = '{current_version}'" -replace = "__version__ = '{new_version}'" +search = "__version__ = \"{current_version}\"" +replace = "__version__ = \"{new_version}\"" [[tool.bumpversion.files]] filename = "pyproject.toml" search = "Download = \"https://github.com/multiformats/py-multicodec/tarball/{current_version}\"" replace = "Download = \"https://github.com/multiformats/py-multicodec/tarball/{new_version}\"" +[[tool.bumpversion.files]] +filename = "version.json" +search = '"version": "v{current_version}"' +replace = '"version": "v{new_version}"' + [tool.mypy] python_version = "3.10" check_untyped_defs = false diff --git a/version.json b/version.json new file mode 100644 index 0000000..77dfc03 --- /dev/null +++ b/version.json @@ -0,0 +1,3 @@ +{ + "version": "v1.0.0" +}