Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
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
|
DetailsDescription:
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.