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

# python-docx breaking changes

python-docx 1.0.0 (October 10, 2023) is its newest release with breaking changes, 221 of them. The first: python-docx 1.0.0 requires Python 3.7 or later. Every breaking API change we have recorded in python-docx on PyPI: 262 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.2.0`, released June 16, 2025. 

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

- From [0.8.0](#v-0-8-0) to [1.0.0](#v-1-0-0): 221 breaking changes in 1 version.

## python-docx 1.0.0 breaking changes

python-docx 1.0.0, released October 10, 2023: 221 breaking changes.

- **Removed**  

python-docx 1.0.0 no longer supports Python 2; code must run on Python 3.7 or later. [github.com](https://github.com/python-openxml/python-docx/blob/v1.0.0/HISTORY.rst)
- **Removed** `docx.compat`  

docx.compat was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.dml.color.MSO_COLOR_TYPE.__members__`  

MSO_COLOR_TYPE.\_\_members\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.dml.color.MSO_COLOR_TYPE.__ms_name__`  

MSO_COLOR_TYPE.\_\_ms_name\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.dml.color.MSO_COLOR_TYPE.__url__`  

MSO_COLOR_TYPE.\_\_url\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.document.ElementProxy.__slots__`  

ElementProxy.\_\_slots\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.base.alias`  

docx.enum.base.alias was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.base.Enumeration`  

docx.enum.base.Enumeration was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.base.EnumerationBase`  

docx.enum.base.EnumerationBase was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.base.EnumMember`  

docx.enum.base.EnumMember was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.base.EnumValue`  

docx.enum.base.EnumValue was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.base.InvalidXmlError`  

docx.enum.base.InvalidXmlError was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.base.MetaEnumeration`  

docx.enum.base.MetaEnumeration was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.base.ReturnValueOnlyEnumMember`  

docx.enum.base.ReturnValueOnlyEnumMember was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.base.XmlEnumeration`  

docx.enum.base.XmlEnumeration was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.base.XmlMappedEnumMember`  

docx.enum.base.XmlMappedEnumMember was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.dml.alias`  

docx.enum.dml.alias was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.dml.Enumeration`  

docx.enum.dml.Enumeration was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.dml.EnumMember`  

docx.enum.dml.EnumMember was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.dml.MSO_THEME_COLOR_INDEX.__members__`  

MSO_THEME_COLOR_INDEX.\_\_members\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.dml.MSO_THEME_COLOR_INDEX.__ms_name__`  

MSO_THEME_COLOR_INDEX.\_\_ms_name\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.dml.MSO_THEME_COLOR_INDEX.__url__`  

MSO_THEME_COLOR_INDEX.\_\_url\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.dml.XmlEnumeration`  

docx.enum.dml.XmlEnumeration was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.dml.XmlMappedEnumMember`  

docx.enum.dml.XmlMappedEnumMember was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.section.alias`  

docx.enum.section.alias was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.section.WD_HEADER_FOOTER_INDEX.__members__`  

WD_HEADER_FOOTER_INDEX.\_\_members\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.section.WD_HEADER_FOOTER_INDEX.__ms_name__`  

WD_HEADER_FOOTER_INDEX.\_\_ms_name\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.section.WD_HEADER_FOOTER_INDEX.__url__`  

WD_HEADER_FOOTER_INDEX.\_\_url\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.section.WD_ORIENTATION.__members__`  

WD_ORIENTATION.\_\_members\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.section.WD_ORIENTATION.__ms_name__`  

WD_ORIENTATION.\_\_ms_name\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.section.WD_ORIENTATION.__url__`  

WD_ORIENTATION.\_\_url\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.section.WD_SECTION_START.__members__`  

WD_SECTION_START.\_\_members\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.section.WD_SECTION_START.__ms_name__`  

WD_SECTION_START.\_\_ms_name\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.section.WD_SECTION_START.__url__`  

WD_SECTION_START.\_\_url\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.section.XmlEnumeration`  

docx.enum.section.XmlEnumeration was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.section.XmlMappedEnumMember`  

docx.enum.section.XmlMappedEnumMember was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.style.alias`  

docx.enum.style.alias was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.style.EnumMember`  

docx.enum.style.EnumMember was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.style.WD_BUILTIN_STYLE.__members__`  

WD_BUILTIN_STYLE.\_\_members\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.style.WD_BUILTIN_STYLE.__ms_name__`  

WD_BUILTIN_STYLE.\_\_ms_name\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.style.WD_BUILTIN_STYLE.__url__`  

WD_BUILTIN_STYLE.\_\_url\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.style.WD_BUILTIN_STYLE.from_xml`  

WD_BUILTIN_STYLE.from_xml was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.style.WD_BUILTIN_STYLE.to_xml`  

WD_BUILTIN_STYLE.to_xml was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.style.XmlEnumeration`  

docx.enum.style.XmlEnumeration was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.style.XmlMappedEnumMember`  

docx.enum.style.XmlMappedEnumMember was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.table.alias`  

docx.enum.table.alias was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.table.Enumeration`  

docx.enum.table.Enumeration was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.table.EnumMember`  

docx.enum.table.EnumMember was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.table.WD_CELL_VERTICAL_ALIGNMENT.__members__`  

WD_CELL_VERTICAL_ALIGNMENT.\_\_members\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)
- **Removed** `docx.enum.table.WD_CELL_VERTICAL_ALIGNMENT.__ms_name__`  

WD_CELL_VERTICAL_ALIGNMENT.\_\_ms_name\_\_ was removed in python-docx 1.0.0 [pypi.org](https://pypi.org/project/python-docx/1.0.0/)

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

## python-docx 0.8.0 breaking changes

python-docx 0.8.0, released February 9, 2015: 41 breaking changes.

- **Removed** `docx.Document.styles_part`  

Document.styles_part was removed in python-docx 0.8.0 [pypi.org](https://pypi.org/project/python-docx/0.8.0/)
- **Removed** `docx.oxml.CT_PPr.__child_sequence__`  

CT_PPr.\_\_child_sequence\_\_ was removed in python-docx 0.8.0 [pypi.org](https://pypi.org/project/python-docx/0.8.0/)
- **Removed** `docx.oxml.CT_PPr.alignment`  

CT_PPr.alignment was removed in python-docx 0.8.0 [pypi.org](https://pypi.org/project/python-docx/0.8.0/)
- **Removed** `docx.oxml.CT_R.underline`  

CT_R.underline was removed in python-docx 0.8.0 [pypi.org](https://pypi.org/project/python-docx/0.8.0/)
- **Removed** `docx.oxml.CT_RPr.underline`  

CT_RPr.underline was removed in python-docx 0.8.0 [pypi.org](https://pypi.org/project/python-docx/0.8.0/)
- **Removed** `docx.oxml.parts.styles`  

docx.oxml.parts.styles was removed in python-docx 0.8.0 [pypi.org](https://pypi.org/project/python-docx/0.8.0/)
- **Removed** `docx.oxml.text.BaseOxmlElement`  

docx.oxml.text.BaseOxmlElement was removed in python-docx 0.8.0 [pypi.org](https://pypi.org/project/python-docx/0.8.0/)
- **Removed** `docx.oxml.text.CT_PPr`  

docx.oxml.text.CT_PPr was removed in python-docx 0.8.0 [pypi.org](https://pypi.org/project/python-docx/0.8.0/)
- **Removed** `docx.oxml.text.CT_RPr`  

docx.oxml.text.CT_RPr was removed in python-docx 0.8.0 [pypi.org](https://pypi.org/project/python-docx/0.8.0/)
- **Removed** `docx.oxml.text.CT_Text`  

docx.oxml.text.CT_Text was removed in python-docx 0.8.0 [pypi.org](https://pypi.org/project/python-docx/0.8.0/)

And 31 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.
