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

# pyyaml breaking changes

pyyaml 6.0.4 (November 20, 2026) is its newest release with breaking changes. The first: PyYAML 6.0.4 drops support for Python 3.8 and 3.9. Every breaking API change we have recorded in pyyaml on PyPI: 19 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `6.0.4`, released November 20, 2026. [Source repository](https://github.com/yaml/pyyaml)

Its 6.0.4 release drops Python 3.8 and [3.9](https://since.dev/calendar/python/3.9.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [5.1](#v-5-1) to [6.0.4](#v-6-0-4): 5 breaking changes in 2 versions.

## pyyaml 6.0.4 breaking changes

pyyaml 6.0.4, released November 20, 2026: 1 breaking change.

- **Removed**  

Python 3.8 and 3.9 are no longer supported. Users on those versions should stay on PyYAML 6.0.3 or upgrade their Python. [github.com](https://github.com/yaml/pyyaml/releases/tag/6.0.4)

## pyyaml 6.0 breaking changes

pyyaml 6.0, released October 13, 2021: 4 breaking changes.

- **Removed** `yaml.load_warning`  

yaml.load_warning was removed in PyYAML 6.0 [pypi.org](https://pypi.org/project/PyYAML/6.0/)
- **Removed** `yaml.YAMLLoadWarning`  

yaml.YAMLLoadWarning was removed in PyYAML 6.0 [pypi.org](https://pypi.org/project/PyYAML/6.0/)
- **Signature changed** `yaml.load`  

Was def load(stream, Loader=None); now def load(stream, Loader). [pypi.org](https://pypi.org/project/PyYAML/6.0/)
- **Signature changed** `yaml.load_all`  

Was def load_all(stream, Loader=None); now def load_all(stream, Loader). [pypi.org](https://pypi.org/project/PyYAML/6.0/)

## pyyaml 5.1 breaking changes

pyyaml 5.1, released March 13, 2019: 14 breaking changes.

- **Removed**  

Python 2.6 and 3.3 are no longer supported. Stop using them with this release. [github.com](https://github.com/yaml/pyyaml/blob/5.1/CHANGES)
- **Removed**  

Python 3.3 is no longer supported. Stop using Python 3.3 with this release. [github.com](https://github.com/yaml/pyyaml/blob/5.1/CHANGES)
- **Default changed** `default_flow_style`  

The default value of default_flow_style is now False, so dumped output uses block style unless you set it. [github.com](https://github.com/yaml/pyyaml/blob/5.1/CHANGES)
- **Signature changed** `yaml.BaseDumper.__init__`  

Was def \_\_init\_\_(self, stream, default_style=None, default_flow_style=None, canonical=None, indent=None, width=None, allow_unicode=None, line_break=None, encoding=None, explicit_start=None, explicit_end=None, version=None, tags=None); now... [pypi.org](https://pypi.org/project/PyYAML/5.1/)
- **Signature changed** `yaml.CBaseDumper.__init__`  

Was def \_\_init\_\_(self, stream, default_style=None, default_flow_style=None, canonical=None, indent=None, width=None, allow_unicode=None, line_break=None, encoding=None, explicit_start=None, explicit_end=None, version=None, tags=None); now... [pypi.org](https://pypi.org/project/PyYAML/5.1/)
- **Signature changed** `yaml.CDumper.__init__`  

Was def \_\_init\_\_(self, stream, default_style=None, default_flow_style=None, canonical=None, indent=None, width=None, allow_unicode=None, line_break=None, encoding=None, explicit_start=None, explicit_end=None, version=None, tags=None); now... [pypi.org](https://pypi.org/project/PyYAML/5.1/)
- **Signature changed** `yaml.constructor.Constructor`  

Was class Constructor(SafeConstructor); now class Constructor(UnsafeConstructor). [pypi.org](https://pypi.org/project/PyYAML/5.1/)
- **Signature changed** `yaml.CSafeDumper.__init__`  

Was def \_\_init\_\_(self, stream, default_style=None, default_flow_style=None, canonical=None, indent=None, width=None, allow_unicode=None, line_break=None, encoding=None, explicit_start=None, explicit_end=None, version=None, tags=None); now... [pypi.org](https://pypi.org/project/PyYAML/5.1/)
- **Signature changed** `yaml.dump_all`  

Was def dump_all(documents, stream=None, Dumper=Dumper, default_style=None, default_flow_style=None, canonical=None, indent=None, width=None, allow_unicode=None, line_break=None, encoding=None, explicit_start=None, explicit_end=None... [pypi.org](https://pypi.org/project/PyYAML/5.1/)
- **Signature changed** `yaml.Dumper.__init__`  

Was def \_\_init\_\_(self, stream, default_style=None, default_flow_style=None, canonical=None, indent=None, width=None, allow_unicode=None, line_break=None, encoding=None, explicit_start=None, explicit_end=None, version=None, tags=None); now... [pypi.org](https://pypi.org/project/PyYAML/5.1/)

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

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