Skip to content

Commit 22cc16d

Browse files
Carreaukrassowski
andauthored
Add testing on Python 3.14 (#541)
* test on Python 3.14 and 3.14t * ignroe dep warn * Slector and PRoactor * refine error message * ignore more eventloop stuff * slightly longer timeout for ci --------- Co-authored-by: Michał Krassowski <5832902+krassowski@users.noreply.github.com>
1 parent 33bffdc commit 22cc16d

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
fail-fast: false
8585
matrix:
8686
os: [ubuntu-latest, windows-latest, macos-latest]
87-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
87+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"]
8888
# PyPy is not supported because we use the file_id_manager. See:
8989
# https://github.com/jupyter-server/jupyter_server_fileid/issues/44
9090
#include:

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ filterwarnings = [
109109
'ignore:Unclosed <MemoryObjectSendStream:ResourceWarning',
110110
# see https://github.com/python/cpython/issues/126259
111111
'ignore:unclosed database in <sqlite3.Connection object',
112+
# Ignore asyncio.Windows[Proactor|Selector]EventLoopPolicy deprecation warning emitted by jupyter-server
113+
"ignore:'asyncio.WindowsProactorEventLoopPolicy' is deprecated:DeprecationWarning",
114+
"ignore:'asyncio.WindowsSelectorEventLoopPolicy' is deprecated:DeprecationWarning",
115+
"ignore:'asyncio.get_event_loop_policy' is deprecated :DeprecationWarning",
112116
]
113117

114118
[tool.mypy]

tests/test_documents.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async def connect(file_format, file_type, file_path):
7070
tg.start_soon(connect, file_format, file_type, file_path)
7171
t1 = time()
7272
delta = t1 - t0
73-
assert delta < 0.5
73+
assert delta < 0.6
7474

7575
await cleanup(jp_serverapp)
7676

0 commit comments

Comments
 (0)