Skip to content

Update ocflib flake input#311

Merged
jaysa68 merged 3 commits intomainfrom
ocflib-flake-update
May 6, 2026
Merged

Update ocflib flake input#311
jaysa68 merged 3 commits intomainfrom
ocflib-flake-update

Conversation

@jaysa68
Copy link
Copy Markdown
Member

@jaysa68 jaysa68 commented May 5, 2026

The only module in the nix repo which uses this library at the moment is printhost, and the only host using that module is tule. There are some changes made to printers.py in the corresponding commit on ocflib, the most relevant being that pysnmp was replaced with puresnmp. Hopefully, as other services are migrated to nix hosts or kubernetes, they will also use this updated version of ocflib (which upgraded from python 3.12 to 3.14)

The only module in the nix repo which uses this library at the moment is
printhost, and the only host using that module is `tule`. There are some
changes made to printers.py in [the corresponding commit on ocflib](ocf/ocflib@94d13fc), the most relevant being that `pysnmp` was replaced with `puresnmp`. Hopefully, as other services are migrated to nix hosts or kubernetes, they will also use this updated version of ocflib.
@jaysa68 jaysa68 force-pushed the ocflib-flake-update branch from 518e7b6 to 15173a4 Compare May 5, 2026 11:59
@jaysa68 jaysa68 requested a review from BNH440 May 5, 2026 15:16
@BNH440
Copy link
Copy Markdown
Contributor

BNH440 commented May 5, 2026

ocf-sync-etc was also updated in this pr, was that intended?

also, there’s no way printhost is the only thing that uses ocflib right? why would we have had it as an input before

@jaysa68
Copy link
Copy Markdown
Member Author

jaysa68 commented May 5, 2026

the sync etc was not at first intentional, but it doesn't hurt. i can revert if youd like tho

im not sure why ocflib was an input before. perhaps because more nix host migration was intended but hadn't yet occurred? it is still available across all nix hosts thanks to base.nix, so it can be imported in any ad-hoc python scripts run on them. but i cant think of any current examples of said scripts so.. lol

but yeah, printhost is the only module so far to actually use it. none of our current nix hosts would need it for anything (but future ones prob will)

@jaysa68 jaysa68 enabled auto-merge (squash) May 6, 2026 00:56
@jaysa68 jaysa68 merged commit 4cc0916 into main May 6, 2026
3 checks passed
@jaysa68 jaysa68 deleted the ocflib-flake-update branch May 6, 2026 00:57
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