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

Support for Python 3.4 / 3.5 / 3.6 #121

Closed
GoogleCodeExporter opened this issue Aug 28, 2015 · 14 comments
Closed

Support for Python 3.4 / 3.5 / 3.6 #121

GoogleCodeExporter opened this issue Aug 28, 2015 · 14 comments
Milestone

Comments

@GoogleCodeExporter
Copy link

GoogleCodeExporter commented Aug 28, 2015

Update 4:
v56.0 for Windows released with Python 3 support and both 32-bit and 64-bit platforms support, see:
https://github.com/cztomczak/cefpython/releases/tag/v56.0-win

Update 3:

v56.0 for Mac with Python 3 support released, see: https://github.com/cztomczak/cefpython/releases/tag/v56.0

Update 2:

Python 3.6 support added in v55.1 release for Linux:
https://github.com/cztomczak/cefpython/releases/tag/v55.1

Update 1:

Python 3 beta release for Linux:
https://github.com/cztomczak/cefpython/releases/tag/v53.1

Tested with Python 3.4.5 / 3.5.2 and Cython 0.24.1 on Ubuntu 14.04. Only hello_world.py and unit tests were run and do work fine. Other examples may work but were not tested.


To compile with Python 3.4 it is required to update Cython to version 0.20 or later which added support for CPython 3.4. Update related to Cython upgrade will be occuring in Issue #110.

Still TODO:

@mese79
Copy link

mese79 commented Nov 20, 2015

Hi
Is there any news for supporting python 3.x guys?

@jamiegau
Copy link

It is now March, 2016...
Come on, lets move on from Python2. I make it a rule to avoid python 2 if I can.
This looks like a great tool.. I would like to use it but I am very python3 centric with all my code.

@zelid
Copy link

zelid commented Apr 5, 2016

Still waiting for Python 3.5 for OS X 10.7+

This was referenced Jul 1, 2016
cztomczak added a commit that referenced this issue Sep 17, 2016
Add hello_world.py example (#207).

Update to Cython 0.24.1 (#110).

Test with Python 3.4.5 (#121) on Ubuntu 14.04 by running
the hello_world.py example. No other examples were run,
so there still may be bugs.

Expose new funcs in the cefpython module: CreateBrowser, ExceptHook,
GetAppPath.

Add --fast flag to compile.py for faster build time of the cefpython
module. Don't use it for building official binary distrib.
cztomczak added a commit that referenced this issue Sep 18, 2016
Improve shutting down cleanly with ExceptHook.

Fix issue with str/bytes passed to Debug() function (#110).
@cztomczak cztomczak changed the title Support for Python 3.4 Support for Python 3.4 / 3.5 Sep 21, 2016
@cztomczak cztomczak changed the title Support for Python 3.4 / 3.5 Support for Python 3.4 / 3.5 / 3.6 Oct 28, 2016
cztomczak added a commit that referenced this issue Oct 28, 2016
others.

This is CEF Python 55.1 beta release with Chrome 55 from beta channel.

Add support for Python 3.6 (#121).

Update to Cython 0.25.1 (#110).

Build cefpython .so modules using clean Python installations as in pyenv
to avoid invalid symbols being embedded in the .so module (#266).

Update CEF include/.
Update patches/.

Update compile.py. Run unit tests first and don't run gtk3 example
temporarily until #261 is fixed. Check if Cython version installed
is the same as specified in tools/requirements.txt.

Update examples - print filename when logging messages.
cztomczak added a commit that referenced this issue Dec 9, 2016
@jimanvlad
Copy link

Any news on Python 3 for windows?

@martinlombana
Copy link

Windows Support for Python 3 would be HUGE!

@carlosperate
Copy link

carlosperate commented Jan 20, 2017

This issue might also be relevant for the windows platform, although it seems it only covers Python 2: #294

@caodixy
Copy link

caodixy commented Jan 23, 2017

@carlosperate could you tell me the release time of windows 55+?

@carlosperate
Copy link

I'm not the maintainer, will have to ask @cztomczak that.

@caodixy
Copy link

caodixy commented Jan 23, 2017

@cztomczak could you tell me the release time of windows 55+?

@cztomczak cztomczak modified the milestones: v55, Python 3 Feb 24, 2017
cztomczak added a commit that referenced this issue Mar 3, 2017
@cztomczak
Copy link
Owner

v56.0 for Mac with Python 3 support released, see: https://github.com/cztomczak/cefpython/releases/tag/v56.0

cztomczak added a commit that referenced this issue Mar 7, 2017
…...

Currently tested with Python 3.4. There are still required changes to
automate.py tool to generate libcef_dll_wrapper libraries for all Python
2 and 3 compilers (VS2008, VS2010, VS2015).

Update build instructions for Windows.

Generate and use cefpython_fixed.h so that recompilation of C++ projects
doesn't happen each time when rebuilding the cefpython module.

Update README. Add requirements for all platforms. Fix incomplete
pip install command.
cztomczak added a commit that referenced this issue Mar 8, 2017
Tested using Python 3.4 / 3.5 / 3.6. Only 32-bit. Everything works good.

Update tools for Python 3.

On Windows build.py tool will call build_cpp_projects.py to build C++
projects. On Linux and Mac C++ projects are built using Makefiles.

There are still deprecated .vcproj files across directories, however
they are all deprecated and not used anymore.

automate.py --prebuilt-cef works on Python 3. However --build-cef
depends on upstream automate-git.py which supports only Python 2.

Minor fixes to build instructions.
@cztomczak
Copy link
Owner

Added Python 3 support on Windows in commits 5f24f50 and 7e4d587.
Tested with Python 3.4 / 3.5 / 3.6. Only 32-bit. Everything runs OK.

[_test_runner.py] CEF Python 56.0
[_test_runner.py] Python 3.6.0
[_test_runner.py] Ran 34 tests in total
[_test_runner.py] OK all unit tests succeeded
[build.py] Run examples
[run_examples.py] PASS: wxpython.py (wxPython not installed)
[run_examples.py] PASS: gtk2.py (Gtk 2 not installed
[run_examples.py] PASS: gtk3.py (Gtk 3 not installed)
[run_examples.py] PASS: qt4.py pyqt (PyQt4 not installed)
[run_examples.py] PASS: qt4.py pyside (PySide not installed)
[run_examples.py] Running 'hello_world.py'...
[hello_world.py] CEF Python 56.0
[hello_world.py] Python 3.6.0
[run_examples.py] Running 'tkinter_.py'...
[tkinter_.py] CEF Python 56.0
[tkinter_.py] Python 3.6.0
[tkinter_.py] Tk 8.6.6
[run_examples.py] SUMMARY:
  OK    hello_world.py
  OK    tkinter_.py
  PASS  wxpython.py
  PASS  gtk2.py
  PASS  gtk3.py
  PASS  qt4.py pyqt
  PASS  qt4.py pyside
[run_examples.py] OK(2). Passed: 5.
[build.py] Everything OK

@raphaelm
Copy link

FYI, I was able to reproduce the successful windows build with Python 3.4. Thank you very very much for the good installation documentation. ❤️

@cztomczak
Copy link
Owner

v56.0 for Windows released with Python 3 support and both 32-bit and 64-bit platforms support. See GH release: https://github.com/cztomczak/cefpython/releases/tag/v56.0-win

@cztomczak
Copy link
Owner

Python 3 is now supported on all platforms. See GH releases pages or install using pip.

This issue was closed.
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

10 participants