FS#73953 - [flake8] spyder crashes at startup
Attached to Project:
Community Packages
Opened by Felix Salazar (phollox) - Friday, 25 February 2022, 11:16 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Sunday, 20 March 2022, 17:35 GMT
Opened by Felix Salazar (phollox) - Friday, 25 February 2022, 11:16 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Sunday, 20 March 2022, 17:35 GMT
|
Details
Description:
Spyder refuses to start, due to error in flake8. The dependency of python-mccabe < 0.7 is not met in latest versions on the official repos. Downgrading python-mccabe to 0.6.1 and freezing it works, for now. Additional info: * package version(s) * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: |
This task depends upon
Closed by Bruno Pagani (ArchangeGabriel)
Sunday, 20 March 2022, 17:35 GMT
Reason for closing: Fixed
Additional comments about closing: flake8 1:4.0.1-4.
Sunday, 20 March 2022, 17:35 GMT
Reason for closing: Fixed
Additional comments about closing: flake8 1:4.0.1-4.
This issue is severe, because it doesn't allow to run Spyder. If in an up-to-date Arch system, you install spyder for the first time, it won't work, because of this issue. Then you say "Spyder sucks", and try to use VScode or PyCharm, or Eclipse
In particular, replace the first line
mccabe<0.7.0,>=0.6.0
with
mccabe<=0.7.0,>=0.6.0
It usually happens when spyder dependencies are updated without verifying that spyder works.
A little bit of testing would be enough to fix it, or use "=" in those spyder specific dependencies.