Skip to content

Commit 5171cbf

Browse files
committed
Remove Python 3.8
1 parent d6c08d6 commit 5171cbf

5 files changed

Lines changed: 8 additions & 12 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
14+
python-version: ["3.9", "3.10", "3.11", "3.12"]
1515

1616
steps:
1717
- uses: actions/checkout@v5

‎docs/installation.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Installation
44
Requirements
55
------------
66

7-
* Python 3.8 or higher
7+
* Python 3.9 or higher
88
* pip package manager
99

1010
Install from PyPI

‎pyproject.toml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "antfly-sdk"
77
version = "0.0.1"
88
description = "Python SDK for Antfly distributed key-value store and search engine"
99
readme = "README.md"
10-
requires-python = ">=3.8"
10+
requires-python = ">=3.9"
1111
license = {text = "Apache-2.0"}
1212
authors = [
1313
{name = "Antfly, Inc.", email = "ajroetker@antfly.io"},
@@ -18,7 +18,6 @@ classifiers = [
1818
"Intended Audience :: Developers",
1919
"License :: OSI Approved :: Apache Software License",
2020
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.8",
2221
"Programming Language :: Python :: 3.9",
2322
"Programming Language :: Python :: 3.10",
2423
"Programming Language :: Python :: 3.11",
@@ -59,7 +58,7 @@ line-length = 120
5958
target-version = ["py38"]
6059

6160
[tool.mypy]
62-
python_version = "3.8"
61+
python_version = "3.9"
6362
warn_return_any = true
6463
warn_unused_configs = true
6564
disallow_untyped_defs = true

‎src/antfly/client.py‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,15 @@
1919
BatchRequest,
2020
Table,
2121
TableStatus,
22-
QueryResult,
2322
Error,
24-
SuccessMessage,
25-
LookupKeyResponse200,
26-
BatchTableOperationsResponse201,
2723
CreateTableRequestIndexes,
2824
TableSchema,
2925
QueryRequestFullTextSearch,
3026
BatchRequestInserts,
3127
QueryResponses,
3228
)
3329
from antfly_client.client import AuthenticatedClient
34-
from antfly_client.types import UNSET, Unset
30+
from antfly_client.types import UNSET
3531

3632

3733
class AntflyClient:

‎tests/test_client.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
from pathlib import Path
55
from unittest.mock import Mock, patch, MagicMock
66

7+
import pytest
8+
79
# Mock the generated client modules before importing antfly
810
sys.modules['antfly_client'] = MagicMock()
911
sys.modules['antfly_client.api'] = MagicMock()
@@ -14,8 +16,7 @@
1416
# Add src directory to path for imports
1517
sys.path.insert(0, str(Path(__file__).parent.parent / "src"))
1618

17-
import pytest
18-
from antfly import AntflyClient, AntflyException
19+
from antfly import AntflyClient, AntflyException # noqa: E402
1920

2021

2122
class TestAntflyClient:

0 commit comments

Comments
 (0)