Skip to content

Bump cairosvg from 2.7.1 to 2.9.1 - #107

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/cairosvg-2.9.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/cairosvg-2.9.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 15, 2026

Copy link
Copy Markdown
Contributor

Bumps cairosvg from 2.7.1 to 2.9.1.

Release notes

Sourced from cairosvg's releases.

2.9.1

WARNING: this is a security update.

Specially crafted SVGs with very long paths could lead to exponential rendering times.

  • Support path-like objects for the url parameter
  • Fix support of Windows paths

2.9.0

WARNING: this is a security update.

Using a lot of recursively nested use tags could lead to long rendering times with relatively small inputs. CairoSVG now stops rendering when more than 100k use tags are rendered.

Using the --unsafe option allows to render larger documents.

  • Drop support of Python 3.9, add support of Python 3.14

2.8.2

  • Allow both Unicode strings and bytes as input

2.8.1

  • Allow both text- and bytes-based file objects as input

2.8.0

  • Drop support of Python 3.7 and 3.8, add support of Python 3.12 and 3.13
  • Optimize math operations
  • Use pathlib
  • Close paths for ellipses and circles
  • Fix output ratio for SVG surfaces
  • Avoid endless loops when updating def attributes
  • Round PNG size
  • Don’t crash when more than 2 values are given to translate and scale functions
Changelog

Sourced from cairosvg's changelog.

Version 2.9.1 released on 2026-09-07

WARNING: this is a security update.

Specially crafted SVGs with very long paths could lead to exponential rendering times.

  • Support path-like objects for the url parameter
  • Fix support of Windows paths

Version 2.9.0 released on 2026-03-13

WARNING: this is a security update.

Using a lot of recursively nested use tags could lead to long rendering times with relatively small inputs. CairoSVG now stops rendering when more than 100k use tags are rendered.

Using the --unsafe option allows to render larger documents.

  • Drop support of Python 3.9, add support of Python 3.14

Version 2.8.2 released on 2025-05-15

  • Allow both Unicode strings and bytes as input

Version 2.8.1 released on 2025-05-14

  • Allow both text- and bytes-based file objects as input

Version 2.8.0 released on 2025-05-12

  • Drop support of Python 3.7 and 3.8, add support of Python 3.12 and 3.13
  • Optimize math operations
  • Use pathlib
  • Close paths for ellipses and circles
  • Fix output ratio for SVG surfaces
  • Avoid endless loops when updating def attributes
  • Round PNG size
  • Don’t crash when more than 2 values are given to translate and scale functions
Commits
  • 3b7a250 Version 2.9.1
  • 9d63f04 Use a regex-based tokenizer for paths to avoid quadratic compexity
  • a4d585e Don’t use O(n) list.pop(0) for vertices, use O(1) deque.popleft()
  • 026fbce Merge pull request #449 from SAY-5/feat/url-pathlike
  • 6eaa366 feat(url): accept path-like objects for the url parameter
  • 0613641 Cut long line
  • 50fdfe8 Merge pull request #447 from BudongJW/fix/resub-positional-flags
  • 278c227 Fix re.sub positional argument in nt_compatible_path
  • 6075040 Cut long line
  • babf3df Fix CI
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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.

Bumps [cairosvg](https://github.com/Kozea/CairoSVG) from 2.7.1 to 2.9.1.
- [Release notes](https://github.com/Kozea/CairoSVG/releases)
- [Changelog](https://github.com/Kozea/CairoSVG/blob/main/NEWS.rst)
- [Commits](Kozea/CairoSVG@2.7.1...2.9.1)

---
updated-dependencies:
- dependency-name: cairosvg
  dependency-version: 2.9.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot deployed to production October 15, 2026 23:32 Active
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 15, 2026
@coderabbitai

coderabbitai Bot commented Oct 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0f727121-bae2-403b-94ae-178dea224184

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedpypi/​cairosvg@​2.7.1 ⏵ 2.9.1100 +1100 +2210010070

View full report

This branch was successfully deployed

1 active deployment
production — 266cb27e Deployed Oct 15, 2026 by dependabot[bot] via Build documentation #28
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