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
dev-python/pylint: bump to 2.2.2 #10907
Conversation
Other than the obvious QA problems, a few extra problems I see:
|
Copyright policy changePlease note that on 2018-09-15 Trustees have approved new Gentoo copyright policy. All contributions made to Gentoo need to follow this policy. If you include the Signed-off-by line in your commit message, you indicate that you have read the policy and agree to its terms. For more detailed explanation, please see the new Gentoo copyright policy explained article. Pull Request assignmentSubmitter: @TheJJ dev-python/astroid: @gentoo/python Linked bugsBugs linked: 662406 In order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
It doesn't look like you properly cleaned dependencies. I now see that six is actually used in astroid for some reason, but enum34 and singledispatch? Also, some astroid dependencies you have are test dependencies. Also, why have pylint as astroid's test dependency. Is it really needed? It doesn't look like it when I look at the tox.ini file. Also, have you run the tests? astroid's test command look wrong to me. It should be pytest running the tests. Also, is the wrapt bump necessary for pylint to work? From what I see in upstream, it doesn't look like it's the case. If not, let's remove it and treat that bump separately. Also, don't use tox for tests Also, in a few minutes, the CI will probably give you, again, a sea of red. That's because you're in a special situation: you have pylint and astroid, packages with many supported arches, gaining a dependency with few supported arches (dev-python/typed-ast). That can't work. When that happens, we need to drop arch keywords in reverse dependency and open a new KEYWORDREQ bug to re-keyword them. |
Yea, I've now removed |
It looks like I got confused in dependencies, I don't see deps that belong in test deps in astroid or pylint. As for the test command, it changed upstream between 1.5.x and 1.6.x. It wasn't changed during the 1.6 bump, but that was probably a mistake. Maybe that the command still runs by chance, but it should be changed nevertheless. Yes pylint is in upstream's tox.ini, but it's for a linting command. We don't need to lint upstream's code (also, it creates a circular dependency). It doesn't look like pylint depends on six anymore, only astroid. Also, maybe you haven't seen it, but the CI will tell you: |
https://github.com/PyCQA/pylint/search?q=six&unscoped_q=six pylint still uses some I'll probably need some support to fix the remaining QA checks :) I get the same output with
|
Hum, yeah, but it looks like a test-only dep. I've already explained the cause of the CI errors in my previous message: dropped arches (and also, the What this specific message you quote there tells you is that you have a mismatch between PYTHON_COMPAT in pylint and astroid: for any given python package, all python deps must support all python implementations of that package. pylint lists |
Now my RepoMan is happy, apparently. Let's see if the CI passes. I see now what the message says ("can't find dependency with those flags") but I still can't infer which flag (or py version in this case) causes the problem just from the message, I guess that's normal though and you have to look at the other ebuilds by hand. |
db648c0
to
fa7aedf
Compare
Lookin good. Any other change request? :) |
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.
Other than these minor things, it's looking good on the surface. Will review fully soon.
I forgot I had noticed this, but you didn't address one of my remarks:
We can't add arch keywords unless we're in the proper arch team. A blanket keywording like you did can't be done. What you have to do it to drop the keywords on revdeps. Then, afterwards, a keyword request has to be filed to re-keyword revdeps (I can take care of it after I push your commits). |
Ah, I didn't see your remark because it was an edit to an earlier comment and I relied on the auto-update of the github issue :) |
Signed-off-by: Jonas Jelten <jj@sft.mx>
Signed-off-by: Jonas Jelten <jj@sft.mx>
Closes: https://bugs.gentoo.org/662406 Signed-off-by: Jonas Jelten <jj@sft.mx>
done :) sorry for my mess :D |
Pull request CI reportReport generated at: 2019-01-31 20:40 UTC No issues found |
It looks good, but I get a test failure on astroid on py37 (pytest 4.1.1). Don't you get a failure? |
Oh no... I pushed the commits by mistake! Oh well, that becomes my problem. I'll investigate the cause of the test failures. |
Thank you :) |
Pylint 2 for gentoo.
Tracker bug: https://bugs.gentoo.org/662406