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
[21.02] python3-speedtest-cli: update to 2.1.3 #17390
[21.02] python3-speedtest-cli: update to 2.1.3 #17390
Conversation
This includes a fix for a breaking change in the Speedtest API. Signed-off-by: Matt Merhar <mattmerhar@protonmail.com> (cherry picked from commit 77ebd65)
Was it run and compile tested for OpenWrt 21.02? cc maintainer: @jempatel |
@BKPepe Thanks for taking a look. I haven't got a 21.02 environment to test on, but in theory the 2.1.2 to 2.1.3 change is purely down to the Ookla speedtest API and hence shouldn't have any major breaking change, however this will need confirming. |
Thus this can not be accepted as it is. I am sorry! We can not push this change to the stable branch unless it is tested on the real device, and because of that, I'm closing this pull request. |
@BKPepe I understand, however the package version currently in the stable branch (2.1.2) is already broken and 2.1.3 has the fix with related to the API response. Granted, I can't verify that, but if the package maintainer can or someone else hopefully that will allow you to accept it. |
I looked at it once again as a one-time courtesy for you. It is not good to send untested PRs to any repositories on GitHub/GitLab as it can go wrong if you want to have changes in the stable branch. Before sending fixes here, you should be familiar with OpenWrt SDK, compiling packages, etc. Some hints can be found in OpenWrt documentation. What I did: Performed run testing on Turris Omnia, mvebu, cortexa9, OpenWrt 21.02.1
|
@BKPepe Fair point, it did seem like a minor version bump, but obviously there are further issues. My only hardware available is a WRT3200ACM which absolutely isn't going to be running 21.02, because of WiFI performance and general stability issues. Maybe the original maintainer can take a look at some point. |
Description:
Cherry pick 2.1.3 package bump from master due to a breaking change with the API.
python3-speedtest-cli version < 2.1.3 will not work currently and instead throw a Python error.
https://forum.openwrt.org/t/speedtest-cli-doesnt-work/114940/2
https://unix.stackexchange.com/questions/644442/speedtest-cli-valueerror-invalid-literal-for-int-with-base-10