Skip to content

Commit baf9027

Browse files
committed
Drop Python 3.8
1 parent 0fb7277 commit baf9027

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
version: ['3.8', '3.9', '3.10', '3.11', '3.12'] # TODO: When dropping 3.8, adjust type hints for polypheny.connect
21+
version: ['3.9', '3.10', '3.11', '3.12', '3.13']
2222
os: [ubuntu-latest, macos-latest, windows-latest]
2323
runs-on: ${{ matrix.os }}
2424
needs: build-polypheny

polypheny/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from polypheny.exceptions import *
1717

1818
import datetime
19-
from typing import Union, Tuple
19+
from typing import Union
2020

2121
# See https://peps.python.org/pep-0249/#globals
2222
apilevel = '2.0'
@@ -64,8 +64,8 @@ def Binary(string):
6464
# ROWID = 5
6565

6666

67-
# TODO: Change Tuple to tuple when Python 3.8 is no longer supported
68-
def connect(address: Union[Tuple[str, int], str] = None, *, username: str = None, password: str = None,
67+
68+
def connect(address: Union[tuple[str, int], str] = None, *, username: str = None, password: str = None,
6969
transport: str = None, **kwargs) -> Connection:
7070
"""
7171
Connect to a Polypheny instance with the given parameters. When

0 commit comments

Comments
 (0)