Skip to content

Commit

Permalink
Drop Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek committed Jan 11, 2024
1 parent ff39dd7 commit 3e3e43b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 16 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down Expand Up @@ -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:
Expand All @@ -96,7 +96,7 @@ jobs:
runs-on: macos-12

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build wheels
uses: pypa/[email protected]
Expand All @@ -116,7 +116,7 @@ jobs:
runs-on: macos-12

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build wheels
uses: pypa/[email protected]
Expand All @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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__
Expand Down
3 changes: 3 additions & 0 deletions docs/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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]
Expand All @@ -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"
Expand All @@ -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',
Expand All @@ -49,7 +48,7 @@ addopts = [
"--import-mode=importlib",
]
[tool.black]
target-version = ["py37"]
target-version = ["py38"]
line-length = 120
skip-string-normalization = true
exclude = '''
Expand All @@ -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 = [
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[tox]
skip_missing_interpreters = true
envlist =
3.7
3.8
3.9
3.10
Expand Down

0 comments on commit 3e3e43b

Please sign in to comment.