Chaffelson / nipyapi

A convenient Python wrapper for Apache NiFi
Other
245 stars 76 forks source link

Update Standards to Python 3.9 #292

Closed Chaffelson closed 2 years ago

Chaffelson commented 2 years ago

regex strings should be raw strings with correct escape sequences Raw strings should not be raised as errors, ValueError is the default Added config item for default file encoding, set to utf-8. Previously we were blindly using the system encoding with unpredictable results Forced all filesystem read and write activities to actively select encoding per Python standards Excluded warning about use of new python f-strings, as they are not backwards compatible Added Python 3.9 for test support Added Test support for Amazon Linux 2 and better filesystem error recognition across Python versions

Signed-off-by: Daniel Chaffelson chaffelson@gmail.com