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

# python-dateutil breaking changes

python-dateutil 4.0.0 (November 1, 2026) is its newest release with breaking changes, 34 of them. The first: Removed dateutil.relativedelta.relativedelta.\_\_div\_\_. Every breaking API change we have recorded in python-dateutil on PyPI: 52 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.0.0`, released November 1, 2026. [Source repository](https://github.com/dateutil/dateutil)

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

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 34 breaking changes in 1 version.
- From [2.8.1](#v-2-8-1) to [4.0.0](#v-4-0-0): 51 breaking changes in 3 versions.

## python-dateutil 4.0.0 breaking changes

python-dateutil 4.0.0, released November 1, 2026: 34 breaking changes.

- **Removed** `dateutil.relativedelta.relativedelta.__div__`  

dateutil.relativedelta.relativedelta.\_\_div\_\_ was removed in python-dateutil 4.0.0 [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Removed** `dateutil.relativedelta.relativedelta.__nonzero__`  

dateutil.relativedelta.relativedelta.\_\_nonzero\_\_ was removed in python-dateutil 4.0.0 [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Removed** `dateutil.tz.tz.tzfile.__ne__`  

dateutil.tz.tz.tzfile.\_\_ne\_\_ was removed in python-dateutil 4.0.0 [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Removed** `dateutil.tz.tz.tzlocal.__ne__`  

dateutil.tz.tz.tzlocal.\_\_ne\_\_ was removed in python-dateutil 4.0.0 [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Removed** `dateutil.tz.tz.tzname_in_python2`  

The Python 2 compatibility helper dateutil.tz.tzname_in_python2 was removed; code that imports or calls it will fail. [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Removed** `dateutil.tz.tz.tzoffset.__ne__`  

dateutil.tz.tz.tzoffset.\_\_ne\_\_ was removed in python-dateutil 4.0.0 [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Removed** `dateutil.tz.tz.tzrangebase.__ne__`  

dateutil.tz.tz.tzrangebase.\_\_ne\_\_ was removed in python-dateutil 4.0.0 [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Removed** `dateutil.tz.tz.tzutc.__ne__`  

dateutil.tz.tz.tzutc.\_\_ne\_\_ was removed in python-dateutil 4.0.0 [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Removed** `dateutil.tz.tz.tzwin.__ne__`  

dateutil.tz.tz.tzwin.\_\_ne\_\_ was removed in python-dateutil 4.0.0 [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Removed** `dateutil.tz.tz.tzwinlocal.__ne__`  

dateutil.tz.tz.tzwinlocal.\_\_ne\_\_ was removed in python-dateutil 4.0.0 [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Removed** `dateutil.tz.tzfile.__ne__`  

dateutil.tz.tzfile.\_\_ne\_\_ was removed in python-dateutil 4.0.0 [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Removed** `dateutil.tz.tzlocal.__ne__`  

dateutil.tz.tzlocal.\_\_ne\_\_ was removed in python-dateutil 4.0.0 [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Removed** `dateutil.tz.tzoffset.__ne__`  

dateutil.tz.tzoffset.\_\_ne\_\_ was removed in python-dateutil 4.0.0 [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Removed** `dateutil.tz.tzutc.__ne__`  

dateutil.tz.tzutc.\_\_ne\_\_ was removed in python-dateutil 4.0.0 [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Removed** `dateutil.tz.tzwin.__ne__`  

dateutil.tz.tzwin.\_\_ne\_\_ was removed in python-dateutil 4.0.0 [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Removed** `dateutil.tz.tzwinlocal.__ne__`  

dateutil.tz.tzwinlocal.\_\_ne\_\_ was removed in python-dateutil 4.0.0 [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Removed** `dateutil.tz.win.tzwin.__ne__`  

dateutil.tz.win.tzwin.\_\_ne\_\_ was removed in python-dateutil 4.0.0 [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Removed** `dateutil.tz.win.tzwinlocal.__ne__`  

dateutil.tz.win.tzwinlocal.\_\_ne\_\_ was removed in python-dateutil 4.0.0 [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Removed** `dateutil.tzwin.tzwin.__ne__`  

dateutil.tzwin.tzwin.\_\_ne\_\_ was removed in python-dateutil 4.0.0 [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Removed** `dateutil.tzwin.tzwinlocal.__ne__`  

dateutil.tzwin.tzwinlocal.\_\_ne\_\_ was removed in python-dateutil 4.0.0 [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Behavior changed**  

The package now requires Python 3.11 or later, so code on older Python versions must upgrade Python before updating. [github.com](https://github.com/dateutil/dateutil/releases/tag/4.0.0)
- **Behavior changed** `isoparser.parse_isodate`  

parse_isodate now raises ValueError for numeric fields that are not the exact expected number of ASCII digits. [github.com](https://github.com/dateutil/dateutil/releases/tag/4.0.0)
- **Behavior changed** `isoparser.parse_isotime`  

parse_isotime now raises ValueError for numeric fields that are not the exact expected number of ASCII digits. [github.com](https://github.com/dateutil/dateutil/releases/tag/4.0.0)
- **Behavior changed** `isoparser.parse_tzstr`  

parse_tzstr now raises ValueError for offsets and numeric fields that are not the exact expected number of ASCII digits. [github.com](https://github.com/dateutil/dateutil/releases/tag/4.0.0)
- **Behavior changed** `parser.isoparse`  

Strings previously accepted, such as malformed numeric fields and offsets like +-1:00, now raise ValueError; callers must pass correctly formatted values. [github.com](https://github.com/dateutil/dateutil/releases/tag/4.0.0)
- **Behavior changed** `relativedelta`  

Code relying on yearday=366 giving December 30 will now get December 31 in leap years. [github.com](https://github.com/dateutil/dateutil/releases/tag/4.0.0)
- **Behavior changed** `tzutc`  

Unpickling a tzutc now yields dateutil.tz.UTC, and unpickled tzoffset objects match calling tzoffset directly, so identity-based assumptions may change. [github.com](https://github.com/dateutil/dateutil/releases/tag/4.0.0)
- **Configuration changed**  

People building dateutil from source now use Hatchling and pyproject.toml metadata; build tooling that depends on the old backend must be updated. [github.com](https://github.com/dateutil/dateutil/releases/tag/4.0.0)
- **Signature changed** `dateutil.relativedelta.relativedelta.__truediv__`  

Was \_\_truediv\_\_; now def \_\_truediv\_\_(self, other). [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Signature changed** `dateutil.tz.reset_tzpath`  

Was def reset_tzpath(to=None); now reset_tzpath. [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Signature changed** `dateutil.tz.tz.tzoffset.__reduce__`  

Was \_\_reduce\_\_; now def \_\_reduce\_\_(self). [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Signature changed** `dateutil.tz.tz.tzutc.__reduce__`  

Was \_\_reduce\_\_; now def \_\_reduce\_\_(self). [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Signature changed** `dateutil.tz.tzoffset.__reduce__`  

Was \_\_reduce\_\_; now def \_\_reduce\_\_(self). [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)
- **Signature changed** `dateutil.tz.tzutc.__reduce__`  

Was \_\_reduce\_\_; now def \_\_reduce\_\_(self). [pypi.org](https://pypi.org/project/python-dateutil/4.0.0/)

## python-dateutil 3.0.0 breaking changes

python-dateutil 3.0.0, released October 21, 2026: 15 breaking changes.

- **Removed**  

3.0.x is the last major line supporting Python older than 3.11; the next release requires Python 3.11 or later. [github.com](https://github.com/dateutil/dateutil/releases/tag/3.0.0)
- **Removed** `dateutil.relativedelta.relativedelta.__ne__`  

dateutil.relativedelta.relativedelta.\_\_ne\_\_ was removed in python-dateutil 3.0.0 [pypi.org](https://pypi.org/project/python-dateutil/3.0.0/)
- **Removed** `dateutil.tz.tz.EPOCHORDINAL`  

dateutil.tz.tz.EPOCHORDINAL was removed in python-dateutil 3.0.0 [pypi.org](https://pypi.org/project/python-dateutil/3.0.0/)
- **Removed** `dateutil.tz.tz.TZPATHS`  

The mutable dateutil.tz.TZPATHS list has been removed; use dateutil.tz.TZPATH and dateutil.tz.reset_tzpath to configure the time zone search path. [pypi.org](https://pypi.org/project/python-dateutil/3.0.0/)
- **Removed** `dateutil.zoneinfo.rebuild.METADATA_FN`  

dateutil.zoneinfo.rebuild.METADATA_FN was removed in python-dateutil 3.0.0 [pypi.org](https://pypi.org/project/python-dateutil/3.0.0/)
- **Removed** `dateutil.zoneinfo.rebuild.ZONEFILENAME`  

dateutil.zoneinfo.rebuild.ZONEFILENAME was removed in python-dateutil 3.0.0 [pypi.org](https://pypi.org/project/python-dateutil/3.0.0/)
- **Behavior changed**  

dateutil no longer bundles the IANA database; the data version is whatever tzdata version is installed. [github.com](https://github.com/dateutil/dateutil/releases/tag/3.0.0)
- **Behavior changed** `dateutil.tz.gettz`  

On Windows, names that are both IANA keys and Windows zone names, such as UTC, now return a tzfile rather than a tzwin. [github.com](https://github.com/dateutil/dateutil/releases/tag/3.0.0)
- **Behavior changed** `dateutil.tz.tzfile`  

For fold=0 in a gap, tzfile uses the offset from before the transition; code relying on the old offset will see different results. [github.com](https://github.com/dateutil/dateutil/releases/tag/3.0.0)
- **Behavior changed** `dateutil.tz.tzfile.dst`  

dst() is now inferred from standard time on both sides of each DST period, changing results for some zones. [github.com](https://github.com/dateutil/dateutil/releases/tag/3.0.0)

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

## python-dateutil 2.8.2 breaking changes

python-dateutil 2.8.2, released July 14, 2021: 2 breaking changes.

- **Behavior changed** `isoparse`  

Times that mix colon separator styles, which used to parse, now raise an error. Make the separators consistent in inputs passed to isoparse. [github.com](https://github.com/dateutil/dateutil/releases/tag/2.8.2)
- **Behavior changed** `zoneinfo.rebuild`  

zoneinfo.rebuild no longer produces slim zic binaries and always generates fat binaries instead. Expect different output files from rebuilds. [github.com](https://github.com/dateutil/dateutil/releases/tag/2.8.2)

## python-dateutil 2.8.1 breaking changes

python-dateutil 2.8.1, released November 3, 2019: 1 breaking change.

- **Behavior changed** `parser.parse`  

Parsing failures now raise ParserError instead of a plain ValueError, and its string representation differs. Code that matches on the exception message text may need to be updated. [github.com](https://github.com/dateutil/dateutil/releases/tag/2.8.1)

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