Discussion:
[X2Go-Dev] Bug#1286: python3 support for pyhoca-gui
Orion Poplawski
2018-04-14 17:25:15 UTC
Permalink
Package: pyhoca-gui
Version: 0.5.0.7

2to3 is not sufficient to add python3 support of pyhoca-gui. The
attached patches are needed as well.

file() is no longer present in python3. The mro patch fixes:

/usr/bin/python3.4 setup.py build '--executable=/usr/bin/python3.4 -s'
Traceback (most recent call last):
File "setup.py", line 212, in <module>
class build_installer_bbfreeze(build_installer, Freezer, Command):
TypeError: Cannot create a consistent method resolution
order (MRO) for bases object, Command
--
Orion Poplawski
Manager of NWRA Technical Systems 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane ***@nwra.com
Boulder, CO 80301 https://www.nwra.com/
Mike Gabriel
2018-04-14 19:02:57 UTC
Permalink
Hi Orion,
Post by Orion Poplawski
Package: pyhoca-gui
Version: 0.5.0.7
2to3 is not sufficient to add python3 support of pyhoca-gui. The
attached patches are needed as well.
/usr/bin/python3.4 setup.py build '--executable=/usr/bin/python3.4 -s'
File "setup.py", line 212, in <module>
TypeError: Cannot create a consistent method resolution
order (MRO) for bases object, Command
Thanks for giving Pyhoca-GUI and Python3 a shot. Has a python3'ish
wxpython already landed in Fedora? Obviously.

In Debian, this is still all on Python2.

I'll take a look the coming week.

Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: ***@das-netzwerkteam.de, http://das-netzwerkteam.de
Orion Poplawski
2018-04-14 20:50:05 UTC
Permalink
Post by Mike Gabriel
Hi Orion,
Post by Orion Poplawski
Package: pyhoca-gui
Version: 0.5.0.7
2to3 is not sufficient to add python3 support of pyhoca-gui.  The
attached patches are needed as well.
/usr/bin/python3.4 setup.py build '--executable=/usr/bin/python3.4 -s'
  File "setup.py", line 212, in <module>
TypeError: Cannot create a consistent method resolution
order (MRO) for bases object, Command
Thanks for giving Pyhoca-GUI and Python3 a shot. Has a python3'ish
wxpython already landed in Fedora? Obviously.
In Debian, this is still all on Python2.
I'll take a look the coming week.
Mike
In Fedora there is python3-wxpython4. Will probably need some porting.

https://wxpython.org/Phoenix/docs/html/MigrationGuide.html
--
Orion Poplawski
Manager of NWRA Technical Systems 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane ***@nwra.com
Boulder, CO 80301 https://www.nwra.com/
Loading...