Closed melissawm closed 10 months ago
It looks like nothing in the dependency tree is pinning back sphinx, so you just get the latest:
Collecting sphinx>4
Downloading sphinx-7.2.6-py3-none-any.whl.metadata (5.9 kB)
But the from sphinx.util.matching import get_matching_files
in 0.3.0 does require sphinx > 5.1
Exactly, so to make sure this is correctly interpreted downstream it should be pinned to 5.1 at least
Derp, I left that as a review comment that I didn't submit.
Actually, I guess it could be >=5.1 for the greatest flexibility? (>5 not sufficient)
Thanks @psobolewskiPhD !
For reference, if someone really needed to use this with an older version of Sphinx, there is a similar matching function in sphinx.util
that was there since 1.0, but it was removed in 7.0 (replaced by sphinx.util.matching.get_matching_files()
).
Sphinx<5 creates build errors, but we don't see them here (I think?) because we require sphinx>5 for tests/docs.