-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove sphinx-autodoc-typehints, upgrade Myst & Sphinx #1153
Conversation
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
2fe440a
to
b1a69b6
Compare
Sphinx 8 is only compatible with py3.10+, which is why it's complex |
And we want to retain Python >= 3.8 compatibility because Django 4.x supports the same version range? |
We want to use Sphinx 8 for our own doc (it solves small issues that are interesting for us I think). We have no problem if users install procrastinate with older versions of Sphinx In pyproject.toml, the extra dependency on sphinx is The only place where we actually need Sphinx >=8 is when we build the doc, which means we can only build the procrastinate doc with env with python 3.10+. As far as I can tell, we can tell this to poetry with version markers and it will be able to track multiple versions of some package in the lockfile depending on the Python version we use. Just need to do that here. But yeah, complex :( |
I want to upgrade Sphinx for multiple reasons:
It's not a problem if we choose not to upgrade Sphinx, it just felt that it makes sense to try and follow their latest releases. If we manage to find a way to express this in pyproject.toml, great. Otherwise, there's no harm in just keeping the parts of the PR that fixes the docstrings & such |
138052e
to
4392aab
Compare
Ok, as long as Poetry has this bug, we won't be able to use Sphinx 8. I've reverted that part, the rest stands. |
Closes #1150
Successful PR Checklist:
PR label(s):