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

package python3 client on win32 #1574

Closed
totaam opened this issue Jul 10, 2017 · 9 comments
Closed

package python3 client on win32 #1574

totaam opened this issue Jul 10, 2017 · 9 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Jul 10, 2017

Issue migrated from trac ticket # 1574

component: packaging | priority: minor | resolution: fixed | keywords: win32

2017-07-10 15:06:29: antoine created the issue


Problem is that MSYS2 ships python 3.6 now, the version of cx_freeze that we use (the only one that works for python2) is 4.3.4... but that one does not build with python 3.5 or 3.6. Ouch.
The latest cx_freeze version 5 does produce a package, but not a usable one...

Solutions:

See also:

@totaam
Copy link
Collaborator Author

totaam commented Aug 1, 2017

2017-08-01 15:02:52: RayDonn commented


Hi Antoine, MSYS2 also ships Python 2.7 (actually 3 versions, 2 native and one msys2/cygwin-y).

@totaam
Copy link
Collaborator Author

totaam commented Aug 1, 2017

2017-08-01 15:08:19: antoine changed status from new to assigned

@totaam
Copy link
Collaborator Author

totaam commented Aug 1, 2017

2017-08-01 15:08:19: antoine commented


We already use the python 2.7 from MSYS2, this ticket is about moving to python3 in time for the 3.0 release. Or at least having a usable python3 version on MS Windows.

@totaam
Copy link
Collaborator Author

totaam commented Sep 29, 2017

2017-09-29 12:43:40: antoine commented


  • r16980: show python3 in resulting installer filename
  • pynvml needs to be built by hand after calling "2to3"
  • r16984: CUDA kernel location fix

See also #1528#comment:9

@totaam
Copy link
Collaborator Author

totaam commented Sep 29, 2017

2017-09-29 14:05:44: antoine commented


  • opengl works with GTK3: python3 opengl client #1569#comment:5
  • non-opengl case needs fixing: windows lack decorations!
  • opengl check tries to import GtkGL
    Now solved:
  • keyboard tool fails to import "Glib" (edit: was packaging problem?)
  • gl colors gradient example needs converting to GTK3 (edit: disabled in r17005)
  • webcam: opencv is missing something (edit: fixed here workaround broken MSYS2 dependencies #1483#comment:3 - but 64-bit builds still fail)

Still broken:

  • running on a 64-bit system fails miserably (tried both 32-bit and 64-bit builds): the GTK3 rendering goes haywire, window decorations go AWOL, etc
  • cryptography still missing

@totaam
Copy link
Collaborator Author

totaam commented Nov 6, 2017

2017-11-06 08:44:31: antoine commented


Some of the brokenness may be explained by the packaging? (see #1528#comment:10)

@totaam
Copy link
Collaborator Author

totaam commented Nov 26, 2017

2017-11-26 13:32:59: antoine changed status from assigned to closed

@totaam
Copy link
Collaborator Author

totaam commented Nov 26, 2017

2017-11-26 13:32:59: antoine set resolution to fixed

@totaam
Copy link
Collaborator Author

totaam commented Nov 26, 2017

2017-11-26 13:32:59: antoine commented


The python3 version works at least as well as the python2 version and has the advantage of supporting transparency (just not with the opengl backend: #1682).

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

1 participant