Package: pycairo / 1.16.2-4

Metadata

Package Version Patches format
pycairo 1.16.2-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
tests fix a pytest deprecation warning.patch | (download)

tests/test_api.py | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 tests: fix a pytest deprecation warning

https://docs.pytest.org/en/latest/deprecations.html#raises-warns-exec

enum explicitely set enum.__str__.patch | (download)

cairo/enums.c | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 enum: explicitely set enum.__str__

Python 3.8 has removed the int.__str__ implementation. So we don't fall
back to object.__str__ and thus enum.__repr__ set __str__ to int.__repr__
instead. This gives us the same behaviour with all python versions.

See https://github.com/python/cpython/commit/96aeaec64738b730