Skip to content

Commit 5bb50a0

Browse files
committed
Drop support for Python 3.8 and enable 3.13.
1 parent 0cce773 commit 5bb50a0

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

src/pytask_parallel/wrappers.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,11 @@ def wrap_task_in_process( # noqa: PLR0913
106106
captured_stderr_buffer = StringIO()
107107

108108
# Catch warnings and store them in a list.
109-
with warnings.catch_warnings(record=True) as log, redirect_stdout(
110-
captured_stdout_buffer
111-
), redirect_stderr(captured_stderr_buffer):
109+
with (
110+
warnings.catch_warnings(record=True) as log,
111+
redirect_stdout(captured_stdout_buffer),
112+
redirect_stderr(captured_stderr_buffer),
113+
):
112114
# Apply global filterwarnings.
113115
for arg in session_filterwarnings:
114116
warnings.filterwarnings(*parse_warning_filter(arg, escape=False))

tests/test_jupyter/test_functional_interface.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
"outputs": [],
99
"source": [
1010
"from pathlib import Path\n",
11+
"from typing import Annotated\n",
1112
"\n",
1213
"import pytask\n",
1314
"from pytask import ExitCode\n",
1415
"from pytask import PathNode\n",
15-
"from pytask import PythonNode\n",
16-
"from typing_extensions import Annotated"
16+
"from pytask import PythonNode"
1717
]
1818
},
1919
{

tests/test_jupyter/test_functional_interface_w_relative_path.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
"outputs": [],
99
"source": [
1010
"from pathlib import Path\n",
11+
"from typing import Annotated\n",
1112
"\n",
1213
"import pytask\n",
1314
"from pytask import ExitCode\n",
1415
"from pytask import PathNode\n",
15-
"from pytask import PythonNode\n",
16-
"from typing_extensions import Annotated"
16+
"from pytask import PythonNode"
1717
]
1818
},
1919
{

0 commit comments

Comments
 (0)