Repository: spyder-ide/spyder

Issue:
Release Spyder 5.4.2
An issue to follow up Spyder 5.4.2 release.

New dependencies or version requirements updates:

* [x] `spyder-kernels` to 2.4.2 (pending release)
* [x] `python-lsp-server` to 1.7.1 (pending release)
* [ ] ~~Check potential contraints lossening for `qdarkstyle`~~

Other things:
* [x] Fix issues caused due to mamba 1.1.0 on CI and dot code completion changes (see PR https://github.com/spyder-ide/spyder/pull/20350)
* [x] Fix issue caused due to recent Pyzmq 25 release on the IPython console (probably on jupyter-client? See #20359 )
    * [x] Potential fix at https://github.com/jupyter/jupyter_client/pull/914 
* [x] Merge new translations from Crowdin (some arrived during the last few weeks).
* [x] Constraint PyZMQ to be less than version 25 in our Windows and Mac installers to avoid potential issues with it.


Discussion:
One potential thing to consider adding or opening an issue for: relaxing the pin on `qdarkstyle` -- see https://github.com/conda-forge/spyder-feedstock/issues/141 (conda-forge appears to just follow the pin in `5.x` and `master`)
Hi @larsoner thank you for the feedback! What do you think @ccordoba12 ? Is there any specific reason to have the current constraint for `qdarkstyle`?
> One potential thing to consider adding or opening an issue for: relaxing the pin on qdarkstyle

Thanks @larsoner for chiming in and pointing that out!

> Is there any specific reason to have the current constraint for qdarkstyle?

Yeah, we have a lot of customizations on top of `qdarkstyle` and we have to carefully review if new versions don't break the Spyder UI. I'll take a look at that for 5.4.2 too then.
Sorry guys but updating qdarkstyle proved to be a bit harder than I thought, so I'm afraid we won't be able to do it for this release. However, we'll take a look at it for 5.4.3. 

Resolving patch:
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -229,7 +229,7 @@ def run(self):
     'pyls-spyder>=0.4.0',
     'pyqt5<5.16',
     'pyqtwebengine<5.16',
-    'python-lsp-server[all]>=1.7.0,<1.8.0',
+    'python-lsp-server[all]>=1.7.1,<1.8.0',
     'pyxdg>=0.26;platform_system=="Linux"',
     'pyzmq>=22.1.0',
     'qdarkstyle>=3.0.2,<3.1.0',
@@ -240,7 +240,7 @@ def run(self):
     'rtree>=0.9.7',
     'setuptools>=49.6.0',
     'sphinx>=0.6.6',
-    'spyder-kernels>=2.4.1,<2.5.0',
+    'spyder-kernels>=2.4.2,<2.5.0',
     'textdistance>=4.2.0',
     'three-merge>=0.1.1',
     'watchdog>=0.10.3'
@@ -251,9 +251,9 @@ 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.7.0,<1.9.0')
+    install_requires.append('python-lsp-server[all]>=1.7.1,<1.9.0')
     install_requires.append('qtconsole>=5.4.0,<5.6.0')
-    install_requires.append('spyder-kernels>=2.4.1,<2.6.0')
+    install_requires.append('spyder-kernels>=2.4.2,<2.6.0')
 
 extras_require = {
     'test:platform_system == "Windows"': ['pywin32'],
diff --git a/spyder/dependencies.py b/spyder/dependencies.py
--- a/spyder/dependencies.py
+++ b/spyder/dependencies.py
@@ -53,7 +53,7 @@
 PYGMENTS_REQVER = '>=2.0'
 PYLINT_REQVER = '>=2.5.0;<3.0'
 PYLINT_VENV_REQVER = '>=2.1.1'
-PYLSP_REQVER = '>=1.7.0;<1.8.0'
+PYLSP_REQVER = '>=1.7.1;<1.8.0'
 PYLSP_BLACK_REQVER = '>=1.2.0'
 PYLS_SPYDER_REQVER = '>=0.4.0'
 PYXDG_REQVER = '>=0.26'
@@ -66,7 +66,7 @@
 RTREE_REQVER = '>=0.9.7'
 SETUPTOOLS_REQVER = '>=49.6.0'
 SPHINX_REQVER = '>=0.6.6'
-SPYDER_KERNELS_REQVER = '>=2.4.1;<2.5.0'
+SPYDER_KERNELS_REQVER = '>=2.4.2;<2.5.0'
 TEXTDISTANCE_REQVER = '>=4.2.0'
 THREE_MERGE_REQVER = '>=0.1.1'
 # None for pynsist install for now


Test patch: