Public bug reported: Example log: https://autopkgtest.ubuntu.com/results/autopkgtest- noble/noble/amd64/t/tiktoken/20240407_063236_b4ec2@/log.gz
Relevant part: 1562s autopkgtest [06:32:23]: test pybuild-autopkgtest: [----------------------- 1562s I: pybuild base:311: cd /tmp/autopkgtest.Wp5oZZ/autopkgtest_tmp/build; python3.12 -m unittest discover -v 1562s tests.test_encoding (unittest.loader._FailedTest.tests.test_encoding) ... ERROR 1562s tests.test_helpers (unittest.loader._FailedTest.tests.test_helpers) ... ERROR 1562s tests.test_offsets (unittest.loader._FailedTest.tests.test_offsets) ... ERROR 1562s 1562s ====================================================================== 1562s ERROR: tests.test_encoding (unittest.loader._FailedTest.tests.test_encoding) 1562s ---------------------------------------------------------------------- 1562s ImportError: Failed to import test module: tests.test_encoding 1562s Traceback (most recent call last): 1562s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path 1562s module = self._get_module_from_name(name) 1562s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1562s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name 1562s __import__(name) 1562s File "/tmp/autopkgtest.Wp5oZZ/autopkgtest_tmp/build/tests/test_encoding.py", line 5, in <module> 1562s import hypothesis 1562s ModuleNotFoundError: No module named 'hypothesis' 1562s 1562s 1562s ====================================================================== 1562s ERROR: tests.test_helpers (unittest.loader._FailedTest.tests.test_helpers) 1562s ---------------------------------------------------------------------- 1562s ImportError: Failed to import test module: tests.test_helpers 1562s Traceback (most recent call last): 1562s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path 1562s module = self._get_module_from_name(name) 1562s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1562s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name 1562s __import__(name) 1562s File "/tmp/autopkgtest.Wp5oZZ/autopkgtest_tmp/build/tests/test_helpers.py", line 5, in <module> 1562s import pytest 1562s ModuleNotFoundError: No module named 'pytest' 1562s 1562s 1562s ====================================================================== 1562s ERROR: tests.test_offsets (unittest.loader._FailedTest.tests.test_offsets) 1562s ---------------------------------------------------------------------- 1562s ImportError: Failed to import test module: tests.test_offsets 1562s Traceback (most recent call last): 1562s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path 1562s module = self._get_module_from_name(name) 1562s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1562s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name 1562s __import__(name) 1562s File "/tmp/autopkgtest.Wp5oZZ/autopkgtest_tmp/build/tests/test_offsets.py", line 3, in <module> 1562s import hypothesis 1562s ModuleNotFoundError: No module named 'hypothesis' 1562s 1562s 1562s ---------------------------------------------------------------------- 1562s Ran 3 tests in 0.000s 1562s 1562s FAILED (errors=3) It appears this package needs Build-Depends: python3-pytest python3-hypothesis ** Affects: tiktoken (Ubuntu) Importance: Medium Assignee: Nick Rosbrook (enr0n) Status: In Progress ** Tags: update-excuse ** Tags added: update-e ** Tags removed: update-e ** Tags added: update-excuse -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060690 Title: tiktoken: pybuild-autopkgtest fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tiktoken/+bug/2060690/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs