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): bump space-packet-parser from 4.2.0 to 5.0.1 #43

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps space-packet-parser from 4.2.0 to 5.0.1.

Release notes

Sourced from space-packet-parser's releases.

5.0.1

What's Changed

Full Changelog: medley56/space_packet_parser@5.0.0...5.0.1

5.0.0

What's Changed

  • BREAKING: Main API changed. No need to create separate definition and parser objects any more. Create only a definition from your XTCE document and instead of my_parser.generator, use my_packet_definition.packet_generator.
  • BREAKING: Removed CSV-based packet definition support. We may indirectly support this in the future via a utility for converting CSV definitions to XTCE.
  • BREAKING: Separated out logical pieces into separate modules rather than everything living within the xtcedef module. This means user imports may be different now.
  • BREAKING: Replace bitstring objects with native Python bytes objects
    • Remove dependency on the bitstring library
    • Much faster parsing speed
    • Users that are passing bitstring.ConstBitStream objects to generator will need to pass a binary filelike object instead
  • BREAKING: The ParsedDataItem class has been removed and the derived values are being returned now. The raw_value is stored as an attribute on the returned object. The other items can be accessed through the packet definition object my_packet_definition.named_parameters["my_item"].short_description
  • BREAKING: The return type of BinaryDataEncoding is now the raw bytes. To get the previous behavior you can convert the data to an integer and then format it as a binary string. f"{int.from_bytes(data, byteorder='big'):0{len(data)*8}b}"
  • BREAKING: Removed word_size kwarg from packet generator method. We expect all binary data to be integer number of bytes.
  • BREAKING: Changed packet_generator kwarg skip_header_bits to skip_header_bytes.
  • Fixed incorrect parsing of StringDataEncoding elements. Raw string values are now returned as byte buffers. Derived string values contain python string objects.
  • The CCSDSPacket class is now a dictionary subclass, enabling direct lookup of items from the Packet itself.
  • A RawPacketData class has been added that is a subclass of bytes. It keeps track of the current parsing location and enables reading of bit lengths as integers or raw bytes.
  • Fix EnumeratedParameterType to handle duplicate labels
  • Add error reporting for unsupported and invalid parameter types
  • Add support for MIL-1750A floats (32-bit only)

New Contributors

Full Changelog: medley56/space_packet_parser@4.2.0...5.0.0

5.0.0rc9

What's Changed

... (truncated)

Commits
  • e2e6671 Fix bug in release pipeline prerelease regex
  • 484fac5 Fix bug in representing falsy raw value in parsed _Parameters
  • 552701b Update version metadata and changelog
  • 0b1ea27 MNT: Change to returning intermediate values for enumerated and boolean param...
  • b6f9658 DOC: Minor updates to documentation
  • 6ce6561 Revamp release CI pipeline with TestPyPI support and strict checking of tags
  • 9bf7e45 MNT: Use built-in types for return data objects
  • fa3c575 Fix incorrect parsing of StringDataEncoding XML elements and resulting parsin...
  • 27ac73c REL/CI: Automate release workflow
  • 3bf1bf5 CI: Add windows and macos tests (#83)
  • 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 [space-packet-parser](https://github.com/medley56/space_packet_parser) from 4.2.0 to 5.0.1.
- [Release notes](https://github.com/medley56/space_packet_parser/releases)
- [Commits](medley56/space_packet_parser@4.2.0...5.0.1)

---
updated-dependencies:
- dependency-name: space-packet-parser
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 1, 2025
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 python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants