Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): update pyparsing requirement from ==2.4.7 to >=2.4.7 #6858

Merged
merged 3 commits into from
Oct 24, 2021

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps pyparsing from 2.4.7 to 3.0.0.

Release notes

Sourced from pyparsing's releases.

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()
    print(ppt.with_line_numbers(data))
    expr[...].parseString(data)
    

    prints:

                  1
         1234567890
    

... (truncated)

Changelog

Sourced from pyparsing's changelog.

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".

Version 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

... (truncated)

Commits
  • 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
  • b3e75f8 Added global method autoname_elements()
  • e26165e Add missing globals() to class diagram; rename .jpg to include 3.0.0 version
  • 368b255 Add '*' marker to results name annotations in railroad diagram if listAllMatc...
  • a5631ca Separated 3.0.0.final changes from the 3.0.0 version in CHANGES, so that it d...
  • 6778667 Updated version timestamp prep for release.
  • 5571057 Updated CHANGES, HowToUsePyparsing.rst, and whats_new_in_3_0_0.rst to fill in...
  • 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.0.
- [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.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner October 24, 2021 14:29
@dependabot dependabot bot requested a review from isidentical October 24, 2021 14:29
setup.cfg Outdated Show resolved Hide resolved
setup.cfg Outdated Show resolved Hide resolved
@skshetry skshetry removed the request for review from isidentical October 24, 2021 15:03
@skshetry skshetry changed the title build(deps): bump pyparsing from 2.4.7 to 3.0.0 build(deps): update pyparsing requirement from ==2.4.7 to >=2.4.7 Oct 24, 2021
@skshetry skshetry enabled auto-merge (squash) October 24, 2021 15:18
@skshetry skshetry merged commit 5017c2f into master Oct 24, 2021
@skshetry skshetry deleted the dependabot/pip/pyparsing-3.0.0 branch October 24, 2021 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant