Skip to content

chore(deps): bump the python group across 1 directory with 4 updates - #567

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-ed80158dd9
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-ed80158dd9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the python group with 4 updates in the / directory: sqlparse, ciso8601, pre-commit and pytest.

Updates sqlparse from 0.6.0 to 0.6.1

Changelog

Sourced from sqlparse's changelog.

Release 0.6.1 (Nov 01, 2026)

End of Maintenance

Version 0.6.1 marks the final release of sqlparse.

After many years of maintaining this project, I have decided to end its active development and maintenance. The increasing volume of security reports, particularly those generated through automated vulnerability research, has made the workload unsustainable for me as a sole volunteer maintainer.

No further releases, including security fixes, are planned. The source code and existing releases will remain available.

I would like to thank everyone who has contributed to sqlparse over the years.

Notable Changes

  • IMPORTANT: Dollar signs are now escaped in the php output format. PHP interpolates $var, ${expr} and {$expr} inside double-quoted strings, so SQL text containing them could inject PHP code into the generated snippet (CVE-2026-112307, pr937 by cve-zh00). See the security advisory for details: GHSA-xmww-55xg-h3vc The vulnerability was discovered by @​iRevivalx, @​Gares95, @​manus-pi, @​president-xd, @​arpitjain099 and @​Tan-JunWei. Thanks for reporting!
  • IMPORTANT: Fixes a potential denial of service attack (DOS) in format(), which consumed CPU quadratically on statements containing many quotes that are never closed. This affected format() with default options and the sqlformat command. See the security advisory for details: GHSA-3r5h-5jcg-gmgg The vulnerability was discovered by @​LinFeng-1219 and @​president-xd. Thanks for reporting!

Bug Fixes

  • Fix IndexError and ValueError in format() on some malformed statements, e.g. ( as ) with reindent=True or a CASE without its own END with reindent_aligned=True. Grouping no longer moves the brackets of a parenthesis or the CASE/END keywords into an inner group.
  • sqlformat no longer empties the file given with --in-place or --outfile when formatting fails, e.g. because a statement exceeds the grouping limits. The output file is now only written after formatting succeeded, and the error is reported like other CLI errors. Thanks to @​Joejiaojian, @​president-xd, @​hash3liZer and @​eros938 for reporting!
Commits

Updates ciso8601 from 2.3.3 to 2.4.1

Release notes

Sourced from ciso8601's releases.

v2.4.1

What's Changed

Full Changelog: closeio/ciso8601@v2.4.0...v2.4.1

v2.4.0

What's Changed

New Contributors

Full Changelog: closeio/ciso8601@v2.3.3...v2.4.0

Changelog

Sourced from ciso8601's changelog.

Version 2.4.1

  • Fixed a crash when parsing ISO week dates with year 0000 (e.g., 0000W06). Previously, this segfaulted on Linux aarch64.
  • Fixed the Windows ARM64 wheel build.
  • Build and test all wheels in CI.

