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
On this page
Latest version 4.0.0, released November 1, 2026. Source repository
Its 4.0.0 release requires Python 3.11 or later. Python end of life dates.
- From 3.0.0 to 4.0.0: 34 breaking changes in 1 version.
- From 2.8.1 to 4.0.0: 51 breaking changes in 3 versions.
python-dateutil 4.0.0 breaking changes
- Removed
dateutil.relativedelta.relativedelta.__div__
dateutil.relativedelta.relativedelta.__div__ was removed in python-dateutil 4.0.0 pypi.org - Removed
dateutil.relativedelta.relativedelta.__nonzero__
dateutil.relativedelta.relativedelta.__nonzero__ was removed in python-dateutil 4.0.0 pypi.org - Removed
dateutil.tz.tz.tzfile.__ne__
dateutil.tz.tz.tzfile.__ne__ was removed in python-dateutil 4.0.0 pypi.org - Removed
dateutil.tz.tz.tzlocal.__ne__
dateutil.tz.tz.tzlocal.__ne__ was removed in python-dateutil 4.0.0 pypi.org - 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 - Removed
dateutil.tz.tz.tzoffset.__ne__
dateutil.tz.tz.tzoffset.__ne__ was removed in python-dateutil 4.0.0 pypi.org - Removed
dateutil.tz.tz.tzrangebase.__ne__
dateutil.tz.tz.tzrangebase.__ne__ was removed in python-dateutil 4.0.0 pypi.org - Removed
dateutil.tz.tz.tzutc.__ne__
dateutil.tz.tz.tzutc.__ne__ was removed in python-dateutil 4.0.0 pypi.org - Removed
dateutil.tz.tz.tzwin.__ne__
dateutil.tz.tz.tzwin.__ne__ was removed in python-dateutil 4.0.0 pypi.org - Removed
dateutil.tz.tz.tzwinlocal.__ne__
dateutil.tz.tz.tzwinlocal.__ne__ was removed in python-dateutil 4.0.0 pypi.org - Removed
dateutil.tz.tzfile.__ne__
dateutil.tz.tzfile.__ne__ was removed in python-dateutil 4.0.0 pypi.org - Removed
dateutil.tz.tzlocal.__ne__
dateutil.tz.tzlocal.__ne__ was removed in python-dateutil 4.0.0 pypi.org - Removed
dateutil.tz.tzoffset.__ne__
dateutil.tz.tzoffset.__ne__ was removed in python-dateutil 4.0.0 pypi.org - Removed
dateutil.tz.tzutc.__ne__
dateutil.tz.tzutc.__ne__ was removed in python-dateutil 4.0.0 pypi.org - Removed
dateutil.tz.tzwin.__ne__
dateutil.tz.tzwin.__ne__ was removed in python-dateutil 4.0.0 pypi.org - Removed
dateutil.tz.tzwinlocal.__ne__
dateutil.tz.tzwinlocal.__ne__ was removed in python-dateutil 4.0.0 pypi.org - Removed
dateutil.tz.win.tzwin.__ne__
dateutil.tz.win.tzwin.__ne__ was removed in python-dateutil 4.0.0 pypi.org - Removed
dateutil.tz.win.tzwinlocal.__ne__
dateutil.tz.win.tzwinlocal.__ne__ was removed in python-dateutil 4.0.0 pypi.org - Removed
dateutil.tzwin.tzwin.__ne__
dateutil.tzwin.tzwin.__ne__ was removed in python-dateutil 4.0.0 pypi.org - Removed
dateutil.tzwin.tzwinlocal.__ne__
dateutil.tzwin.tzwinlocal.__ne__ was removed in python-dateutil 4.0.0 pypi.org - Behavior changed
The package now requires Python 3.11 or later, so code on older Python versions must upgrade Python before updating. github.com - 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 - 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 - 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 - 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 - Behavior changed
relativedelta
Code relying on yearday=366 giving December 30 will now get December 31 in leap years. github.com - 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 - 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 - Signature changed
dateutil.relativedelta.relativedelta.__truediv__
Was __truediv__; now def __truediv__(self, other). pypi.org - Signature changed
dateutil.tz.reset_tzpath
Was def reset_tzpath(to=None); now reset_tzpath. pypi.org - Signature changed
dateutil.tz.tz.tzoffset.__reduce__
Was __reduce__; now def __reduce__(self). pypi.org - Signature changed
dateutil.tz.tz.tzutc.__reduce__
Was __reduce__; now def __reduce__(self). pypi.org - Signature changed
dateutil.tz.tzoffset.__reduce__
Was __reduce__; now def __reduce__(self). pypi.org - Signature changed
dateutil.tz.tzutc.__reduce__
Was __reduce__; now def __reduce__(self). pypi.org
python-dateutil 3.0.0 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 - Removed
dateutil.relativedelta.relativedelta.__ne__
dateutil.relativedelta.relativedelta.__ne__ was removed in python-dateutil 3.0.0 pypi.org - Removed
dateutil.tz.tz.EPOCHORDINAL
dateutil.tz.tz.EPOCHORDINAL was removed in python-dateutil 3.0.0 pypi.org - 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 - Removed
dateutil.zoneinfo.rebuild.METADATA_FN
dateutil.zoneinfo.rebuild.METADATA_FN was removed in python-dateutil 3.0.0 pypi.org - Removed
dateutil.zoneinfo.rebuild.ZONEFILENAME
dateutil.zoneinfo.rebuild.ZONEFILENAME was removed in python-dateutil 3.0.0 pypi.org - Behavior changed
dateutil no longer bundles the IANA database; the data version is whatever tzdata version is installed. github.com - 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 - 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 - 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
And 5 more in this version. Sign up to see every change
python-dateutil 2.8.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 - 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
python-dateutil 2.8.1 breaking changes
- 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
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.