Open LennyLip opened 1 year ago
I'm also seeing this. Don't have a workaround yet.
Looks like this is the cause https://github.com/sphinx-doc/sphinx/issues/11130 The actual issue is upstream with sphinx and their recent release flurry.
I experimented with forking xapian-bindings and pinning the sphinx dependency to an old version, but never got it to work. It always tried to get he latest sphinxcontrib.applehelp and I never tracked down why. I've since switched to Whoosh.
I experimented with forking xapian-bindings and pinning the sphinx dependency to an old version, but never got it to work. It always tried to get he latest sphinxcontrib.applehelp and I never tracked down why. I've since switched to Whoosh.
I install (docker) dependencies packages before xapian-bindings installs in requirements.txt:
RUN pip install sphinxcontrib-applehelp==1.0.2 sphinxcontrib-serializinghtml sphinxcontrib-devhelp sphinxcontrib-htmlhelp sphinxcontrib-jsmath sphinxcontrib-qthelp
RUN pip install --no-cache-dir -r requirements.txt
So, it works for me now.
pkg_resources.ContextualVersionConflict: (sphinxcontrib.applehelp 1.0.3 (/tmp/pip-install-v55i4vfp/xapian-bindings_81a699d97e7443a98a5d8c2f5e3aa4c7/.eggs/sphinxcontrib.applehelp-1.0.3-py3.10.egg), Requirement.parse('sphinxcontrib-applehelp'), {'sphinx'})