Commit 00cd194f authored by K900's avatar K900
Browse files
parent 43378be0
Loading
Loading
Loading
Loading
+0 −32
Original line number Diff line number Diff line
From cacd75fc0aeba7cf1733193c28c6118e2c249999 Mon Sep 17 00:00:00 2001
From: Martin Weinelt <hexa@darmstadt.ccc.de>
Date: Tue, 24 Mar 2026 16:07:00 +0100
Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(backend):=20fix=20module=20inclusi?=
 =?UTF-8?q?on=20with=20uv-build?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

After migrating to uv-build only the module matching the project name was
included in sdist/wheel packages. Without a src layout additional modules
need to be tracked manually to ship them in built packages.
---
 pyproject.toml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pyproject.toml b/pyproject.toml
index 1f7757146..4a04e995d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -90,6 +90,11 @@ dev = [
 ]

 [tool.uv.build-backend]
+module-name = [
+    "core",
+    "demo",
+    "meet"
+]
 module-root = ""
 source-exclude = [
     "**/tests/**",
+2 −6
Original line number Diff line number Diff line
@@ -13,14 +13,14 @@ in

python.pkgs.buildPythonApplication rec {
  pname = "lasuite-meet";
  version = "1.11.0";
  version = "1.12.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "suitenumerique";
    repo = "meet";
    tag = "v${version}";
    hash = "sha256-CvpGDfdK1+EJ+Tj9NLrfRfK4VpJVcDqezVJL6ZVdOQ8=";
    hash = "sha256-xm9NhsoM4ggLdtULfiUqJkB41n8q6eS8g4Q/zBaKRbs=";
  };

  sourceRoot = "source/src/backend";
@@ -28,10 +28,6 @@ python.pkgs.buildPythonApplication rec {
  patches = [
    # Support configuration throught environment variables for SECURE_*
    ./secure_settings.patch
    # Fix module inclusion after switching to uv-build
    # https://github.com/suitenumerique/meet/pull/1199
    ./gh1199.patch

  ];

  postPatch = ''