From 9a1204a74dfb5b7ded0eb070860eb652a5e19c8a Mon Sep 17 00:00:00 2001 From: Dmitry Prudnikov Date: Thu, 9 Apr 2026 16:50:41 +0300 Subject: [PATCH] fix(coordinode): use sources mapping to include package files in wheel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit packages = ["coordinode"] looks for coordinode/coordinode/ subdir which does not exist — pyproject.toml is inside the package directory itself. sources = {"." = "coordinode"} maps the current dir as the coordinode package, producing a wheel with actual Python files. The 0.4.1 wheel contained 0 Python files, making the package unimportable. --- coordinode/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coordinode/pyproject.toml b/coordinode/pyproject.toml index 7588981..c38e378 100644 --- a/coordinode/pyproject.toml +++ b/coordinode/pyproject.toml @@ -51,7 +51,7 @@ raw-options = {root = ".."} version-file = "_version.py" [tool.hatch.build.targets.wheel] -packages = ["coordinode"] +sources = {"." = "coordinode"} [tool.pytest.ini_options] asyncio_mode = "auto"