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 5b89156
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 323 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
8 changes: 1 addition & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,7 @@ jobs:
python-version: "3.13"
- os: ubuntu-latest
arch: amd64
python-version: "3.9"
# - os: ubuntu-latest
# arch: arm64
# - os: macos-latest
# arch: amd64
# - os: macos-latest
# arch: arm64
python-version: "3.10"
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
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ classifiers = [
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
Expand All @@ -26,7 +25,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 +71,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 5b89156

Please sign in to comment.