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

does not build with last version of sphinxcontrib.applehelp #10

Open
LennyLip opened this issue Jan 8, 2023 · 4 comments
Open

does not build with last version of sphinxcontrib.applehelp #10

LennyLip opened this issue Jan 8, 2023 · 4 comments

Comments

@LennyLip
Copy link

LennyLip commented Jan 8, 2023

 Collecting xapian-bindings==0.1.0
#14 157.9   Downloading xapian-bindings-0.1.0.tar.gz (4.5 kB)
#14 157.9   Preparing metadata (setup.py): started
#14 170.1   Preparing metadata (setup.py): finished with status 'error'
#14 170.1   error: subprocess-exited-with-error
#14 170.1   
#14 170.1   × python setup.py egg_info did not run successfully.
#14 170.1   │ exit code: 1
#14 170.1   ╰─> [14 lines of output]
#14 170.1       Traceback (most recent call last):
#14 170.1         File "<string>", line 2, in <module>
#14 170.1         File "<pip-setuptools-caller>", line 34, in <module>
#14 170.1         File "/tmp/pip-install-2pm03nl9/xapian-bindings_0865e2bbebba44cbb7bef61b39c7c97e/setup.py", line 333, in <module>
#14 170.1           setup(
#14 170.1         File "/usr/local/lib/python3.10/site-packages/setuptools/__init__.py", line 152, in setup
#14 170.1           _install_setup_requires(attrs)
#14 170.1         File "/usr/local/lib/python3.10/site-packages/setuptools/__init__.py", line 147, in _install_setup_requires
#14 170.1           dist.fetch_build_eggs(dist.setup_requires)
#14 170.1         File "/usr/local/lib/python3.10/site-packages/setuptools/dist.py", line 806, in fetch_build_eggs
#14 170.1           resolved_dists = pkg_resources.working_set.resolve(
#14 170.1         File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py", line 777, in resolve
#14 170.1           raise VersionConflict(dist, req).with_context(dependent_req)

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'})

@ajslater
Copy link

I'm also seeing this. Don't have a workaround yet.

@ajslater
Copy link

Looks like this is the cause sphinx-doc/sphinx#11130
The actual issue is upstream with sphinx and their recent release flurry.

@ajslater
Copy link

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.

@LennyLip
Copy link
Author

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.

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