From 9e66035b22d87fad7e5dc19184e84d53764f05c0 Mon Sep 17 00:00:00 2001 From: KaifAhmad1 Date: Thu, 4 Jun 2026 17:57:11 +0530 Subject: [PATCH] fix(pyproject): move [project.urls] after dependencies to fix TOML parse error In TOML, declaring [project.urls] inside the [project] block causes all subsequent key-value pairs (including dependencies = [...]) to be parsed as project.urls.* keys, producing: ValueError: invalid pyproject.toml config: project.urls.dependencies must be string Fix: move [project.urls] to after the dependencies array closes and before [project.optional-dependencies], which is the correct TOML position for a sub-table of [project]. --- pyproject.toml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 275ae778..21d791e3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,14 +42,6 @@ keywords = [ "knowledge-base", "entity-resolution", "w3c-prov", "audit-trail" ] -[project.urls] -Homepage = "https://getsemantica.ai" -Documentation = "https://docs.getsemantica.ai" -Repository = "https://github.com/semantica-agi/semantica" -Changelog = "https://github.com/semantica-agi/semantica/blob/main/CHANGELOG.md" -"Bug Tracker" = "https://github.com/semantica-agi/semantica/issues" -Discord = "https://discord.gg/sV34vps5hH" - # ---------------- CORE DEPENDENCIES (SAFE DEFAULT) ---------------- dependencies = [ "numpy>=1.21.0", @@ -96,6 +88,14 @@ dependencies = [ "gensim>=4.3.0" ] +[project.urls] +Homepage = "https://getsemantica.ai" +Documentation = "https://docs.getsemantica.ai" +Repository = "https://github.com/semantica-agi/semantica" +Changelog = "https://github.com/semantica-agi/semantica/blob/main/CHANGELOG.md" +"Bug Tracker" = "https://github.com/semantica-agi/semantica/issues" +Discord = "https://discord.gg/sV34vps5hH" + # ---------------- OPTIONAL DEPENDENCIES ---------------- [project.optional-dependencies]