Skip to content

os: Switch to bookworm, drop bullseye support - #543

Merged
ethanjli merged 16 commits into
masterfrom
feature/bookworm-only
Apr 10, 2025
Merged

ethanjli merged 16 commits into
masterfrom
feature/bookworm-only

Conversation

@ethanjli

@ethanjli ethanjli commented Mar 20, 2025 •

Copy link
Copy Markdown
Contributor

This PR follows up on #537 by deleting the GitHub Actions CI workflows which build Raspberry Pi OS 11 (bullseye)-based images of PlanktoScope OS. Instead, we will only build Raspberry Pi OS 12 (bookworm)-based images.

This PR keeps code in the build-os CI workflow definition related to handling different RPi OS versions (e.g. bookworm vs. bullseye) so that we can use it for smoothly migrating from bookworm to trixie once trixie is released.

TODOs:

  • Remove bullseye-specific code paths in the OS setup scripts
  • Update CHANGELOG.md with more explicit end of support for bullseye base images
  • Update non-standard software installation docs to be more up-to-date and more low-maintenance
  • Test an adafruithat-based image

@ethanjli
ethanjli marked this pull request as ready for review April 2, 2025 18:48
@ethanjli ethanjli changed the title Stop automatically building bullseye-based images os: Stop automatically building bullseye-based images Apr 2, 2025
@ethanjli

ethanjli commented Apr 9, 2025 •

Copy link
Copy Markdown
Contributor Author

As discussed in the 2025-04-09 core team meeting, we decided to drop any support for bullseye as a base OS, and we will merge this PR today (realistically, it's not like we're going to continue using/testing bullseye images). I will extend this PR to delete the bullseye-specific CI workflow files and bullseye-specific code in the OS setup scripts. I will also update the CHANGELOG.md and documentation accordingly.

@ethanjli ethanjli changed the title os: Stop automatically building bullseye-based images os: Switch to bookworm, drop bullseye support Apr 9, 2025
@ethanjli

Copy link
Copy Markdown
Contributor Author

I didn't see any blatant regressions with the adafruithat image, and I've updated the nonstandard install guide to match the decisions described in software/CHANGELOG.md. The nonstandard install guide could certainly be improved more, but I think it's good enough for this PR - so I will queue this PR for merging once checks pass.

@ethanjli
ethanjli enabled auto-merge April 10, 2025 00:12
@ethanjli
ethanjli added this pull request to the merge queue Apr 10, 2025
Merged via the queue into master with commit 79256e4 Apr 10, 2025
@ethanjli
ethanjli deleted the feature/bookworm-only branch April 10, 2025 00:44
@sonnyp

sonnyp commented Apr 10, 2025

Copy link
Copy Markdown
Collaborator

🥳

variant:
- adafruithat
- planktoscopehat
- fairscope-latest

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we want/need this?

@sonnyp sonnyp Apr 10, 2025 •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Asking because my feeling is that we should aim to towards reducing the number of builds / divergence.

config should be a runtime flag, not an entire separate build

@ethanjli ethanjli Apr 10, 2025 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I, too, would like to remove the fairscope-latest build one way or another, sooner or later, as part of resolving #182. It's a temporary kludge added by #430 because #389 was not closed during the v2024.0.0 release cycle (and I note here that #389 remains unclosed, I assume because FairScope is juggling many other things). Please refer to the 2024-06-13 software meeting's (very long) discussion of #389 for a full record of why/how we arrived at the decision to implement #430. To summarize, the existence of the "fairscope-latest" image, together with the hardware version selector in the planktoscopehat version of the Node-RED dashboard, was the compromise between FairScope's requirement for a seamless new-user setup experience and my own preference to not have the open-source software (for a hardware project which describes itself as open-source) default to a configuration for hardware which is still not yet open-source (e.g. as in https://planktoscope.slack.com/archives/C0149ACTJF6/p1718124359262829?thread_ts=1718039357.460319&cid=C0149ACTJF6, where an owner of a FairScope-manufactured v2.6 PlanktoScope was asked to wait until autumn 2024 for CAD files to be released). I can understand why FairScope has not yet made v2.6 hardware open-source, but given that I was the volunteer OS maintainer coming from the community of users of self-built PlanktoScopes, I felt it was important to look for alternative solutions/compromises when FairScope's (understandable) business requirements seemed to come at the cost of support for community members who built their own v2.5 units - which is why I brainstormed possible compromises such as building "fairscope-latest" images.

I'd be interested in brainstorming potential paths forward in light of the upcoming v3 hardware. I'd also be happy to provide additional context on the current situation. Let me know if you'd like me to add a meeting agenda item about either/both of these topics, or feel free to add agenda items wherever you think it'd make sense for us to discuss them 🙂

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I understand / appreciate where you're coming from. Tanguy is working on open-sourcing v2.6

The EEPROM on the PlanktoScope hat will help with things like that in the future 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants