Skip to content

fix: sqlglotc sdist install fails when ../sqlglot dir doesn't exist#7337

Merged
tobymao merged 1 commit intomainfrom
worktree-squishy-munching-narwhal
Mar 18, 2026
Merged

fix: sqlglotc sdist install fails when ../sqlglot dir doesn't exist#7337
tobymao merged 1 commit intomainfrom
worktree-squishy-munching-narwhal

Conversation

@tobymao
Copy link
Owner

@tobymao tobymao commented Mar 18, 2026

_subpkg_files always used ../sqlglot to discover .py files, which doesn't exist when installing from a PyPI sdist. Fall back to the bundled ./sqlglot/ copy, matching _source_paths() behavior.

Fixes #7333

_subpkg_files always used ../sqlglot to discover .py files, which
doesn't exist when installing from a PyPI sdist. Fall back to the
bundled ./sqlglot/ copy, matching _source_paths() behavior.

Fixes #7333

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@tobymao tobymao merged commit 64509a2 into main Mar 18, 2026
7 checks passed
@tobymao tobymao deleted the worktree-squishy-munching-narwhal branch March 18, 2026 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fail to install sqlglotc 30.0.1 due to missing /gqlglot/expressions

1 participant