Skip to content

Commit

Permalink
Try fix CI release (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurrump committed Oct 6, 2022
1 parent a7c6f51 commit 946f5c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Iterator, List, Optional
from typing import Iterator, List, Optional, Tuple

from datetime import date
import os
Expand Down Expand Up @@ -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)))
Expand Down

0 comments on commit 946f5c1

Please sign in to comment.