From 71738d856e8ee90a68ff7937291a4dd5d633d0ca Mon Sep 17 00:00:00 2001 From: Henrik Jess Nielsen Date: Fri, 14 Aug 2026 17:04:41 +0200 Subject: [PATCH] Fix: include azure_roles.json in wheel package data The pyproject.toml packaging config only included .py files, so azure_roles.json (682 Azure role names) never made it into the built wheel/Docker image. This silently broke the 'roles: [...]' array completion feature in production even though the code and local dev worked fine (repo files were always on disk locally). Root-caused via a raw WebSocket JSON-RPC test against production that returned 0 completion items for a roles array, despite the same logic returning 682 items when exercised directly against the local module in this repo. --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 8078772..3a760c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,11 @@ ilsp = "ilsp.server:main" where = ["."] include = ["ilsp*"] +[tool.setuptools.package-data] +"ilsp.bicep_lsp" = ["*.json"] +"ilsp.yaml_lsp" = ["*.json"] +"ilsp.python_lsp" = ["*.json"] + [project.optional-dependencies] dev = [ "pytest>=8.0",