Skip to content

Commit 9012205

Browse files
committed
update doc, deps
1 parent 522064c commit 9012205

File tree

5 files changed

+710
-127
lines changed

5 files changed

+710
-127
lines changed

CHANGES.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
# Odfdo Release Notes
22

3-
## [3.17.0] - 2025-10-12
3+
## [3.17.1] - 2025-10-18
4+
5+
- Add a new script `odfdo-meta-print`, which prints the document metadata.
6+
- Fix many typos in docstrings and information strings (thanks to @metemaddar).
7+
- Reintroduce support for Python 3.9, as some Linux distributions still use it.
8+
9+
### Changed
10+
11+
- Adapt configuration of `tox` and `github actions` for Python 3.9 reintroduction.
12+
13+
### Added
14+
15+
- Add property `Meta.odf_office_version`.
16+
- Add script `odfdo-meta-print` and tests for it.
17+
- Add optional message to `Meta.as_text()` when no user defined metadata fields.
18+
19+
### Fixed
20+
21+
- Fix typos in `README.md`, docstrings and information strings (by @metemaddar).
22+
23+
## [3.17.0] - 2025-10-11
424

525
- Add Python 3.14 to the test suite, remove support for Python 3.9.
626
- Add some tests for `NamedRange`, `Row` and styles functions.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ A few scripts are provided with `odfdo`:
108108
- `odfdo-userfield`: show or set the user-field content in an ODF file.
109109
- `odfdo-from-csv`: import a CSV file into a .ods file.
110110
- `odfdo-to-csv`: export a .ods table to a CSV file.
111+
- `odfdo-meta-print`: print the metadata of an ODF file.
111112

112113
# tl;dr
113114

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "odfdo"
3-
version = "3.17.0"
3+
version = "3.17.1"
44
description = "Python library for OpenDocument Format"
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -63,8 +63,8 @@ doc = [
6363
dev = [
6464
"pillow>=11.3.0",
6565
"pytest>=8.4.0",
66-
"tox>=4.31.0",
67-
"ruff>=0.14.0",
66+
"tox>=4.30.3",
67+
"ruff>=0.14.1",
6868
"isort>=6.1.0",
6969
"coverage>=7.10.7",
7070
"pytest-cov>=6.2.1",

tests/scripts/test_odfdo_meta_print.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def test_meta_print_no_param():
2727
out, _err, exitcode = run_params(params)
2828
assert exitcode == 1
2929
assert b"usage:" in out
30-
assert b"Error: OSError" in out
30+
assert b"Error:" in out
3131

3232

3333
def test_meta_print_no_file():

0 commit comments

Comments
 (0)