Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented May 27, 2019

Bumps pyparsing from 2.1.10 to 2.4.0.

Release notes

Sourced from pyparsing's releases.

Pyparsing 2.4.0

  • Well, it looks like the API change that was introduced in 2.3.1 was more
    drastic than expected, so for a friendlier forward upgrade path, this
    release:
    . Bumps the current version number to 2.4.0, to reflect this
    incompatible change.
    . Adds a pyparsing.__compat__ object for specifying compatibility with
    future breaking changes.
    . Conditionalizes the API-breaking behavior, based on the value
    pyparsing.__compat__.collect_all_And_tokens. By default, this value
    will be set to True, reflecting the new bugfixed behavior. To set this
    value to False, add to your code:

      import pyparsing
      pyparsing.__compat__.collect_all_And_tokens = False
    

    . User code that is dependent on the pre-bugfix behavior can restore
    it by setting this value to False.

    In 2.5 and later versions, the conditional code will be removed and
    setting the flag to True or False in these later versions will have no
    effect.

  • Updated unitTests.py and simple_unit_tests.py to be compatible with
    python setup.py test. To run tests using setup, do:

    python setup.py test
    python setup.py test -s unitTests.suite
    python setup.py test -s simple_unit_tests.suite
    

    Prompted by issue #83 and PR submitted by bdragon28, thanks.

  • Fixed bug in ParserElement.runTests handling '\n' literals in quoted strings.

  • Added tag_body attribute to the start tag expressions generated by
    makeHTMLTags, so that you can avoid using SkipTo to roll your own
    tag body expression:

    a, aEnd = pp.makeHTMLTags('a')
    link = a + a.tag_body("displayed_text") + aEnd
    for t in s.searchString(html_page):
        print(t.displayed_text, '->', t.startA.href)
    
  • indentedBlock failure handling was improved; PR submitted by TMiguelT,
    thanks!

  • Address Py2 incompatibility in simple_unit_tests, plus explain() and
    Forward str() cleanup; PRs graciously provided by eswald.

  • Fixed docstring with embedded '\w', which creates SyntaxWarnings in

... (truncated)
Changelog

Sourced from pyparsing's changelog.

Version 2.4.0 - April, 2019

  • Well, it looks like the API change that was introduced in 2.3.1 was more
    drastic than expected, so for a friendlier forward upgrade path, this
    release:
    . Bumps the current version number to 2.4.0, to reflect this
    incompatible change.
    . Adds a pyparsing.compat object for specifying compatibility with
    future breaking changes.
    . Conditionalizes the API-breaking behavior, based on the value
    pyparsing.compat.collect_all_And_tokens. By default, this value
    will be set to True, reflecting the new bugfixed behavior. To set this
    value to False, add to your code:

      import pyparsing
      pyparsing.__compat__.collect_all_And_tokens = False
    

    . User code that is dependent on the pre-bugfix behavior can restore
    it by setting this value to False.

    In 2.5 and later versions, the conditional code will be removed and
    setting the flag to True or False in these later versions will have no
    effect.

  • Updated unitTests.py and simple_unit_tests.py to be compatible with
    "python setup.py test". To run tests using setup, do:

    python setup.py test
    python setup.py test -s unitTests.suite
    python setup.py test -s simple_unit_tests.suite
    

    Prompted by issue #83 and PR submitted by bdragon28, thanks.

  • Fixed bug in runTests handling '\n' literals in quoted strings.

  • Added tag_body attribute to the start tag expressions generated by
    makeHTMLTags, so that you can avoid using SkipTo to roll your own
    tag body expression:

    a, aEnd = pp.makeHTMLTags('a')
    link = a + a.tag_body("displayed_text") + aEnd
    for t in s.searchString(html_page):
        print(t.displayed_text, '->', t.startA.href)
    
  • indentedBlock failure handling was improved; PR submitted by TMiguelT,
    thanks!

  • Address Py2 incompatibility in simpleUnitTests, plus explain() and
    Forward str() cleanup; PRs graciously provided by eswald.

... (truncated)
Commits
  • adf8dd0 Code updates to current idioms
  • 2a81eb8 Additional useful kwargs for Char (passthru to Word)
  • 2e1caf2 Merge remote-tracking branch 'origin/master'
  • 76b3af7 Improved support for "python setup.py test"
  • f6f6d39 snmp_api.h missing from manifest (#83)
  • a243950 Fixed dict structure in makeHTMLTags expressions, and added tag_body attribut...
  • 832986f Updated examples to current pyparsing styles, and to use runTests
  • 9bb045a Some reformatting for better readability, and more explanatory comments
  • 37e2552 Add example include_preprocessor.py
  • 0d88a30 Fix tests for Py2 when using explain
  • 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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.


Dependabot has been acquired by GitHub  🎉

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label May 27, 2019
@dependabot-preview dependabot-preview bot force-pushed the dependabot/pip/pyparsing-2.4.0 branch from 5e75f3f to 2d08bcc Compare May 27, 2019 15:34
@dependabot-preview dependabot-preview bot force-pushed the dependabot/pip/pyparsing-2.4.0 branch from 2d08bcc to 6b79bfc Compare May 27, 2019 15:36
@dependabot-preview
Copy link
Contributor Author

Superseded by #7.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/pyparsing-2.4.0 branch July 22, 2019 06:03
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant