Skip to content

Commit

Permalink
Merge from 5.x: PR #21502
Browse files Browse the repository at this point in the history
Fixes #21440
  • Loading branch information
dalthviz committed Nov 8, 2023
2 parents 0bd4e71 + e6aefa5 commit 806e7e9
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 21 deletions.
6 changes: 0 additions & 6 deletions .github/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ if [ "$USE_CONDA" = "true" ]; then
# So, pinning it to 8.14 for now.
micromamba install ipython=8.14

# Install Pylint 3 to run our tests with it
micromamba install pylint=3 -q -y

else
# Update pip and setuptools
python -m pip install -U pip setuptools wheel build
Expand All @@ -49,9 +46,6 @@ else
# To check our manifest
pip install -q check-manifest

# Install Pylint 3 to run our tests with it
pip install -U pylint

# This allows the test suite to run more reliably on Linux
if [ "$OS" = "linux" ]; then
pip uninstall pyqt5 pyqt5-qt5 pyqt5-sip pyqtwebengine pyqtwebengine-qt5 -q -y
Expand Down
2 changes: 1 addition & 1 deletion binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies:
- pyqt >=5.10,<5.16
- pyqtwebengine >=5.10,<5.16
- python-lsp-black >=1.2.0,<3.0.0
- python-lsp-server >=1.8.0,<1.9.0
- python-lsp-server >=1.9.0,<1.10.0
- pyuca >=1.2
- pyxdg >=0.26
- pyzmq >=22.1.0
Expand Down
4 changes: 2 additions & 2 deletions external-deps/python-lsp-server/.gitrepo

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions external-deps/python-lsp-server/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions external-deps/python-lsp-server/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion requirements/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies:
- pyqt >=5.10,<5.16
- pyqtwebengine >=5.10,<5.16
- python-lsp-black >=1.2.0,<3.0.0
- python-lsp-server >=1.8.0,<1.9.0
- python-lsp-server >=1.9.0,<1.10.0
- pyuca >=1.2
- pyzmq >=22.1.0
- qdarkstyle >=3.2.0,<3.3.0
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def run(self):
'pyqt5>=5.10,<5.16',
'pyqtwebengine>=5.10,<5.16',
'python-lsp-black>=1.2.0,<3.0.0',
'python-lsp-server[all]>=1.8.0,<1.9.0',
'python-lsp-server[all]>=1.9.0,<1.10.0',
'pyuca>=1.2',
'pyxdg>=0.26;platform_system=="Linux"',
'pyzmq>=22.1.0',
Expand All @@ -255,7 +255,7 @@ def run(self):
reqs_to_loosen = {'python-lsp-server[all]', 'qtconsole', 'spyder-kernels'}
install_requires = [req for req in install_requires
if req.split(">")[0] not in reqs_to_loosen]
install_requires.append('python-lsp-server[all]>=1.8.0,<1.10.0')
install_requires.append('python-lsp-server[all]>=1.9.0,<1.11.0')
install_requires.append('qtconsole>=5.5.0,<5.7.0')
install_requires.append('spyder-kernels>=3.0.0b2,<3.1.0')

Expand Down
2 changes: 1 addition & 1 deletion spyder/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
PYGMENTS_REQVER = '>=2.0'
PYLINT_REQVER = '>=2.5.0,<3.1'
PYLINT_VENV_REQVER = '>=3.0.2'
PYLSP_REQVER = '>=1.8.0,<1.9.0'
PYLSP_REQVER = '>=1.9.0,<1.10.0'
PYLSP_BLACK_REQVER = '>=1.2.0,<3.0.0'
PYLS_SPYDER_REQVER = '>=0.4.0'
PYUCA_REQVER = '>=1.2'
Expand Down

0 comments on commit 806e7e9

Please sign in to comment.