You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by pa...@apache.org on 2026/06/21 03:18:33 UTC
(sedona-db) branch branch-0.4.0 updated: chore(python/sedonadb-expr): Fix double include of generated files (#988)
This is an automated email from the ASF dual-hosted git repository.
paleolimbot pushed a commit to branch branch-0.4.0
in repository https://gitbox.apache.org/repos/asf/sedona-db.git
The following commit(s) were added to refs/heads/branch-0.4.0 by this push:
new b6f66a887 chore(python/sedonadb-expr): Fix double include of generated files (#988)
b6f66a887 is described below
commit b6f66a887eb77ab638b49eddd1aaaa6aebf353cd
Author: Dewey Dunnington <de...@dunnington.ca>
AuthorDate: Sat Jun 20 17:19:44 2026 +0000
chore(python/sedonadb-expr): Fix double include of generated files (#988)
---
python/sedonadb-expr/pyproject.toml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/python/sedonadb-expr/pyproject.toml b/python/sedonadb-expr/pyproject.toml
index b31ba27b7..41791d9c2 100644
--- a/python/sedonadb-expr/pyproject.toml
+++ b/python/sedonadb-expr/pyproject.toml
@@ -48,6 +48,9 @@ expression = "get_version()"
[tool.hatch.build.targets.wheel]
packages = ["python/sedonadb_expr"]
+# Exclude _generated and _version.py from packages since force-include handles them
+# (avoids duplicate file errors when building from sdist/tarball)
+exclude = ["python/sedonadb_expr/_generated", "python/sedonadb_expr/_version.py"]
# Generated files are in .gitignore but must be included in the wheel
force-include = { "python/sedonadb_expr/_generated" = "sedonadb_expr/_generated", "python/sedonadb_expr/_version.py" = "sedonadb_expr/_version.py" }