Closed sfc-gh-stakeda closed 4 years ago
In case it helps, I ran into this recently and was poking around and found that cffi 1.13.1 did in fact make a change to the way cdef works: https://cffi.readthedocs.io/en/latest/whatsnew.html#v1-13-1
On a mac I get warnings about various global variables declared in https://github.com/wbond/oscrypto/blob/93758bef0f0bbcbb89e8583bcd1772f8cf48eeea/oscrypto/_mac/_security_cffi.py
I'm a little back-logged right now. Would either of you be interested in making the requisite changes and sending a PR?
This has been fixed with version 1.1.1
Lots of warnings are dumped when importing
oscrypto.asymmetric
in the environment includingcffi
1.13.2:My test environment is as follows:
Python Version is as follows.
pip output is
If
cffi
is not included, no warning is dumped. Alsocffi==1.13.0
doesn't show any warning too.I suspect
cffi
added more strict checking on the global variables?