Skip to content

Commit

Permalink
Merge pull request #417 from OpenDataServices/2023-01-11
Browse files Browse the repository at this point in the history
2023 01 11
  • Loading branch information
James (ODSC) authored Jan 11, 2023
2 parents a9c4b71 + 8a91567 commit fff5149
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [0.20.1] - 2023-01-11

### Fixed

- Import backports-datetime-fromisoformat only if needed, to fix PyPy 3.7 support

## [0.20.0] - 2022-12-07

### Changed
Expand Down
3 changes: 2 additions & 1 deletion flattentool/ODSReader.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@
from collections import OrderedDict
from datetime import datetime

import backports.datetime_fromisoformat
import odf.opendocument
from odf.table import Table, TableCell, TableRow

# Backport for datetime.fromisoformat, which is new in Python 3.7
try:
_ = datetime.fromisoformat
except AttributeError:
import backports.datetime_fromisoformat

backports.datetime_fromisoformat.MonkeyPatch.patch_fromisoformat()


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def run(self):

setup(
name="flattentool",
version="0.20.0",
version="0.20.1",
author="Open Data Services",
author_email="[email protected]",
packages=["flattentool"],
Expand Down

0 comments on commit fff5149

Please sign in to comment.