From 2a0c80dc948dcdd682705e678962d5e82a3d4e10 Mon Sep 17 00:00:00 2001 From: Volker Braun Date: Mon, 16 Sep 2024 21:48:25 +0200 Subject: [PATCH] Fix pyproject.toml use of inline tables Make project.urls a standard table so we can use line breaks --- m4/pyproject_toml_metadata.m4 | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/m4/pyproject_toml_metadata.m4 b/m4/pyproject_toml_metadata.m4 index 6a731e36c6a..5f39bd00077 100644 --- a/m4/pyproject_toml_metadata.m4 +++ b/m4/pyproject_toml_metadata.m4 @@ -17,10 +17,12 @@ classifiers = [ "Programming Language :: Python :: Implementation :: CPython", "Topic :: Scientific/Engineering :: Mathematics", ] -urls = {download = "https://doc.sagemath.org/html/en/installation/index.html", - "release notes" = "https://github.com/sagemath/sage/releases", - source = "https://github.com/sagemath/sage", - documentation = "https://doc.sagemath.org", - homepage = "https://www.sagemath.org", - tracker = "https://github.com/sagemath/sage/issues"} requires-python = ">=3.9, <3.13" + +[project.urls] +download = "https://doc.sagemath.org/html/en/installation/index.html" +"release notes" = "https://github.com/sagemath/sage/releases" +source = "https://github.com/sagemath/sage" +documentation = "https://doc.sagemath.org" +homepage = "https://www.sagemath.org" +tracker = "https://github.com/sagemath/sage/issues"