Bootstrap incorrectly detects pylsp's install status
See original GitHub issueDescription
What steps will reproduce the problem?
Starting Spyder from bootstrap
$ python bootstrap.py
results in
2022-10-05 13:43:39,493 [INFO] [InstallDevRepos] -> Installing 'python-lsp-server' from source in editable mode.
even when python-lsp-server
is already installed in editable mode.
It seems that p == dist or p in dist.parents
is not sufficient to properly detect whether python-lsp-server
is installed in editable mode.
Versions
- Spyder version: 5.4.0.dev0 ab2322dc7 (conda)
- Python version: 3.10.6 64-bit
- Qt version: 5.15.4
- PyQt5 version: 5.15.7
- Operating System: Darwin 21.6.0
Dependencies
# Mandatory:
applaunchservices >=0.3.0 : 0.3.0 (OK)
atomicwrites >=1.2.0 : 1.4.1 (OK)
chardet >=2.0.0 : 5.0.0 (OK)
cloudpickle >=0.5.0 : 2.2.0 (OK)
cookiecutter >=1.6.0 : 2.1.1 (OK)
diff_match_patch >=20181111 : 20200713 (OK)
intervaltree >=3.0.2 : 3.0.2 (OK)
IPython >=7.31.1;<8.0.0 : 7.33.0 (OK)
jedi >=0.17.2;<0.19.0 : 0.18.1 (OK)
jellyfish >=0.7 : 0.9.0 (OK)
jsonschema >=3.2.0 : 4.16.0 (OK)
keyring >=17.0.0 : 23.9.3 (OK)
nbconvert >=4.0 : 7.1.0 (OK)
numpydoc >=0.6.0 : 1.4.0 (OK)
parso >=0.7.0;<0.9.0 : 0.8.3 (OK)
pexpect >=4.4.0 : 4.8.0 (OK)
pickleshare >=0.4 : 0.7.5 (OK)
psutil >=5.3 : 5.9.2 (OK)
pygments >=2.0 : 2.13.0 (OK)
pylint >=2.5.0;<3.0 : 2.15.3 (OK)
pyls_spyder >=0.4.0 : 0.4.0 (OK)
pylsp >=1.5.0;<1.6.0 : 1.5.0 (OK)
pylsp_black >=1.2.0 : 1.2.1 (OK)
qdarkstyle >=3.0.2;<3.1.0 : 3.0.3 (OK)
qstylizer >=0.1.10 : 0.2.2 (OK)
qtawesome >=1.0.2 : 1.1.1 (OK)
qtconsole >=5.3.2;<5.4.0 : 5.4.0.dev0 (OK)
qtpy >=2.1.0 : 2.2.1 (OK)
rtree >=0.9.7 : 1.0.0 (OK)
setuptools >=49.6.0 : 65.4.1 (OK)
sphinx >=0.6.6 : 5.2.3 (OK)
spyder_kernels >=2.3.3;<2.4.0 : 2.4.0.dev0 (OK)
textdistance >=4.2.0 : 4.5.0 (OK)
three_merge >=0.1.1 : 0.1.1 (OK)
watchdog >=0.10.3 : 2.1.9 (OK)
zmq >=22.1.0 : 24.0.1 (OK)
# Optional:
cython >=0.21 : 0.29.32 (OK)
matplotlib >=3.0.0 : 3.6.0 (OK)
numpy >=1.7 : 1.23.3 (OK)
pandas >=1.1.1 : 1.5.0 (OK)
scipy >=0.17.0 : 1.9.1 (OK)
sympy >=0.7.3 : 1.11.1 (OK)
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
10 Most Common Bootstrap Mistakes That Developers Make
Common Bootstrap Mistake #2: Thinking that you don't need to know CSS to use Bootstrap, and that you don't need a designer. If...
Read more >JavaScript - Bootstrap
If you want to add new values to this default whiteList you can do the following: ... will cause the tooltip to be...
Read more >JavaScript · Bootstrap v5.0
Bootstrap will detect jQuery if jQuery is present in the window object and there is no data-bs-no-jquery attribute set on <body> . If...
Read more >Browsers and devices - Bootstrap
Learn about the browsers and devices, from modern to old, that are supported by Bootstrap, including known quirks and bugs for each. Supported...
Read more >JavaScript · Bootstrap v5.2
If Bootstrap detects jQuery in the window object, it'll add all of our components in jQuery's plugin system. This allows you to do...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry, it was 4:30 in the morning and I was falling asleep at my desk—yeah, that requirement is in
python-lsp-server
, not Spyder itself; that is evidently required bypython-lsp-server
but doesn’t get updated (even though it seems it does reinstall). I’ll test this further and see what I can figure out.This is driving me crazy, so I’m going to fix it.