texttest / capturemock

2 stars 2 forks source link

Version 2.0.5 is not python2 compatible #6

Closed johangill closed 3 years ago

johangill commented 3 years ago

There are several changes in the latest release (2.0.5) that are not python2 compatible. This is the version one get with pip install on python2.

Some examples:

gjb1002 commented 3 years ago

Unfortunately I don't think I have the resources to support Capturemock on Python 2 into the future. I could perhaps have been clearer about this with the Capturemock 2.* series and made a more definite decision to drop it, but the basic issue is that I don't have any such environments myself any more and that the code is quite sensitive to different versions.

Python 2 reached its end of life going on for 2 years ago now. If you still need support in Capturemock, I can only suggest you fork an old version - probably a 1.x version - and go with that.

johangill commented 3 years ago

I am fine with it not beeing supported on python2.

But I think the documentation should be updated to state that. And it should probably no longer be released to pip on python2.

I would apreciate if a tag could be created on release 2.0 which still works on python2. It would make it easier to checkout an older release.

Thanks

gjb1002 commented 3 years ago

Have tagged release 2.0 now, will try to remedy the rest with the next release.

johangill commented 3 years ago

Thanks