You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Test lpython.py with multiple CPython versions #1827
On Wed, May 17, 2023 at 12:21 PM Ondřej Čertík ***@***.***> wrote:
We need to test the lpython.py tests in integration_tests with multiple
CPython versions. It looks like there are some bugs related to that.
—
Reply to this email directly, view it on GitHub
<#1827>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABSRR7VRIBO7IKZOPLRVT3XGUQNDANCNFSM6AAAAAAYFQ2Y2E>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
We currently test with Python 3.10 and Python 3.11.4 at the CI. Is this issue safe to close or shall we test other Python versions like Python 3.9, Python 3.8 at the CI?
We should test with all the Python versions at: https://www.python.org/downloads/, so let's test with 3.8, 3.10, 3.11. Once 3.12 is released, let's test with it as well. To save time, we can probably skip 3.9. Once 3.8 is deprecated, we can test 3.9 instead.
Activity
rebcabin commentedon May 17, 2023
ubaidsk commentedon Aug 24, 2023
We currently test with
Python 3.10andPython 3.11.4at the CI. Is this issue safe to close or shall we test other Python versions likePython 3.9,Python 3.8at the CI?certik commentedon Aug 24, 2023
We should test with all the Python versions at: https://www.python.org/downloads/, so let's test with 3.8, 3.10, 3.11. Once 3.12 is released, let's test with it as well. To save time, we can probably skip 3.9. Once 3.8 is deprecated, we can test 3.9 instead.
ubaidsk commentedon Aug 25, 2023
It seems
listtype is not subscriptable in Python3.8.Please, could you share what we should do?
certik commentedon Aug 25, 2023
Is it subscriptable in Python 3.9? If so, then I would drop 3.8 and only support >= 3.9.
ubaidsk commentedon Aug 25, 2023
It seems annotation for
listis supported sincePython 3.9(reference https://stackoverflow.com/a/64755075).certik commentedon Aug 25, 2023
Ok, then let's test Python 3.9, 3.10 and 3.11 explicitly, all three. Once 3.12 is released in October, we'll add it as well.
ubaidsk commentedon Aug 25, 2023
For Python 3.8 and before, it seems one needs to use
from typing import List(which I think/guess is subscriptable).ubaidsk commentedon Aug 25, 2023
Sure, got it.