Skip to content

Commit

Permalink
add py313 and change bumpversion to bump-my-version
Browse files Browse the repository at this point in the history
  • Loading branch information
pacrob committed Dec 23, 2024
1 parent 9125ad8 commit f2d4bad
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']
python-version: [3.8, 3.9, '3.10', '3.11', '3.12', '3.13']
steps:
- name: checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']
python-version: [3.8, 3.9, '3.10', '3.11', '3.12', '3.13']
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: checkout
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.3.0"
authors = ["David Sanders <[email protected]>"]
edition = "2018"
license = "MIT"
repository = "https://github.com/davesque/blake2b-py"
repository = "https://github.com/ethereum/blake2b-py"
description = "Blake2b hashing in Rust with Python bindings."

[dependencies]
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ clean:
rm -rf *.egg-info build dist target pip-wheel-metadata

CURRENT_SIGN_SETTING := $(shell git config commit.gpgSign)
.PHONY: bumpversion
bumpversion:
.PHONY: bump-my-version
bump-my-version:
git config commit.gpgSign true
bumpversion $(bump)
bump-my-version $(bump)
git config commit.gpgSign "$(CURRENT_SIGN_SETTING)"
git push upstream && git push upstream --tags

Expand Down
11 changes: 11 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
[build-system]
requires = ["maturin>=1.0,<2"]
build-backend = "maturin"


[tool.bumpversion]
current_version = "0.3.0"
commit = true
tag = true

[[tool.bumpversion.files]]
filename = "Cargo.toml"
search = "name = \"blake2b-py\"\nversion = \"{current_version}\""
replace = "name = \"blake2b-py\"\nversion = \"{new_version}\""
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ pytest
pytest-benchmark
hypothesis
maturin
bumpversion
bump-my-version
twine

0 comments on commit f2d4bad

Please sign in to comment.