Commit 40d0b86
authored
Fix compatibility with tabulate 0.10.0 (#107)
* Fix compatibility with tabulate 0.10.0
Because `tabulate.PRESERVE_WHITESPACE` was replaced with a keyword
argument but was not removed from the module namespace (even though
modifying it no longer has any effect), the only way to check whether we
should pass the new `preserve_whitespace` argument is to examine
`tabulate.__version__`. This required adding a dependency on `packaging`
to parse and compare the version string.
* Changelog entry for tabulate 0.10 support
* Add Benjamin Beasley as a contributor in AUTHORS
* Require tabulate>=0.10.0 to avoid a packaging dependency1 parent 9fb9f65 commit 40d0b86
4 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments