Skip to content

Bump pygments from 2.19.2 to 2.20.0#447

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/uv/pygments-2.20.0
Open

Bump pygments from 2.19.2 to 2.20.0#447
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/uv/pygments-2.20.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 30, 2026

Bumps pygments from 2.19.2 to 2.20.0.

Release notes

Sourced from pygments's releases.

2.20.0

  • New lexers:

  • Updated lexers:

    • archetype: Fix catastrophic backtracking in GUID and ID patterns (#3064)
    • ASN.1: Recognize minus sign and fix range operator (#3014, #3060)
    • C++: Add C++26 keywords (#2955), add integer literal suffixes (#2966)
    • ComponentPascal: Fix analyse_text (#3028, #3032)
    • Coq renamed to Rocq (#2883, #2908)
    • Cython: Various improvements (#2932, #2933)
    • Debian control: Improve architecture parsing (#3052)
    • Devicetree: Add support for overlay/fragments (#3021), add bytestring support (#3022), fix catastrophic backtracking (#3057)
    • Fennel: Various improvements (#2911)
    • Haskell: Handle escape sequences in character literals (#3069, #1795)
    • Java: Add module keywords (#2955)
    • Lean4: Add operators ]', ]?, ]! (#2946)
    • LESS: Support single-line comments (#3005)
    • LilyPond: Update to 2.25.29 (#2974)
    • LLVM: Support C-style comments (#3023, #2978)
    • Lua(u): Fix catastrophic backtracking (#3047)
    • Macaulay2: Update to 1.25.05 (#2893), 1.25.11 (#2988)
    • Mathematica: Various improvements (#2957)
    • meson: Add additional operators (#2919)
    • MySQL: Update keywords (#2970)
    • org-Mode: Support both schedule and deadline (#2899)
    • PHP: Add __PROPERTY__ magic constant (#2924), add reserved keywords (#3002)
    • PostgreSQL: Add more keywords (#2985)
    • protobuf: Fix namespace tokenization (#2929)
    • Python: Add t-string support (#2973, #3009, #3010)
    • Tablegen: Fix infinite loop (#2972, #2940)
    • Tera Term macro: Add commands introduced in v5.3 through v5.6 (#2951)
    • TOML: Support TOML 1.1.0 (#3026, #3027)
    • Turtle: Allow empty comment lines (#2980)
    • XML: Added .xbrl as file ending (#2890, #2891)
  • Drop Python 3.8, and add Python 3.14 as a supported version (#2987, #3012)

  • Various improvements to autopygmentize (#2894)

  • Update onedark style to support more token types (#2977)

  • Update rtt style to support more token types (#2895)

  • Cache entry points to improve performance (#2979)

  • Fix xterm-256 color table (#3043)

  • Fix kwargs dictionary getting mutated on each call (#3044)

Changelog

Sourced from pygments's changelog.

Version 2.20.0

(released March 29th, 2026)

  • New lexers:

  • Updated lexers:

    • archetype: Fix catastrophic backtracking in GUID and ID patterns (#3064)
    • ASN.1: Recognize minus sign and fix range operator (#3014, #3060)
    • C++: Add C++26 keywords (#2955), add integer literal suffixes (#2966)
    • ComponentPascal: Fix analyse_text (#3028, #3032)
    • Coq renamed to Rocq (#2883, #2908)
    • Cython: Various improvements (#2932, #2933)
    • Debian control: Improve architecture parsing (#3052)
    • Devicetree: Add support for overlay/fragments (#3021), add bytestring support (#3022), fix catastrophic backtracking (#3057)
    • Fennel: Various improvements (#2911)
    • Haskell: Handle escape sequences in character literals (#3069, #1795)
    • Java: Add module keywords (#2955)
    • Lean4: Add operators ]', ]?, ]! (#2946)
    • LESS: Support single-line comments (#3005)
    • LilyPond: Update to 2.25.29 (#2974)
    • LLVM: Support C-style comments (#3023, #2978)
    • Lua(u): Fix catastrophic backtracking (#3047)
    • Macaulay2: Update to 1.25.05 (#2893), 1.25.11 (#2988)
    • Mathematica: Various improvements (#2957)
    • meson: Add additional operators (#2919)
    • MySQL: Update keywords (#2970)
    • org-Mode: Support both schedule and deadline (#2899)
    • PHP: Add __PROPERTY__ magic constant (#2924), add reserved keywords (#3002)
    • PostgreSQL: Add more keywords (#2985)
    • protobuf: Fix namespace tokenization (#2929)
    • Python: Add t-string support (#2973, #3009, #3010)
    • Tablegen: Fix infinite loop (#2972, #2940)
    • Tera Term macro: Add commands introduced in v5.3 through v5.6 (#2951)
    • TOML: Support TOML 1.1.0 (#3026, #3027)
    • Turtle: Allow empty comment lines (#2980)
    • XML: Added .xbrl as file ending (#2890, #2891)
  • Drop Python 3.8, and add Python 3.14 as a supported version (#2987, #3012)

  • Various improvements to autopygmentize (#2894)

  • Update onedark style to support more token types (#2977)

  • Update rtt style to support more token types (#2895)

  • Cache entry points to improve performance (#2979)

  • Fix xterm-256 color table (#3043)

  • Fix kwargs dictionary getting mutated on each call (#3044)

Commits
  • 708197d Fix underline length.
  • 1d4538a Prepare 2.20 release.
  • 2ceaee4 Update CHANGES.
  • e3a3c54 Fix Haskell lexer: handle escape sequences in character literals (#3069)
  • d7c3453 Merge pull request #3071 from pygments/harden-html-formatter
  • 0f97e7c Harden the HTML formatter against CSS.
  • 9f981b2 Update CHANGES.
  • 1d88915 Update CHANGES.
  • c3d93ad Fix ASN.1 lexer: recognize minus sign and fix range operator (#3060)
  • 4f06bcf fix bad behaving backtracking regex in CommonLispLexer
  • Additional commits viewable in compare view

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Mar 30, 2026
Copy link
Copy Markdown

@claude claude bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — straightforward Dependabot lock-file bump with no source code changes.

Extended reasoning...

Overview

This PR modifies only uv.lock, bumping pygments from 2.19.2 to 2.20.0 and updating two related entries: the keboola-mcp-server version field (1.49.0 → 1.49.2, a lock-file artifact of the regeneration) and taskgroup dependency markers (adding python_full_version < 3.13 conditions, consistent with upstream resolution changes). No application source code is touched.

Security risks

No security risks. Pygments 2.20.0 is a minor release containing bug fixes (including catastrophic backtracking fixes in several lexers and HTML formatter hardening against CSS injection) — these are strictly improvements. The hashes in the lock file match the published PyPI artifacts.

Level of scrutiny

Minimal scrutiny required. Dependabot-generated lock file updates for a well-known syntax-highlighting library carry very low risk. The change is mechanical and the Dependabot compatibility score link is included.

Other factors

No bugs were reported by the bug hunting system. No prior reviews on this PR. The PR is fresh (created same day) with no outstanding reviewer comments.

@dependabot dependabot bot changed the title Bump pygments from 2.19.2 to 2.20.0 Build(deps): bump pygments from 2.19.2 to 2.20.0 Mar 31, 2026
@dependabot dependabot bot force-pushed the dependabot/uv/pygments-2.20.0 branch from fd0c176 to d32cd7b Compare March 31, 2026 10:42
@dependabot dependabot bot changed the title Build(deps): bump pygments from 2.19.2 to 2.20.0 Bump pygments from 2.19.2 to 2.20.0 Apr 3, 2026
@dependabot dependabot bot force-pushed the dependabot/uv/pygments-2.20.0 branch from d32cd7b to 196fb17 Compare April 3, 2026 07:45
Comment on lines 1915 to +1916
name = "pygments"
version = "2.19.2"
version = "2.20.0"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 This PR is missing a required version bump in pyproject.toml. Per CLAUDE.md: 'Every PR must bump pyproject.toml version before merging.' Since a dependency upgrade is classified as a chore/patch change, pyproject.toml should be updated from 1.51.0 to 1.51.1 and uv.lock re-synced to include it.

Extended reasoning...

What the bug is: CLAUDE.md explicitly states: "Every PR must bump pyproject.toml version before merging." This PR only modifies uv.lock (bumping pygments from 2.19.2 to 2.20.0) but does not update the project version in pyproject.toml.

The specific code path: The only file changed in this PR is uv.lock (lines 1915-1916), where the pygments version hash and URL are updated from 2.19.2 to 2.20.0. The pyproject.toml file is untouched and still contains version 1.51.0 (set by the previous PR AI-2889).

Why existing code doesn't prevent it: This is an automated dependency PR (likely from Dependabot), which only updates the lock file. The automated process has no awareness of the project's custom versioning policy defined in CLAUDE.md. There is no CI check enforcing this rule, so the omission goes undetected.

What the impact would be: The project version in pyproject.toml will be stale and inconsistent with the actual state of the codebase after this change. Any tooling, changelogs, or release processes that depend on pyproject.toml version to track when changes were made will not reflect this dependency update.

How to fix it: Before merging, update pyproject.toml to bump the version from 1.51.0 to 1.51.1 (a patch bump per the CLAUDE.md versioning rules for chores/dependency updates), then run uv sync or equivalent to ensure uv.lock is re-synced and includes the new project version metadata.

Step-by-step proof:

  1. CLAUDE.md states: "Every PR must bump pyproject.toml version before merging."
  2. CLAUDE.md classifies dependency updates as "chores" which are Patch bumps (1.x.y → 1.x.y+1).
  3. Before this PR, the previous PR (AI-2889, commit e72c3c4) set pyproject.toml version to 1.51.0.
  4. This PR's diff shows only uv.lock is modified — no changes to pyproject.toml.
  5. Therefore, the project version remains 1.51.0 after this dependency upgrade, in direct violation of the stated policy. The required bump would be 1.51.01.51.1.

Matovidlo added a commit that referenced this pull request Apr 3, 2026
…sts 2.33.0

Consolidates 4 Dependabot PRs (#452 #447 #443 #440) into one:
- fastmcp 2.14.5 → 3.2.0 (breaking: get_tools() removed → _list_tools())
- cryptography ~= 46.0 (patch 46.0.6)
- pygments 2.19.2 → 2.20.0 (indirect)
- requests 2.32.5 → 2.33.0 (indirect)

fastmcp 3.x migration:
- Replace get_tools() (dict) with _list_tools() (list) in cli.py, generate_tool_docs.py, tests
- Filter FastMCPDeprecationWarning for serializer in test_json_logging
- Regenerate TOOLS.md (fastmcp 3.x adds "additionalProperties": false to all tool schemas)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dependabot dependabot bot changed the title Bump pygments from 2.19.2 to 2.20.0 Build(deps): bump pygments from 2.19.2 to 2.20.0 Apr 8, 2026
@dependabot dependabot bot force-pushed the dependabot/uv/pygments-2.20.0 branch 2 times, most recently from 4d3d1ed to bb2e6a5 Compare April 11, 2026 06:59
@dependabot dependabot bot changed the title Build(deps): bump pygments from 2.19.2 to 2.20.0 Bump pygments from 2.19.2 to 2.20.0 Apr 13, 2026
@dependabot dependabot bot force-pushed the dependabot/uv/pygments-2.20.0 branch 3 times, most recently from ebd208d to 0793659 Compare April 13, 2026 13:35
Bumps [pygments](https://github.com/pygments/pygments) from 2.19.2 to 2.20.0.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](pygments/pygments@2.19.2...2.20.0)

---
updated-dependencies:
- dependency-name: pygments
  dependency-version: 2.20.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/uv/pygments-2.20.0 branch from 0793659 to a750df1 Compare April 13, 2026 14:57
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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants