File tree Expand file tree Collapse file tree 5 files changed +373
-10
lines changed Expand file tree Collapse file tree 5 files changed +373
-10
lines changed Original file line number Diff line number Diff line change 33 Release History
44---------------
55
6+ 1.2.0 (2025-06-16)
7+ ++++++++++++++++++
8+
9+ - Add support for comments
10+ - Drop support for Python 3.8, add testing for Python 3.13
11+
12+
6131.1.2 (2024-05-01)
714++++++++++++++++++
815
916- Fix #1383 Revert lxml<=4.9.2 pin that breaks Python 3.12 install
1017- Fix #1385 Support use of Part._rels by python-docx-template
1118- Add support and testing for Python 3.12
1219
20+
13211.1.1 (2024-04-29)
1422++++++++++++++++++
1523
Original file line number Diff line number Diff line change 11BEHAVE = behave
22MAKE = make
33PYTHON = python
4- BUILD = $(PYTHON ) -m build
54TWINE = $(PYTHON ) -m twine
65
76.PHONY : accept build clean cleandocs coverage docs install opendocs sdist test
@@ -24,10 +23,10 @@ help:
2423 @echo " wheel generate a binary distribution into dist/"
2524
2625accept :
27- $(BEHAVE ) --stop
26+ uv run $(BEHAVE ) --stop
2827
2928build :
30- $( BUILD )
29+ uv build
3130
3231clean :
3332 # find . -type f -name \*.pyc -exec rm {} \;
@@ -38,7 +37,7 @@ cleandocs:
3837 $(MAKE ) -C docs clean
3938
4039coverage :
41- py.test --cov-report term-missing --cov=docx tests/
40+ uv run pytest --cov-report term-missing --cov=docx tests/
4241
4342docs :
4443 $(MAKE ) -C docs html
@@ -50,16 +49,16 @@ opendocs:
5049 open docs/.build/html/index.html
5150
5251sdist :
53- $( BUILD ) --sdist .
52+ uv build --sdist
5453
5554test :
56- pytest -x
55+ uv run pytest -x
5756
5857test-upload : sdist wheel
59- $(TWINE ) upload --repository testpypi dist/*
58+ uv run $(TWINE ) upload --repository testpypi dist/*
6059
6160upload : clean sdist wheel
62- $(TWINE ) upload dist/*
61+ uv run $(TWINE ) upload dist/*
6362
6463wheel :
65- $( BUILD ) --wheel .
64+ uv build --wheel
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ dev = [
4444 " pytest>=8.4.0" ,
4545 " ruff>=0.11.13" ,
4646 " tox>=4.26.0" ,
47+ " twine>=6.1.0" ,
4748 " types-lxml-multi-subclass>=2025.3.30" ,
4849]
4950
Original file line number Diff line number Diff line change 1313if TYPE_CHECKING :
1414 from docx .opc .part import Part
1515
16- __version__ = "1.1.2 "
16+ __version__ = "1.2.0 "
1717
1818
1919__all__ = ["Document" ]
You can’t perform that action at this time.
0 commit comments