diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 449843ccd..f256132be 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,10 +41,10 @@ jobs: PYTHON_VERSION: '3.12' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ env.PYTHON_VERSION }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} @@ -78,10 +78,10 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build wheels - uses: pypa/cibuildwheel@v2.11.2 + uses: pypa/cibuildwheel@v2.16.2 - uses: actions/upload-artifact@v3 with: @@ -96,7 +96,7 @@ jobs: runs-on: macos-12 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build wheels uses: pypa/cibuildwheel@v2.16.2 @@ -116,7 +116,7 @@ jobs: runs-on: macos-12 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build wheels uses: pypa/cibuildwheel@v2.16.2 @@ -138,7 +138,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install build dependencies run: python -m pip install --upgrade cffi @@ -166,10 +166,10 @@ jobs: (github.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/tags')) steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 with: platforms: arm64 @@ -203,7 +203,7 @@ jobs: path: dist - name: Push build artifacts to PyPI - uses: pypa/gh-action-pypi-publish@v1.4.2 + uses: pypa/gh-action-pypi-publish@v1.8.11 with: skip_existing: true user: __token__ diff --git a/docs/history.md b/docs/history.md index 954d4d558..a94588522 100644 --- a/docs/history.md +++ b/docs/history.md @@ -8,6 +8,9 @@ Important changes are emphasized. ## Unreleased +- **Breaking:** Drop support for Python 3.7 +- Upgrade [libsecp256k1][] to version 0.4.1 + ## 18.0.0 - Support Schnorr signatures diff --git a/pyproject.toml b/pyproject.toml index 38aadbea8..bb604ad5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=61", "cffi>=1.3.0"] +requires = ["setuptools>=61", "cffi>=1.3.0", "requests"] build-backend = "setuptools.build_meta" [project] @@ -12,7 +12,7 @@ description = "Cross-platform Python CFFI bindings for libsecp256k1" license = { file="LICENSE-MIT" } keywords = ["secp256k1", "crypto", "elliptic curves", "bitcoin", "ethereum", "cryptocurrency"] readme = "README.md" -requires-python = ">=3.7" +requires-python = ">=3.8" dependencies = [ "asn1crypto", "cffi>=1.3.0" @@ -25,7 +25,6 @@ classifiers = [ 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', @@ -49,7 +48,7 @@ addopts = [ "--import-mode=importlib", ] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true exclude = ''' @@ -73,7 +72,7 @@ exclude = ''' ''' [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = ["A", "B", "C", "E", "F", "I", "M", "N", "Q", "RUF", "S", "T", "U", "W", "YTT"] ignore = [ diff --git a/tox.ini b/tox.ini index b164433ff..811696ec5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,6 @@ [tox] skip_missing_interpreters = true envlist = - 3.7 3.8 3.9 3.10