Skip to content

Commit 7dc5050

Browse files
committed
Make changelog.py compatible with python 3.8
In intellij-rust/intellij-rust#9584 we want to use preinstalled python on GitHub runners. And currently python 3.8 is default version for Ubuntu 20.04. Since `changelog.py` is a part of `create changelog` workflow, we need to be compatible with python 3.8 here as well
1 parent 907202a commit 7dc5050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

changelog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def contributor_list(args: argparse.Namespace) -> None:
274274
print(c)
275275

276276

277-
def collect_contributors(repo: Repository, milestone: Milestone) -> set[str]:
277+
def collect_contributors(repo: Repository, milestone: Milestone) -> Set[str]:
278278
milestone_contributors = set()
279279
issues = repo.get_issues(milestone=milestone, state="all")
280280
for issue in issues:

0 commit comments

Comments
 (0)