Skip to content

Commit 32fdec1

Browse files
authored
chore: support Python 3.14 (#530)
support Python 3.14 Signed-off-by: gruebel <[email protected]>
1 parent 9d0cbe8 commit 32fdec1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
strategy:
2323
matrix:
24-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
24+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
2525

2626
steps:
2727
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

tests/test_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import asyncio
1+
import inspect
22
import time
33
import uuid
44
from concurrent.futures import ThreadPoolExecutor
@@ -68,7 +68,7 @@ async def test_should_get_flag_value_based_on_method_type(
6868
# Given
6969
# When
7070
method = getattr(no_op_provider_client, get_method)
71-
if asyncio.iscoroutinefunction(method):
71+
if inspect.iscoroutinefunction(method):
7272
flag = await method(flag_key="Key", default_value=default_value)
7373
else:
7474
flag = method(flag_key="Key", default_value=default_value)
@@ -126,7 +126,7 @@ async def test_should_get_flag_detail_based_on_method_type(
126126
# Given
127127
# When
128128
method = getattr(no_op_provider_client, get_method)
129-
if asyncio.iscoroutinefunction(method):
129+
if inspect.iscoroutinefunction(method):
130130
flag = await method(flag_key="Key", default_value=default_value)
131131
else:
132132
flag = method(flag_key="Key", default_value=default_value)

0 commit comments

Comments
 (0)