Closed kurtmckee closed 3 months ago
Thanks for figuring that out.
While pinning to the older version will help pass the test suite, if we don't pin an upper bound to the package's dependency we'll get a different result from rendering the output (which might already be happening to folks today).
I think I'm more amenable to pushing forward with using the latest (and bumping the minimum version in pyproject.toml
) and adapting the tests.
Python 3.8 EOL is in 4 months, I don't feel strongly that we need to preserve support for this library going forward.
@miketheman Thanks for the feedback. To confirm, #311 could be closed in favor of a PR that:
Does that match what you would expect from a PR that could close this issue?
Yes, that seems to be a good list of items. When dropping 3.8 support, please also update the classifier list.
@miketheman I opened #315 based on this feedback. If that PR looks good then #311 can be summarily closed. :+1:
docutils 0.20.1, installed in the Python 3.8 tox environment, matches test suite expectations.
docutils 0.21.2, installed in Python 3.9+ tox environments, breaks the test suite.
There appear to be small changes, like additional newlines, but also substantial differences, like this partial diff between what the test suite expected and what docutils 0.21.2 emitted:
As this isn't simply a whitespace change, I'm not currently pursuing a solution to this.