Version 2.4.0

  • Timestamps containing a null byte (\x00) now raise a ValueError (#188). Previously, parsing stopped at the first null byte and silently ignored everything after it.
  • Dropped Python 3.7 support
  • Added Python 3.15 support
  • Added PyPy 3.12 support
  • Added ARM64 wheels for Windows
Commits

Updates pre-commit from 4.6.2 to 4.7.0

Release notes

Sourced from pre-commit's releases.

pre-commit v4.7.0

Fixes

Changelog

Sourced from pre-commit's changelog.

4.7.0 - 2026-10-12

Fixes

Commits
  • 65bb884 v4.7.0
  • 73926c1 Merge pull request #3774 from cbirkhold/node-no-git-env-npm-install
  • 860d07d don't leak GIT_* env into npm install for language: node
  • 9ad8a0a Merge pull request #3775 from pre-commit/contextlib-chdir
  • 9905e88 use contextlib.chdir
  • 59cb792 Merge pull request #3771 from pre-commit/all-repos_autofix_py311-plus
  • 2be1701 remove triple-nested withs for 3.14 coverage
  • 4c8d22a py311+
  • c429238 Merge pull request #3770 from pre-commit/pre-commit-ci-update-config
  • f49e251 [pre-commit.ci] pre-commit autoupdate
  • Additional commits viewable in compare view

Updates pytest from 9.1.1 to 9.2.0

Release notes

Sourced from pytest's releases.

9.2.0

pytest 9.2.0 (2026-10-27)

Removals and backward incompatible breaking changes

  • #14716: -c now raises a usage error for a path that does not exist, is a directory, or is in a format pytest has no loader for. Such paths were previously either ignored or reported as an unhandled FileNotFoundError.

  • #8593: The indirect, ids and scope arguments of Metafunc.parametrize() <pytest.Metafunc.parametrize> -- and therefore of @pytest.mark.parametrize <pytest.mark.parametrize ref> -- are now keyword-only.

    Passing them positionally was a common source of confusing errors, e.g. parametrize("arg1", "arg2", [(1, 2)]) made the argvalues land in indirect and failed with indirect fixture '(1, 2)' doesn't exist; such mistakes now fail with an understandable TypeError. The type annotations have always declared these arguments as keyword-only.

  • #993: Plugin import failures at startup are now reported and classified instead of escaping as a raw traceback with the accidental exit code 1:

    • a plugin that cannot be found -- via -p, pytest_plugins or PYTEST_PLUGINS -- exits with pytest.ExitCode USAGE_ERROR (4), like a conftest.py that fails to import;
    • a plugin that is found but raises while importing -- including a broken pytest11 entry point or a missing plugin dependency -- exits with pytest.ExitCode INTERNAL_ERROR (3), with the traceback preserved.

    pytest.main now returns these codes instead of raising ImportError. Also fixed an IndexError from pytest's own internals when the plugin raised an exception with no arguments.

Deprecations (removal in next major release)

  • #14742: The private _pytest.python.CallSpec2 name has been renamed to CallSpec. The old CallSpec2 alias remains available for now and will be removed in pytest 10 or 11.

  • #14755: Schedule yield_fixture decorator for removal in pytest 10 or 11.

  • #14774: Similarly to the deprecation of class-scoped fixtures defined as instance methods in pytest 9.1, all higher-scoped fixtures (module, package, and session) defined as instance methods are now deprecated.

    They suffer from the same issue the original deprecation only fixed for class-scoped fixtures, see 10819 and 14011.

  • #14808: Passing a non-string value to a string-typed ini option now emits a pytest.PytestRemovedIn10Warning. This affects [tool.pytest.ini_options] in pyproject.toml. In pytest 10 this will raise a TypeError, matching the behavior of the corresponding TOML config path.

  • #7323: Passing bytes to TerminalReporter.write_line() is now deprecated, pass a str instead.

New features

  • #14743: Full diff: now contains a legend explaining the + & - symbols in diff output.
  • #2781: When strict_markers is enabled, marker names used in -m expressions are now validated against registered markers.
  • #6881: Added the parametrize_long_str_id_strategy configuration option to control how long str/bytes parameter values are handled in auto-generated test IDs. Explicit IDs set via ids=[...] or pytest.param(..., id=...) are not affected. Available strategies: short (default, values over 100 chars fall back to argname+index), sha256 (SHA-256 hex digest), legacy (keep full value), and disallow (error requesting explicit IDs).

Improvements in existing functionality

  • #10745: A RecursionError whose recursion origin cannot be located now shows only the first and last 10 stack frames, matching what pytest already did when locating the origin failed outright. Previously the full traceback -- often around a thousand near-identical frames -- was rendered, which was both slow and unreadable. Pass --full-trace to see every frame.

... (truncated)

Commits
  • ae1d0ff Prepare release version 9.2.0
  • 143ce31 pre-commit: exclude codespell on generated release announcements
  • 532dc5f tox: add attrs dependency to regen, needed in reportingdemo.rst
  • a7b2446 Merge pull request #15245 from pytest-dev/claude/project-thread-9jcf91
  • 679d09c [pre-commit.ci] pre-commit autoupdate (#15266)
  • 41d12cd docs: clarify typing for yield fixtures
  • b9022ba Merge pull request #15182 from 1871698/docs/improve-getting-started-description
  • 16f87a7 docs: improve getting-started.rst test execution description
  • 082ed70 Merge pull request #15255 from pytest-dev/claude/project-thread-eoi3d6
  • ae37a01 Merge pull request #15227 from pytest-dev/claude/project-thread-4etye4
  • Additional commits viewable in compare view

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 commands and options

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Note

Low Risk
Version-only changes in packaging config; sqlparse 0.6.1 is a security patch for code paths that format or parse SQL, with no application logic changes in this PR.

Overview
Bumps four pinned dependencies in setup.cfg: runtime sqlparse 0.6.0 → 0.6.1, optional ciso8601 2.3.3 → 2.4.1, and dev pre-commit 4.6.2 → 4.7.0 and pytest 9.1.1 → 9.2.0.

The sqlparse upgrade is the main functional change for the SDK (used in statement_formatter for SQL parsing/formatting); 0.6.1 includes security fixes (PHP output escaping, format() DoS) and is the project’s final maintained release. ciso8601 is only pulled with the [ciso8601] extra for faster datetime parsing. pre-commit and pytest affect local/CI dev workflows only.

Reviewed by Cursor Bugbot for commit e82581f. Bugbot is set up for automated code reviews on this repo. Configure here.

Bumps the python group with 4 updates in the / directory: [sqlparse](https://github.com/andialbrecht/sqlparse), [ciso8601](https://github.com/closeio/ciso8601), [pre-commit](https://github.com/pre-commit/pre-commit) and [pytest](https://github.com/pytest-dev/pytest).


Updates `sqlparse` from 0.6.0 to 0.6.1
- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG)
- [Commits](andialbrecht/sqlparse@0.6.0...0.6.1)

Updates `ciso8601` from 2.3.3 to 2.4.1
- [Release notes](https://github.com/closeio/ciso8601/releases)
- [Changelog](https://github.com/closeio/ciso8601/blob/master/CHANGELOG.md)
- [Commits](closeio/ciso8601@v2.3.3...v2.4.1)

Updates `pre-commit` from 4.6.2 to 4.7.0
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v4.6.2...v4.7.0)

Updates `pytest` from 9.1.1 to 9.2.0
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@9.1.1...9.2.0)

---
updated-dependencies:
- dependency-name: sqlparse
  dependency-version: 0.6.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python
- dependency-name: ciso8601
  dependency-version: 2.4.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: pre-commit
  dependency-version: 4.7.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: pytest
  dependency-version: 9.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Nov 23, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner November 23, 2026 08:37

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants