Missing ruamel.yaml 0.19.1
Given that since Python 3.8, all of these classes are derived from Constant, the correct fix would be: diff -r df8c53ddf0d3 setup.py --- a/setup.py Sun Oct 20 11:56:33 2024 +0200 +++ b/setup.py Wed May 28 15:13:11 2025 +0200 @@ -75,9 +75,6 @@ print('{:%Y-%d-%mT%H:%M:%S}'.format(datetime.datetime.now()), file=fp, end=' ') print(*args, **kw1) -if sys.version_info >= (3, 8): - from ast import Str, Num, Bytes, NameConstant # NOQA - def literal_eval(node_or_string): """ @@ -98,13 +95,15 @@ raise TypeError('only...
Ah, sorry, I've reproduced against: changeset: 58:df8c53ddf0d3 tag: tip user: Anthon van der Neut <anthon@mnt.org> date: Sun Oct 20 11:56:33 2024 +0200 summary: Added tag 0.2.12 for changeset 2402f9b7fb7c
setup.py no longer works with Python 3.14: `ImportError: cannot import name 'Str' from 'ast' (/usr/lib/python3.14/ast.py)`
Please add support for selecting a color space
I can confirm that the patch makes tests pass for me — and it definitely looks more reliable in the long run. Thanks!
Thanks. However, the original issue that I tried to debug is: for me Pillow 11.2.1 produces relative paths, i.e. now I'm seeing: ====================================================================== FAIL: test_publish (test_writers.test_html5_polyglot.Html5WriterPublishPartsTestCase.test_publish) (id="totest['system_messages-PIL'][0]") ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/docutils/docutils/test/test_writers/test_html5_polyglot.py",...
Html5WriterPublishPartsTestCase.test_publish skips too much when with_pygments is False