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
python-language-server: do not propagate flake8 #109501
Conversation
pkgs/development/python-modules/python-language-server/default.nix
Outdated
Show resolved
Hide resolved
@grwlf please solve the merge conflict. |
1db320f
to
8ec4d57
Compare
This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 3 packages failed to build and are new build failures:
10 packages built:
The following issues got detected with the above build packages. python37Packages.spyder: Please consider this feature to be alpha. A substituteInPlace with an unused --replace got detected:
Please check the offending substituteInPlace for typos or changes in source. Please consider this feature to be alpha. A substituteInPlace with an unused --replace got detected:
Please check the offending substituteInPlace for typos or changes in source. |
@grwlf can you do me a favor and add flake8 to spyder to fix the regression? |
pkgs/development/python-modules/python-language-server/default.nix
Outdated
Show resolved
Hide resolved
9de071b
to
bc4b9ca
Compare
Because flake8 in turn propagates pyflakes. This effectively forcibly enables this checker enabled even if user doesn't want it.
bc4b9ca
to
1cfa85d
Compare
Previously it used flake8 from python-language-server implicitly
1cfa85d
to
4d2f81c
Compare
Result of 12 packages built:
|
python-language-server should not propagate flake8 because flake8 in turn propagates pyflakes. This has an effect of forcibly
enabling this checker despite its absence from
providers
.Motivation for this change
Spurious error reports from python-language-server
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)