---
title: "weasyprint 70.0 Breaking Changes on PyPI | Since.dev"
description: "What each weasyprint release removed, renamed or changed: 229 breaking changes in 8 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/weasyprint
last_updated: 2026-12-04
---

# weasyprint breaking changes

weasyprint 70.0 (September 8, 2026) is its newest release with breaking changes, 45 of them. The first: Removed weasyprint.css.computed_values.anchor. Every breaking API change we have recorded in weasyprint on PyPI: 229 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `70.0`, released September 8, 2026. [Source repository](https://github.com/Kozea/WeasyPrint)

Its 67.0 release requires [Python 3.10](https://since.dev/calendar/python/3.10.md) or later. [Python end of life dates](https://since.dev/calendar/python.md).

- From [69.0](#v-69-0) to [70.0](#v-70-0): 45 breaking changes in 1 version.
- From [64.0](#v-64-0) to [70.0](#v-70-0): 223 breaking changes in 7 versions.

## weasyprint 70.0 breaking changes

weasyprint 70.0, released September 8, 2026: 45 breaking changes.

- **Removed** `weasyprint.css.computed_values.anchor`  

weasyprint.css.computed_values.anchor was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.css.computed_values.ANGLE_TO_RADIANS`  

weasyprint.css.computed_values.ANGLE_TO_RADIANS was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.css.computed_values.compute_attr`  

weasyprint.css.computed_values.compute_attr was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.css.computed_values.get_link_attribute`  

weasyprint.css.computed_values.get_link_attribute was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.css.computed_values.link`  

weasyprint.css.computed_values.link was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.css.ComputedStyle.element`  

ComputedStyle.element was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.css.get_url_attribute`  

weasyprint.css.get_url_attribute was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.css.validation.properties.link`  

weasyprint.css.validation.properties.link was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.default_url_fetcher`  

weasyprint.default_url_fetcher was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.html.get_url_attribute`  

weasyprint.html.get_url_attribute was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.html.HTML5_PH`  

weasyprint.html.HTML5_PH was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.html.HTML5_PH_STYLESHEET`  

weasyprint.html.HTML5_PH_STYLESHEET was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.html.HTML5_UA`  

weasyprint.html.HTML5_UA was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.html.HTML5_UA_COUNTER_STYLE`  

weasyprint.html.HTML5_UA_COUNTER_STYLE was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.html.HTML5_UA_FORM`  

weasyprint.html.HTML5_UA_FORM was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.html.HTML5_UA_FORM_STYLESHEET`  

weasyprint.html.HTML5_UA_FORM_STYLESHEET was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.html.HTML5_UA_STYLESHEET`  

weasyprint.html.HTML5_UA_STYLESHEET was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.html.parse_string`  

weasyprint.html.parse_string was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.html.strip_whitespace`  

weasyprint.html.strip_whitespace was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.images.SVG.get_paint`  

SVG.get_paint was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.layout.inline.AnonymousStyle`  

weasyprint.layout.inline.AnonymousStyle was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.layout.inline.build`  

weasyprint.layout.inline.build was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.layout.page.AnonymousStyle`  

weasyprint.layout.page.AnonymousStyle was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.svg.draw_gradient_or_pattern`  

weasyprint.svg.draw_gradient_or_pattern was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.svg.get_url_attribute`  

weasyprint.svg.get_url_attribute was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.urls.get_link_attribute`  

weasyprint.urls.get_link_attribute was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Removed** `weasyprint.urls.get_url_attribute`  

weasyprint.urls.get_url_attribute was removed in weasyprint 70.0 [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Renamed** `weasyprint.css.computed_values.get_url_tuple`  

Use weasyprint.css.targets.get_url_tuple instead. [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Behavior changed**  

The original URL fetcher is now always used when available, which changes how metadata and stylesheets passed as parameters are fetched. Check any custom fetcher logic that relied on the previous behavior. [github.com](https://github.com/Kozea/WeasyPrint/releases/tag/v70.0)
- **Behavior changed**  

EPS images are no longer rendered, so documents that embed them will change output. Convert EPS images to a supported format. [github.com](https://github.com/Kozea/WeasyPrint/releases/tag/v70.0)
- **Signature changed** `weasyprint.anchors.gather_anchors`  

Was def gather_anchors(box, anchors, links, bookmarks, forms, parent_matrix=None, parent_form=None); now def gather_anchors(box, anchors, links, bookmarks, forms, parent_matrix=None, parent_form=None, parent_link=None). [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Signature changed** `weasyprint.css.AnonymousStyle`  

Was class AnonymousStyle(dict); now class AnonymousStyle(Style). [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Signature changed** `weasyprint.css.ComputedStyle`  

Was class ComputedStyle(dict); now class ComputedStyle(Style). [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Signature changed** `weasyprint.css.ComputedStyle.__init__`  

Was def \_\_init\_\_(self, parent_style, cascaded, element, pseudo_type, root_style, base_url, font_config, initial_page_sizes); now def \_\_init\_\_(self, parent_style, cascaded, pseudo_type, root_style, base_url, font_config, initial_page_sizes). [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Signature changed** `weasyprint.css.InitialStyle`  

Was class InitialStyle(dict); now class InitialStyle(Style). [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Signature changed** `weasyprint.css.Pending.solve`  

Was def solve(self, tokens, wanted_key); now def solve(self, tokens, wanted_key, base_url). [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Signature changed** `weasyprint.css.Pending.validate`  

Was def validate(self, tokens, wanted_key); now def validate(self, tokens, wanted_key, base_url). [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Signature changed** `weasyprint.css.url_join`  

Was def url_join(base_url, url, allow_relative, context, context_args); now def url_join(base_url, url, allow_relative, context). [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Signature changed** `weasyprint.document.gather_anchors`  

Was def gather_anchors(box, anchors, links, bookmarks, forms, parent_matrix=None, parent_form=None); now def gather_anchors(box, anchors, links, bookmarks, forms, parent_matrix=None, parent_form=None, parent_link=None). [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Signature changed** `weasyprint.draw.draw_background`  

Was def draw_background(stream, bg, clip_box=True, bleed=None, marks=()); now def draw_background(stream, background, clip_box=True, bleed=None, marks=()). [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Signature changed** `weasyprint.html.parse_url`  

Was def parse_url(string); now def parse_url(string, base_url, allow_relative=False). [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Signature changed** `weasyprint.images.SVG.draw_node`  

Was def draw_node(self, node, font_size, fill_stroke=True); now def draw_node(self, node, font_size, fill_stroke=True, context=None). [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Signature changed** `weasyprint.images.SVG.fill_stroke`  

Was def fill_stroke(self, node, font_size, text=False); now def fill_stroke(self, fill, stroke, even_odd=False, text=False). [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Signature changed** `weasyprint.images.SVG.set_graphical_state`  

Was def set_graphical_state(self, node, font_size, text=False); now def set_graphical_state(self, node, font_size, context=None). [pypi.org](https://pypi.org/project/weasyprint/70.0/)
- **Signature changed** `weasyprint.urls.url_join`  

Was def url_join(base_url, url, allow_relative, context, context_args); now def url_join(base_url, url, allow_relative, context). [pypi.org](https://pypi.org/project/weasyprint/70.0/)

## weasyprint 69.0 breaking changes

weasyprint 69.0, released June 2, 2026: 27 breaking changes.

- **Removed** `weasyprint.css.ColorProfile.renderingintent`  

ColorProfile.renderingintent was removed in weasyprint 69.0 [pypi.org](https://pypi.org/project/weasyprint/69.0/)
- **Removed** `weasyprint.css.computed_values.validate_non_shorthand`  

weasyprint.css.computed_values.validate_non_shorthand was removed in weasyprint 69.0 [pypi.org](https://pypi.org/project/weasyprint/69.0/)
- **Removed** `weasyprint.css.FONT_UNITS`  

weasyprint.css.FONT_UNITS was removed in weasyprint 69.0 [pypi.org](https://pypi.org/project/weasyprint/69.0/)
- **Removed** `weasyprint.css.FontUnitInMath`  

weasyprint.css.FontUnitInMath was removed in weasyprint 69.0 [pypi.org](https://pypi.org/project/weasyprint/69.0/)
- **Removed** `weasyprint.html.HTML_SPACE_SEPARATED_TOKENS_RE`  

weasyprint.html.HTML_SPACE_SEPARATED_TOKENS_RE was removed in weasyprint 69.0 [pypi.org](https://pypi.org/project/weasyprint/69.0/)
- **Removed** `weasyprint.html.HTML_WHITESPACE`  

weasyprint.html.HTML_WHITESPACE was removed in weasyprint 69.0 [pypi.org](https://pypi.org/project/weasyprint/69.0/)
- **Removed** `weasyprint.layout.block.handle_min_max_width`  

weasyprint.layout.block.handle_min_max_width was removed in weasyprint 69.0 [pypi.org](https://pypi.org/project/weasyprint/69.0/)
- **Removed** `weasyprint.logger.CallbackHandler`  

weasyprint.logger.CallbackHandler was removed in weasyprint 69.0 [pypi.org](https://pypi.org/project/weasyprint/69.0/)
- **Removed** `weasyprint.logger.capture_logs`  

weasyprint.logger.capture_logs was removed in weasyprint 69.0 [pypi.org](https://pypi.org/project/weasyprint/69.0/)
- **Removed** `weasyprint.pdf.fonts.capture_logs`  

weasyprint.pdf.fonts.capture_logs was removed in weasyprint 69.0 [pypi.org](https://pypi.org/project/weasyprint/69.0/)

And 17 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## weasyprint 68.1 breaking changes

weasyprint 68.1, released February 6, 2026: 2 breaking changes.

- **Removed** `weasyprint.svg.clip_path`  

weasyprint.svg.clip_path was removed in weasyprint 68.1 [pypi.org](https://pypi.org/project/weasyprint/68.1/)
- **Signature changed** `weasyprint.urls.URLFetcherResponse.__init__`  

Was def \_\_init\_\_(self, url, body=None, headers=None, status='200 OK', \*\*kwargs); now def \_\_init\_\_(self, url, body=None, headers=None, status=200, \*\*kwargs). [pypi.org](https://pypi.org/project/weasyprint/68.1/)

## weasyprint 68.0 breaking changes

weasyprint 68.0, released January 19, 2026: 21 breaking changes.

- **Removed** `weasyprint.document.generate_rdf_metadata`  

weasyprint.document.generate_rdf_metadata was removed in weasyprint 68.0 [pypi.org](https://pypi.org/project/weasyprint/68.0/)
- **Removed** `weasyprint.images.ImageLoadingError.from_exception`  

ImageLoadingError.from_exception was removed in weasyprint 68.0 [pypi.org](https://pypi.org/project/weasyprint/68.0/)
- **Removed** `weasyprint.images.SVG.inherit_defs`  

SVG.inherit_defs was removed in weasyprint 68.0 [pypi.org](https://pypi.org/project/weasyprint/68.0/)
- **Removed** `weasyprint.images.SVG.parse_defs`  

SVG.parse_defs was removed in weasyprint 68.0 [pypi.org](https://pypi.org/project/weasyprint/68.0/)
- **Removed** `weasyprint.pdf.metadata.add_metadata`  

weasyprint.pdf.metadata.add_metadata was removed in weasyprint 68.0 [pypi.org](https://pypi.org/project/weasyprint/68.0/)
- **Removed** `weasyprint.pdf.metadata.generate_rdf_metadata`  

weasyprint.pdf.metadata.generate_rdf_metadata was removed in weasyprint 68.0 [pypi.org](https://pypi.org/project/weasyprint/68.0/)
- **Removed** `weasyprint.pdf.pdfa.add_metadata`  

weasyprint.pdf.pdfa.add_metadata was removed in weasyprint 68.0 [pypi.org](https://pypi.org/project/weasyprint/68.0/)
- **Removed** `weasyprint.pdf.pdfua.add_metadata`  

weasyprint.pdf.pdfua.add_metadata was removed in weasyprint 68.0 [pypi.org](https://pypi.org/project/weasyprint/68.0/)
- **Removed** `weasyprint.pdf.pdfx.add_metadata`  

weasyprint.pdf.pdfx.add_metadata was removed in weasyprint 68.0 [pypi.org](https://pypi.org/project/weasyprint/68.0/)
- **Behavior changed**  

Security fix: HTTP redirects now always go through the URL fetcher, which may change how redirected resources are fetched. [github.com](https://github.com/Kozea/WeasyPrint/releases/tag/v68.0)

And 11 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## weasyprint 67.0 breaking changes

weasyprint 67.0, released December 2, 2025: 92 breaking changes.

- **Removed**  

WeasyPrint 67.0 needs Python 3.10 or later. Users on Python 3.9 must upgrade Python before installing this release. [github.com](https://github.com/Kozea/WeasyPrint/releases/tag/v67.0)
- **Removed** `weasyprint.css.check_var_function`  

weasyprint.css.check_var_function was removed in weasyprint 67.0 [pypi.org](https://pypi.org/project/weasyprint/67.0/)
- **Removed** `weasyprint.css.computed_values.character_ratio`  

weasyprint.css.computed_values.character_ratio was removed in weasyprint 67.0 [pypi.org](https://pypi.org/project/weasyprint/67.0/)
- **Removed** `weasyprint.css.computed_values.ffi`  

weasyprint.css.computed_values.ffi was removed in weasyprint 67.0 [pypi.org](https://pypi.org/project/weasyprint/67.0/)
- **Removed** `weasyprint.css.computed_values.first_line_metrics`  

weasyprint.css.computed_values.first_line_metrics was removed in weasyprint 67.0 [pypi.org](https://pypi.org/project/weasyprint/67.0/)
- **Removed** `weasyprint.css.computed_values.FROM_UNITS`  

weasyprint.css.computed_values.FROM_UNITS was removed in weasyprint 67.0 [pypi.org](https://pypi.org/project/weasyprint/67.0/)
- **Removed** `weasyprint.css.computed_values.Layout`  

weasyprint.css.computed_values.Layout was removed in weasyprint 67.0 [pypi.org](https://pypi.org/project/weasyprint/67.0/)
- **Removed** `weasyprint.css.computed_values.LENGTHS_TO_PIXELS`  

weasyprint.css.computed_values.LENGTHS_TO_PIXELS was removed in weasyprint 67.0 [pypi.org](https://pypi.org/project/weasyprint/67.0/)
- **Removed** `weasyprint.css.computed_values.pango`  

weasyprint.css.computed_values.pango was removed in weasyprint 67.0 [pypi.org](https://pypi.org/project/weasyprint/67.0/)
- **Removed** `weasyprint.css.computed_values.safe_urljoin`  

weasyprint.css.computed_values.safe_urljoin was removed in weasyprint 67.0 [pypi.org](https://pypi.org/project/weasyprint/67.0/)

And 82 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## weasyprint 66.0 breaking changes

weasyprint 66.0, released July 24, 2025: 16 breaking changes.

- **Removed** `weasyprint.Document.build_element_structure`  

Document.build_element_structure was removed in weasyprint 66.0 [pypi.org](https://pypi.org/project/weasyprint/66.0/)
- **Removed** `weasyprint.document.stacked`  

weasyprint.document.stacked was removed in weasyprint 66.0 [pypi.org](https://pypi.org/project/weasyprint/66.0/)
- **Removed** `weasyprint.draw.stack`  

weasyprint.draw.stack was removed in weasyprint 66.0 [pypi.org](https://pypi.org/project/weasyprint/66.0/)
- **Removed** `weasyprint.draw.stacked`  

weasyprint.draw.stacked was removed in weasyprint 66.0 [pypi.org](https://pypi.org/project/weasyprint/66.0/)
- **Removed** `weasyprint.pdf.Stream.begin_marked_content`  

Stream.begin_marked_content was removed in weasyprint 66.0 [pypi.org](https://pypi.org/project/weasyprint/66.0/)
- **Removed** `weasyprint.pdf.Stream.end_marked_content`  

Stream.end_marked_content was removed in weasyprint 66.0 [pypi.org](https://pypi.org/project/weasyprint/66.0/)
- **Removed** `weasyprint.pdf.Stream.get_marked_content_tag`  

Stream.get_marked_content_tag was removed in weasyprint 66.0 [pypi.org](https://pypi.org/project/weasyprint/66.0/)
- **Behavior changed**  

The style applied to the deprecated outline algorithm is now disabled, so documents relying on that outline styling may render differently. [github.com](https://github.com/Kozea/WeasyPrint/releases/tag/v66.0)
- **Signature changed** `weasyprint.css.resolve_var`  

Was def resolve_var(computed, token, parent_style); now def resolve_var(computed, token, parent_style, known_variables=None). [pypi.org](https://pypi.org/project/weasyprint/66.0/)
- **Signature changed** `weasyprint.default_url_fetcher`  

Was def default_url_fetcher(url, timeout=10, ssl_context=None); now def default_url_fetcher(url, timeout=10, ssl_context=None, http_headers=None). [pypi.org](https://pypi.org/project/weasyprint/66.0/)

And 6 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

2 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### weasyprint 65.0 breaking changes

weasyprint 65.0, released March 20, 2025: 20 breaking changes.

- **Removed** `weasyprint.layout.flex.resolve_one_percentage`  

weasyprint.layout.flex.resolve_one_percentage was removed in weasyprint 65.0 [pypi.org](https://pypi.org/project/weasyprint/65.0/)
- **Removed** `weasyprint.layout.flex.resolve_percentages`  

weasyprint.layout.flex.resolve_percentages was removed in weasyprint 65.0 [pypi.org](https://pypi.org/project/weasyprint/65.0/)

And 18 more in this version.

### weasyprint 64.0 breaking changes

weasyprint 64.0, released January 30, 2025: 6 breaking changes.

- **Removed** `weasyprint.pdf.fonts.Font.description`  

Font.description was removed in weasyprint 64.0 [pypi.org](https://pypi.org/project/weasyprint/64.0/)
- **Renamed** `weasyprint.css.computed_values.column_width`  

Use weasyprint.css.computed_values.length_pixels_only instead. [pypi.org](https://pypi.org/project/weasyprint/64.0/)

And 4 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
