Skip to content

Commit d55e14f

Browse files
Copilot0xrinegade
andcommitted
Fix Python dependency conflicts - Remove Python 3.8 support for anchorpy compatibility
Co-authored-by: 0xrinegade <[email protected]>
1 parent e52119f commit d55e14f

File tree

7 files changed

+16
-17
lines changed

7 files changed

+16
-17
lines changed

.github/workflows/python-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
16+
python-version: ['3.9', '3.10', '3.11', '3.12']
1717

1818
defaults:
1919
run:

docs/PYTHON_SDK_IMPLEMENTATION_GUIDELINES.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -360,13 +360,13 @@ authors = [
360360
]
361361
readme = "README.md"
362362
license = {text = "MIT"}
363-
requires-python = ">=3.8"
363+
requires-python = ">=3.9"
364364
classifiers = [
365365
"Development Status :: 3 - Alpha",
366366
"Intended Audience :: Developers",
367367
"License :: OSI Approved :: MIT License",
368368
"Programming Language :: Python :: 3",
369-
"Programming Language :: Python :: 3.8",
369+
"Programming Language :: Python :: 3.9",
370370
"Programming Language :: Python :: 3.9",
371371
"Programming Language :: Python :: 3.10",
372372
"Programming Language :: Python :: 3.11",
@@ -408,7 +408,7 @@ profile = "black"
408408
line_length = 88
409409

410410
[tool.mypy]
411-
python_version = "3.8"
411+
python_version = "3.9"
412412
strict = true
413413
warn_return_any = true
414414
warn_unused_configs = true
@@ -432,7 +432,7 @@ exclude_lines = [
432432
`sdk/py/v0.1.0` (as per [`docs/SDK_ROADMAP_DETAILED.md`](./SDK_ROADMAP_DETAILED.md#L262-271))
433433

434434
**GitHub Actions Requirements:**
435-
- Automated testing on Python 3.8-3.12
435+
- Automated testing on Python 3.9-3.12
436436
- Code quality checks (black, isort, mypy, flake8)
437437
- Coverage reporting
438438
- PyPI publishing on tagged releases
@@ -445,7 +445,7 @@ exclude_lines = [
445445
### Type System Standards
446446

447447
**Core Principles:**
448-
- Use `typing` module annotations for Python 3.8+ compatibility
448+
- Use `typing` module annotations for Python 3.9+ compatibility
449449
- Prefer `dataclasses` over plain classes for data structures
450450
- Use `Optional` for nullable fields
451451
- Use `Union` sparingly, prefer specific types
@@ -594,7 +594,7 @@ jobs:
594594
runs-on: ubuntu-latest
595595
strategy:
596596
matrix:
597-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
597+
python-version: ['3.9', '3.10', '3.11', '3.12']
598598

599599
steps:
600600
- uses: actions/checkout@v4
@@ -685,7 +685,7 @@ line_length = 88
685685
multi_line_output = 3
686686

687687
[tool.mypy]
688-
python_version = "3.8"
688+
python_version = "3.9"
689689
strict = true
690690
warn_return_any = true
691691
warn_unused_configs = true

docs/PYTHON_SDK_QUICK_START.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This guide provides a condensed, developer-friendly overview of implementing the
66

77
## Prerequisites
88

9-
- Python 3.8+
9+
- Python 3.9+
1010
- Solana CLI tools
1111
- Access to Solana devnet
1212
- Basic understanding of Solana programs and transactions

docs/SDK_RESOURCE_PLANNING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ Time estimates assume an experienced developer familiar with the target language
200200
- go:embed
201201

202202
**Python SDK**
203-
- Python 3.8+
203+
- Python 3.9+
204204
- Type hints
205205
- pytest
206206

python/IMPLEMENTATION_SUMMARY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@ git push origin sdk/py/v0.1.0
189189
- Comprehensive type system with dataclasses
190190
- Runtime validation and error handling
191191
- Type-safe APIs throughout
192-
- Python 3.8+ compatibility
192+
- Python 3.9+ compatibility
193193

194194
### ✅ pytest and CI/CD Setup
195-
- Multi-Python version testing (3.8-3.12)
195+
- Multi-Python version testing (3.9-3.12)
196196
- Unit and integration test frameworks
197197
- Coverage reporting (>90% requirement)
198198
- Automated quality checks

python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Solana AI Registries Python SDK
22

33
[![PyPI version](https://badge.fury.io/py/solana-ai-registries.svg)](https://badge.fury.io/py/solana-ai-registries)
4-
[![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
4+
[![Python 3.9+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)
55
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
66
[![Coverage](https://codecov.io/gh/openSVM/aeamcp/branch/main/graph/badge.svg)](https://codecov.io/gh/openSVM/aeamcp)
77

python/pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@ authors = [
1111
]
1212
readme = "README.md"
1313
license = {text = "MIT"}
14-
requires-python = ">=3.8"
14+
requires-python = ">=3.9"
1515
classifiers = [
1616
"Development Status :: 3 - Alpha",
1717
"Intended Audience :: Developers",
1818
"License :: OSI Approved :: MIT License",
1919
"Programming Language :: Python :: 3",
20-
"Programming Language :: Python :: 3.8",
2120
"Programming Language :: Python :: 3.9",
2221
"Programming Language :: Python :: 3.10",
2322
"Programming Language :: Python :: 3.11",
@@ -90,7 +89,7 @@ include = [
9089

9190
[tool.black]
9291
line-length = 88
93-
target-version = ['py38']
92+
target-version = ['py39']
9493
include = '\.pyi?$'
9594
exclude = '''
9695
/(
@@ -112,7 +111,7 @@ use_parentheses = true
112111
ensure_newline_before_comments = true
113112

114113
[tool.mypy]
115-
python_version = "3.8"
114+
python_version = "3.9"
116115
strict = true
117116
warn_return_any = true
118117
warn_unused_configs = true

0 commit comments

Comments
 (0)