Open johanneskastl opened 1 year ago
We can probably switch to unittest.mock
in dropping support for Python 2. As for the other things, we've only tested on OSX (x86_64), Windows, and Ubuntu / CentOS (x86_64). I would have to look to see GH has support for ARM-based OSX, if so, we should probably support that given that is what Apple is moving towards. As for i586 et. al, unless we have a runner to validate against in an automated fashion, I don't think we would be able to support stability on those architectures.
Looks like M1 runners are supported, so this is something we can do for the unit testing: https://github.com/github/roadmap/issues/528
I am trying to package for openSUSE this as it is a dependency of pynitrokey.
As openSUSE tries to remove use of python-mock, I simply switched all tests to unittest.mock:
Worked like charm (and might be usable for #149), as the tests pass successfully on x86_64.
However there are some that fail on non-x86:
armv7l
i586
ppc64
s390x
Errors