Skip to content

Conversation

@pandafy
Copy link
Member

@pandafy pandafy commented Dec 19, 2025

Checklist

  • I have read the OpenWISP Contributing Guidelines.
  • I have manually tested the changes proposed in this pull request.
  • I have written new test cases for new code and/or updated existing tests for changes to existing code.
  • [N/A] I have updated the documentation.

Reference to Existing Issue

Fixes #544

Description of Changes

Added "distro" package as dependency.

Screenshot

Screenshot from 2025-12-19 14-56-14

Added "distro" package as dependency.

Fixes #544
@pandafy
Copy link
Member Author

pandafy commented Dec 19, 2025

The platform.freedesktop_os_release is only available on Python 3.10+. In order to make this change backportable to 1.2 version (which supports Python 3.9), I have added an additional dependency to distro package.

We can also add a conditional to only use distro on Python 3.9, but that will increase the maintenance overhead.

Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

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

Looks good, let's test this before merging.

@github-project-automation github-project-automation bot moved this from To do (general) to In progress in OpenWISP Contributor's Board Dec 19, 2025
@nemesifier nemesifier merged commit 738bae8 into master Dec 19, 2025
19 checks passed
@nemesifier nemesifier deleted the issues/544-os-kernel branch December 19, 2025 12:04
@github-project-automation github-project-automation bot moved this from In progress to Done in OpenWISP Contributor's Board Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

[bug] OS and kernel versions in system info are not useful

3 participants