Hi!
For updating the Azure SDK in SLE-12, I need to backport mock 4.x to SLE-12.
Unfortunately, mock 4.x introduced a number of changes such as f-strings and async calls which are not compatible with Python 3.4 [1].
I have been able to patch out the f-strings (see attached patch), but I'm not sure I can get rid of the async code without breaking mock.
Does anyone have a suggestion how to get mock 4.x to build in SLE-12?
Adrian
[1] https://github.com/testing-cabal/mock/commit/ce5b6961d0b38b9f26e6bffabf46fad...
Am Mittwoch, 28. Oktober 2020, 10:21:47 CET schrieb John Paul Adrian Glaubitz:
Hi,
For updating the Azure SDK in SLE-12, I need to backport mock 4.x to SLE-12.
it is pretty impactful on SLE12 due to the number of dependencies on mock 3.x. Please consider this carefully.
Does anyone have a suggestion how to get mock 4.x to build in SLE-12?
if you really need it and can't get away with testsuite changes to be compatible against mock 3.x (which I think should be easier in theory), then please add it as an alternative, that isn't selected by default, so that it is only pulled in for the packages that don't work with mock 3 anymore.
TIA, Dirk