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

Bump the pip-dependencies group across 1 directory with 2 updates #1704

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 1, 2025

Bumps the pip-dependencies group with 2 updates in the /Tests/ExamplesTest directory: attrs and pyparsing.

Updates attrs from 24.3.0 to 25.1.0

Commits

Updates pyparsing from 3.1.4 to 3.2.1

Changelog

Sourced from pyparsing's changelog.

Version 3.2.1 - December, 2024

  • Updated generated railroad diagrams to make non-terminal elements links to their related sub-diagrams. This greatly improves navigation of the diagram, especially for large, complex parsers.

  • Simplified railroad diagrams emitted for parsers using infix_notation, by hiding lookahead terms. Renamed internally generated expressions for clarity, and improved diagramming.

  • Improved performance of cpp_style_comment, c_style_comment, common.fnumber and common.ieee_float Regex expressions. PRs submitted by Gabriel Gerlero, nice work, thanks!

  • Add missing type annotations to match_only_at_col, replace_with, remove_quotes, with_attribute, and with_class. Issue #585 reported by rafrafrek.

  • Added generated diagrams for many of the examples.

  • Replaced old examples/0README.html file with examples/README.md file.

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.

... (truncated)

Commits
  • abb3b4b Prep for 3.2.1 release
  • 91a56b4 delete old 0README.html file from the examples directory, replaced with READM...
  • 51e2555 improved README.md for examples directory
  • 5e32ee6 add parse_python_value.py to test_examples
  • 2f41d0f update version timestamp
  • dc8d66e blackening
  • 00d7aed Fix nested expression diagram element generation
  • dde1a02 Added generated diagrams for many of the examples
  • 471801e Fixed cacheing bug in diagram generation; modified names for inner elements o...
  • 4bb2647 Remove modification of Regex exprs when generating railroad diags; also short...
  • Additional commits viewable in compare view

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the pip-dependencies group with 2 updates in the /Tests/ExamplesTest directory: [attrs](https://github.com/sponsors/hynek) and [pyparsing](https://github.com/pyparsing/pyparsing).


Updates `attrs` from 24.3.0 to 25.1.0
- [Commits](https://github.com/sponsors/hynek/commits)

Updates `pyparsing` from 3.1.4 to 3.2.1
- [Release notes](https://github.com/pyparsing/pyparsing/releases)
- [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES)
- [Commits](pyparsing/pyparsing@3.1.4...3.2.1)

---
updated-dependencies:
- dependency-name: attrs
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: pip-dependencies
- dependency-name: pyparsing
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from seladb as a code owner February 1, 2025 11:10
@tigercosmos
Copy link
Collaborator

tigercosmos commented Feb 3, 2025

There is no such package: pyparsing from 3.1.4 to 3.2.1. revert it.

Run . .venv/bin/activate
Collecting attrs==25.1.0
  Downloading attrs-25.1.0-py3-none-any.whl (63 kB)
Collecting iniconfig==2.0.0
  Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting py==1.[11](https://github.com/seladb/PcapPlusPlus/actions/runs/13088034712/job/36521517299?pr=1704#step:11:12).0
  Downloading py-1.11.0-py2.py3-none-any.whl (98 kB)
ERROR: Could not find a version that satisfies the requirement pyparsing==3.2.1 (from -r requirements.txt (line 4)) (from versions: 1.4.6, 1.4.7, 1.4.8, 1.4.11, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.1.7, 2.1.8, 2.1.9, 2.1.10, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.4.0, 2.4.1.1, 2.4.2a1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.7, 3.0.0a1, 3.0.0a2, 3.0.0b1, 3.0.0b2, 3.0.0b3, 3.0.0rc1, 3.0.0rc2, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.0.8, 3.0.9, 3.1.0a1, 3.1.0b1, 3.1.0b2, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4)
ERROR: No matching distribution found for pyparsing==3.2.1 (from -r requirements.txt (line 4))
Error: Process completed with exit code 1.

Copy link

codecov bot commented Feb 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.11%. Comparing base (3af7383) to head (6a9ba21).
Report is 5 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #1704      +/-   ##
==========================================
- Coverage   83.13%   83.11%   -0.02%     
==========================================
  Files         279      279              
  Lines       48395    48399       +4     
  Branches    10246    10502     +256     
==========================================
- Hits        40231    40228       -3     
- Misses       7042     7049       +7     
  Partials     1122     1122              
Flag Coverage Δ
alpine320 75.07% <ø> (-0.02%) ⬇️
fedora40 75.10% <ø> (-0.05%) ⬇️
macos-13 80.60% <ø> (-0.02%) ⬇️
macos-14 80.60% <ø> (-0.02%) ⬇️
macos-15 80.57% <ø> (-0.02%) ⬇️
mingw32 70.84% <ø> (+<0.01%) ⬆️
mingw64 70.80% <ø> (+<0.01%) ⬆️
npcap 85.23% <ø> (ø)
rhel94 74.95% <ø> (-0.03%) ⬇️
ubuntu2004 58.59% <ø> (-0.01%) ⬇️
ubuntu2004-zstd 58.71% <ø> (-0.01%) ⬇️
ubuntu2204 74.87% <ø> (-0.02%) ⬇️
ubuntu2204-icpx 61.27% <ø> (ø)
ubuntu2404 75.13% <ø> (+<0.01%) ⬆️
unittest 83.11% <ø> (-0.02%) ⬇️
windows-2019 85.25% <ø> (ø)
windows-2022 85.28% <ø> (ø)
winpcap 85.24% <ø> (ø)
xdp 50.40% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@seladb seladb merged commit 80277e1 into dev Feb 3, 2025
41 checks passed
@seladb seladb deleted the dependabot/pip/Tests/ExamplesTest/dev/pip-dependencies-7ff10f9b09 branch February 3, 2025 02:54
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.

2 participants