Path to this page:
Subject: CVS commit: pkgsrc/devel/py-ruamel-yaml
From: Thomas Klausner
Date: 2023-11-05 01:36:04
Message id: 20231105003604.F3781FA2B@cvs.NetBSD.org
Log Message:
py-ruamel-yaml: update to 0.18.2.
[0.18.2, 2023-10-24]:
- calling the deprecated functions now raises an `AttributeError` with the, somewhat
more informative, orginal warning message. Instead of calling `sys.exit(1)`
[0.18.1, 2023-10-24]:
- calling the deprecated functions now always displays the warning message. (reported
by [Trend Lloyd](https://sourceforge.net/u/lathiat2/profile/))
[0.18.0, 2023-10-23]:
- the **functions** `scan`, `parse`, `compose`, `load`, `emit`, `serialize`, `dump`
and their variants (`_all`, `safe_`, `round_trip_`, etc) have been deprecated (the
same named **methods** on `YAML()` instances are, of course, still there.
- |-
`YAML(typ='unsafe')` now issues a `PendingDeprecationWarning`. This will \
become deprecated in the 0.18 series
(probably before the end of 2023).
You can use `YAML(typ='full')` to dump unregistered Python classes/functions.
For loading you'll have to register your classes/functions
if you want the old, unsafe, functionality. You can still load any tag, like \
`!!python/name:posix.system', **safely**
with the (default) round-trip parser.
- fix for `bytes-like object is required not 'str' while dumping binary streams`.
This was reported, analysed and a fix provided by [Vit \
Zikmund](https://sourceforge.net/u/tlwhitec/profile/)
Files: