Skip to content

Commit

Permalink
Bump min Python version
Browse files Browse the repository at this point in the history
  • Loading branch information
droserasprout committed Dec 2, 2024
1 parent 192dc34 commit 89b0dc3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 321 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@ jobs:
uses: astral-sh/setup-uv@v4
with:
version: "latest"
python-version: "3.12"
python-version: "3.13"

- name: Run install
run: uv run make install

- name: Run lint
run: uv run make lint
if: contains(matrix.os, 'ubuntu') && contains(matrix.arch, 'amd64')

- name: Run tests
run: uv run make test
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ jobs:
- os: ubuntu-latest
arch: amd64
python-version: "3.9"
# - os: ubuntu-latest
# arch: arm64
# - os: macos-latest
# arch: amd64
# - os: macos-latest
# arch: arm64
steps:
- name: Check out the repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Initial release; forked from `py-substrate-interface`.

- All network-related functions and methods return coroutines now.
- Optional cryptography dependencies moved to the optional `full` extra.
- Added Python 3.13 to the test matrix.
- Added Python 3.13 to the test matrix, removed Python 3.9 support.

<!-- Links -->
[keep a changelog]: https://keepachangelog.com/en/1.0.0/
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ classifiers = [
]
keywords = ["interface", "polkascan", "polkadot", "substrate", "blockchain", "rpc", "kusama"]
readme = "README.md"
requires-python = ">=3.9,<4"
requires-python = ">=3.10,<4"

dependencies = [
"aiohttp>=3.11.6",
Expand Down Expand Up @@ -72,7 +72,7 @@ docs = [

[tool.ruff]
line-length = 120
target-version = "py312"
target-version = "py310"

# [tool.ruff.lint]
# extend-select = ["B", "C4", "FA", "G", "I", "PTH", "Q", "RET", "RUF", "TCH", "UP"]
Expand Down
Loading

0 comments on commit 89b0dc3

Please sign in to comment.