From 946f5c1eb4e92299d16bd825bf1d203d6611f7e7 Mon Sep 17 00:00:00 2001 From: Arthur Rump Date: Thu, 6 Oct 2022 15:26:26 +0200 Subject: [PATCH] Try fix CI release (again) --- release.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release.py b/release.py index 162ac13..cb5671e 100644 --- a/release.py +++ b/release.py @@ -1,4 +1,4 @@ -from typing import Iterator, List, Optional +from typing import Iterator, List, Optional, Tuple from datetime import date import os @@ -31,7 +31,7 @@ def get_next_changelog(changelog: List[str]) -> Iterator[str]: if line.startswith(VERSION_NEXT_HEADER): in_vNext = True -def parse_version(version: str) -> tuple[int, int, int]: +def parse_version(version: str) -> Tuple[int, int, int]: match = VERSION_PATTERN.match(version) if match and len(match.groups()) == 3: return (int(match.group(1)), int(match.group(2)), int(match.group(3)))