From d037674b176ddafdef1032d7bc02789ec44eab3a Mon Sep 17 00:00:00 2001 From: jakirkham Date: Mon, 12 Aug 2024 19:00:53 -0700 Subject: [PATCH] Change PyPI URL Jinja to f-string --- grayskull/strategy/pypi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grayskull/strategy/pypi.py b/grayskull/strategy/pypi.py index ff60f2596..b514e29f4 100644 --- a/grayskull/strategy/pypi.py +++ b/grayskull/strategy/pypi.py @@ -288,7 +288,7 @@ def get_pypi_metadata(config: Configuration) -> dict: "url": info.get("home_page"), "license": info.get("license"), "source": { - "url": config.url_pypi + "/packages/source/{{ name[0] }}/{{ name }}/" + "url": config.url_pypi + f"/packages/source/{config.name[0]}/{config.name}/" f"{get_url_filename(metadata)}", "sha256": get_sha256_from_pypi_metadata(metadata), },