chore(pip-prod)(deps): bump pyparsing from 3.1.4 to 3.2.0 #303

Merged
dependabot[bot] merged 1 commits from dependabot/pip/pyparsing-3.2.0 into main 2024-10-14 18:33:40 +02:00
dependabot[bot] commented 2024-10-14 18:25:36 +02:00 (Migrated from github.com)

Bumps pyparsing from 3.1.4 to 3.2.0.

Changelog

Sourced from pyparsing's changelog.

Version 3.2.0 - October, 2024

  • Discontinued support for Python 3.6, 3.7, and 3.8. Adopted new Python features from Python versions 3.7-3.9:

    • Updated type annotations to use built-in container types instead of names imported from the typing module (e.g., list[str] vs List[str]).
    • Reworked portions of the packrat cache to leverage insertion-preserving ordering in dicts (including removal of uses of OrderedDict).
    • Changed pdb.set_trace() call in ParserElement.set_break() to breakpoint().
    • Converted typing.NamedTuple to dataclasses.dataclass in railroad diagramming code.
    • Added from __future__ import annotations to clean up some type annotations. (with assistance from ISyncWithFoo, issue #535, thanks for the help!)
  • POSSIBLE BREAKING CHANGES

    The following bugfixes may result in subtle changes in the results returned or exceptions raised by pyparsing.

    • Fixed code in ParseElementEnhance subclasses that replaced detailed exception messages raised in contained expressions with a less-specific and less-informative generic exception message and location.

      If your code has conditional logic based on the message content in raised ParseExceptions, this bugfix may require changes in your code.

    • Fixed bug in transform_string() where whitespace in the input string was not properly preserved in the output string.

      If your code uses transform_string, this bugfix may require changes in your code.

    • Fixed bug where an IndexError raised in a parse action was incorrectly handled as an IndexError raised as part of the ParserElement parsing methods, and reraised as a ParseException. Now an IndexError that raises inside a parse action will properly propagate out as an IndexError. (Issue #573, reported by August Karlstedt, thanks!)

      If your code raises IndexErrors in parse actions, this bugfix may require changes in your code.

  • FIXES AND NEW FEATURES

    • Added type annotations to remainder of pyparsing package, and added mypy run to tox.ini, so that type annotations are now run as part of pyparsing's CI. Addresses Issue #373, raised by Iwan Aucamp, thanks!

    • Exception message format can now be customized, by overriding ParseBaseException.format_message:

... (truncated)

Commits
  • 36fc04b Fix docstring with invalid esc sequence
  • a46066d Prep for 3.2.0 release
  • a0c219b Docs cleanup; added new whats_new_* docs for 3.1 and 3.2
  • d9b1f14 Rewrite _collapse_string_to_ranges to use _GroupConsecutive class instead of ...
  • 0d3c2d7 Fix minor internal bug in one_of building regex when all choices are single c...
  • 2165ab2 Cleanup ambiguous "contains" vs "in" usage in mongodb_query_expression.py
  • 25ddb02 Prep for dev before final release
  • 08846ae Prep for release
  • 9ee042b Remove deprecated utcnow()
  • a2b2f25 Final cleanup on mongodb_query_expression.py and mongodb_query_expression_ste...
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 3.1.4 to 3.2.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pyparsing/pyparsing/blob/master/CHANGES">pyparsing's changelog</a>.</em></p> <blockquote> <h2>Version 3.2.0 - October, 2024</h2> <ul> <li> <p>Discontinued support for Python 3.6, 3.7, and 3.8. Adopted new Python features from Python versions 3.7-3.9:</p> <ul> <li>Updated type annotations to use built-in container types instead of names imported from the <code>typing</code> module (e.g., <code>list[str]</code> vs <code>List[str]</code>).</li> <li>Reworked portions of the packrat cache to leverage insertion-preserving ordering in dicts (including removal of uses of <code>OrderedDict</code>).</li> <li>Changed <code>pdb.set_trace()</code> call in <code>ParserElement.set_break()</code> to <code>breakpoint()</code>.</li> <li>Converted <code>typing.NamedTuple</code> to <code>dataclasses.dataclass</code> in railroad diagramming code.</li> <li>Added <code>from __future__ import annotations</code> to clean up some type annotations. (with assistance from ISyncWithFoo, issue <a href="https://redirect.github.com/pyparsing/pyparsing/issues/535">#535</a>, thanks for the help!)</li> </ul> </li> <li> <p>POSSIBLE BREAKING CHANGES</p> <p>The following bugfixes may result in subtle changes in the results returned or exceptions raised by pyparsing.</p> <ul> <li> <p>Fixed code in <code>ParseElementEnhance</code> subclasses that replaced detailed exception messages raised in contained expressions with a less-specific and less-informative generic exception message and location.</p> <p>If your code has conditional logic based on the message content in raised <code>ParseExceptions</code>, this bugfix may require changes in your code.</p> </li> <li> <p>Fixed bug in <code>transform_string()</code> where whitespace in the input string was not properly preserved in the output string.</p> <p>If your code uses <code>transform_string</code>, this bugfix may require changes in your code.</p> </li> <li> <p>Fixed bug where an <code>IndexError</code> raised in a parse action was incorrectly handled as an <code>IndexError</code> raised as part of the <code>ParserElement</code> parsing methods, and reraised as a <code>ParseException</code>. Now an <code>IndexError</code> that raises inside a parse action will properly propagate out as an <code>IndexError</code>. (Issue <a href="https://redirect.github.com/pyparsing/pyparsing/issues/573">#573</a>, reported by August Karlstedt, thanks!)</p> <p>If your code raises <code>IndexError</code>s in parse actions, this bugfix may require changes in your code.</p> </li> </ul> </li> <li> <p>FIXES AND NEW FEATURES</p> <ul> <li> <p>Added type annotations to remainder of <code>pyparsing</code> package, and added <code>mypy</code> run to <code>tox.ini</code>, so that type annotations are now run as part of pyparsing's CI. Addresses Issue <a href="https://redirect.github.com/pyparsing/pyparsing/issues/373">#373</a>, raised by Iwan Aucamp, thanks!</p> </li> <li> <p>Exception message format can now be customized, by overriding <code>ParseBaseException.format_message</code>:</p> </li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pyparsing/pyparsing/commit/36fc04b780bf4bc41b8ad60a2cfd89528545c38c"><code>36fc04b</code></a> Fix docstring with invalid esc sequence</li> <li><a href="https://github.com/pyparsing/pyparsing/commit/a46066d9ec94fde1ec36d5357751f4bc7f2a6c41"><code>a46066d</code></a> Prep for 3.2.0 release</li> <li><a href="https://github.com/pyparsing/pyparsing/commit/a0c219b7bd0083539e55df6db6dbfbfa5fc12101"><code>a0c219b</code></a> Docs cleanup; added new whats_new_* docs for 3.1 and 3.2</li> <li><a href="https://github.com/pyparsing/pyparsing/commit/d9b1f147bc67f0019bea46fb78ee6f93b4a40075"><code>d9b1f14</code></a> Rewrite _collapse_string_to_ranges to use _GroupConsecutive class instead of ...</li> <li><a href="https://github.com/pyparsing/pyparsing/commit/0d3c2d7a28f1314a4d631eaf828119ae68f05524"><code>0d3c2d7</code></a> Fix minor internal bug in one_of building regex when all choices are single c...</li> <li><a href="https://github.com/pyparsing/pyparsing/commit/2165ab2245a572093751168d5ae74675071d86f2"><code>2165ab2</code></a> Cleanup ambiguous &quot;contains&quot; vs &quot;in&quot; usage in mongodb_query_expression.py</li> <li><a href="https://github.com/pyparsing/pyparsing/commit/25ddb0232309dfe71ec24cec2d2d48e7d6838ca4"><code>25ddb02</code></a> Prep for dev before final release</li> <li><a href="https://github.com/pyparsing/pyparsing/commit/08846ae11f0cdfc1687f97468d325a9c76ebce26"><code>08846ae</code></a> Prep for release</li> <li><a href="https://github.com/pyparsing/pyparsing/commit/9ee042b712f0eb3d8640a8d7f81ac044ae779f88"><code>9ee042b</code></a> Remove deprecated utcnow()</li> <li><a href="https://github.com/pyparsing/pyparsing/commit/a2b2f250c86c05ba40f1d6da69210000750a00b5"><code>a2b2f25</code></a> Final cleanup on mongodb_query_expression.py and mongodb_query_expression_ste...</li> <li>Additional commits viewable in <a href="https://github.com/pyparsing/pyparsing/compare/3.1.4...3.2.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyparsing&package-manager=pip&previous-version=3.1.4&new-version=3.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) </details>
luketainton (Migrated from github.com) reviewed 2024-10-14 18:25:36 +02:00
sonarqubecloud[bot] commented 2024-10-14 18:27:06 +02:00 (Migrated from github.com)
## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=luketainton_roboluke-tasks&pullRequest=303) **Quality Gate passed** Issues ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=luketainton_roboluke-tasks&pullRequest=303&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true) ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=luketainton_roboluke-tasks&pullRequest=303&issueStatuses=ACCEPTED) Measures ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=luketainton_roboluke-tasks&pullRequest=303&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true) ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=luketainton_roboluke-tasks&pullRequest=303&metric=new_coverage&view=list) ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=luketainton_roboluke-tasks&pullRequest=303&metric=new_duplicated_lines_density&view=list) [See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=luketainton_roboluke-tasks&pullRequest=303)
Sign in to join this conversation.
No description provided.