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
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v3
with:
python-version: '3.9'
python-version: '3.10'
architecture: 'x64'
- name: Install black
run: pip install -r dev/requirements.txt
Expand All @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.9'
python-version: '3.10'
architecture: 'x64'
- name: Install mypy
run: pip install -r dev/requirements.txt
Expand All @@ -50,7 +50,7 @@ jobs:
name: Import check
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.10', '3.11', '3.12', '3.13']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -66,7 +66,7 @@ jobs:
name: Pytest Linux
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -82,7 +82,7 @@ jobs:
name: Pytest Windows
strategy:
matrix:
python-version: ['3.11', '3.12', '3.13']
python-version: ['3.11', '3.12', '3.13', '3.14']
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -98,7 +98,7 @@ jobs:
name: Pytest MacOS
strategy:
matrix:
python-version: ['3.11', '3.12', '3.13']
python-version: ['3.11', '3.12', '3.13', '3.14']
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion dev/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ black == 25.1.0
isort == 5.7.*
mypy == 1.5.*
pylint == 2.10.*
pytest == 6.2.*
pytest == 8.4.*
twine == 3.3.*
wheel
7 changes: 1 addition & 6 deletions duet/futuretools.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@

import threading
from concurrent.futures import Future
from typing import Any, Callable, Generator, Generic, Optional, Tuple, Type, TypeVar

try:
from typing import Protocol
except ImportError:
from typing_extensions import Protocol # type: ignore[assignment]
from typing import Any, Callable, Generator, Generic, Optional, Protocol, Tuple, Type, TypeVar

try:
import grpc
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
typing-extensions >= 3.10.0; python_version <= '3.7'