diff --git a/.bumpversion.cfg b/.bumpversion.cfg deleted file mode 100644 index 4898aa3..0000000 --- a/.bumpversion.cfg +++ /dev/null @@ -1,9 +0,0 @@ -[bumpversion] -current_version = 0.1.5 -commit = True -tag = True -tag_name = {new_version} - -[bumpversion:file:color_operations/__init__.py] -search = __version__ = "{current_version}" -replace = __version__ = "{new_version}" diff --git a/CHANGES.md b/CHANGES.md index 10fac32..735acbb 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,8 @@ +## 0.1.6 (2024-10-07) + +* update numpy version in build-system + ## 0.1.5 (2024-06-26) * add **numpy 2.0** build diff --git a/pyproject.toml b/pyproject.toml index 1d0b20d..cacdeb7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = [ "setuptools", "wheel", "cython>=0.29.32", - "numpy==2.0.0; python_version >= '3.9'", + "numpy>=2.0; python_version >= '3.9'", "oldest-supported-numpy; python_version < '3.9'" ] @@ -51,3 +51,18 @@ ignore = [ [tool.ruff.lint.mccabe] max-complexity = 14 + + +[tool.bumpversion] +current_version = "0.1.5" +search = "{current_version}" +replace = "{new_version}" +regex = false +tag = true +commit = true +tag_name = "{new_version}" + +[[tool.bumpversion.files]] +filename = "color_operations/__init__.py" +search = '__version__ = "{current_version}"' +replace = '__version__ = "{new_version}"' diff --git a/setup.py b/setup.py index 42265ea..73c3adc 100644 --- a/setup.py +++ b/setup.py @@ -104,6 +104,7 @@ ], "dev": [ "pre-commit", + "bump-my-version", ], }, )