-
-
Notifications
You must be signed in to change notification settings - Fork 51
Replace numpy.fromstring with numpy.frombuffer
#127
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
Conversation
`qubesimgconverter` library uses deprecated binary mode of fromstring. This form was finally removed in the recent versions of numpy. Switching to `numpy.frombuffer` resolves the issue. source: numpy/numpy@491f66a#diff-71aadf0228c9cd61ea260748af1dcd4a726eea8476b8cbd667367466c1e39077R2303
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #127 +/- ##
=======================================
Coverage 60.60% 60.60%
=======================================
Files 6 6
Lines 952 952
Branches 104 104
=======================================
Hits 577 577
Misses 285 285
Partials 90 90 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025062018-4.3&flavor=pull-requests Test run included the following:
New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025061004-4.3&flavor=update
Failed tests14 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/142375#dependencies 10 fixed
Unstable testsPerformance TestsPerformance degradation:8 performance degradations
Remaining performance tests:64 tests
|
qubesimgconverterlibrary uses deprecated binary mode of fromstring. This form was finally removed in the recent versions of numpy. Switching tonumpy.frombufferresolves the issue.source: numpy/numpy@491f66a#diff-71aadf0228c9cd61ea260748af1dcd4a726eea8476b8cbd667367466c1e39077R2303