netman icon indicating copy to clipboard operation
netman copied to clipboard

Python 3 support

Open mat128 opened this issue 10 years ago • 8 comments

Title says it all! I believe we aren't that far off :)

mat128 avatar Nov 05 '15 01:11 mat128

I just checked and according to 'caniusepython3': Almost! 4 blockers. Check again 4 out of those 4 have no direct dependencies blocking their transition fake-switches mockssh ncclient sphinxcontrib-httpdomain

I believe the hardest will be ncclient.

mat128 avatar Nov 05 '15 01:11 mat128

worth it to note that flexmock is supporting up to 3.3. So if we are targeting 3.4.3, we should watch out for that one.

http://has207.github.io/flexmock/#compatibility

idjaw avatar Nov 05 '15 01:11 idjaw

Just get rid of flexmock and use mock now that it's built-in? ;)

mat128 avatar Nov 05 '15 01:11 mat128

or we could write a new lib called flexy and make it a wrapper of mock in the syntax of flexmock ;)

lindycoder avatar Nov 05 '15 13:11 lindycoder

That would be fun.

idjaw avatar Nov 05 '15 14:11 idjaw

Hey guys, just FYI, I recently became new maintainer of flexmock and I extended support to 3.4 and 3.5; support for new Python releases will be landing as they come out. Flexmock now lives here: https://github.com/bkabrda/flexmock - feel free to let me know if you hit any issues!

bkabrda avatar Jan 20 '16 16:01 bkabrda

Nice, thanks for the info!

lindycoder avatar Jan 20 '16 16:01 lindycoder

ncclient now supports python3 ! https://github.com/ncclient/ncclient/blob/2f15ddd65a5f1c4e83edc556bb25cc1998c666d4/Changelog#L7

fbouliane avatar Jul 11 '16 19:07 fbouliane