-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 2 support #269
Comments
IMO python2 support should be removed. Not wise to try and support something that is already eol, and removing support will encourage those still using python 2 to move to 3. |
@corrjo While true - it probably should be noted that this was a patch version release not a minor or major one. |
Credstash 1.16.2 is definitely broken. We've had to roll back to 1.16.1 on all of our images. Any word on when a fix will be in? |
Any update on when this will be fixed? |
Agreed that breaking Python 2 compatibility is inappropriate for a patch release. Will fix for next release. |
Hi,
wIth the changes from #263 the compatibility with Python 2 was broken. The problematic code part
credstash/credstash.py
Line 73 in 2dec65f
could be easily fixed by removing that line completely, because there is no benefit in checking, if the logger has any handlers. If it doesn't have any the next line line would iterate over an empty list and therefore not remove any handler. I could create a simple PR, but I'm not sure, which Python versions credstash is officially supporting. If you don't support Python 2, then you could also remove all code related to it, like
credstash/credstash.py
Line 15 in 2dec65f
credstash/credstash.py
Lines 30 to 33 in 2dec65f
The text was updated successfully, but these errors were encountered: