Mercurial > repos > shellac > sam_consensus_v3
comparison env/lib/python3.9/site-packages/ruamel.yaml-0.16.5.dist-info/METADATA @ 0:4f3585e2f14b draft default tip
"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author | shellac |
---|---|
date | Mon, 22 Mar 2021 18:12:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4f3585e2f14b |
---|---|
1 Metadata-Version: 2.0 | |
2 Name: ruamel.yaml | |
3 Version: 0.16.5 | |
4 Summary: ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order | |
5 Home-page: https://bitbucket.org/ruamel/yaml | |
6 Author: Anthon van der Neut | |
7 Author-email: a.van.der.neut@ruamel.eu | |
8 License: MIT license | |
9 Keywords: yaml 1.2 parser round-trip preserve quotes order config | |
10 Platform: UNKNOWN | |
11 Classifier: Development Status :: 4 - Beta | |
12 Classifier: Intended Audience :: Developers | |
13 Classifier: License :: OSI Approved :: MIT License | |
14 Classifier: Operating System :: OS Independent | |
15 Classifier: Programming Language :: Python | |
16 Classifier: Programming Language :: Python :: 2.7 | |
17 Classifier: Programming Language :: Python :: 3.5 | |
18 Classifier: Programming Language :: Python :: 3.6 | |
19 Classifier: Programming Language :: Python :: 3.7 | |
20 Classifier: Programming Language :: Python :: Implementation :: CPython | |
21 Classifier: Programming Language :: Python :: Implementation :: Jython | |
22 Classifier: Programming Language :: Python :: Implementation :: PyPy | |
23 Classifier: Topic :: Software Development :: Libraries :: Python Modules | |
24 Classifier: Topic :: Text Processing :: Markup | |
25 Classifier: Typing :: Typed | |
26 Requires-Dist: ruamel.yaml.clib (>=0.1.2); platform_python_implementation=="CPython" and python_version<"3.8" | |
27 Requires-Dist: ruamel.ordereddict; platform_python_implementation=="CPython" and python_version<="2.7" | |
28 Provides-Extra: docs | |
29 Requires-Dist: ryd; extra == 'docs' | |
30 Provides-Extra: jinja2 | |
31 Requires-Dist: ruamel.yaml.jinja2 (>=0.2); extra == 'jinja2' | |
32 | |
33 | |
34 ruamel.yaml | |
35 =========== | |
36 | |
37 ``ruamel.yaml`` is a YAML 1.2 loader/dumper package for Python. | |
38 | |
39 :version: 0.16.5 | |
40 :updated: 2019-08-18 | |
41 :documentation: http://yaml.readthedocs.io | |
42 :repository: https://bitbucket.org/ruamel/yaml | |
43 :pypi: https://pypi.org/project/ruamel.yaml/ | |
44 | |
45 | |
46 Starting with version 0.15.0 the way YAML files are loaded and dumped | |
47 is changing. See the API doc for details. Currently existing | |
48 functionality will throw a warning before being changed/removed. | |
49 **For production systems you should pin the version being used with | |
50 ``ruamel.yaml<=0.15``**. There might be bug fixes in the 0.14 series, | |
51 but new functionality is likely only to be available via the new API. | |
52 | |
53 If your package uses ``ruamel.yaml`` and is not listed on PyPI, drop | |
54 me an email, preferably with some information on how you use the | |
55 package (or a link to bitbucket/github) and I'll keep you informed | |
56 when the status of the API is stable enough to make the transition. | |
57 | |
58 * `Overview <http://yaml.readthedocs.org/en/latest/overview.html>`_ | |
59 * `Installing <http://yaml.readthedocs.org/en/latest/install.html>`_ | |
60 * `Basic Usage <http://yaml.readthedocs.org/en/latest/basicuse.html>`_ | |
61 * `Details <http://yaml.readthedocs.org/en/latest/detail.html>`_ | |
62 * `Examples <http://yaml.readthedocs.org/en/latest/example.html>`_ | |
63 * `API <http://yaml.readthedocs.org/en/latest/api.html>`_ | |
64 * `Differences with PyYAML <http://yaml.readthedocs.org/en/latest/pyyaml.html>`_ | |
65 | |
66 .. image:: https://readthedocs.org/projects/yaml/badge/?version=stable | |
67 :target: https://yaml.readthedocs.org/en/stable | |
68 | |
69 .. image:: https://bestpractices.coreinfrastructure.org/projects/1128/badge | |
70 :target: https://bestpractices.coreinfrastructure.org/projects/1128 | |
71 | |
72 .. image:: https://bitbucket.org/ruamel/yaml/raw/default/_doc/_static/license.svg | |
73 :target: https://opensource.org/licenses/MIT | |
74 | |
75 .. image:: https://bitbucket.org/ruamel/yaml/raw/default/_doc/_static/pypi.svg | |
76 :target: https://pypi.org/project/ruamel.yaml/ | |
77 | |
78 .. image:: https://bitbucket.org/ruamel/oitnb/raw/default/_doc/_static/oitnb.svg | |
79 :target: https://pypi.org/project/oitnb/ | |
80 | |
81 .. image:: http://www.mypy-lang.org/static/mypy_badge.svg | |
82 :target: http://mypy-lang.org/ | |
83 | |
84 ChangeLog | |
85 ========= | |
86 | |
87 .. should insert NEXT: at the beginning of line for next key (with empty line) | |
88 | |
89 0.16.5 (2019-08-18): | |
90 - allow for ``YAML(typ=['unsafe', 'pytypes'])`` | |
91 | |
92 0.16.4 (2019-08-16): | |
93 - fix output of TAG directives with # (reported by `Thomas Smith | |
94 <https://bitbucket.org/%7Bd4c57a72-f041-4843-8217-b4d48b6ece2f%7D/>`__) | |
95 | |
96 | |
97 0.16.3 (2019-08-15): | |
98 - split construct_object | |
99 - change stuff back to keep mypy happy | |
100 - move setting of version based on YAML directive to scanner, allowing to | |
101 check for file version during TAG directive scanning | |
102 | |
103 0.16.2 (2019-08-15): | |
104 - preserve YAML and TAG directives on roundtrip, correctly output # | |
105 in URL for YAML 1.2 (both reported by `Thomas Smith | |
106 <https://bitbucket.org/%7Bd4c57a72-f041-4843-8217-b4d48b6ece2f%7D/>`__) | |
107 | |
108 0.16.1 (2019-08-08): | |
109 - Force the use of new version of ruamel.yaml.clib (reported by `Alex Joz | |
110 <https://bitbucket.org/%7B9af55900-2534-4212-976c-61339b6ffe14%7D/>`__) | |
111 - Allow '#' in tag URI as these are allowed in YAML 1.2 (reported by | |
112 `Thomas Smith | |
113 <https://bitbucket.org/%7Bd4c57a72-f041-4843-8217-b4d48b6ece2f%7D/>`__) | |
114 | |
115 0.16.0 (2019-07-25): | |
116 - split of C source that generates .so file to ruamel.yaml.clib | |
117 - duplicate keys are now an error when working with the old API as well | |
118 | |
119 0.15.100 (2019-07-17): | |
120 - fixing issue with dumping deep-copied data from commented YAML, by | |
121 providing both the memo parameter to __deepcopy__, and by allowing | |
122 startmarks to be compared on their content (reported by `Theofilos | |
123 Petsios | |
124 <https://bitbucket.org/%7Be550bc5d-403d-4fda-820b-bebbe71796d3%7D/>`__) | |
125 | |
126 0.15.99 (2019-07-12): | |
127 - add `py.typed` to distribution, based on a PR submitted by | |
128 `Michael Crusoe | |
129 <https://bitbucket.org/%7Bc9fbde69-e746-48f5-900d-34992b7860c8%7D/>`__ | |
130 - merge PR 40 (also by Michael Crusoe) to more accurately specify | |
131 repository in the README (also reported in a misunderstood issue | |
132 some time ago) | |
133 | |
134 0.15.98 (2019-07-09): | |
135 - regenerate ext/_ruamel_yaml.c with Cython version 0.29.12, needed | |
136 for Python 3.8.0b2 (reported by `John Vandenberg | |
137 <https://bitbucket.org/%7B6d4e8487-3c97-4dab-a060-088ec50c682c%7D/>`__) | |
138 | |
139 0.15.97 (2019-06-06): | |
140 - regenerate ext/_ruamel_yaml.c with Cython version 0.29.10, needed for | |
141 Python 3.8.0b1 | |
142 - regenerate ext/_ruamel_yaml.c with Cython version 0.29.9, needed for | |
143 Python 3.8.0a4 (reported by `Anthony Sottile | |
144 <https://bitbucket.org/%7B569cc8ea-0d9e-41cb-94a4-19ea517324df%7D/>`__) | |
145 | |
146 0.15.96 (2019-05-16): | |
147 - fix failure to indent comments on round-trip anchored block style | |
148 scalars in block sequence (reported by `William Kimball | |
149 <https://bitbucket.org/%7Bba35ed20-4bb0-46f8-bb5d-c29871e86a22%7D/>`__) | |
150 | |
151 0.15.95 (2019-05-16): | |
152 - fix failure to round-trip anchored scalars in block sequence | |
153 (reported by `William Kimball | |
154 <https://bitbucket.org/%7Bba35ed20-4bb0-46f8-bb5d-c29871e86a22%7D/>`__) | |
155 - wheel files for Python 3.4 no longer provided (`Python 3.4 EOL 2019-03-18 | |
156 <https://www.python.org/dev/peps/pep-0429/>`__) | |
157 | |
158 0.15.94 (2019-04-23): | |
159 - fix missing line-break after end-of-file comments not ending in | |
160 line-break (reported by `Philip Thompson | |
161 <https://bitbucket.org/%7Be42ba205-0876-4151-bcbe-ccaea5bd13ce%7D/>`__) | |
162 | |
163 0.15.93 (2019-04-21): | |
164 - fix failure to parse empty implicit flow mapping key | |
165 - in YAML 1.1 plains scalars `y`, 'n', `Y`, and 'N' are now | |
166 correctly recognised as booleans and such strings dumped quoted | |
167 (reported by `Marcel Bollmann | |
168 <https://bitbucket.org/%7Bd8850921-9145-4ad0-ac30-64c3bd9b036d%7D/>`__) | |
169 | |
170 0.15.92 (2019-04-16): | |
171 - fix failure to parse empty implicit block mapping key (reported by | |
172 `Nolan W <https://bitbucket.org/i2labs/>`__) | |
173 | |
174 0.15.91 (2019-04-05): | |
175 - allowing duplicate keys would not work for merge keys (reported by mamacdon on | |
176 `StackOverflow <https://stackoverflow.com/questions/55540686/>`__ | |
177 | |
178 0.15.90 (2019-04-04): | |
179 - fix issue with updating `CommentedMap` from list of tuples (reported by | |
180 `Peter Henry <https://bitbucket.org/mosbasik/>`__) | |
181 | |
182 0.15.89 (2019-02-27): | |
183 - fix for items with flow-mapping in block sequence output on single line | |
184 (reported by `Zahari Dim <https://bitbucket.org/zahari_dim/>`__) | |
185 - fix for safe dumping erroring in creation of representereror when dumping namedtuple | |
186 (reported and solution by `Jaakko Kantojärvi <https://bitbucket.org/raphendyr/>`__) | |
187 | |
188 0.15.88 (2019-02-12): | |
189 - fix inclusing of python code from the subpackage data (containing extra tests, | |
190 reported by `Florian Apolloner <https://bitbucket.org/apollo13/>`__) | |
191 | |
192 0.15.87 (2019-01-22): | |
193 - fix problem with empty lists and the code to reinsert merge keys (reported via email | |
194 by Zaloo) | |
195 | |
196 0.15.86 (2019-01-16): | |
197 - reinsert merge key in its old position (reported by grumbler on | |
198 `StackOverflow <https://stackoverflow.com/a/54206512/1307905>`__) | |
199 - fix for issue with non-ASCII anchor names (reported and fix | |
200 provided by Dandaleon Flux via email) | |
201 - fix for issue when parsing flow mapping value starting with colon (in pure Python only) | |
202 (reported by `FichteFoll <https://bitbucket.org/FichteFoll/>`__) | |
203 | |
204 0.15.85 (2019-01-08): | |
205 - the types used by ``SafeConstructor`` for mappings and sequences can | |
206 now by set by assigning to ``XXXConstructor.yaml_base_dict_type`` | |
207 (and ``..._list_type``), preventing the need to copy two methods | |
208 with 50+ lines that had ``var = {}`` hardcoded. (Implemented to | |
209 help solve an feature request by `Anthony Sottile | |
210 <https://bitbucket.org/asottile/>`__ in an easier way) | |
211 | |
212 0.15.84 (2019-01-07): | |
213 - fix for ``CommentedMap.copy()`` not returning ``CommentedMap``, let alone copying comments etc. | |
214 (reported by `Anthony Sottile <https://bitbucket.org/asottile/>`__) | |
215 | |
216 0.15.83 (2019-01-02): | |
217 - fix for bug in roundtripping aliases used as key (reported via email by Zaloo) | |
218 | |
219 0.15.82 (2018-12-28): | |
220 - anchors and aliases on scalar int, float, string and bool are now preserved. Anchors | |
221 do not need a referring alias for these (reported by | |
222 `Alex Harvey <https://bitbucket.org/alexharv074/>`__) | |
223 - anchors no longer lost on tagged objects when roundtripping (reported by `Zaloo | |
224 <https://bitbucket.org/zaloo/>`__) | |
225 | |
226 0.15.81 (2018-12-06): | |
227 - fix issue dumping methods of metaclass derived classes (reported and fix provided | |
228 by `Douglas Raillard <https://bitbucket.org/DouglasRaillard/>`__) | |
229 | |
230 0.15.80 (2018-11-26): | |
231 - fix issue emitting BEL character when round-tripping invalid folded input | |
232 (reported by Isaac on `StackOverflow <https://stackoverflow.com/a/53471217/1307905>`__) | |
233 | |
234 0.15.79 (2018-11-21): | |
235 - fix issue with anchors nested deeper than alias (reported by gaFF on | |
236 `StackOverflow <https://stackoverflow.com/a/53397781/1307905>`__) | |
237 | |
238 0.15.78 (2018-11-15): | |
239 - fix setup issue for 3.8 (reported by `Sidney Kuyateh | |
240 <https://bitbucket.org/autinerd/>`__) | |
241 | |
242 0.15.77 (2018-11-09): | |
243 - setting `yaml.sort_base_mapping_type_on_output = False`, will prevent | |
244 explicit sorting by keys in the base representer of mappings. Roundtrip | |
245 already did not do this. Usage only makes real sense for Python 3.6+ | |
246 (feature request by `Sebastian Gerber <https://bitbucket.org/spacemanspiff2007/>`__). | |
247 - implement Python version check in YAML metadata in ``_test/test_z_data.py`` | |
248 | |
249 0.15.76 (2018-11-01): | |
250 - fix issue with empty mapping and sequence loaded as flow-style | |
251 (mapping reported by `Min RK <https://bitbucket.org/minrk/>`__, sequence | |
252 by `Maged Ahmed <https://bitbucket.org/maged2/>`__) | |
253 | |
254 0.15.75 (2018-10-27): | |
255 - fix issue with single '?' scalar (reported by `Terrance | |
256 <https://bitbucket.org/OllieTerrance/>`__) | |
257 - fix issue with duplicate merge keys (prompted by `answering | |
258 <https://stackoverflow.com/a/52852106/1307905>`__ a | |
259 `StackOverflow question <https://stackoverflow.com/q/52851168/1307905>`__ | |
260 by `math <https://stackoverflow.com/users/1355634/math>`__) | |
261 | |
262 0.15.74 (2018-10-17): | |
263 - fix dropping of comment on rt before sequence item that is sequence item | |
264 (reported by `Thorsten Kampe <https://bitbucket.org/thorstenkampe/>`__) | |
265 | |
266 0.15.73 (2018-10-16): | |
267 - fix irregular output on pre-comment in sequence within sequence (reported | |
268 by `Thorsten Kampe <https://bitbucket.org/thorstenkampe/>`__) | |
269 - allow non-compact (i.e. next line) dumping sequence/mapping within sequence. | |
270 | |
271 0.15.72 (2018-10-06): | |
272 - fix regression on explicit 1.1 loading with the C based scanner/parser | |
273 (reported by `Tomas Vavra <https://bitbucket.org/xtomik/>`__) | |
274 | |
275 0.15.71 (2018-09-26): | |
276 - some of the tests now live in YAML files in the | |
277 `yaml.data <https://bitbucket.org/ruamel/yaml.data>`__ repository. | |
278 ``_test/test_z_data.py`` processes these. | |
279 - fix regression where handcrafted CommentedMaps could not be initiated (reported by | |
280 `Dan Helfman <https://bitbucket.org/dhelfman/>`__) | |
281 - fix regression with non-root literal scalars that needed indent indicator | |
282 (reported by `Clark Breyman <https://bitbucket.org/clarkbreyman/>`__) | |
283 - tag:yaml.org,2002:python/object/apply now also uses __qualname__ on PY3 | |
284 (reported by `Douglas RAILLARD <https://bitbucket.org/DouglasRaillard/>`__) | |
285 - issue with self-referring object creation | |
286 (reported and fix by `Douglas RAILLARD <https://bitbucket.org/DouglasRaillard/>`__) | |
287 | |
288 0.15.70 (2018-09-21): | |
289 - reverted CommentedMap and CommentedSeq to subclass ordereddict resp. list, | |
290 reimplemented merge maps so that both ``dict(**commented_map_instance)`` and JSON | |
291 dumping works. This also allows checking with ``isinstance()`` on ``dict`` resp. ``list``. | |
292 (Proposed by `Stuart Berg <https://bitbucket.org/stuarteberg/>`__, with feedback | |
293 from `blhsing <https://stackoverflow.com/users/6890912/blhsing>`__ on | |
294 `StackOverflow <https://stackoverflow.com/q/52314186/1307905>`__) | |
295 | |
296 0.15.69 (2018-09-20): | |
297 - fix issue with dump_all gobbling end-of-document comments on parsing | |
298 (reported by `Pierre B. <https://bitbucket.org/octplane/>`__) | |
299 | |
300 0.15.68 (2018-09-20): | |
301 - fix issue with parsabel, but incorrect output with nested flow-style sequences | |
302 (reported by `Dougal Seeley <https://bitbucket.org/dseeley/>`__) | |
303 - fix issue with loading Python objects that have __setstate__ and recursion in parameters | |
304 (reported by `Douglas RAILLARD <https://bitbucket.org/DouglasRaillard/>`__) | |
305 | |
306 0.15.67 (2018-09-19): | |
307 - fix issue with extra space inserted with non-root literal strings | |
308 (Issue reported and PR with fix provided by | |
309 `Naomi Seyfer <https://bitbucket.org/sixolet/>`__.) | |
310 | |
311 0.15.66 (2018-09-07): | |
312 - fix issue with fold indicating characters inserted in safe_load-ed folded strings | |
313 (reported by `Maximilian Hils <https://bitbucket.org/mhils/>`__). | |
314 | |
315 0.15.65 (2018-09-07): | |
316 - fix issue #232 revert to throw ParserError for unexcpected ``]`` | |
317 and ``}`` instead of IndexError. (Issue reported and PR with fix | |
318 provided by `Naomi Seyfer <https://bitbucket.org/sixolet/>`__.) | |
319 - added ``key`` and ``reverse`` parameter (suggested by Jannik Klemm via email) | |
320 - indent root level literal scalars that have directive or document end markers | |
321 at the beginning of a line | |
322 | |
323 0.15.64 (2018-08-30): | |
324 - support round-trip of tagged sequences: ``!Arg [a, {b: 1}]`` | |
325 - single entry mappings in flow sequences now written by default without braces, | |
326 set ``yaml.brace_single_entry_mapping_in_flow_sequence=True`` to force | |
327 getting ``[a, {b: 1}, {c: {d: 2}}]`` instead of the default ``[a, b: 1, c: {d: 2}]`` | |
328 - fix issue when roundtripping floats starting with a dot such as ``.5`` | |
329 (reported by `Harrison Gregg <https://bitbucket.org/HarrisonGregg/>`__) | |
330 | |
331 0.15.63 (2018-08-29): | |
332 - small fix only necessary for Windows users that don't use wheels. | |
333 | |
334 0.15.62 (2018-08-29): | |
335 - C based reader/scanner & emitter now allow setting of 1.2 as YAML version. | |
336 ** The loading/dumping is still YAML 1.1 code**, so use the common subset of | |
337 YAML 1.2 and 1.1 (reported by `Ge Yang <https://bitbucket.org/yangge/>`__) | |
338 | |
339 0.15.61 (2018-08-23): | |
340 - support for round-tripping folded style scalars (initially requested | |
341 by `Johnathan Viduchinsky <https://bitbucket.org/johnathanvidu/>`__) | |
342 - update of C code | |
343 - speed up of scanning (~30% depending on the input) | |
344 | |
345 0.15.60 (2018-08-18): | |
346 - again allow single entry map in flow sequence context (reported by | |
347 `Lee Goolsbee <https://bitbucket.org/lgoolsbee/>`__) | |
348 - cleanup for mypy | |
349 - spurious print in library (reported by | |
350 `Lele Gaifax <https://bitbucket.org/lele/>`__), now automatically checked | |
351 | |
352 0.15.59 (2018-08-17): | |
353 - issue with C based loader and leading zeros (reported by | |
354 `Tom Hamilton Stubber <https://bitbucket.org/TomHamiltonStubber/>`__) | |
355 | |
356 0.15.58 (2018-08-17): | |
357 - simple mappings can now be used as keys when round-tripping:: | |
358 | |
359 {a: 1, b: 2}: hello world | |
360 | |
361 although using the obvious operations (del, popitem) on the key will | |
362 fail, you can mutilate it by going through its attributes. If you load the | |
363 above YAML in `d`, then changing the value is cumbersome: | |
364 | |
365 d = {CommentedKeyMap([('a', 1), ('b', 2)]): "goodbye"} | |
366 | |
367 and changing the key even more so: | |
368 | |
369 d[CommentedKeyMap([('b', 1), ('a', 2)])] = d.pop( | |
370 CommentedKeyMap([('a', 1), ('b', 2)])) | |
371 | |
372 (you can use a `dict` instead of a list of tuples (or ordereddict), but that might result | |
373 in a different order, of the keys of the key, in the output) | |
374 - check integers to dump with 1.2 patterns instead of 1.1 (reported by | |
375 `Lele Gaifax <https://bitbucket.org/lele/>`__) | |
376 | |
377 | |
378 0.15.57 (2018-08-15): | |
379 - Fix that CommentedSeq could no longer be used in adding or do a sort | |
380 (reported by `Christopher Wright <https://bitbucket.org/CJ-Wright4242/>`__) | |
381 | |
382 0.15.56 (2018-08-15): | |
383 - fix issue with ``python -O`` optimizing away code (reported, and detailed cause | |
384 pinpointed, by `Alex Grönholm <https://bitbucket.org/agronholm/>`__) | |
385 | |
386 0.15.55 (2018-08-14): | |
387 - unmade ``CommentedSeq`` a subclass of ``list``. It is now | |
388 indirectly a subclass of the standard | |
389 ``collections.abc.MutableSequence`` (without .abc if you are | |
390 still on Python2.7). If you do ``isinstance(yaml.load('[1, 2]'), | |
391 list)``) anywhere in your code replace ``list`` with | |
392 ``MutableSequence``. Directly, ``CommentedSeq`` is a subclass of | |
393 the abstract baseclass ``ruamel.yaml.compat.MutableScliceableSequence``, | |
394 with the result that *(extended) slicing is supported on | |
395 ``CommentedSeq``*. | |
396 (reported by `Stuart Berg <https://bitbucket.org/stuarteberg/>`__) | |
397 - duplicate keys (or their values) with non-ascii now correctly | |
398 report in Python2, instead of raising a Unicode error. | |
399 (Reported by `Jonathan Pyle <https://bitbucket.org/jonathan_pyle/>`__) | |
400 | |
401 0.15.54 (2018-08-13): | |
402 - fix issue where a comment could pop-up twice in the output (reported by | |
403 `Mike Kazantsev <https://bitbucket.org/mk_fg/>`__ and by | |
404 `Nate Peterson <https://bitbucket.org/ndpete21/>`__) | |
405 - fix issue where JSON object (mapping) without spaces was not parsed | |
406 properly (reported by `Marc Schmidt <https://bitbucket.org/marcj/>`__) | |
407 - fix issue where comments after empty flow-style mappings were not emitted | |
408 (reported by `Qinfench Chen <https://bitbucket.org/flyin5ish/>`__) | |
409 | |
410 0.15.53 (2018-08-12): | |
411 - fix issue with flow style mapping with comments gobbled newline (reported | |
412 by `Christopher Lambert <https://bitbucket.org/XN137/>`__) | |
413 - fix issue where single '+' under YAML 1.2 was interpreted as | |
414 integer, erroring out (reported by `Jethro Yu | |
415 <https://bitbucket.org/jcppkkk/>`__) | |
416 | |
417 0.15.52 (2018-08-09): | |
418 - added `.copy()` mapping representation for round-tripping | |
419 (``CommentedMap``) to fix incomplete copies of merged mappings | |
420 (reported by `Will Richards | |
421 <https://bitbucket.org/will_richards/>`__) | |
422 - Also unmade that class a subclass of ordereddict to solve incorrect behaviour | |
423 for ``{**merged-mapping}`` and ``dict(**merged-mapping)`` (reported independently by | |
424 `Tim Olsson <https://bitbucket.org/tgolsson/>`__ and | |
425 `Filip Matzner <https://bitbucket.org/FloopCZ/>`__) | |
426 | |
427 0.15.51 (2018-08-08): | |
428 - Fix method name dumps (were not dotted) and loads (reported by `Douglas Raillard | |
429 <https://bitbucket.org/DouglasRaillard/>`__) | |
430 - Fix spurious trailing white-space caused when the comment start | |
431 column was no longer reached and there was no actual EOL comment | |
432 (e.g. following empty line) and doing substitutions, or when | |
433 quotes around scalars got dropped. (reported by `Thomas Guillet | |
434 <https://bitbucket.org/guillett/>`__) | |
435 | |
436 0.15.50 (2018-08-05): | |
437 - Allow ``YAML()`` as a context manager for output, thereby making it much easier | |
438 to generate multi-documents in a stream. | |
439 - Fix issue with incorrect type information for `load()` and `dump()` (reported | |
440 by `Jimbo Jim <https://bitbucket.org/jimbo1qaz/>`__) | |
441 | |
442 0.15.49 (2018-08-05): | |
443 - fix preservation of leading newlines in root level literal style scalar, | |
444 and preserve comment after literal style indicator (``| # some comment``) | |
445 Both needed for round-tripping multi-doc streams in | |
446 `ryd <https://pypi.org/project/ryd/>`__. | |
447 | |
448 0.15.48 (2018-08-03): | |
449 - housekeeping: ``oitnb`` for formatting, mypy 0.620 upgrade and conformity | |
450 | |
451 0.15.47 (2018-07-31): | |
452 - fix broken 3.6 manylinux1, the result of an unclean ``build`` (reported by | |
453 `Roman Sichnyi <https://bitbucket.org/rsichnyi-gl/>`__) | |
454 | |
455 | |
456 0.15.46 (2018-07-29): | |
457 - fixed DeprecationWarning for importing from ``collections`` on 3.7 | |
458 (issue 210, reported by `Reinoud Elhorst | |
459 <https://bitbucket.org/reinhrst/>`__). It was `difficult to find | |
460 why tox/pytest did not report | |
461 <https://stackoverflow.com/q/51573204/1307905>`__ and as time | |
462 consuming to actually `fix | |
463 <https://stackoverflow.com/a/51573205/1307905>`__ the tests. | |
464 | |
465 0.15.45 (2018-07-26): | |
466 - After adding failing test for ``YAML.load_all(Path())``, remove StopIteration | |
467 (PR provided by `Zachary Buhman <https://bitbucket.org/buhman/>`__, | |
468 also reported by `Steven Hiscocks <https://bitbucket.org/sdhiscocks/>`__. | |
469 | |
470 0.15.44 (2018-07-14): | |
471 - Correct loading plain scalars consisting of numerals only and | |
472 starting with `0`, when not explicitly specifying YAML version | |
473 1.1. This also fixes the issue about dumping string `'019'` as | |
474 plain scalars as reported by `Min RK | |
475 <https://bitbucket.org/minrk/>`__, that prompted this chance. | |
476 | |
477 0.15.43 (2018-07-12): | |
478 - merge PR33: Python2.7 on Windows is narrow, but has no | |
479 ``sysconfig.get_config_var('Py_UNICODE_SIZE')``. (merge provided by | |
480 `Marcel Bargull <https://bitbucket.org/mbargull/>`__) | |
481 - ``register_class()`` now returns class (proposed by | |
482 `Mike Nerone <https://bitbucket.org/Manganeez/>`__} | |
483 | |
484 0.15.42 (2018-07-01): | |
485 - fix regression showing only on narrow Python 2.7 (py27mu) builds | |
486 (with help from | |
487 `Marcel Bargull <https://bitbucket.org/mbargull/>`__ and | |
488 `Colm O'Connor <https://bitbucket.org/colmoconnorgithub/>`__). | |
489 - run pre-commit ``tox`` on Python 2.7 wide and narrow, as well as | |
490 3.4/3.5/3.6/3.7/pypy | |
491 | |
492 0.15.41 (2018-06-27): | |
493 - add detection of C-compile failure (investigation prompted by | |
494 `StackOverlow <https://stackoverflow.com/a/51057399/1307905>`__ by | |
495 `Emmanuel Blot <https://stackoverflow.com/users/8233409/emmanuel-blot>`__), | |
496 which was removed while no longer dependent on ``libyaml``, C-extensions | |
497 compilation still needs a compiler though. | |
498 | |
499 0.15.40 (2018-06-18): | |
500 - added links to landing places as suggested in issue 190 by | |
501 `KostisA <https://bitbucket.org/ankostis/>`__ | |
502 - fixes issue #201: decoding unicode escaped tags on Python2, reported | |
503 by `Dan Abolafia <https://bitbucket.org/danabo/>`__ | |
504 | |
505 0.15.39 (2018-06-17): | |
506 - merge PR27 improving package startup time (and loading when regexp not | |
507 actually used), provided by | |
508 `Marcel Bargull <https://bitbucket.org/mbargull/>`__ | |
509 | |
510 0.15.38 (2018-06-13): | |
511 - fix for losing precision when roundtripping floats by | |
512 `Rolf Wojtech <https://bitbucket.org/asomov/>`__ | |
513 - fix for hardcoded dir separator not working for Windows by | |
514 `Nuno André <https://bitbucket.org/nu_no/>`__ | |
515 - typo fix by `Andrey Somov <https://bitbucket.org/asomov/>`__ | |
516 | |
517 0.15.37 (2018-03-21): | |
518 - again trying to create installable files for 187 | |
519 | |
520 0.15.36 (2018-02-07): | |
521 - fix issue 187, incompatibility of C extension with 3.7 (reported by | |
522 Daniel Blanchard) | |
523 | |
524 0.15.35 (2017-12-03): | |
525 - allow ``None`` as stream when specifying ``transform`` parameters to | |
526 ``YAML.dump()``. | |
527 This is useful if the transforming function doesn't return a meaningful value | |
528 (inspired by `StackOverflow <https://stackoverflow.com/q/47614862/1307905>`__ by | |
529 `rsaw <https://stackoverflow.com/users/406281/rsaw>`__). | |
530 | |
531 0.15.34 (2017-09-17): | |
532 - fix for issue 157: CDumper not dumping floats (reported by Jan Smitka) | |
533 | |
534 0.15.33 (2017-08-31): | |
535 - support for "undefined" round-tripping tagged scalar objects (in addition to | |
536 tagged mapping object). Inspired by a use case presented by Matthew Patton | |
537 on `StackOverflow <https://stackoverflow.com/a/45967047/1307905>`__. | |
538 - fix issue 148: replace cryptic error message when using !!timestamp with an | |
539 incorrectly formatted or non- scalar. Reported by FichteFoll. | |
540 | |
541 0.15.32 (2017-08-21): | |
542 - allow setting ``yaml.default_flow_style = None`` (default: ``False``) for | |
543 for ``typ='rt'``. | |
544 - fix for issue 149: multiplications on ``ScalarFloat`` now return ``float`` | |
545 (reported by jan.brezina@tul.cz) | |
546 | |
547 0.15.31 (2017-08-15): | |
548 - fix Comment dumping | |
549 | |
550 0.15.30 (2017-08-14): | |
551 - fix for issue with "compact JSON" not parsing: ``{"in":{},"out":{}}`` | |
552 (reported on `StackOverflow <https://stackoverflow.com/q/45681626/1307905>`__ by | |
553 `mjalkio <https://stackoverflow.com/users/5130525/mjalkio>`_ | |
554 | |
555 0.15.29 (2017-08-14): | |
556 - fix issue #51: different indents for mappings and sequences (reported by | |
557 Alex Harvey) | |
558 - fix for flow sequence/mapping as element/value of block sequence with | |
559 sequence-indent minus dash-offset not equal two. | |
560 | |
561 0.15.28 (2017-08-13): | |
562 - fix issue #61: merge of merge cannot be __repr__-ed (reported by Tal Liron) | |
563 | |
564 0.15.27 (2017-08-13): | |
565 - fix issue 62, YAML 1.2 allows ``?`` and ``:`` in plain scalars if non-ambigious | |
566 (reported by nowox) | |
567 - fix lists within lists which would make comments disappear | |
568 | |
569 0.15.26 (2017-08-10): | |
570 - fix for disappearing comment after empty flow sequence (reported by | |
571 oit-tzhimmash) | |
572 | |
573 0.15.25 (2017-08-09): | |
574 - fix for problem with dumping (unloaded) floats (reported by eyenseo) | |
575 | |
576 0.15.24 (2017-08-09): | |
577 - added ScalarFloat which supports roundtripping of 23.1, 23.100, | |
578 42.00E+56, 0.0, -0.0 etc. while keeping the format. Underscores in mantissas | |
579 are not preserved/supported (yet, is anybody using that?). | |
580 - (finally) fixed longstanding issue 23 (reported by `Antony Sottile | |
581 <https://bitbucket.org/asottile/>`__), now handling comment between block | |
582 mapping key and value correctly | |
583 - warn on YAML 1.1 float input that is incorrect (triggered by invalid YAML | |
584 provided by Cecil Curry) | |
585 - allow setting of boolean representation (`false`, `true`) by using: | |
586 ``yaml.boolean_representation = [u'False', u'True']`` | |
587 | |
588 0.15.23 (2017-08-01): | |
589 - fix for round_tripping integers on 2.7.X > sys.maxint (reported by ccatterina) | |
590 | |
591 0.15.22 (2017-07-28): | |
592 - fix for round_tripping singe excl. mark tags doubling (reported and fix by Jan Brezina) | |
593 | |
594 0.15.21 (2017-07-25): | |
595 - fix for writing unicode in new API, (reported on | |
596 `StackOverflow <https://stackoverflow.com/a/45281922/1307905>`__ | |
597 | |
598 0.15.20 (2017-07-23): | |
599 - wheels for windows including C extensions | |
600 | |
601 0.15.19 (2017-07-13): | |
602 - added object constructor for rt, decorator ``yaml_object`` to replace YAMLObject. | |
603 - fix for problem using load_all with Path() instance | |
604 - fix for load_all in combination with zero indent block style literal | |
605 (``pure=True`` only!) | |
606 | |
607 0.15.18 (2017-07-04): | |
608 - missing ``pure`` attribute on ``YAML`` useful for implementing `!include` tag | |
609 constructor for `including YAML files in a YAML file | |
610 <https://stackoverflow.com/a/44913652/1307905>`__ | |
611 - some documentation improvements | |
612 - trigger of doc build on new revision | |
613 | |
614 0.15.17 (2017-07-03): | |
615 - support for Unicode supplementary Plane **output** | |
616 (input was already supported, triggered by | |
617 `this <https://stackoverflow.com/a/44875714/1307905>`__ Stack Overflow Q&A) | |
618 | |
619 0.15.16 (2017-07-01): | |
620 - minor typing issues (reported and fix provided by | |
621 `Manvendra Singh <https://bitbucket.org/manu-chroma/>`__ | |
622 - small doc improvements | |
623 | |
624 0.15.15 (2017-06-27): | |
625 - fix for issue 135, typ='safe' not dumping in Python 2.7 | |
626 (reported by Andrzej Ostrowski <https://bitbucket.org/aostr123/>`__) | |
627 | |
628 0.15.14 (2017-06-25): | |
629 - fix for issue 133, in setup.py: change ModuleNotFoundError to | |
630 ImportError (reported and fix by | |
631 `Asley Drake <https://github.com/aldraco>`__) | |
632 | |
633 0.15.13 (2017-06-24): | |
634 - suppress duplicate key warning on mappings with merge keys (reported by | |
635 Cameron Sweeney) | |
636 | |
637 0.15.12 (2017-06-24): | |
638 - remove fatal dependency of setup.py on wheel package (reported by | |
639 Cameron Sweeney) | |
640 | |
641 0.15.11 (2017-06-24): | |
642 - fix for issue 130, regression in nested merge keys (reported by | |
643 `David Fee <https://bitbucket.org/dfee/>`__) | |
644 | |
645 0.15.10 (2017-06-23): | |
646 - top level PreservedScalarString not indented if not explicitly asked to | |
647 - remove Makefile (not very useful anyway) | |
648 - some mypy additions | |
649 | |
650 0.15.9 (2017-06-16): | |
651 - fix for issue 127: tagged scalars were always quoted and seperated | |
652 by a newline when in a block sequence (reported and largely fixed by | |
653 `Tommy Wang <https://bitbucket.org/twang817/>`__) | |
654 | |
655 0.15.8 (2017-06-15): | |
656 - allow plug-in install via ``install ruamel.yaml[jinja2]`` | |
657 | |
658 0.15.7 (2017-06-14): | |
659 - add plug-in mechanism for load/dump pre resp. post-processing | |
660 | |
661 0.15.6 (2017-06-10): | |
662 - a set() with duplicate elements now throws error in rt loading | |
663 - support for toplevel column zero literal/folded scalar in explicit documents | |
664 | |
665 0.15.5 (2017-06-08): | |
666 - repeat `load()` on a single `YAML()` instance would fail. | |
667 | |
668 0.15.4 (2017-06-08): | |
669 - `transform` parameter on dump that expects a function taking a | |
670 string and returning a string. This allows transformation of the output | |
671 before it is written to stream. This forces creation of the complete output in memory! | |
672 - some updates to the docs | |
673 | |
674 0.15.3 (2017-06-07): | |
675 - No longer try to compile C extensions on Windows. Compilation can be forced by setting | |
676 the environment variable `RUAMEL_FORCE_EXT_BUILD` to some value | |
677 before starting the `pip install`. | |
678 | |
679 0.15.2 (2017-06-07): | |
680 - update to conform to mypy 0.511: mypy --strict | |
681 | |
682 0.15.1 (2017-06-07): | |
683 - `duplicate keys <http://yaml.readthedocs.io/en/latest/api.html#duplicate-keys>`__ | |
684 in mappings generate an error (in the old API this change generates a warning until 0.16) | |
685 - dependecy on ruamel.ordereddict for 2.7 now via extras_require | |
686 | |
687 0.15.0 (2017-06-04): | |
688 - it is now allowed to pass in a ``pathlib.Path`` as "stream" parameter to all | |
689 load/dump functions | |
690 - passing in a non-supported object (e.g. a string) as "stream" will result in a | |
691 much more meaningful YAMLStreamError. | |
692 - assigning a normal string value to an existing CommentedMap key or CommentedSeq | |
693 element will result in a value cast to the previous value's type if possible. | |
694 - added ``YAML`` class for new API | |
695 | |
696 0.14.12 (2017-05-14): | |
697 - fix for issue 119, deepcopy not returning subclasses (reported and PR by | |
698 Constantine Evans <cevans@evanslabs.org>) | |
699 | |
700 0.14.11 (2017-05-01): | |
701 - fix for issue 103 allowing implicit documents after document end marker line (``...``) | |
702 in YAML 1.2 | |
703 | |
704 0.14.10 (2017-04-26): | |
705 - fix problem with emitting using cyaml | |
706 | |
707 0.14.9 (2017-04-22): | |
708 - remove dependency on ``typing`` while still supporting ``mypy`` | |
709 (http://stackoverflow.com/a/43516781/1307905) | |
710 - fix unclarity in doc that stated 2.6 is supported (reported by feetdust) | |
711 | |
712 0.14.8 (2017-04-19): | |
713 - fix Text not available on 3.5.0 and 3.5.1, now proactively setting version guards | |
714 on all files (reported by `João Paulo Magalhães <https://bitbucket.org/jpmag/>`__) | |
715 | |
716 0.14.7 (2017-04-18): | |
717 - round trip of integers (decimal, octal, hex, binary) now preserve | |
718 leading zero(s) padding and underscores. Underscores are presumed | |
719 to be at regular distances (i.e. ``0o12_345_67`` dumps back as | |
720 ``0o1_23_45_67`` as the space from the last digit to the | |
721 underscore before that is the determining factor). | |
722 | |
723 0.14.6 (2017-04-14): | |
724 - binary, octal and hex integers are now preserved by default. This | |
725 was a known deficiency. Working on this was prompted by the issue report (112) | |
726 from devnoname120, as well as the additional experience with `.replace()` | |
727 on `scalarstring` classes. | |
728 - fix issues 114: cannot install on Buildozer (reported by mixmastamyk). | |
729 Setting env. var ``RUAMEL_NO_PIP_INSTALL_CHECK`` will suppress ``pip``-check. | |
730 | |
731 0.14.5 (2017-04-04): | |
732 - fix issue 109: None not dumping correctly at top level (reported by Andrea Censi) | |
733 - fix issue 110: .replace on Preserved/DoubleQuoted/SingleQuoted ScalarString | |
734 would give back "normal" string (reported by sandres23) | |
735 | |
736 0.14.4 (2017-03-31): | |
737 - fix readme | |
738 | |
739 0.14.3 (2017-03-31): | |
740 - fix for 0o52 not being a string in YAML 1.1 (reported on | |
741 `StackOverflow Q&A 43138503 <http://stackoverflow.com/a/43138503/1307905>`__ by | |
742 `Frank D <http://stackoverflow.com/users/7796630/frank-d>`__) | |
743 | |
744 0.14.2 (2017-03-23): | |
745 - fix for old default pip on Ubuntu 14.04 (reported by Sébastien Maccagnoni-Munch) | |
746 | |
747 0.14.1 (2017-03-22): | |
748 - fix Text not available on 3.5.0 and 3.5.1 (reported by Charles Bouchard-Légaré) | |
749 | |
750 0.14.0 (2017-03-21): | |
751 - updates for mypy --strict | |
752 - preparation for moving away from inheritance in Loader and Dumper, calls from e.g. | |
753 the Representer to the Serializer.serialize() are now done via the attribute | |
754 .serializer.serialize(). Usage of .serialize() outside of Serializer will be | |
755 deprecated soon | |
756 - some extra tests on main.py functions | |
757 | |
758 ---- | |
759 | |
760 For older changes see the file | |
761 `CHANGES <https://bitbucket.org/ruamel/yaml/src/default/CHANGES>`_ | |
762 | |
763 |