Repository navigation
chore(deps): update dependency tomlkit to v0.15.3 - #642
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Renovate proposes this dependency update under the family preset. The table below lists each package and its version change, and the release notes follow.
Pre-Merge Verification Checklist
The bot ticks nothing; CI runs the repository's required gate on this pull request; items no check decides (3D tests among them) still need a reviewer's look.
make verify-allstandardsctl compile-context --verifyThis PR contains the following updates:
==0.15.2→==0.15.3Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
python-poetry/tomlkit (tomlkit)
v0.15.3Compare Source
Changed
comment(),Item.comment()andArray.add_line(..., comment=...)now raiseValueErrorfor control characters that TOML forbids in comments (anything but tab, plusDEL), including a bare carriage return;comment()still accepts LF and CRLF line breaks. Previously such comments were written out and produced a document that could not be parsed back. (#705)date()now raisesValueErrorwhen given a datetime string such as"1979-05-13T12:34:56"instead of returning a datetime. (#673)Array.sort()now reorders the serialized values too, keeping the array's formatting and comments in place; previouslylist.sort()only reordered the Python list, sodumps()still wrote the old order. (#644)Fixed
dumps(..., sort_keys=True)now sorts the keys of a parsed document recursively, matching the behavior on a plaindict; previously only the top-level keys were sorted while nested tables, inline tables, arrays of tables and inline tables inside an array kept their original order. (#614)Table.setdefault()andInlineTable.setdefault()to retrieve existing values without supplying a default, matching document and mapping behavior. (#710)item()anddumps()writing adatetimewhose UTC offset is not a whole number of minutes (e.g. the historical LMT offsetszoneinfogives, such as-00:44:30) as invalid TOML like1900-01-01T12:00:00Z:30, which no parser accepts. Such a value is now written as the same instant in UTC; this also coversDateTime.replace()andastimezone(). (#701)DateTime.astimezone()to use the local timezone when no timezone argument is supplied, matchingdatetime.datetime. (#651)replace()results forInteger,Float,String,DateTime,DateandTimeno longer share the original item'sTrivia, so changing the result's comment or indentation no longer rewrites the item still stored in the document. (#683)round()on aFloatwithoutndigitsreturning aFloat(e.g.2.0) instead of anInteger, matchinground()on a plainfloat. (#695)string(..., multiline=True, escape=False)added an extra newline to a value starting with a newline, making it impossible to write such a raw string verbatim; withescape=Falsethe value is now used as given again. (#655)b = {}. (#664)[a]withb.c = 1andb.d = 2, then[a.b.e]after another table. (#632)AttributeErrorwhen a table is defined out of order under an indented header nested four or more levels deep, e.g.[a.b.c.d]then[a.b.c]. (#663)[tool.poetry],[[plugins]],[tool.other]), so the document no longer round-trips unchanged. (#702)update()on an out-of-order table dropping sibling keys stored in its other fragments when one of the updated keys appears in a later fragment. (#675)TOMLDocument.valueand comparisons keeping only the last fragment of an array of tables split by other tables; all entries are now included, matchingunwrap(). (#697)doc["a"][:1] = [{"x": 4}]) producing invalid output and leavingunwrap()andjson.dumps()out of sync; an extended slice of the wrong length now raises before changing the document. (#631)ValueErrorbefore changing the document. (#712)RecursionErrorwhen parsing a dotted key at the maximum nesting depth followed by another key under the same prefix;Container,TableandInlineTablenow implement__deepcopy__, and errors while assembling tables are reported asParseError. (#714)register_encoder()now receive only the_parentand_sort_keyskeyword arguments they declare (or both when they accept**kwargs); previously an encoder declaring_parentbut not_sort_keysfailed withTypeError, and one declaring only_sort_keysnever received it. (#698)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.