aws / aws-lambda-python-runtime-interface-client

Apache License 2.0
258 stars 73 forks source link

Include python 3.10 and 3.11 as supported versions #96

Closed zetahernandez closed 1 year ago

zetahernandez commented 1 year ago

Issue #89 Issue #85

Description of changes: Include python 3.10 and 3.11 as supported versions, adding it to the tests runtimes.
SyntaxError error message has changed since python 3.10 that requires a change on the assertion of one the tests.

➜ python3.9 -c 'eval("-")'

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 1
    -
    ^
SyntaxError: unexpected EOF while parsing
➜ python3.11 -c 'eval("-")'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 1
    -
SyntaxError: invalid syntax

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

JonZeolla commented 1 year ago

@zetahernandez it looks like this could benefit from rebasing on main after eabc088e43bd08b40dddf742b557eeebc0e0cc11 and 13e2d05bc70035d4e79f5ba7b6d9e3cb27955a30 from @briensea

briensea commented 1 year ago

Released in 2.0.5 and available on PyPi.