From 53b685fd6ddfac42d1e264be3db98a92cc6101b1 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Mon, 14 Aug 2023 13:35:31 -0700 Subject: [PATCH] [stable-2.14] Fix f-string whitespace in release script (#81477) (#81479) (cherry picked from commit 85d3305889e71f70db27081279c89068fbad8b98) --- packaging/release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/release.py b/packaging/release.py index d7f39c3700e..47e2e349acd 100755 --- a/packaging/release.py +++ b/packaging/release.py @@ -977,7 +977,7 @@ def create_github_release_notes(upstream: Remote, repository: str, version: Vers variables = dict( version=version, releases=get_release_artifact_details(repository, version, validate), - changelog=f"https://github.com/{upstream.user}/{upstream.repo}/blob/v{ version }/changelogs/CHANGELOG-v{ version.major }.{ version.minor }.rst", + changelog=f"https://github.com/{upstream.user}/{upstream.repo}/blob/v{version}/changelogs/CHANGELOG-v{version.major}.{version.minor}.rst", ) release_notes = template.render(**variables).strip()