Skip to content
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

I'm quite sure python 3.8 is needed, not 3.3 #55

Open
majek opened this issue Feb 13, 2020 · 7 comments
Open

I'm quite sure python 3.8 is needed, not 3.3 #55

majek opened this issue Feb 13, 2020 · 7 comments

Comments

@majek
Copy link

majek commented Feb 13, 2020

On python 3.5 I get this error

marek@mrnew:/build/virtme$  python3 ./virtme-run   
Traceback (most recent call last):
  File "./virtme-run", line 17, in <module>
    from virtme.commands import run
  File "/build/virtme/virtme/commands/run.py", line 37
    g: Any
     ^
SyntaxError: invalid syntax
@KamasuOri
Copy link

you must run with python 3.8

@amluto
Copy link
Owner

amluto commented Mar 17, 2020

Is there any reasonably well supported way to strip out the typing annotations for the benefit of old python versions?

@majek
Copy link
Author

majek commented Mar 26, 2020

Readme says:

Your host system will need to satisfy some prerequisites:

    You need Python 3.3 or higher.

@marcosps
Copy link
Contributor

marcosps commented Jun 9, 2022

Well, I've being using virtme using openSUSE Leap 15.3 default python: 3.6.15, and it works. Maybe we should require python 3.6 or higher?

@KamasuOri can you say which problems you have when running version 3.6 for example? Per docs.python.org, typing support appeard on python 3.5.9.

@alexandrevicenzi
Copy link

Python 3.6 and lower already reached EOL, Leap 15.3 will reach EOL soon as well.

@marcosps
Copy link
Contributor

@amluto what do you think? Maybe better to advise virtme with python 3.8?

@sskras
Copy link

sskras commented Sep 13, 2022

Or maybe use Python 3.7 at the very least:
image
https://endoflife.date/python

arighi pushed a commit to arighi/virtme-ng that referenced this issue May 10, 2023
Current 3.3 required version doesn't support typing annotations, which
was introduced on 3.5.9. But since 3.7 is almost at EOL, require python
3.8.

Link: amluto/virtme#55

Signed-off-by: Marcos Paulo de Souza <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants