Closed jml closed 2 years ago
Thank you for the time and effort to propose this patch, it is appreciated.
My initial thoughts on this are: Errbot isn't officially supported on Python 3.10 (automated testing is currently for 3.6-3.9). I doubt we'll be able to accept untested python 3.10 code piecemeal as it doesn't make sense to accept minor patches to address a much larger issue.
Python 3.10 was released as stable 4 days ago so officially supporting it should be prioritised.
@sijis what are your thoughts here?
Thanks for the kind response. That totally makes sense to me. Submitting a PR was mostly my lazy way of filing an issue :)
I've created an official issue to support Python 3.10 https://github.com/errbotio/errbot/issues/1538
I've created an official issue to support Python 3.10 #1538
This made me look up when 3.6 is EOL, which is pretty soon. In response, i created https://github.com/errbotio/errbot/pull/1540.
Python 3.10 was released as stable 4 days ago so officially supporting it should be prioritised.
I think we should definitely start running tests in 3.10 and see what's needing to be done.
Since the issue is open, I'm going to close this PR. Feel free to use the code as you see fit. Good luck!
Untested change to improve Python 3.10 support.
Latest release gives the following errors when run with Python 3.10:
This change fixes the error, per the notice on https://docs.python.org/3.9/library/collections.html