Bug#1068710: tiktoken: pybuild-autopkgtest fails with ModuleNotFoundError(s)

2024-04-11 Thread Nick Rosbrook
> Are you sure this patch worked in Ubuntu?  As far as I can tell, the
> autopkgtest script still fail on Debian.
>

Yes, here is the autopkgtest result page for Ubuntu:
https://autopkgtest.ubuntu.com/packages/tiktoken. Looking at the
Debian autopkgtest logs, the failure looks different:
https://ci.debian.net/packages/t/tiktoken/unstable/amd64/45200281/.

-Nick



Bug#1068710: tiktoken: pybuild-autopkgtest fails with ModuleNotFoundError(s)

2024-04-11 Thread Petter Reinholdtsen
Control: reopen -1 

[Nick Rosbrook]
> 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}

Are you sure this patch worked in Ubuntu?  As far as I can tell, the
autopkgtest script still fail on Debian.

-- 
Happy hacking
Petter Reinholdtsen



Bug#1068710: tiktoken: pybuild-autopkgtest fails with ModuleNotFoundError(s)

2024-04-09 Thread Nick Rosbrook
Package: tiktoken
Severity: normal
Tags: patch
User: ubuntu-de...@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.0 -0400
+++ tiktoken-0.6.0/debian/control   2024-04-09 10:23:56.0 -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