Skip to content
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

ENH: Add a way to install Spyder with pyqt6 or pyside6 #178

Open
larsoner opened this issue Jul 6, 2024 · 3 comments · May be fixed by #203
Open

ENH: Add a way to install Spyder with pyqt6 or pyside6 #178

larsoner opened this issue Jul 6, 2024 · 3 comments · May be fixed by #203

Comments

@larsoner
Copy link

larsoner commented Jul 6, 2024

It would be nice if I could install spyder and pyside6 but not pyqt. One way to allow this would be to change the current spyder recipe into a spyder-base, remove pyqt as a requirement, and make a new spyder recipe that depends on spyder-base and pyqt. This is backward compatible with what people probably expect conda install spyder to do, but would allow others to do conda install spyder-base pyside6 and have a working Spyder (I think!).

If there's interest I'm happy to give it a shot, but #177 should probably land first.

@larsoner
Copy link
Author

larsoner commented Jul 6, 2024

Oh -- I just realized that PyQt is hard-coded setup.py in Spyder so this is really more of an upstream question I suppose. Closing!

@larsoner larsoner closed this as completed Jul 6, 2024
@ccordoba12
Copy link
Contributor

ccordoba12 commented Nov 18, 2024

I think the best we could do to support both Qt 5 and 6 is to provide a spyder-base package that is not tied to any Qt binding. Then you should be able to run

conda install -c conda-forge spyder-base pyside=6

(although Spyder 6 is not ready for PySide6 yet).

@ccordoba12 ccordoba12 reopened this Nov 18, 2024
@ccordoba12 ccordoba12 changed the title ENH: Add pyside6 option ENH: Add a way to install Spyder with pyqt6 or pyside6 Nov 18, 2024
@ccordoba12
Copy link
Contributor

@mrclary, could you take a look at this one? You can use the recipes in the QtConsole or PyLSP feedstocks as examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants