Public bug reported:

python-tomli 2.5.0-1 (the "Rebuild to add Python 3.15 support" upload) builds
fine on amd64/amd64v3/arm64/armhf/ppc64el/riscv64/s390x but fails on i386,
blocking the tail of the python3.15-add transition (currently at 94%).

Root cause chain (verified in the build logs):

1. tomli 2.5.0 is a mypyc-compiled package. For the python3.15 wheel, the
   mypyc step type-checks tomli with the installed python3-mypy. With
   python3-mypy 2.2.0-2 (the version in tenacious release) the type-check
   errors out:

     src/tomli/_parser.py:72: error: Too many arguments for "frozendict"  
[call-arg]
     src/tomli/_parser.py:72: error: Need type annotation for 
"BASIC_STR_ESCAPE_REPLACEMENTS"  [var-annotated]
     ERROR Backend subprocess exited when trying to invoke build_wheel

   i386 build log: https://launchpad.net/ubuntu/+source/python-
tomli/2.5.0-1/+build/33902867

2. Every other arch passes because their chroots install python3-mypy
   2.4.1-1 from tenacious-proposed (which type-checks tomli 2.5.0 without
   errors; only the pre-existing "Treating generator comprehension as list"
   warning remains). amd64 build log for comparison:
   https://launchpad.net/ubuntu/+source/python-tomli/2.5.0-1/+build/33902863

3. python3-mypy 2.4.1-1 is NOT published for i386: its own i386 build is
   given-back with "Package build dependencies not satisfied":

     sbuild-build-depends-main-dummy:i386 Depends python3-ast-serialize (>= 
0.13.0)
       but none of the choices are installable: [no choices]

   mypy i386 build log:
https://launchpad.net/ubuntu/+source/mypy/2.4.1-1/+build/33902253

4. python3-ast-serialize has NO i386 binary in tenacious (0.13.1-1build1 is
   published for amd64, amd64v3, arm64, armhf, ppc64el, riscv64, s390x only;
   rmadison confirms no i386 in any pocket). Debian builds the same source
   (0.13.1-1) on i386 without problems, so the source is 32-bit clean; the
   i386 build simply never happened in Ubuntu (version differs from Debian's
   after the no-change rebuild, so no Debian i386 binary copy applies).

Requested fix (archive-side, not a source change):

* Build python-ast-serialize 0.13.1-1build1 on i386 (i386 build/whitelist
  action - may need archive admins / the i386 seed).
* Then mypy 2.4.1-1 can be retried on i386 (build-dep becomes satisfiable).
* Then python-tomli 2.5.0-1 can be retried on i386 (the 3.15 wheel will
  type-check with python3-mypy 2.4.1).

This should also unblock the mypy i386 entry on the FTBFS list and help
complete the python3.15-add transition.

** Affects: python-tomli (Ubuntu)
     Importance: Undecided
     Assignee: Ruan Comelli (ruancomelli)
         Status: New


** Tags: update-excuse

** Changed in: python-tomli (Ubuntu)
     Assignee: (unassigned) => Ruan Comelli (ruancomelli)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2178577

Title:
  python-tomli 2.5.0-1 i386 build fails: python3-mypy 2.4.1 unavailable
  on i386 (python3-ast-serialize has no i386 binary)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-tomli/+bug/2178577/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to