virtme icon indicating copy to clipboard operation
virtme copied to clipboard

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

Open majek opened this issue 5 years ago • 7 comments

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

majek avatar Feb 13 '20 16:02 majek

you must run with python 3.8

KamasuOri avatar Mar 16 '20 04:03 KamasuOri

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

amluto avatar Mar 17 '20 21:03 amluto

Readme says:

Your host system will need to satisfy some prerequisites:

    You need Python 3.3 or higher.

majek avatar Mar 26 '20 15:03 majek

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.

marcosps avatar Jun 09 '22 17:06 marcosps

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

alexandrevicenzi avatar Jun 09 '22 19:06 alexandrevicenzi

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

marcosps avatar Jun 10 '22 12:06 marcosps

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

sskras avatar Sep 13 '22 18:09 sskras