Skip to content

Commit

Permalink
Restore pip check for spyder-base with a patch to setup.py that remov…
Browse files Browse the repository at this point in the history
…es pyqt
  • Loading branch information
mrclary committed Nov 22, 2024
1 parent 2360075 commit 35ecef6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ source:
patches:
# See spyder-ide/spyder#8316
- osx-zmq.patch
- spyder-base.patch

build:
number: {{ build }}
Expand Down Expand Up @@ -99,6 +100,8 @@ test:
commands:
- USER=test spyder -h # [unix]
- spyder -h # [win]
# Pip fails when running but the package is installed correctly
- python -m pip check # [not aarch64]
imports:
- spyder

Expand Down
21 changes: 21 additions & 0 deletions recipe/spyder-base.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
diff --git a/setup.py b/setup.py
index 3c7e4f947..3fa9fb8f1 100644
--- a/setup.py
+++ b/setup.py
@@ -232,8 +232,6 @@ def run(self):
'pylint>=3.1,<4',
'pylint-venv>=3.0.2',
'pyls-spyder>=0.4.0',
- 'pyqt5>=5.15,<5.16',
- 'pyqtwebengine>=5.15,<5.16',
'python-lsp-black>=2.0.0,<3.0.0',
'python-lsp-server[all]>=1.12.0,<1.13.0',
'pyuca>=1.2',
@@ -242,7 +240,6 @@ def run(self):
'qdarkstyle>=3.2.0,<3.3.0',
'qstylizer>=0.2.2',
'qtawesome>=1.3.1,<1.4.0',
- 'qtconsole>=5.6.1,<5.7.0',
'qtpy>=2.4.0',
'rtree>=0.9.7',
'setuptools>=49.6.0',

0 comments on commit 35ecef6

Please sign in to comment.