WebEdge
WebEdge copied to clipboard
Bump pyparsing from 2.4.6 to 3.0.9
Bumps pyparsing from 2.4.6 to 3.0.9.
Release notes
Sourced from pyparsing's releases.
pyparsing 3.0.9
Added Unicode set
BasicMultilingualPlane(may also be referenced asBMP) representing the Basic Multilingual Plane (Unicode characters up to code point 65535). Can be used to parse most language characters, but omits emojis, wingdings, etc. Raised in discussion with Dave Tapley (issue #392).To address mypy confusion of
pyparsing.Optionalandtyping.Optionalresulting inerror: "_SpecialForm" not callablemessage reported in issue #365, fixed the import in exceptions.py. Nice sleuthing by Iwan Aucamp and Dominic Davis-Foster, thank you! (Removed definitions ofOptionalType,DictType, andIterableTypeand replaced them withtyping.Optional,typing.Dict, andtyping.Iterablethroughout.)Fixed typo in jinja2 template for railroad diagrams, thanks for the catch Nioub (issue #388).
Removed use of deprecated
pkg_resourcespackage in railroad diagramming code (issue #391).Updated bigquery_view_parser.py example to parse examples at https://cloud.google.com/bigquery/docs/reference/legacy-sql
pyparsing 3.0.8
Version 3.0.8 -
API CHANGE: modified pyproject.toml to require Python version 3.6.8 or later for pyparsing 3.x. Earlier minor versions of 3.6 fail in evaluating the
version_infoclass (implemented usingtyping.NamedTuple). If you are using an earlier version of Python 3.6, you will need to use pyparsing 2.4.7.Improved pyparsing import time by deferring regex pattern compiles. PR submitted by Anthony Sottile to fix issue #362, thanks!
Updated build to use flit, PR by Michał Górny, added BUILDING.md doc and removed old Windows build scripts - nice cleanup work!
More type-hinting added for all arithmetic and logical operator methods in
ParserElement. PR from Kazantcev Andrey, thank you.Fixed
infix_notation's definitions oflparandrpar, to accept parse expressions such that they do not get suppressed in the parsed results. PR submitted by Philippe Prados, nice work.Fixed bug in railroad diagramming with expressions containing
Combineelements. Reported by Jeremy White, thanks!Added
show_groupsargument tocreate_diagramto highlight grouped elements with an unlabeled bounding box.Added
unicode_denormalizer.pyto the examples as a demonstration of how Python's interpreter will accept Unicode characters in identifiers, but normalizes them back to ASCII so that identifiers𝕡𝓻ᵢ𝓃𝘁and𝖕𝒓𝗂𝑛ᵗare all equivalent.Removed imports of deprecated
sre_constantsmodule for catching exceptions when compiling regular expressions. PR submitted by Serhiy Storchaka, thank you.pyparsing 3.0.7
Fixed bug #345, in which delimitedList changed expressions in place using expr.streamline(). Reported by Kim Gräsman, thanks!
Fixed bug #346, when a string of word characters was passed to WordStart or WordEnd instead of just taking the default value. Originally posted as a question by Parag on StackOverflow, good catch!
Fixed bug #350, in which White expressions could fail to match due to unintended whitespace-skipping. Reported by Fu Hanxi, thank you!
Fixed bug #355, when a QuotedString is defined with characters in its quoteChar string containing regex-significant characters such as ., *, ?, [, ], etc.
Fixed bug in ParserElement.run_tests where comments would be displayed using with_line_numbers.
Added optional "min" and "max" arguments to
delimited_list. PR submitted by Marius, thanks!Added new API change note in
whats_new_in_pyparsing_3_0_0, regarding a bug fix in thebool()behavior ofParseResults.Prior to pyparsing 3.0.x, the
ParseResultsclass implementation of__bool__would returnFalseif theParseResultsitem list was empty, even if it contained named results. In 3.0.0 and later,ParseResultswill returnTrueif either the item list is not empty or if the named results dict is not empty.# generate an empty ParseResults by parsing a blank string with
... (truncated)
Changelog
Sourced from pyparsing's changelog.
Version 3.0.9 -
Added Unicode set
BasicMultilingualPlane(may also be referenced asBMP) representing the Basic Multilingual Plane (Unicode characters up to code point 65535). Can be used to parse most language characters, but omits emojis, wingdings, etc. Raised in discussion with Dave Tapley (issue #392).To address mypy confusion of
pyparsing.Optionalandtyping.Optionalresulting inerror: "_SpecialForm" not callablemessage reported in issue #365, fixed the import in exceptions.py. Nice sleuthing by Iwan Aucamp and Dominic Davis-Foster, thank you! (Removed definitions ofOptionalType,DictType, andIterableTypeand replaced them withtyping.Optional,typing.Dict, andtyping.Iterablethroughout.)Fixed typo in jinja2 template for railroad diagrams, thanks for the catch Nioub (issue #388).
Removed use of deprecated
pkg_resourcespackage in railroad diagramming code (issue #391).Updated bigquery_view_parser.py example to parse examples at https://cloud.google.com/bigquery/docs/reference/legacy-sql
Version 3.0.8 -
API CHANGE: modified pyproject.toml to require Python version 3.6.8 or later for pyparsing 3.x. Earlier minor versions of 3.6 fail in evaluating the
version_infoclass (implemented usingtyping.NamedTuple). If you are using an earlier version of Python 3.6, you will need to use pyparsing 2.4.7.Improved pyparsing import time by deferring regex pattern compiles. PR submitted by Anthony Sottile to fix issue #362, thanks!
Updated build to use flit, PR by Michał Górny, added BUILDING.md doc and removed old Windows build scripts - nice cleanup work!
More type-hinting added for all arithmetic and logical operator methods in
ParserElement. PR from Kazantcev Andrey, thank you.Fixed
infix_notation's definitions oflparandrpar, to accept parse expressions such that they do not get suppressed in the parsed results. PR submitted by Philippe Prados, nice work.Fixed bug in railroad diagramming with expressions containing
Combineelements. Reported by Jeremy White, thanks!
... (truncated)
Commits
01969ffBack out Lox language parser (from Crafting Interpreters, by Robert Nystrom)17737d5Added Lox language parser (from Crafting Interpreters, by Robert Nystrom)a147c9dAdded Lox language parser (from Crafting Interpreters, by Robert Nystrom)9c6f1fePrep for 3.0.9 releasea73af6aUpdate UML class diagram, and add SVG rendering77206deFix .rst markup for tables and some code samplese9e56bdAdded notes to HowToUsePyparsing.rst for using Unicode language sets17a39e8Added test case to bigquery_view_parser.py from #2910ec8031Added another test case to bigquery_view_parser.pyed37b35Update CHANGES to reflect latest fixes- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)