Overview

Request 1032775 accepted

- Update to 0.9.14:
* Updated to wrap new functions and constants in SDL 2.24.0.
* Added a new module sdl2.ext.displays for retrieving and working
with connected displays and their supported resolutions/refresh
rates.
* Extended sdl2.ext.init to allow initializing all SDL subsystems
individually (previously just initialized the video subsystem).
* Improved the memory safety of the sdl2.ext.Window class.
* Added raise_sdl_err to the public ext API.
* Fixed sdl2.ext.line to work correctly on 1bpp surfaces.
* Various fixes/improvements to the unit test suite for Linux
package maintainers.
- Remove mixer_tests_fix.patch (fixed upstream)


The tests fail because of 'Unable to open /dev/input/mouse0'.
There are several ways to fix this:
1. disable tests completely
2. catch error on tests (I have chosen this for now)
3. create an additional package which is used *only* for the build phase to add the build user "abuild" to the Linux group "input" to get access to /dev/input/*.


Daniel Garcia's avatar

23+%pytest -rfEs || :

This makes the package build ignoring errors in the tests, that's not a good practice. It's better to ignore the tests that are not working if it's something related to the way how obs run the tests.

Request History
Paolo Panto's avatar

munix9 created request

- Update to 0.9.14:
* Updated to wrap new functions and constants in SDL 2.24.0.
* Added a new module sdl2.ext.displays for retrieving and working
with connected displays and their supported resolutions/refresh
rates.
* Extended sdl2.ext.init to allow initializing all SDL subsystems
individually (previously just initialized the video subsystem).
* Improved the memory safety of the sdl2.ext.Window class.
* Added raise_sdl_err to the public ext API.
* Fixed sdl2.ext.line to work correctly on 1bpp surfaces.
* Various fixes/improvements to the unit test suite for Linux
package maintainers.
- Remove mixer_tests_fix.patch (fixed upstream)


The tests fail because of 'Unable to open /dev/input/mouse0'.
There are several ways to fix this:
1. disable tests completely
2. catch error on tests (I have chosen this for now)
3. create an additional package which is used *only* for the build phase to add the build user "abuild" to the Linux group "input" to get access to /dev/input/*.


Daniel Garcia's avatar

dgarcia declined request


Daniel Garcia's avatar

dgarcia reopened request

I've just rejected, but let's accept this and I'll try to fix the tests.


Daniel Garcia's avatar

dgarcia accepted request

openSUSE Build Service is sponsored by