Skip to content

Commit dbbe4c8

Browse files
chore(deps): bump sqlparse from 0.5.3 to 0.5.4 in /packages/sqlalchemy-spanner (#16832)
Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.5.3 to 0.5.4. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG">sqlparse's changelog</a>.</em></p> <blockquote> <h2>Release 0.5.4 (Nov 28, 2025)</h2> <p>Enhancements</p> <ul> <li>Add support for Python 3.14.</li> <li>Add type annotations to top-level API functions and include py.typed marker for PEP 561 compliance, enabling type checking with mypy and other tools (issue756).</li> <li>Add pre-commit hook support. sqlparse can now be used as a pre-commit hook to automatically format SQL files. The CLI now supports multiple files and an <code>--in-place</code> flag for in-place editing (issue537).</li> <li>Add <code>ATTACH</code> and <code>DETACH</code> to PostgreSQL keywords (pr808).</li> <li>Add <code>INTERSECT</code> to close keywords in WHERE clause (pr820).</li> <li>Support <code>REGEXP BINARY</code> comparison operator (pr817).</li> </ul> <p>Bug Fixes</p> <ul> <li>Add additional protection against denial of service attacks when parsing very large lists of tuples. This enhances the existing recursion protections with configurable limits for token processing to prevent DoS through algorithmic complexity attacks. The new limits (MAX_GROUPING_DEPTH=100, MAX_GROUPING_TOKENS=10000) can be adjusted or disabled (by setting to None) if needed for legitimate large SQL statements.</li> <li>Remove shebang from cli.py and remove executable flag (pr818).</li> <li>Fix strip_comments not removing all comments when input contains only comments (issue801, pr803 by stropysh).</li> <li>Fix splitting statements with IF EXISTS/IF NOT EXISTS inside BEGIN...END blocks (issue812).</li> <li>Fix splitting on semicolons inside BEGIN...END blocks (issue809).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/andialbrecht/sqlparse/commit/14e300b165b14d1a7662a071c6481b503d367528"><code>14e300b</code></a> Bump version.</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/96a67e286963b2497b1b3f7a1378327af6661998"><code>96a67e2</code></a> Code cleanup.</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/1a3bfbd50b82c05d9adcc51bacba059671dc1bc7"><code>1a3bfbd</code></a> Fix handling of semicolons inside BEGIN...END blocks (fixes <a href="https://redirect.github.com/andialbrecht/sqlparse/issues/809">#809</a>).</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/e92a032c81d51a6645b4f8c32470481894818ba0"><code>e92a032</code></a> Fix handling of IF EXISTS statements in BEGIN...END blocks (fixes <a href="https://redirect.github.com/andialbrecht/sqlparse/issues/812">#812</a>).</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/149bebf06c788e93a9b0dbee0e5abbc8e347b8e6"><code>149bebf</code></a> Update Changelog.</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/561a67e740e9623cf81ef99f1a6cd94337e24282"><code>561a67e</code></a> Update AUTHORS.</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/73c8ba3ae88b608d39740c0776fb15064232258e"><code>73c8ba3</code></a> bugfix ISSUE_801; Remove all comments when only comments</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/1b323879f87207946e4782812e2e1254b1c0c659"><code>1b32387</code></a> Update action to run on all prs.</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/31903e09db518ee3969110073427196ef9cd46c3"><code>31903e0</code></a> Add pre-commit hook support (fixes <a href="https://redirect.github.com/andialbrecht/sqlparse/issues/537">#537</a>)</li> <li><a href="https://github.com/andialbrecht/sqlparse/commit/13577264eb38b88e24825022fea4bd4351449e7c"><code>1357726</code></a> docs: add AGENTS.md for project guidance and development commands</li> <li>Additional commits viewable in <a href="https://github.com/andialbrecht/sqlparse/compare/0.5.3...0.5.4">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sqlparse&package-manager=pip&previous-version=0.5.3&new-version=0.5.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/googleapis/google-cloud-python/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 5c7cb1e commit dbbe4c8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/sqlalchemy-spanner/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -562,9 +562,9 @@ sqlalchemy==2.0.48 \
562562
# via
563563
# -r requirements.in
564564
# alembic
565-
sqlparse==0.5.3 \
566-
--hash=sha256:09f67787f56a0b16ecdbde1bfc7f5d9c3371ca683cfeaa8e6ff60b4807ec9272 \
567-
--hash=sha256:cf2196ed3418f3ba5de6af7e82c694a9fbdbfecccdfc72e281548517081f16ca
565+
sqlparse==0.5.4 \
566+
--hash=sha256:4396a7d3cf1cd679c1be976cf3dc6e0a51d0111e87787e7a8d780e7d5a998f9e \
567+
--hash=sha256:99a9f0314977b76d776a0fcb8554de91b9bb8a18560631d6bc48721d07023dcb
568568
# via google-cloud-spanner
569569
tomli==2.4.0 \
570570
--hash=sha256:0408e3de5ec77cc7f81960c362543cbbd91ef883e3138e81b729fc3eea5b9729 \

0 commit comments

Comments
 (0)