Skip to content

Commit 9aad945

Browse files
authored
Merge pull request #777 from HathorNetwork/chore/drop-python-3.9
chore(python): drop support for Python 3.9
2 parents 3794dd5 + 4b34cb4 commit 9aad945

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

.github/workflows/docker.yml

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
- python
2525
- pypy
2626
python-version:
27-
- '3.9'
2827
- '3.10'
2928
- '3.11'
3029
exclude:

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
import os
2121
import json
2222
full_matrix = {
23-
'python': ['3.9', '3.10', '3.11'],
23+
'python': ['3.10', '3.11'],
2424
# available OS's: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on
2525
'os': ['ubuntu-22.04', 'macos-12', 'windows-2022'],
2626
'include': [

hathor/cli/run_node.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def check_unsafe_arguments(self) -> None:
313313

314314
def check_python_version(self) -> None:
315315
# comments to help grep's
316-
MIN_VER = (3, 9) # Python-3.9
316+
MIN_VER = (3, 10) # Python-3.10
317317
MIN_STABLE = (3, 10) # Python-3.10
318318
RECOMMENDED_VER = (3, 10) # Python-3.10
319319
cur = sys.version_info

poetry.lock

+13-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ homepage = "https://hathor.network/"
2323
repository = "https://github.com/HathorNetwork/hathor-core/"
2424
# https://pypi.org/classifiers/
2525
classifiers = [
26-
"Programming Language :: Python :: 3.9",
2726
"Programming Language :: Python :: 3.10",
2827
"Programming Language :: Python :: 3.11",
2928
"Operating System :: OS Independent",
@@ -51,7 +50,7 @@ types-pyopenssl = "=22.1.0.2"
5150
types-pyyaml = "=6.0.12.9"
5251

5352
[tool.poetry.dependencies]
54-
python = ">=3.9,<4"
53+
python = ">=3.10,<4"
5554
twisted = "~22.10.0"
5655
autobahn = "~23.6.2"
5756
base58 = "~2.1.1"

0 commit comments

Comments
 (0)