From e5d48f90335f8ad0c352c7fb163c9c5427ce1cfd Mon Sep 17 00:00:00 2001 From: ShahanaFarooqui Date: Fri, 10 Oct 2025 21:09:16 -0700 Subject: [PATCH] Add build-system table for build instructions The `libs/gl-testserver/pyproject.toml` file is missing the [build-system] table, which is strongly recommended for any Python project intended to be built and installed. The [build-system] table is crucial because it defines two key things : - requires: A list of dependencies needed to build your project. - build-backend: The Python object that will perform the build. Without this section, tools like `uv` and `pip` do not know how to build and install the package from its source, even if all other project metadata is correctly specified. --- libs/gl-testserver/pyproject.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/libs/gl-testserver/pyproject.toml b/libs/gl-testserver/pyproject.toml index 8f95b747d..1b12fac31 100644 --- a/libs/gl-testserver/pyproject.toml +++ b/libs/gl-testserver/pyproject.toml @@ -15,3 +15,15 @@ gltestserver = 'gltestserver.__main__:cli' [tool.uv.sources] gl-testing = { workspace = true } + +[tool.uv] +package = true + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.build] +include = [ + "gltestserver", +]