Skip to content
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

ERROR: sphinx 3.5.4 has requirement docutils<0.17,>=0.12, but you'll have docutils 0.17 which is incompatible. #172

Closed
colin-guyon opened this issue Apr 15, 2021 · 7 comments

Comments

@colin-guyon
Copy link

Hi, this is what I get when doing a pip install sphinx-js (on Ubuntu 20.10, with either Python 3.7 or 3.8.6).
Is there something to update on your side to be able to install sphinx-js ?
Thanks

@erikrose
Copy link
Contributor

I see it too. I'll update the dependency declaration. Thanks!

@erikrose
Copy link
Contributor

So, Sphinx must have changed its own dependency declaration about docutils. sphinx-js says "give me any old version of docutils", but Sphinx insists on a version <0.17. pip should be able to resolve that set of constraints but doesn't yet by default. In the short term, pass --use-feature=2020-resolver to pip, and it'll work for you. In the meantime, I'll have to decide what makes the most sense on my end. I'll probably just drop our declared dependency on docutils, even though we use it directly.

@erikrose
Copy link
Contributor

I'd cut a release, but CI is failing due to somebody's docker server error. In the meantime, feel free to pull from master, or use the workaround. Thanks for taking the time to report this!

@erikrose
Copy link
Contributor

There we go. Passing now.

@erikrose
Copy link
Contributor

3.1.2 is up! https://pypi.org/project/sphinx-js/3.1.2/

@colin-guyon
Copy link
Author

Oh great, thanks for your reactivity ! :)

@erikrose
Copy link
Contributor

My pleasure! :-D

hoodmane added a commit to hoodmane/sphinx-js that referenced this issue Dec 21, 2024
This moves most of the logic from call_typedoc.ts into a separate file called `cli.ts` which
avoids some of the io like `process.exit()` and serializing json / writing to a file. Intended
to help with testing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants