simplefix icon indicating copy to clipboard operation
simplefix copied to clipboard

Deprecate Python 2.7 support as of 1 January 2021

Open da4089 opened this issue 6 years ago • 2 comments

So now that Python 2.7 is officially unsupported, I'd like to flag a date beyond which simplefix won't commit to support it.

In common with a few other projects, I'm thinking maybe 31 December 2020 sounds like a good sunset date.

I won't deliberately break it on 1 Jan 2021, but I anticipate removing Python 2.7 from the automated builds, and any new features won't be tested on 2.7.

Any objections? Anyone still using Python 2.7 today, and won't be migrating by then?

da4089 avatar Feb 19 '20 11:02 da4089

I've committed several fixes for this today. In particular, the unit tests no longer include the code that allowed them to run on Python 2.x. I plan to do another pass introducing f-strings, and then anything else that I can find before calling this done.

da4089 avatar Sep 12 '21 12:09 da4089

  • Updated various documentation, removing references to support for 2.x.
  • Removed inheritance from object for FixParser and FixMessage classes.

Still need to review string interpolation.

da4089 avatar Feb 17 '22 12:02 da4089

Committed the fix for #42, replacing a bunch of %-operator usage with f-strings. This won't work on a anything older than CPython 3.6.

This task is now complete.

da4089 avatar Mar 19 '23 13:03 da4089

Done.

da4089 avatar Mar 19 '23 13:03 da4089