Tests fail with Python 3.9b4-5
Most of the tests in test_verify.py
and test_verify2.py
fail and the log is full of:
----------------------------- Captured stderr call -----------------------------
In file included from /usr/include/python3.9/unicodeobject.h:1026,
from /usr/include/python3.9/Python.h:97,
from testing/cffi0/__pycache__/_cffi__x7695c33bxe70d0f31.c:2:
/usr/include/python3.9/cpython/unicodeobject.h: In function ‘Py_UNICODE_COPY’:
/usr/include/python3.9/cpython/unicodeobject.h:55:35: error: conversion to ‘long unsigned int’ from ‘Py_ssize_t’ {aka ‘long int’} may change the sign of the result [-Werror=sign-conversion]
55 | memcpy(target, source, length * sizeof(Py_UNICODE));
| ^
cc1: all warnings being treated as errors
BTW, Py_UNICODE_COPY
is now deprecated in C: https://docs.python.org/3.9/whatsnew/3.9.html#id2