Skip to content

pkg/nanopb: support more recent google.protobuf versions #21587

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

Merged

Conversation

DanielLockau-MLPA
Copy link
Contributor

Contribution description

This PR bumps the nanopb version to a more recent tag to support recent versions of the google.protobuf python library.

Testing procedure

Test in tests/pkg/nanopb is modified in the first commit to fail for recent versions of google protobuf (v6.31.1 tested).
The second commit bumps nanopb to fix this issue and has been tested with google protobuf versions v4.21.12 and v6.31.1. You might need to rm -rf bin in addition to make clean when switching the python library.

Issues/PRs references

None.

@github-actions github-actions bot added Area: tests Area: tests and testing framework Area: pkg Area: External package ports labels Jul 9, 2025
@crasbe crasbe added Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Jul 9, 2025
@riot-ci
Copy link

riot-ci commented Jul 9, 2025

Murdock results

✔️ PASSED

53ac0ef pkg/nanopb: bump package version

Success Failures Total Runtime
10521 0 10522 19m:39s

Artifacts

@benpicco
Copy link
Contributor

benpicco commented Jul 9, 2025

check-commits doesn't like the format of the commits, please use

tests/pkg/nanopb: cover recent google protobuf changes
pkg/nanopb: bump package version to 0.4.9.1

@DanielLockau-MLPA DanielLockau-MLPA force-pushed the dl/riot/20250709__bump_nanopb branch from 35df963 to 7430920 Compare July 10, 2025 10:33
- update test in tests/pkg/nanopb to detect recent
  google.protobuf changes
- test still runs with google.protobuf 4.21.12
- test now fails with google.protobuf 6.31.1 due to removal of
  deprecated api parts
- fixes usage with recent google.protobuf versions
- tested with versions: 4.21.12, 6.31.1
@DanielLockau-MLPA DanielLockau-MLPA force-pushed the dl/riot/20250709__bump_nanopb branch from 7430920 to 53ac0ef Compare July 10, 2025 10:38
@crasbe crasbe added this pull request to the merge queue Jul 10, 2025
Merged via the queue into RIOT-OS:master with commit cfc66ee Jul 10, 2025
26 checks passed
@benpicco benpicco deleted the dl/riot/20250709__bump_nanopb branch July 10, 2025 15:53
@Teufelchen1 Teufelchen1 added this to the Release 2025.07 milestone Jul 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: pkg Area: External package ports Area: tests Area: tests and testing framework CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants