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
Tests failing (help debugging) #8
Comments
Oh! The pyrope version in guix is ancient! λ guix show python-rope
name: python-rope
version: 0.19.0
outputs: out
systems: x86_64-linux i686-linux
dependencies:
location: gnu/packages/python-xyz.scm:17068:2
homepage: https://github.com/python-rope/rope
license: LGPL 3+
synopsis: Refactoring library for Python
description: Rope is a refactoring library for Python. It facilitates the renaming, moving and extracting of attributes, functions, modules, fields and parameters in Python 2 source code. These
+ refactorings can also be applied to occurrences in strings and comments. That's probably the issue ;) |
Hi @jgarte thanks for reporting and troubleshooting this issue. pylsp-rope requires a fairly recent version of Rope. If your distro package manager does not ship with recent enough of Rope, I would recommend installing Rope in a virtualenv. The last version of pylsp that still supports rope 0.19.0 is around 0.1.6; but note that this is a very old version of pylsp-rope and has a lot of features, performance improvements, and bug fixes missing from the latest version. Additionally, you may want to report this over to guix package maintainers to update the version of rope in guix to more recent version of rope. Closing this ticket, as this is an issue that should be addressed in guix and cannot be addressed in pylsp-rope. |
Description
I'm trying to package pylsp-rope for guix but tests are failing. Can someone help me debug the reason or give me suggestions of what to try next. I ran
pytest -vv
in the project root.Here's the guix package for pylsp-rope, with tests disabled, for the curious:
Details
Here's a full paste of the test failure on SourceHut as GitHub did not allow me to post a code block this large:
https://paste.sr.ht/~whereiseveryone/b0bf2b2ee97d140268b887177b9826390d3d17df
The text was updated successfully, but these errors were encountered: