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
python37.pkgs.{pycodestyle,pyflakes,flake8,pystemmer} #44004
Conversation
I suppose this should be moved to staging (sphinx gets rebuild) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rebase on top of python-unstable
branch.
Note I fixed flake8 on that branch already. |
@dotlambda is being thorough 4741811 |
The remaining changes are trivial. |
nativeBuildInputs = [ cython ]; | ||
|
||
preBuild = '' | ||
cython src/Stemmer.pyx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope we do not add cython to some critical dependency chains though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That should not be the case.
Their setup.py
doesn't automatically compile it when cython is present?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In theory yes. I will try to remove preBuild
: https://github.com/snowballstem/pystemmer/blob/master/setup.py#L46
Motivation for this change
flake8 was bumped to a pre-release since it already contains fixes for pyflakes, but the author is too busy making a new release. This fixes were required to get basic linter infrastructure ready for python37.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)