peterbrittain / asciimatics

A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
Apache License 2.0
3.61k stars 238 forks source link

Move to Python 3 only #376

Closed s-t-e-v-e-n-k closed 11 months ago

s-t-e-v-e-n-k commented 11 months ago

With setup.py declaring Python 3.8 and above is supported, use pyupgrade to reformat the code for that version, along with removing use of mock and future modules.

Fixes #347

s-t-e-v-e-n-k commented 11 months ago

Updated to 3.9 for Windows and pypy3 :crossed_fingers:

s-t-e-v-e-n-k commented 11 months ago

Well, I fixed one, I wasn't expecting 3.9 to install 3.9.0 :-( Not sure why pip isn't upgrading

peterbrittain commented 11 months ago

Ok... Nearly there! I think the Windows build issue is because you needed to change the PATH to match the installed version.

Pyfiglet code should now be fixed so that older versions of Python will not pick up the new 1.0.0 release. Let's try moving windows back to 3.8.9 and see if it all builds cleanly now.

I'll happily merge once that's passing.