Skip to content

Commit 68443d6

Browse files
committed
docs(CHANGES): Note update
1 parent 094e624 commit 68443d6

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

CHANGES

+21
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,27 @@ $ pip install --user --upgrade --pre libtmux
1414

1515
<!-- Maintainers and contributors: Insert change notes for the next release above -->
1616

17+
### Breaking changes
18+
19+
- Fix `distutils` warning, vendorize `LegacyVersion` (#351)
20+
21+
Removal of reliancy on `distutils.version.LooseVersion`, which does not
22+
support `tmux(1)` versions like `3.1a`.
23+
24+
Fixes warning:
25+
26+
> DeprecationWarning: distutils Version classes are deprecated. Use
27+
> packaging.version instead.
28+
29+
The temporary workaround, before 0.16.0 (assuming _setup.cfg_):
30+
31+
```ini
32+
[tool:pytest]
33+
filterwarnings =
34+
ignore:.* Use packaging.version.*:DeprecationWarning::
35+
ignore:The frontend.Option(Parser)? class.*:DeprecationWarning::
36+
```
37+
1738
### Features
1839

1940
- `Window.split_window()` and `Session.new_window()` now support an optional

0 commit comments

Comments
 (0)