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