Merge proposal ready for the mdtraj side:
https://code.launchpad.net/~ruancomelli/ubuntu/+source/mdtraj/+git/mdtraj/+merge/515754

It contains two fixes needed for mdtraj's python3.15 rebuild
(1.11.1.post1-3build1 is blocked with missing builds on amd64/amd64v3/arm64,
holding the python3.15-add transition tail):

1. order_infix_operators_longest_first.patch — mdtraj's selection grammar
   passes its infix operators to infix_notation in sorted order ('>' before
   '>=', '<' before '<='), which trips the 3.3.3 regression. Longest-first
   ordering restores correct parsing and is valid regardless of what
   pyparsing does (upstream 3.3.4 plans to revert the rewrite).

2. The existing libtheobald.a cleanup moved from execute_after_dh_python3
   to execute_before_dh_python3 — dh-python 7 errors during the merge of
   the per-version static libraries (they differ via embedded debug paths),
   so Debian's cleanup now runs too late. This is a second, independent
   blocker that the py3.15 rebuild would hit even with pyparsing fixed.

Verification (sbuild -Ad tenacious-proposed, Distribution:
tenacious-proposed, python3-pyparsing 3.3.3-2 installed from proposed):
- Build successful; test suite 987 passed, 103 skipped, 24 deselected,
  61 xfailed — including tests/test_selection.py::test_binary_selection_operator
  PASSED (previously the amd64/arm64 failure).
- python3-mdtraj ships both cpython-314 and cpython-315 extensions, no
  libtheobald.a.

Sponsor actions after upload: none needed from us — the archive rebuilds
mdtraj on upload; once built, its migration unblocks and the
test_within/test_selection failures disappear from the py3.15 transition.

Note: if pyparsing 3.3.3-2 is instead reverted to 3.3.2 in proposed (option
a in the description), the mdtraj MP is still correct and harmless.

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

Title:
  pyparsing 3.3.3 infix_notation regression: ">=" and "<=" fail to parse
  when a shorter operator sorts first; breaks mdtraj build

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyparsing/+bug/2180131/+subscriptions


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

Reply via email to