2019-08-14 00:50:51 by Greg Troxel | Files touched by this commit (3) | |
Log message:
devel/py-ruamel-yaml: Update to 0.15.100
(While 0.16.1 is current, that update perhaps is more complicated, so
I'm updating to the last release of 0.15 as an intermediate step.)
[0, 15, 100]: 2019-07-17
- fixing issue with dumping deep-copied data from commented YAML, by
providing both the memo parameter to __deepcopy__, and by allowing
startmarks to be compared on their content (reported by `Theofilos
Petsios
<https://bitbucket.org/%7Be550bc5d-403d-4fda-820b-bebbe71796d3%7D/>`__)
[0, 15, 99]: 2019-07-12
- add `py.typed` to distribution, based on a PR submitted by
`Michael Crusoe
<https://bitbucket.org/%7Bc9fbde69-e746-48f5-900d-34992b7860c8%7D/>`__
- merge PR 40 (also by Michael Crusoe) to more accurately specify
repository in the README (also reported in a misunderstood issue
some time ago)
[0, 15, 98]: 2019-07-09
- regenerate ext/_ruamel_yaml.c with Cython version 0.29.12, needed
for Python 3.8.0b2 (reported by `John Vandenberg
<https://bitbucket.org/%7B6d4e8487-3c97-4dab-a060-088ec50c682c%7D/>`__)
[0, 15, 97]: 2019-06-06
- regenerate ext/_ruamel_yaml.c with Cython version 0.29.10, needed for
Python 3.8.0b1
- regenerate ext/_ruamel_yaml.c with Cython version 0.29.9, needed for
Python 3.8.0a4 (reported by `Anthony Sottile
<https://bitbucket.org/%7B569cc8ea-0d9e-41cb-94a4-19ea517324df%7D/>`__)
[0, 15, 96]: 2019-05-16
- fix failure to indent comments on round-trip anchored block style
scalars in block sequence (reported by `William Kimball
<https://bitbucket.org/%7Bba35ed20-4bb0-46f8-bb5d-c29871e86a22%7D/>`__)
[0, 15, 95]: 2019-05-16
- fix failure to round-trip anchored scalars in block sequence
(reported by `William Kimball
<https://bitbucket.org/%7Bba35ed20-4bb0-46f8-bb5d-c29871e86a22%7D/>`__)
- wheel files for Python 3.4 no longer provided (`Python 3.4 EOL 2019-03-18
<https://www.python.org/dev/peps/pep-0429/>`__)
|
2019-08-14 00:45:59 by Greg Troxel | Files touched by this commit (1) | |
Log message:
devel/py-ruamel-yaml: Sort PLIST
No functional change; PLIST was not sorted per print-PLIST, making
updates difficult.
|
2019-05-07 11:29:38 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-ruamel.yaml: updated to 0.15.94
0.15.94:
- fix missing line-break after end-of-file comments not ending in
line-break
0.15.93:
- fix failure to parse empty implicit flow mapping key
- in YAML 1.1 plains scalars y, 'n', Y, and 'N' are now
correctly recognised as booleans and such strings dumped quoted
0.15.92:
- fix failure to parse empty implicit block mapping key
0.15.91:
- allowing duplicate keys would not work for merge keys
0.15.90:
- fix issue with updating CommentedMap from list of tuples
0.15.89:
- fix for items with flow-mapping in block sequence output on single line
- fix for safe dumping erroring in creation of representereror when dumping \
namedtuple
0.15.88:
- fix inclusing of python code from the subpackage data
0.15.87:
- fix problem with empty lists and the code to reinsert merge keys
0.15.86:
- reinsert merge key in its old position
- fix for issue with non-ASCII anchor names
- fix for issue when parsing flow mapping value starting with colon (in pure \
Python only)
0.15.85:
- the types used by SafeConstructor for mappings and sequences can
now by set by assigning to XXXConstructor.yaml_base_dict_type
(and ..._list_type), preventing the need to copy two methods
with 50+ lines that had var = {} hardcoded.
0.15.84:
- fix for CommentedMap.copy() not returning CommentedMap, let alone copying \
comments etc.
0.15.83:
- fix for bug in roundtripping aliases used as key
0.15.82:
- anchors and aliases on scalar int, float, string and bool are now preserved. \
Anchors
do not need a referring alias for these
- anchors no longer lost on tagged objects when roundtripping
0.15.81:
- fix issue saving methods of metaclass derived classes
0.15.80:
- fix issue emitting BEL character when round-tripping invalid folded input
0.15.79:
- fix issue with anchors nested deeper than alias
0.15.78:
- fix setup issue for 3.8
0.15.77:
- setting yaml.sort_base_mapping_type_on_output = False, will prevent
explicit sorting by keys in the base representer of mappings. Roundtrip
already did not do this. Usage only makes real sense for Python 3.6+
- implement Python version check in YAML metadata in _test/test_z_data.py
0.15.76:
- fix issue with empty mapping and sequence loaded as flow-style
0.15.75:
- fix issue with single '?' scalar
- fix issue with duplicate merge keys
0.15.74:
- fix dropping of comment on rt before sequence item that is sequence item
0.15.73:
- fix irregular output on pre-comment in sequence within sequence
- allow non-compact (i.e. next line) dumping sequence/mapping within sequence.
|
2018-10-14 18:26:51 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-ruamel-yaml: updated to 0.15.72
0.15.72:
- fix regression on explicit 1.1 loading with the C based scanner/parser
0.15.72:
- fix regression on explicit 1.1 loading with the C based scanner/parser
0.15.71:
- fix regression where handcrafted CommentedMaps could not be initiated
- fix regression with non-root literal scalars that needed indent indicator
- tag:yaml.org,2002:python/object/apply now also uses __qualname__ on PY3
0.15.70:
- reverted CommentedMap and CommentedSeq to subclass ordereddict resp. list,
reimplemented merge maps so that both dict(**commented_map_instance) and JSON
dumping works. This also allows checking with isinstance() on dict resp. list.
0.15.69:
- fix issue with dump_all gobbling end-of-document comments on parsing
0.15.68:
- fix issue with parsabel, but incorrect output with nested flow-style sequences
- fix issue with loading Python objects that have __setstate__ and recursion in \
parameters
0.15.67:
- fix issue with extra space inserted with non-root literal strings
0.15.66:
- fix issue with fold indicating characters inserted in safe_load-ed folded strings
0.15.65:
- fix issue 232 revert to throw ParserError for unexcpected ]
and } instead of IndexError.
- added key and reverse parameter (suggested by Jannik Klemm via email)
- indent root level literal scalars that have directive or document end markers
at the beginning of a line
0.15.64:
- support round-trip of tagged sequences: !Arg [a, {b: 1}]
- single entry mappings in flow sequences now written by default without quotes
set yaml.brace_single_entry_mapping_in_flow_sequence=True to force
getting [a, {b: 1}, {c: {d: 2}}] instead of the default [a, b: 1, c: {d: 2}]
- fix issue when roundtripping floats starting with a dot such as .5
0.15.63:
- small fix only necessary for Windows users that don't use wheels.
0.15.62:
- C based reader/scanner & emitter now allow setting of 1.2 as YAML version.
** The loading/dumping is still YAML 1.1 code**, so use the common subset of
YAML 1.2 and 1.1
0.15.61:
- support for round-tripping folded style scalars
- update of C code
- speed up of scanning (~30% depending on the input)
0.15.60:
- cleanup for mypy
- spurious print in library
0.15.59:
- issue with C based loader and leading zeros
0.15.59:
- issue with C based loader and leading zeros
0.15.58:
- simple mappings can now be used as keys when round-tripping::
{a: 1, b: 2}: hello world
although using the obvious operations (del, popitem) on the key will
fail, you can mutilate it by going through its attributes. If you load the
above YAML in d, then changing the value is cumbersome:
d = {CommentedKeyMap([('a', 1), ('b', 2)]): "goodbye"}
and changing the key even more so:
d[CommentedKeyMap([('b', 1), ('a', 2)])] = d.pop(
CommentedKeyMap([('a', 1), ('b', 2)]))
(you can use a dict instead of a list of tuples (or ordereddict), but that \
might result
in a different order, of the keys of the key, in the output)
- check integers to dump with 1.2 patterns instead of 1.1
0.15.57:
- Fix that CommentedSeq could no longer be used in adding or do a copy
0.15.56:
- fix issue with python -O optimizing away code
0.15.55:
- unmade CommentedSeq a subclass of list. It is now
indirectly a subclass of the standard
collections.abc.MutableSequence (without .abc if you are
still on Python2.7). If you do isinstance(yaml.load('[1, 2]'),
list)) anywhere in your code replace list with
MutableSequence. Directly, CommentedSeq is a subclass of
the abstract baseclass ruamel.yaml.compat.MutableScliceableSequence,
with the result that *(extended) slicing is supported on
CommentedSeq*.
- duplicate keys (or their values) with non-ascii now correctly
report in Python2, instead of raising a Unicode error.
|
2018-08-14 16:54:26 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-ruamel-yaml: updated to 0.15.54
[0, 15, 54]:
- fix issue where a comment could pop-up twice in the output
- fix issue where JSON object (mapping) without spaces was not parsed
properly
- fix issue where comments after empty flow-style mappings were not emitted
[0, 15, 53]:
- fix issue with flow style mapping with comments gobbled newline
- fix issue where single '+' under YAML 1.2 was interpreted as
integer, erroring out
[0, 15, 52]:
- added .copy() mapping representation for round-tripping
(CommentedMap) to fix incomplete copies of merged mappings
- Also unmade that class a subclass of ordereddict to solve incorrect behaviour
for {**merged-mapping} and dict(**merged-mapping)
[0, 15, 51]:
- Fix method name dumps (were not dotted) and loads (reported by Douglas Raillard
- Fix spurious trailing white-space caused when the comment start
column was no longer reached and there was no actual EOL comment
(e.g. following empty line) and doing substitutions, or when
quotes around scalars got dropped.
[0, 15, 50]:
- Allow YAML() as a context manager for output, thereby making it much easier
to generate multi-documents in a stream.
- Fix issue with incorrect type information for load() and dump()
|
2018-07-13 10:06:39 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-ruamel-yaml: updated to 0.15.43
0.15.43:
merge PR33: Python2.7 on Windows is narrow, but has no \
sysconfig.get_config_var('Py_UNICODE_SIZE').
register_class() now returns class
|
2018-07-03 14:27:03 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-ruamel-yaml: updated to 0.15.42
0.15.42:
fix regression showing only on narrow Python 2.7 (py27mu) builds
run pre-commit tox on Python 2.7 wide and narrow, as well as 3.4/3.5/3.6/3.7/pypy
0.15.41:
add detection of C-compile failure, which was removed while no longer dependent \
on libyaml, C-extensions compilation still needs a compiler though.
0.15.40:
added links to landing places as suggested in issue 190
fixes issue 201: decoding unicode escaped tags on Python2
0.15.39:
merge P.R.27 improving package startup time (and loading when regexp not \
actually used)
0.15.38:
fix for losing precision when roundtripping floats
fix for hardcoded dir separator not working for Windows
0.15.37:
again trying to create installable files for 187
0.15.36:
fix issue 187, incompatibility of C extension with 3.7
|
2017-12-14 14:21:02 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-ruamel-yaml: updated to 0.15.35
[0, 15, 35]:
- allow None as stream when specifying transform parameters to
YAML.dump().
This is useful if the transforming function doesn't return a meaningful value
|
2017-10-28 10:51:25 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-ruamel-yaml: updated to 0.15.34
0.15.34:
- fix for issue 157: CDumper not dumping floats
|
2017-04-23 17:52:33 by Leonardo Taccari | Files touched by this commit (2) |
Log message:
Adjust DEPENDS and PLIST
py-ruamel-base is no longer needed and Python < 35 also needs py-typing.
Due the latter, requires.txt is installed also for the py34- version, adjust
PLIST accordingly.
Pointed out by <nils>'s bulk builds.
Bump PKGREVISION
|