Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 25, 2021

Bumps pyparsing from 2.4.7 to 3.0.1.

Release notes

Sourced from pyparsing's releases.

pyparsing 3.0.1

  • Fixed bug where Word(max=n) did not match word groups less than length 'n'. Thanks to Joachim Metz for catching this!

  • Fixed bug where ParseResults accidentally created recursive contents. Joachim Metz on this one also!

  • Fixed bug where warn_on_multiple_string_args_to_oneof warning is raised even when not enabled.

pyparsing 3.0.0

Version 3.0.0 -

Version 3.0.0.final -

  • Added support for python -W warning option to call enable_all_warnings() at startup. Also detects setting of PYPARSINGENABLEALLWARNINGS environment variable to any non-blank value.

  • Fixed named results returned by url to match fields as they would be parsed using urllib.parse.urlparse.

  • Early response to with_line_numbers was positive, with some requested enhancements: . added a trailing "|" at the end of each line (to show presence of trailing spaces); can be customized using eol_mark argument . added expand_tabs argument, to control calling str.expandtabs (defaults to True to match parseString) . added mark_spaces argument to support display of a printing character in place of spaces, or Unicode symbols for space and tab characters . added mark_control argument to support highlighting of control characters using '.' or Unicode symbols, such as "␍" and "␊".

  • Modified helpers common_html_entity and replace_html_entity() to use the HTML entity definitions from html.entities.html5.

  • Updated the class diagram in the pyparsing docs directory, along with the supporting .puml file (PlantUML markup) used to create the diagram.

  • Added global method autoname_elements() to call set_name() on all locally defined ParserElements that haven't been explicitly named using set_name(), using their local variable name. Useful for setting names on multiple elements when creating a railroad diagram.

          a = pp.Literal("a")
          b = pp.Literal("b").set_name("bbb")
          pp.autoname_elements()
    

    a will get named "a", while b will keep its name "bbb".

pyparsing 3.0.0rc2

  • Added url expression to pyparsing_common. (Sample code posted by Wolfgang Fahl, very nice!)

    This new expression has been added to the urlExtractorNew.py example, to show how it extracts URL fields into separate results names.

  • Added method to pyparsing_testing to help debugging, with_line_numbers. Returns a string with line and column numbers corresponding to values shown when parsing with expr.set_debug():

    data = """\
       A
          100"""
    expr = pp.Word(pp.alphanums).set_name("word").set_debug()
    

... (truncated)

Changelog

Sourced from pyparsing's changelog.

Version 3.0.1 -

  • Fixed bug where Word(max=n) did not match word groups less than length 'n'. Thanks to Joachim Metz for catching this!

  • Fixed bug where ParseResults accidentally created recursive contents. Joachim Metz on this one also!

  • Fixed bug where warn_on_multiple_string_args_to_oneof warning is raised even when not enabled.

Version 3.0.0 -

Version 3.0.0.final -

  • Added support for python -W warning option to call enable_all_warnings() at startup. Also detects setting of PYPARSINGENABLEALLWARNINGS environment variable to any non-blank value.

  • Fixed named results returned by url to match fields as they would be parsed using urllib.parse.urlparse.

  • Early response to with_line_numbers was positive, with some requested enhancements: . added a trailing "|" at the end of each line (to show presence of trailing spaces); can be customized using eol_mark argument . added expand_tabs argument, to control calling str.expandtabs (defaults to True to match parseString) . added mark_spaces argument to support display of a printing character in place of spaces, or Unicode symbols for space and tab characters . added mark_control argument to support highlighting of control characters using '.' or Unicode symbols, such as "␍" and "␊".

  • Modified helpers common_html_entity and replace_html_entity() to use the HTML entity definitions from html.entities.html5.

  • Updated the class diagram in the pyparsing docs directory, along with the supporting .puml file (PlantUML markup) used to create the diagram.

  • Added global method autoname_elements() to call set_name() on all locally defined ParserElements that haven't been explicitly named using set_name(), using their local variable name. Useful for setting names on multiple elements when creating a railroad diagram.

          a = pp.Literal("a")
    

... (truncated)

Commits
  • 465c20f Fixed bug where ParseResults accidentally created recursive contents. (Issue ...
  • 121a239 Fixed bug in Word with max argument (#314)
  • a80951b blackening
  • 5d6c14a Fixed bug where warn_on_multiple_string_args_to_oneof warning is raised even ...
  • 074f058 refactor unit test TestCase to add assertDoesNotWarn
  • 944eaea update version for next release work
  • 0352555 update version timestamp; prep for release
  • 895693b with_line_numbers enhancements: better display of separate lines in Unicode m...
  • fa7c27e Clean up warning and exception messages with oneOf -> one_of
  • 73c84d7 Update generated class diagram
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pyparsing](https://github.com/pyparsing/pyparsing) from 2.4.7 to 3.0.1.
- [Release notes](https://github.com/pyparsing/pyparsing/releases)
- [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES)
- [Commits](pyparsing/pyparsing@pyparsing_2.4.7...pyparsing_3.0.1)

---
updated-dependencies:
- dependency-name: pyparsing
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 25, 2021
@Anselmoo Anselmoo merged commit 5aeb1ee into master Oct 25, 2021
@dependabot dependabot bot deleted the dependabot/pip/pyparsing-3.0.1 branch October 25, 2021 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant