Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-latest
python: 3.9
toxenv: py39
- os: ubuntu-latest
python: '3.10'
toxenv: py310
Expand Down
2 changes: 1 addition & 1 deletion psbench/benchmarks/endpoint_qps/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
import multiprocessing
import sys
import time
from collections.abc import Callable
from statistics import stdev
from typing import Any
from typing import Callable

if sys.version_info >= (3, 11): # pragma: >=3.11 cover
pass
Expand Down
9 changes: 7 additions & 2 deletions psbench/benchmarks/task_pipelining/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
import queue
import threading
import time
from collections.abc import Callable
from concurrent.futures import Executor
from concurrent.futures import Future
from typing import Any
from typing import Callable
from typing import NamedTuple

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

task_timestamps = [
mid.collate(start, end)
for start, mid, end in zip(task_submitted, task_times, task_received)
for start, mid, end in zip(
task_submitted,
task_times,
task_received,
strict=True,
)
]

return RunResult(
Expand Down
2 changes: 1 addition & 1 deletion psbench/benchmarks/workflow_memory/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
import logging
import sys
import time
from collections.abc import Callable
from collections.abc import Sequence
from concurrent.futures import Executor
from concurrent.futures import Future
from typing import Any
from typing import Callable
from typing import TypeVar

if sys.version_info >= (3, 11): # pragma: >=3.11 cover
Expand Down
9 changes: 2 additions & 7 deletions psbench/executor/dask.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
from __future__ import annotations

import sys
from collections.abc import Callable
from collections.abc import Generator
from collections.abc import Iterable
from collections.abc import Iterator
from concurrent.futures import Executor
from concurrent.futures import Future
from typing import Any
from typing import Callable
from typing import ParamSpec
from typing import TypeVar

if sys.version_info >= (3, 10): # pragma: >=3.10 cover
from typing import ParamSpec
else: # pragma: <3.10 cover
from typing_extensions import ParamSpec

from dask.distributed import Client

P = ParamSpec('P')
Expand Down
11 changes: 4 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ maintainers = [
]
description = "ProxyStore benchmark suite."
readme = "README.md"
requires-python = ">=3.9"
requires-python = ">=3.10"
license = {file = "MIT"}
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -29,10 +28,8 @@ classifiers = [
dependencies = [
"adios2==2.10.1",
"colmena==0.7.1",
"dask==2023.5.0; python_version < '3.10'",
"dask==2025.1.0; python_version >= '3.10'",
"distributed==2023.5.0; python_version < '3.10'",
"distributed==2025.1.0; python_version >= '3.10'",
"dask==2025.1.0",
"distributed==2025.1.0",
"globus-compute-endpoint==3.0.*",
"globus-compute-sdk==3.0.*",
"proxystore[all]==0.8.*",
Expand Down Expand Up @@ -114,7 +111,7 @@ filterwarnings = [

[tool.ruff]
line-length = 79
target-version = "py39"
target-version = "py310"

[tool.ruff.format]
indent-style = "space"
Expand Down
2 changes: 1 addition & 1 deletion testing/globus_compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

import contextlib
import uuid
from collections.abc import Callable
from collections.abc import Generator
from concurrent.futures import Future
from typing import Any
from typing import Callable
from typing import TypeVar
from unittest import mock

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py39, py310, py311, py312, py313, pre-commit
envlist = py310, py311, py312, py313, pre-commit

[testenv]
extras = dev
Expand Down