Skip to content

Commit ae2dc26

Browse files
committed
Add python 3.13 and 3.14 support
1 parent 156be4c commit ae2dc26

File tree

4 files changed

+59
-69
lines changed

4 files changed

+59
-69
lines changed

.github/workflows/pinot_dbapi_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
runs-on: ubuntu-latest
4141
strategy:
4242
matrix:
43-
python-version: ["3.10", "3.11", "3.12"]
43+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
4444
name: Pinot DB API Integration Test Set
4545
steps:
4646
- uses: actions/checkout@v2
@@ -75,7 +75,7 @@ jobs:
7575
runs-on: ubuntu-latest
7676
strategy:
7777
matrix:
78-
python-version: ["3.10", "3.11", "3.12"]
78+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
7979
name: Pinot DB API Unit Test Set
8080
steps:
8181
- uses: actions/checkout@v2

examples/pinot_async.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ async def run_pinot_async_example():
5252

5353

5454
def run_main():
55-
loop = asyncio.get_event_loop()
56-
loop.run_until_complete(run_pinot_async_example())
55+
asyncio.run(run_pinot_async_example())
5756

5857

5958
if __name__ == '__main__':

poetry.lock

Lines changed: 54 additions & 64 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ python = ">=3.10,<4"
1313
ciso8601 = "^2.1.3"
1414
httpx = ">=0.28.1,<0.29"
1515
sqlalchemy = {version = ">=2.0,<3", optional = true}
16+
greenlet = {version = ">=3.2.4,<4", optional = true}
1617
requests = "^2.25.0"
1718
# Pin urllib3 to a known-safe version (requests depends on urllib3 transitively).
1819
urllib3 = "==2.6.0"
1920
# Explicitly pinning h11 to version 0.16.0 to override a CVE-affected transitive dependency in httpx.
2021
h11 = "0.16.0"
2122

2223
[tool.poetry.extras]
23-
sqlalchemy = ["sqlalchemy", "requests"]
24+
sqlalchemy = ["sqlalchemy", "requests", "greenlet"]
2425

2526
[tool.poetry.group.dev.dependencies]
2627
coverage = ">=6.5,<8.0"

0 commit comments

Comments
 (0)