GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing github.com — Do not crash on missing build number in fw version by rytilahti · Pull Request #1500 · python-kasa/python-kasa Conversation
Member
Avoid parsing firmware version if it doesn't contain a whitespace (i.e., build number). Fixes #1499
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## master #1500 +/- ## ========================================== - Coverage 92.71% 92.66% -0.06% ========================================== Files 150 150 Lines 9530 9538 +8 Branches 970 974 +4 ========================================== + Hits 8836 8838 +2 - Misses 496 499 +3 - Partials 198 201 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I've updated this PR to treat the fixture as a modify to the existing 1.5.0, as I've confirmed it's exactly the same data (other than the EDIT: Also applied the same check for no build number to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I was wondering if it'd be better to try-except on version parsing, but this works fine too. Thanks for fixing the CI & merging it! :-) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
## [0.10.2](https://github.com/python-kasa/python-kasa/tree/0.10.2) (2025-02-12) [Full Changelog](0.10.1...0.10.2) **Release summary:** - Bugfix for [#1499](#1499). - Support for L530B and C110 devices. **Fixed bugs:** - H100 - Raised error: not enough values to unpack \(expected 2, got 1\) [\#1499](#1499) - Do not crash on missing build number in fw version [\#1500](#1500) (@rytilahti) **Added support for devices:** - Add C110\(EU\) 2.0 1.4.3 fixture [\#1503](#1503) (@sdb9696) - Add L530B\(EU\) 3.0 1.1.9 fixture [\#1502](#1502) (@sdb9696) **Project maintenance:** - Add fixtures for new versions of H100, P110, and T100 devices [\#1501](#1501) (@LXGaming) - Add L530E\(TW\) 2.0 1.1.1 fixture [\#1497](#1497) (@bluehomewu)
Co-authored-by: Steven B <[email protected]>
## [0.10.2](https://github.com/python-kasa/python-kasa/tree/0.10.2) (2025-02-12) [Full Changelog](python-kasa/python-kasa@0.10.1...0.10.2) **Release summary:** - Bugfix for [python-kasa#1499](python-kasa#1499). - Support for L530B and C110 devices. **Fixed bugs:** - H100 - Raised error: not enough values to unpack \(expected 2, got 1\) [\python-kasa#1499](python-kasa#1499) - Do not crash on missing build number in fw version [\python-kasa#1500](python-kasa#1500) (@rytilahti) **Added support for devices:** - Add C110\(EU\) 2.0 1.4.3 fixture [\python-kasa#1503](python-kasa#1503) (@sdb9696) - Add L530B\(EU\) 3.0 1.1.9 fixture [\python-kasa#1502](python-kasa#1502) (@sdb9696) **Project maintenance:** - Add fixtures for new versions of H100, P110, and T100 devices [\python-kasa#1501](python-kasa#1501) (@LXGaming) - Add L530E\(TW\) 2.0 1.1.1 fixture [\python-kasa#1497](python-kasa#1497) (@bluehomewu)
Co-authored-by: Steven B <[email protected]>
## [0.10.2](https://github.com/python-kasa/python-kasa/tree/0.10.2) (2025-02-12) [Full Changelog](python-kasa/python-kasa@0.10.1...0.10.2) **Release summary:** - Bugfix for [python-kasa#1499](python-kasa#1499). - Support for L530B and C110 devices. **Fixed bugs:** - H100 - Raised error: not enough values to unpack \(expected 2, got 1\) [\python-kasa#1499](python-kasa#1499) - Do not crash on missing build number in fw version [\python-kasa#1500](python-kasa#1500) (@rytilahti) **Added support for devices:** - Add C110\(EU\) 2.0 1.4.3 fixture [\python-kasa#1503](python-kasa#1503) (@sdb9696) - Add L530B\(EU\) 3.0 1.1.9 fixture [\python-kasa#1502](python-kasa#1502) (@sdb9696) **Project maintenance:** - Add fixtures for new versions of H100, P110, and T100 devices [\python-kasa#1501](python-kasa#1501) (@LXGaming) - Add L530E\(TW\) 2.0 1.1.1 fixture [\python-kasa#1497](python-kasa#1497) (@bluehomewu)
Co-authored-by: Steven B <[email protected]>
## [0.10.2](https://github.com/python-kasa/python-kasa/tree/0.10.2) (2025-02-12) [Full Changelog](python-kasa/python-kasa@0.10.1...0.10.2) **Release summary:** - Bugfix for [python-kasa#1499](python-kasa#1499). - Support for L530B and C110 devices. **Fixed bugs:** - H100 - Raised error: not enough values to unpack \(expected 2, got 1\) [\python-kasa#1499](python-kasa#1499) - Do not crash on missing build number in fw version [\python-kasa#1500](python-kasa#1500) (@rytilahti) **Added support for devices:** - Add C110\(EU\) 2.0 1.4.3 fixture [\python-kasa#1503](python-kasa#1503) (@sdb9696) - Add L530B\(EU\) 3.0 1.1.9 fixture [\python-kasa#1502](python-kasa#1502) (@sdb9696) **Project maintenance:** - Add fixtures for new versions of H100, P110, and T100 devices [\python-kasa#1501](python-kasa#1501) (@LXGaming) - Add L530E\(TW\) 2.0 1.1.1 fixture [\python-kasa#1497](python-kasa#1497) (@bluehomewu)
Co-authored-by: Steven B <[email protected]>
## [0.10.2](https://github.com/python-kasa/python-kasa/tree/0.10.2) (2025-02-12) [Full Changelog](python-kasa/python-kasa@0.10.1...0.10.2) **Release summary:** - Bugfix for [python-kasa#1499](python-kasa#1499). - Support for L530B and C110 devices. **Fixed bugs:** - H100 - Raised error: not enough values to unpack \(expected 2, got 1\) [\python-kasa#1499](python-kasa#1499) - Do not crash on missing build number in fw version [\python-kasa#1500](python-kasa#1500) (@rytilahti) **Added support for devices:** - Add C110\(EU\) 2.0 1.4.3 fixture [\python-kasa#1503](python-kasa#1503) (@sdb9696) - Add L530B\(EU\) 3.0 1.1.9 fixture [\python-kasa#1502](python-kasa#1502) (@sdb9696) **Project maintenance:** - Add fixtures for new versions of H100, P110, and T100 devices [\python-kasa#1501](python-kasa#1501) (@LXGaming) - Add L530E\(TW\) 2.0 1.1.1 fixture [\python-kasa#1497](python-kasa#1497) (@bluehomewu)
Co-authored-by: Steven B <[email protected]>
## [0.10.2](https://github.com/python-kasa/python-kasa/tree/0.10.2) (2025-02-12) [Full Changelog](python-kasa/python-kasa@0.10.1...0.10.2) **Release summary:** - Bugfix for [python-kasa#1499](python-kasa#1499). - Support for L530B and C110 devices. **Fixed bugs:** - H100 - Raised error: not enough values to unpack \(expected 2, got 1\) [\python-kasa#1499](python-kasa#1499) - Do not crash on missing build number in fw version [\python-kasa#1500](python-kasa#1500) (@rytilahti) **Added support for devices:** - Add C110\(EU\) 2.0 1.4.3 fixture [\python-kasa#1503](python-kasa#1503) (@sdb9696) - Add L530B\(EU\) 3.0 1.1.9 fixture [\python-kasa#1502](python-kasa#1502) (@sdb9696) **Project maintenance:** - Add fixtures for new versions of H100, P110, and T100 devices [\python-kasa#1501](python-kasa#1501) (@LXGaming) - Add L530E\(TW\) 2.0 1.1.1 fixture [\python-kasa#1497](python-kasa#1497) (@bluehomewu)
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
H100 - Raised error: not enough values to unpack (expected 2, got 1)
There was an error while loading. Please reload this page.