Skip to content

Commit

Permalink
Merge pull request #14 from vincentsarago/patch/relax-numpy-version
Browse files Browse the repository at this point in the history
relax numpy version in build-system
  • Loading branch information
vincentsarago authored Oct 7, 2024
2 parents 664f60b + db51257 commit d24ddc0
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 10 deletions.
9 changes: 0 additions & 9 deletions .bumpversion.cfg

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
17 changes: 16 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
]

Expand Down Expand Up @@ -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}"'
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
],
"dev": [
"pre-commit",
"bump-my-version",
],
},
)

0 comments on commit d24ddc0

Please sign in to comment.