amluto / virtme

An easy way to virtualize the running system
GNU General Public License v2.0
330 stars 66 forks source link

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

Open majek opened 4 years ago

majek commented 4 years ago

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 commented 4 years ago

you must run with python 3.8

amluto commented 4 years ago

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

majek commented 4 years ago

Readme says:

Your host system will need to satisfy some prerequisites:

    You need Python 3.3 or higher.
marcosps commented 2 years ago

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 commented 2 years ago

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

marcosps commented 2 years ago

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

sskras commented 2 years ago

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