Debian Patches
Status for anorack/0.3-1
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| multiprocessing-fork.patch | tests/tools: use fork for multiprocessing. The multiprocessing start method default was changed in Python 3.14 from "fork" to "forkserver". This breaks our mock-patching. Change it back to "fork". Fixes: ====================================================================== FAIL: tests.test_cli.test_warning ---------------------------------------------------------------------- Traceback (most recent call last): File ".../anorack/tests/tools.py", line 43, in test return f() File ".../anorack/tests/test_cli.py", line 157, in test_warning t( ~^ stdin='A scratch?!', ^^^^^^^^^^^^^^^^^^^^ ...<2 lines>... stderr_ipa="anorack: warning: can't determine correct article for 'scratch' /skɹˈatʃ/\n", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File ".../anorack/tests/test_cli.py", line 106, in t assert_equal(stderr, actual.stderr) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: "anorack: warning: can't determine correct article for 'scratch' /skr'atS/\n" != '' with Python 3.14. |
Jakub Wilk <jwilk@jwilk.net> | no | debian | upstream, https://github.com/jwilk/anorack/commit/75b923b9240cbeac20b73a732269cf1ba0e5880c.patch | 2026-08-02 |
| test-cli-hide-spec.patch | tests/test_cli: mock-patch __main__ module to hide __spec__. Fixes: ====================================================================== FAIL: tests.test_cli.test_bad_io ---------------------------------------------------------------------- Traceback (most recent call last): File ".../anorack/tests/tools.py", line 45, in test return f() File ".../anorack/tests/test_cli.py", line 171, in test_bad_io assert_equal(stderr, actual.stderr) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: 'anorack: /nonexistent: No such file or directory\n' != 'python3.14 -m unittest: /nonexistent: No such file or directory\n' with Python 3.14. |
Jakub Wilk <jwilk@jwilk.net> | no | upstream, https://github.com/jwilk/anorack/commit/6203e183af02ef332ec01fe330cb8eb0c97bdb64.patch | 2026-08-02 |
