Bug#1068710: tiktoken: pybuild-autopkgtest fails with ModuleNotFoundError(s)
Package: tiktoken
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu noble ubuntu-patch
Dear Maintainer,
In Ubuntu, I noticed that the autopkgtests were failing for tiktoken[1].
The failure is due to missing 'pytest' and 'hypothesis' python modules.
Looking at [2], I see the same failures in Debian. I applied this
patch in Ubuntu to fix the autopkgtest:
* debian/control: Build-Depends: python3-{pytest,hypothesis}
Thanks for considering the patch.
-Nick
[1] https://bugs.launchpad.net/bugs/2060690
[2] https://ci.debian.net/packages/t/tiktoken/
diff -Nru tiktoken-0.6.0/debian/control tiktoken-0.6.0/debian/control
--- tiktoken-0.6.0/debian/control 2024-04-01 04:25:31.000000000 -0400
+++ tiktoken-0.6.0/debian/control 2024-04-09 10:23:56.000000000 -0400
@@ -11,6 +10,8 @@
, python3-all
, python3-setuptools-rust
, python3-regex
+ , python3-hypothesis
+ , python3-pytest
, librust-bstr-dev (>= 0.0.1~)
, librust-fancy-regex-dev
, librust-pyo3-dev
Reply to: