Skip to content

Update fpdf2 requirement from >=2.7 to >=2.8.9 - #4

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/fpdf2-gte-2.8.9
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/fpdf2-gte-2.8.9

Conversation

@dependabot

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

Copy link
Copy Markdown

Updates the requirements on fpdf2 to permit the latest version.

Release notes

Sourced from fpdf2's releases.

Improved PDF standards compliance, page number alias substitution, and rendering, plus other bug fixes

[2.8.9] - 2026-09-29

Added

Fixed

  • escaped Markdown markers adjacent to emphasis markers in link labels no longer lose literal characters or apply unintended styling
  • PDF serialization of boolean and null values: booleans in arrays and dictionaries now use lowercase true and false, including in mixed numeric/boolean arrays; None in arrays is serialized as null; and filtering empty dictionary fields preserves False and numeric zero values - thanks to @​agustin18
  • SVG percentage width and height values with surrounding whitespace (e.g. width="100% ") no longer raise ValueError - thanks to @​Anai-Guo
  • PDF/A-1 documents using TrueType or CFF-based CID fonts now include a /CIDSet stream in each font descriptor, as required by ISO 19005-1 (veraPDF rule 6.3.5-3) - cf. [issue #88](py-pdf/fpdf2#88)
  • split font /ToUnicode and /Encoding CMap mappings into blocks of at most 100 entries, as required by the PDF specification - cf. [issue #1952](py-pdf/fpdf2#1952)
  • visual gap in rendering subsequent text after {nb} page alias when text shaping is enabled - cf. [issue #1090](py-pdf/fpdf2#1090) - thanks to @​prateek-dagar
  • FPDF.write_html() no longer raises IndexError: pop from empty list when a <ul> or <ol> element carries a line-height that is not a bare number (e.g. line-height: normal or line-height: 1.5em); such values are now ignored, and the default line height is used, consistently with <p line-height="x"> - thanks to @​Anai-Guo
  • FPDF.write_html() now renders list bullets with correct font styling instead of inheriting preceding heading (e.g. <h1>) styles - cf. [issue #1921](py-pdf/fpdf2#1921) - thanks to @​prateek-dagar
  • table cells landing in the wrong column when a row was covered by several rowspans that did not start in column order - cf. [issue #1948](py-pdf/fpdf2#1948)
  • Padding.new() now accepts 1-element sequences per CSS shorthand rules and preserves existing Padding instances without redundant allocations

Changed

  • Refactored _tt_font_widths to reuse _cid_font_widths glyph interval compression logic - thanks to @​agustin18
Changelog

Sourced from fpdf2's changelog.

[2.8.9] - 2026-09-29

Added

Fixed

  • escaped Markdown markers adjacent to emphasis markers in link labels no longer lose literal characters or apply unintended styling
  • PDF serialization of boolean and null values: booleans in arrays and dictionaries now use lowercase true and false, including in mixed numeric/boolean arrays; None in arrays is serialized as null; and filtering empty dictionary fields preserves False and numeric zero values - thanks to @​agustin18
  • SVG percentage width and height values with surrounding whitespace (e.g. width="100% ") no longer raise ValueError - thanks to @​Anai-Guo
  • PDF/A-1 documents using TrueType or CFF-based CID fonts now include a /CIDSet stream in each font descriptor, as required by ISO 19005-1 (veraPDF rule 6.3.5-3) - cf. [issue #88](py-pdf/fpdf2#88)
  • split font /ToUnicode and /Encoding CMap mappings into blocks of at most 100 entries, as required by the PDF specification - cf. [issue #1952](py-pdf/fpdf2#1952)
  • visual gap in rendering subsequent text after {nb} page alias when text shaping is enabled - cf. [issue #1090](py-pdf/fpdf2#1090) - thanks to @​prateek-dagar
  • FPDF.write_html() no longer raises IndexError: pop from empty list when a <ul> or <ol> element carries a line-height that is not a bare number (e.g. line-height: normal or line-height: 1.5em); such values are now ignored, and the default line height is used, consistently with <p line-height="x"> - thanks to @​Anai-Guo
  • FPDF.write_html() now renders list bullets with correct font styling instead of inheriting preceding heading (e.g. <h1>) styles - cf. [issue #1921](py-pdf/fpdf2#1921) - thanks to @​prateek-dagar
  • table cells landing in the wrong column when a row was covered by several rowspans that did not start in column order - cf. [issue #1948](py-pdf/fpdf2#1948)
  • Padding.new() now accepts 1-element sequences per CSS shorthand rules and preserves existing Padding instances without redundant allocations

Changed

  • Refactored _tt_font_widths to reuse _cid_font_widths glyph interval compression logic - thanks to @​agustin18

[2.8.8] - 2026-08-09

Added

Fixed

  • custom height passed to Paragraph.ln() in a text region is now applied to the line it terminates instead of the first line of the following paragraph - cf. [issue #1786](py-pdf/fpdf2#1786) - thanks to @​Sanjays2402
  • the optional numpy import in image_parsing.py no longer crashes on CPUs unsupported by numpy's manylinux wheel baseline; RuntimeError is now treated the same as ImportError, so numpy degrades to unavailable instead of taking down import fpdf - cf. [issue #1908](py-pdf/fpdf2#1908) - thanks to @​stumpylog
  • font state (family, style, size, current font, and the page-level "font is set" flag) no longer leaks back onto the FPDF instance after a text_columns() / text_region() context exits, so a subsequent pdf.cell() / pdf.write() renders at the caller's font instead of the last paragraph's - cf. [issue #1804](py-pdf/fpdf2#1804) - thanks to @​Pawansingh3889
  • text rendering when the first text on a page starts with a fallback glyph - cf. [issue #1772](py-pdf/fpdf2#1772)
  • preserve boundary-neutral formatting during bidirectional text preprocessing - cf. [issue #1779](py-pdf/fpdf2#1779)
  • transform application on user space gradients - cf. [issue #1784](py-pdf/fpdf2#1784)
  • dependency extras for camelot-py and endesive on pyproject.toml - cf. [issue #1792](py-pdf/fpdf2#1792)
  • preserve link annotations during dry-run of FPDF.multi_cell - cf. [issue #1807](py-pdf/fpdf2#1807) - thanks to @​CoLa5
  • preserve two consecutive markdown links (without space inbetween) - cf. [issue #1814](py-pdf/fpdf2#1814) - thanks to @​CoLa5
  • support markdown style around markdown links - cf. [issue #1826](py-pdf/fpdf2#1826) - thanks to @​CoLa5
  • Reset gstate for ToC-rendering - cf. [issue #1837](py-pdf/fpdf2#1837) - thanks to @​CoLa5
  • preserve markdown format in FPDF.multi_cell in dry-run - cf. [issue #1840](py-pdf/fpdf2#1840) - thanks to @​CoLa5
  • fix page order after dry-run of FPDF.multi_cell in ToC - cf. [issue #1836](py-pdf/fpdf2#1836) - thanks to @​CoLa5
  • rendering SVG arcs with very small sweeps that previously rounded to zero - cf. [issue #1831](py-pdf/fpdf2#1831)
  • spurious "Not enough horizontal space to render a single character" error when text without break opportunities is split into many small fragments, e.g. by a fallback font alternating with the main font - cf. [issue #1250](py-pdf/fpdf2#1250) - thanks to @​uttam12331
  • number of surviving escape characters - cf. [issue #1215](py-pdf/fpdf2#1215) - thanks to @​amidou-naba
  • leading spaces on new lines inside <pre> and <pre><code> blocks are no longer dropped - cf. [issue #1063](py-pdf/fpdf2#1063) - thanks to @​eugen-goebel
  • FPDF.set_font() can restore current_font when the selected font state diverged - cf. [PR #1872](py-pdf/fpdf2#1872) - thanks to @​gaoflow
  • embed CID-keyed CFF fonts as raw CFF programs so browser PDF viewers render them correctly - cf. [issue #1874](py-pdf/fpdf2#1874)

... (truncated)

Commits
  • f6e67a4 release fpdf2 2.8.9 (#1976)
  • 93fa00b small fixes (#1975)
  • 9e2caae fix: embed a /CIDSet stream in CIDFont descriptors for PDF/A-1 (#1968)
  • 06408e8 fix: serialize None as null keyword in PDFArray (#1974)
  • dd0d451 fix: serialize booleans as lowercase keywords in create_dictionary_string (#1...
  • a78182b fix: serialize booleans as lowercase keywords in PDFArray (#1969)
  • 8006f67 Update github/codeql-action action to v4.38.2 (#1971)
  • f2cad56 Update crate-ci/typos action to v1.50.3 (#1972)
  • 2bd6d50 add swimmingbrain as a contributor for code (#1967)
  • e846967 fix: insert rowspan placeholders in column order (#1949)
  • 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 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)

Updates the requirements on [fpdf2](https://github.com/py-pdf/fpdf2) to permit the latest version.
- [Release notes](https://github.com/py-pdf/fpdf2/releases)
- [Changelog](https://github.com/py-pdf/fpdf2/blob/master/CHANGELOG.md)
- [Commits](py-pdf/fpdf2@2.7.0...2.8.9)

---
updated-dependencies:
- dependency-name: fpdf2
  dependency-version: 2.8.9
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Updates to a dependency python Python code or packages labels Oct 14, 2026
@slammingprogramming

Copy link
Copy Markdown
Owner

Version needs Python 3.10, and the program supports 3.9. pip already picks the newest version each Python can use, so raising the minimum only locks people out.

@dependabot @github

dependabot Bot commented on behalf of github Oct 15, 2026

Copy link
Copy Markdown
Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/pip/fpdf2-gte-2.8.9 branch October 15, 2026 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Updates to a dependency python Python code or packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant