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

readthedocs build fails because of cymem version mismatch #12

Closed
bdewilde opened this issue Apr 11, 2016 · 1 comment
Closed

readthedocs build fails because of cymem version mismatch #12

bdewilde opened this issue Apr 11, 2016 · 1 comment

Comments

@bdewilde
Copy link

Preshed is a dependency of textacy by way of spaCy. Unfortunately there seems to be a mismatch in cymem versions that prevents readthedocs from compiling the documentation for my package. The build process returns error: cymem 1.31.0 is installed but cymem<1.31.0,>=1.30 is required by {'preshed'}. Looks like spaCy requires cymem>=1.30,<1.32, which I guess is where this mismatch arises. Do you have any recommendations?

@henningpeters
Copy link
Contributor

Well spotted, thanks. I am not sure how to handle versions in spaCy dependencies consistently as it seems that pip is too lax at enforcing version constraints across multiple dependent packages. What I mean is that pip shouldn't have installed cymem 1.31.0 if spaCy requires cymem>=1.30,<1.32, but preshed (a spaCy dependency) requires cymem>=1.30,<1.31.

I kind of knew that this problem could surface, but never quite understood what sequence of pip calls is needed to end up with it. Do you have a simple way to reproduce this state?

The only alternative I currently see would be to publish related packages in lock-step whenever version information changes. Do you have any other ideas?

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