Skip to content

Commit ff9151c

Browse files
committed
Drop Python 3.9
1 parent 43193cd commit ff9151c

8 files changed

Lines changed: 17 additions & 23 deletions

File tree

.github/workflows/tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ jobs:
1414
strategy:
1515
matrix:
1616
include:
17-
- os: ubuntu-latest
18-
python: 3.9
19-
toxenv: py39
2017
- os: ubuntu-latest
2118
python: '3.10'
2219
toxenv: py310

psbench/benchmarks/endpoint_qps/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
import multiprocessing
1010
import sys
1111
import time
12+
from collections.abc import Callable
1213
from statistics import stdev
1314
from typing import Any
14-
from typing import Callable
1515

1616
if sys.version_info >= (3, 11): # pragma: >=3.11 cover
1717
pass

psbench/benchmarks/task_pipelining/main.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
import queue
77
import threading
88
import time
9+
from collections.abc import Callable
910
from concurrent.futures import Executor
1011
from concurrent.futures import Future
1112
from typing import Any
12-
from typing import Callable
1313
from typing import NamedTuple
1414

1515
from parsl.concurrent import ParslPoolExecutor
@@ -296,7 +296,12 @@ def receiver() -> None:
296296

297297
task_timestamps = [
298298
mid.collate(start, end)
299-
for start, mid, end in zip(task_submitted, task_times, task_received)
299+
for start, mid, end in zip(
300+
task_submitted,
301+
task_times,
302+
task_received,
303+
strict=True,
304+
)
300305
]
301306

302307
return RunResult(

psbench/benchmarks/workflow_memory/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
import logging
77
import sys
88
import time
9+
from collections.abc import Callable
910
from collections.abc import Sequence
1011
from concurrent.futures import Executor
1112
from concurrent.futures import Future
1213
from typing import Any
13-
from typing import Callable
1414
from typing import TypeVar
1515

1616
if sys.version_info >= (3, 11): # pragma: >=3.11 cover

psbench/executor/dask.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
from __future__ import annotations
22

3-
import sys
3+
from collections.abc import Callable
44
from collections.abc import Generator
55
from collections.abc import Iterable
66
from collections.abc import Iterator
77
from concurrent.futures import Executor
88
from concurrent.futures import Future
99
from typing import Any
10-
from typing import Callable
10+
from typing import ParamSpec
1111
from typing import TypeVar
1212

13-
if sys.version_info >= (3, 10): # pragma: >=3.10 cover
14-
from typing import ParamSpec
15-
else: # pragma: <3.10 cover
16-
from typing_extensions import ParamSpec
17-
1813
from dask.distributed import Client
1914

2015
P = ParamSpec('P')

pyproject.toml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ maintainers = [
1414
]
1515
description = "ProxyStore benchmark suite."
1616
readme = "README.md"
17-
requires-python = ">=3.9"
17+
requires-python = ">=3.10"
1818
license = {file = "MIT"}
1919
classifiers = [
2020
"License :: OSI Approved :: MIT License",
21-
"Programming Language :: Python :: 3.9",
2221
"Programming Language :: Python :: 3.10",
2322
"Programming Language :: Python :: 3.11",
2423
"Programming Language :: Python :: 3.12",
@@ -29,10 +28,8 @@ classifiers = [
2928
dependencies = [
3029
"adios2==2.10.1",
3130
"colmena==0.7.1",
32-
"dask==2023.5.0; python_version < '3.10'",
33-
"dask==2025.1.0; python_version >= '3.10'",
34-
"distributed==2023.5.0; python_version < '3.10'",
35-
"distributed==2025.1.0; python_version >= '3.10'",
31+
"dask==2025.1.0",
32+
"distributed==2025.1.0",
3633
"globus-compute-endpoint==3.0.*",
3734
"globus-compute-sdk==3.0.*",
3835
"proxystore[all]==0.8.*",
@@ -114,7 +111,7 @@ filterwarnings = [
114111

115112
[tool.ruff]
116113
line-length = 79
117-
target-version = "py39"
114+
target-version = "py310"
118115

119116
[tool.ruff.format]
120117
indent-style = "space"

testing/globus_compute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
import contextlib
44
import uuid
5+
from collections.abc import Callable
56
from collections.abc import Generator
67
from concurrent.futures import Future
78
from typing import Any
8-
from typing import Callable
99
from typing import TypeVar
1010
from unittest import mock
1111

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py39, py310, py311, py312, py313, pre-commit
2+
envlist = py310, py311, py312, py313, pre-commit
33

44
[testenv]
55
extras = dev

0 commit comments

Comments
 (0)