wormjam-consortium / wormjam

Website/Repository containing the WormJam genome scale model
https://wormjam.life
Creative Commons Attribution 4.0 International
4 stars 11 forks source link

Bump pyparsing from 2.4.7 to 3.0.0 #82

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

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)
dependabot[bot] commented 2 years ago

Superseded by #83.