irods / python-irodsclient

A Python API for iRODS
Other
63 stars 73 forks source link

Eliminate all python2 compatibility concerns from the codebase #480

Open d-w-moore opened 1 year ago

d-w-moore commented 1 year ago

In a not-far-off future release, we plan to stop adhering to any sort of standard for Python2 compatibility.
More than than, we want to purge the code base of any signs the Python iRODS Client ever ran on Python 2.x : )

At the least, this means:

trel commented 12 months ago

Yes please. Only as part of a new 'major' release of this client library.

d-w-moore commented 2 months ago

Note the guidelines in the description here are to be applied only for source changes made after v3.0.0 has been released (projected to be our first Python3-only release). Format-strings (f"...") particularly should be disallowed til then, as the presence of even one of these in a source file prevents it from being parsed by the Python2 interpreter.