cefpython icon indicating copy to clipboard operation
cefpython copied to clipboard

Chromium 100+ support

Open josephernest opened this issue 2 years ago • 7 comments

The current version pip install cefpython3 only uses Chromium 66.

How to update to the latest stable Chromium (higher than version 100)?

josephernest avatar Jan 10 '23 14:01 josephernest

i had the same problem,please help with it .

laulaxs avatar Jan 11 '23 01:01 laulaxs

The current version pip install cefpython3 only uses Chromium 66.

How to update to the latest stable Chromium (higher than version 100)?

I have changed API to fit Chromium 108. You can try my unofficial version. https://github.com/llcc01/cefpython

llcc01 avatar Jan 25 '23 12:01 llcc01

The current version pip install cefpython3 only uses Chromium 66. How to update to the latest stable Chromium (higher than version 100)?

I have changed API to fit Chromium 108. You can try my unofficial version. https://github.com/llcc01/cefpython

Thank you!

laulaxs avatar Jan 28 '23 03:01 laulaxs

The current version pip install cefpython3 only uses Chromium 66. How to update to the latest stable Chromium (higher than version 100)?

I have changed API to fit Chromium 108. You can try my unofficial version. https://github.com/llcc01/cefpython

Hi @llcc01 a build for mac is also planned?

ltavoletti avatar Mar 09 '23 10:03 ltavoletti

The current version pip install cefpython3 only uses Chromium 66. How to update to the latest stable Chromium (higher than version 100)?

I have changed API to fit Chromium 108. You can try my unofficial version. https://github.com/llcc01/cefpython

Hi @llcc01 a build for mac is also planned?

Sorry, I have never tried any on mac. Maybe someone can do it.

llcc01 avatar Mar 09 '23 14:03 llcc01

Hi all, I created an unofficial version making some tries on top of @llcc01's fork to make it works on MacOS. You can find it here: https://github.com/shakraw/cefpython

It compiles on both Windows/Mac. On Windows I'm able to use it to browse sites but I see some issues I need to investigate further. On Mac it compiles and builds the wheel package, but it doesn't pass the unit tests.

The output from the unit tests is as follow:

test_unittest1 (unittest_test.Test) ... ok
test_unittest2 (unittest_test.Test) ... ok
test_unittest3 (unittest_test.Test) ... ok

----------------------------------------------------------------------
Ran 3 tests in 0.001s

OK
test_isolated1 (isolated_test.IsolatedTest1) ... ok
test_isolated2 (isolated_test.IsolatedTest1) ... ok

----------------------------------------------------------------------
Ran 2 tests in 0.000s

OK
test_isolated3 (isolated_test.IsolatedTest2) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
test_main (main_test.MainTest_IsolatedTest)
Main entry point. All the code must run inside one ... test_osr (osr_test.OsrTest_IsolatedTest)
Main entry point. All the code must run inside one ... ----------------------------------------------------------------------
[_test_runner.py] CEF Python -unknown-
[_test_runner.py] Python 3.7.9 64bit
[_test_runner.py] Ran 8 tests in total
[_test_runner.py] FAILED (errors=1)

Checking the error on the failed test I see it gives a SEGFAULT very soon in the Initialize call in src/string_utils.pyx line 125 :

    # Using cefString.FromASCII() will result in DCHECK failures
    # when a non-ascii character is encountered.
    cefString.FromString(cppString)  # <-- SEGFAULT here

I'm not a c/c++ dev... anyone can help on this?

shakraw avatar Mar 15 '23 08:03 shakraw

The current version pip install cefpython3 only uses Chromium 66. How to update to the latest stable Chromium (higher than version 100)?

I have changed API to fit Chromium 108. You can try my unofficial version. https://github.com/llcc01/cefpython

Awesome but how do we install it?

lolouthefox avatar May 27 '23 13:05 lolouthefox