You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests fail with python3 because modules from pygtk (python2 only) are imported:
======================================================================
ERROR: update_udhr_samples (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: update_udhr_samples
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 153, in loadTestsFromName
module = __import__(module_name)
File "/var/tmp/portage/dev-python/nototools-0_pre20200428/work/nototools-2aa38cca1c17d2262fbda706f68623f712dd446e/nototools/update_udhr_samples.py", line 38, in <module>
from nototools import generate_website_data
File "/var/tmp/portage/dev-python/nototools-0_pre20200428/work/nototools-2aa38cca1c17d2262fbda706f68623f712dd446e/nototools/generate_website_data.py", line 41, in <module>
from nototools import create_image
File "/var/tmp/portage/dev-python/nototools-0_pre20200428/work/nototools-2aa38cca1c17d2262fbda706f68623f712dd446e/nototools/create_image.py", line 33, in <module>
import pango
ModuleNotFoundError: No module named 'pango'
======================================================================
ERROR: font_tests (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: font_tests
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 153, in loadTestsFromName
module = __import__(module_name)
File "/var/tmp/portage/dev-python/nototools-0_pre20200428/work/nototools-2aa38cca1c17d2262fbda706f68623f712dd446e/nototools/unittests/font_tests.py", line 23, in <module>
import freetype
ModuleNotFoundError: No module named 'freetype'
======================================================================
ERROR: merge_fonts (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: merge_fonts
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 153, in loadTestsFromName
module = __import__(module_name)
File "/var/tmp/portage/dev-python/nototools-0_pre20200428/work/nototools-2aa38cca1c17d2262fbda706f68623f712dd446e/nototools/merge_fonts.py", line 40, in <module>
from merge_noto import add_gsub_to_font, has_gsub_table
ModuleNotFoundError: No module named 'merge_noto'
======================================================================
ERROR: generate_website_data (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: generate_website_data
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 153, in loadTestsFromName
module = __import__(module_name)
File "/var/tmp/portage/dev-python/nototools-0_pre20200428/work/nototools-2aa38cca1c17d2262fbda706f68623f712dd446e/nototools/generate_website_data.py", line 41, in <module>
from nototools import create_image
File "/var/tmp/portage/dev-python/nototools-0_pre20200428/work/nototools-2aa38cca1c17d2262fbda706f68623f712dd446e/nototools/create_image.py", line 33, in <module>
import pango
ModuleNotFoundError: No module named 'pango'
======================================================================
ERROR: generate_website_2_data (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: generate_website_2_data
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 153, in loadTestsFromName
module = __import__(module_name)
File "/var/tmp/portage/dev-python/nototools-0_pre20200428/work/nototools-2aa38cca1c17d2262fbda706f68623f712dd446e/nototools/generate_website_2_data.py", line 38, in <module>
from nototools import create_image
File "/var/tmp/portage/dev-python/nototools-0_pre20200428/work/nototools-2aa38cca1c17d2262fbda706f68623f712dd446e/nototools/create_image.py", line 33, in <module>
import pango
ModuleNotFoundError: No module named 'pango'
======================================================================
ERROR: generate_sample_from_exemplar (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: generate_sample_from_exemplar
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 153, in loadTestsFromName
module = __import__(module_name)
File "/var/tmp/portage/dev-python/nototools-0_pre20200428/work/nototools-2aa38cca1c17d2262fbda706f68623f712dd446e/nototools/generate_sample_from_exemplar.py", line 28, in <module>
from nototools import create_image
File "/var/tmp/portage/dev-python/nototools-0_pre20200428/work/nototools-2aa38cca1c17d2262fbda706f68623f712dd446e/nototools/create_image.py", line 33, in <module>
import pango
ModuleNotFoundError: No module named 'pango'
======================================================================
ERROR: create_image (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: create_image
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 153, in loadTestsFromName
module = __import__(module_name)
File "/var/tmp/portage/dev-python/nototools-0_pre20200428/work/nototools-2aa38cca1c17d2262fbda706f68623f712dd446e/nototools/create_image.py", line 33, in <module>
import pango
ModuleNotFoundError: No module named 'pango'
======================================================================
ERROR: compare_fonts (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: compare_fonts
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 153, in loadTestsFromName
module = __import__(module_name)
File "/var/tmp/portage/dev-python/nototools-0_pre20200428/work/nototools-2aa38cca1c17d2262fbda706f68623f712dd446e/nototools/compare_fonts.py", line 26, in <module>
import cldr_data
ModuleNotFoundError: No module named 'cldr_data'
----------------------------------------------------------------------
Ran 8 tests in 0.002s
FAILED (errors=8)
Test failed: <unittest.runner.TextTestResult run=8 errors=8 failures=0>
Getting fonts from: ['/var/tmp/portage/dev-python/nototools-0_pre20200428/work/nototools-2aa38cca1c17d2262fbda706f68623f712dd446e/hinted', '/var/tmp/portage/dev-python/nototools-0_pre20200428/work/nototools-2aa38cca1c17d2262fbda706f68623f712dd446e/unhinted', '/var/tmp/portage/dev-python/nototools-0_pre20200428/work/nototools-2aa38cca1c17d2262fbda706f68623f712dd446e/fonts', '/var/tmp/portage/dev-python/nototools-0_pre20200428/work/nototools-2aa38cca1c17d2262fbda706f68623f712dd446e']
Thanks
The text was updated successfully, but these errors were encountered:
tests fail with python3 because modules from pygtk (python2 only) are imported:
Thanks
The text was updated successfully, but these errors were encountered: