Skip to content

Commit 34e32b1

Browse files
committed
require numpy version >= 2.2
1 parent 0ee9dbf commit 34e32b1

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

python/publish.sh

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ if [ "$old_version" = "$new_version" ]; then
1818
fi
1919
fi
2020

21-
# publish
22-
git add -A && git commit -m "v$new_version" && git tag -a "v$new_version" -m "v$new_version"
23-
git push && git push origin --tags
21+
if [ "$1" = "--tag" ]; then
22+
# publish tag
23+
git tag -a "v$new_version" -m "v$new_version"
24+
git push origin --tags
25+
else
26+
# publish package
27+
git add -A && git commit -m "v$new_version"
28+
git push
29+
fi
30+

python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ build-backend = "setuptools.build_meta"
1212
name = "deglib"
1313
dynamic = ["version"]
1414
dependencies = [
15-
"numpy>=1.21",
15+
"numpy>=2.2",
1616
"psutil",
1717
]
1818
requires-python = ">= 3.11"

0 commit comments

Comments
 (0)