From 942f4703421b38c43587d4cfaa33d8cb61744581 Mon Sep 17 00:00:00 2001 From: Constantine Evans Date: Sat, 12 Oct 2024 21:19:32 -0400 Subject: [PATCH] TypeAlias in 3.9 --- CHANGELOG.md | 2 +- pyproject.toml | 1 + src/qslib/protocol.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38ae37e..a27de03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ SPDX-License-Identifier: EUPL-1.2 # Changelog -## Development +## Version 0.12.0 - `Machine.block` command to directly control block temperatures. - Certificate support for SSL, and new connection recommendations. diff --git a/pyproject.toml b/pyproject.toml index 58e4f60..54a0ef7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,6 +53,7 @@ dependencies = [ "typeguard >= 2", "nest_asyncio >= 1.5", "click >=8.0,<9.0", + "typing-extensions >= 4", "toml", "pint", "attrs", diff --git a/src/qslib/protocol.py b/src/qslib/protocol.py index 034a85b..2887483 100644 --- a/src/qslib/protocol.py +++ b/src/qslib/protocol.py @@ -26,12 +26,12 @@ Sequence, Tuple, Type, - TypeAlias, TypeVar, Union, cast, overload, ) +from typing_extensions import TypeAlias import attr import numpy as np