Skip to content

Commit bfcbabc

Browse files
authored
Merge pull request #1463 from sanders41/python-3.14
Add support for python 3.14
2 parents 852d32d + 46ac23e commit bfcbabc

File tree

4 files changed

+131
-110
lines changed

4 files changed

+131
-110
lines changed

.github/workflows/testing.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
uses: actions/setup-python@v6
2323
with:
2424
python-version: ${{ env.PYTHON_VERSION }}
25+
allow-prereleases: true
2526
- name: Install Dependencies
2627
run: just install
2728
- name: mypy check
@@ -31,7 +32,7 @@ jobs:
3132
strategy:
3233
fail-fast: false
3334
matrix:
34-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
35+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
3536
runs-on: ubuntu-latest
3637
steps:
3738
- uses: actions/checkout@v5
@@ -45,6 +46,7 @@ jobs:
4546
uses: actions/setup-python@v6
4647
with:
4748
python-version: ${{ matrix.python-version }}
49+
allow-prereleases: true
4850
- name: Install Dependencies
4951
run: just install
5052
- name: Test with pytest
@@ -59,7 +61,7 @@ jobs:
5961
strategy:
6062
fail-fast: false
6163
matrix:
62-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
64+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
6365
runs-on: ubuntu-latest
6466
steps:
6567
- uses: actions/checkout@v5
@@ -73,6 +75,7 @@ jobs:
7375
uses: actions/setup-python@v6
7476
with:
7577
python-version: ${{ matrix.python-version }}
78+
allow-prereleases: true
7679
- name: Install Dependencies
7780
run: just install
7881
- name: Install truststore
@@ -99,7 +102,7 @@ jobs:
99102
strategy:
100103
fail-fast: false
101104
matrix:
102-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
105+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
103106
runs-on: ubuntu-latest
104107
steps:
105108
- uses: actions/checkout@v5
@@ -113,6 +116,7 @@ jobs:
113116
uses: actions/setup-python@v6
114117
with:
115118
python-version: ${{ matrix.python-version }}
119+
allow-prereleases: true
116120
- name: Install Dependencies
117121
run: just install
118122
- name: Test with pytest
@@ -127,7 +131,7 @@ jobs:
127131
strategy:
128132
fail-fast: false
129133
matrix:
130-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
134+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
131135
runs-on: ubuntu-latest
132136
steps:
133137
- uses: actions/checkout@v5
@@ -141,6 +145,7 @@ jobs:
141145
uses: actions/setup-python@v6
142146
with:
143147
python-version: ${{ matrix.python-version }}
148+
allow-prereleases: true
144149
- name: Install Dependencies
145150
run: just install
146151
- name: Install truststore
@@ -166,7 +171,7 @@ jobs:
166171
strategy:
167172
fail-fast: false
168173
matrix:
169-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
174+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
170175
runs-on: ubuntu-latest
171176
steps:
172177
- uses: actions/checkout@v5
@@ -176,6 +181,7 @@ jobs:
176181
uses: actions/setup-python@v6
177182
with:
178183
python-version: ${{ matrix.python-version }}
184+
allow-prereleases: true
179185
cache: pip
180186
- name: Test with pytest
181187
run: just test-examples-ci

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ classifiers=[
1818
"Programming Language :: Python :: 3.11",
1919
"Programming Language :: Python :: 3.12",
2020
"Programming Language :: Python :: 3.13",
21+
"Programming Language :: Python :: 3.14",
2122
"License :: OSI Approved :: MIT License",
2223
"Operating System :: OS Independent",
2324
"Typing :: Typed",

tests/test_async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ async def test_swap_indexes_rename(async_client, async_empty_index):
558558
task = await index.add_documents([{"id": 1, "title": index.uid}])
559559
await async_client.wait_for_task(task.task_uid)
560560
swapTask = await async_client.swap_indexes([(index.uid, new_name)], rename=True)
561-
task = async_client.wait_for_task(swapTask.task_uid)
561+
task = await async_client.wait_for_task(swapTask.task_uid)
562562

563563
indexes = await async_client.get_indexes()
564564
uids = [index.uid for index in indexes]

0 commit comments

Comments
 (0)