diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fed759a..0033766 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 592e443..666f636 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ version = "0.3.0" authors = ["David Sanders "] 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] diff --git a/Makefile b/Makefile index efd9c72..597c0b1 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 11e8107..596ba2b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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}\"" \ No newline at end of file diff --git a/requirements-dev.txt b/requirements-dev.txt index cfe8c68..1a20ae5 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,5 +2,5 @@ pytest pytest-benchmark hypothesis maturin -bumpversion +bump-my-version twine