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
Travis - use F28 for testing #1785
Conversation
Note that on Rawhide, FreeIPA does not build due to (samba?) C API changes: https://travis-ci.org/stlaz/freeipa/builds/362337027 |
python2 pylint is passing for me on F28. If you run into relative import issues, then simply add |
The issues are with so many files that I just did not find adding the import reasonable: https://travis-ci.org/stlaz/freeipa/jobs/362492712 |
For maximum compatibility with Python 3, all files should have the future import. Pylint is pointing out an actual issue. I raises the issue, when we started to migrate to Python 3. Back then, the rest of the time felt it wasn't necessary. |
I see. I'll add the imports, then. |
The failure in https://travis-ci.org/stlaz/freeipa/jobs/362337028 is not due to Samba changes. Instead, pylint insists our executable is a python module:
and then there is another set of errors from astroid:
these may be valid ones, may be induced by some changes in the pylint infra. |
If you however look in https://travis-ci.org/stlaz/freeipa/jobs/362337032, you'll see the build is failing because of an incomplete type dereference (and a couple of other warnings):
|
@stlaz there is something wrong with the build environment:
The package it tried to use is samba-4.8.0-7.fc29 and that package has all required symbols. Unfortunately, I don't see config.log from travis build to understand why it failed to detect them. |
4e26189
to
f578753
Compare
f578753
to
47b7a1b
Compare
Pushed latest update with absolute imports. |
47b7a1b
to
ae04749
Compare
ae04749
to
3c8f42a
Compare
3c8f42a
to
686484d
Compare
Add absolute_import from __future__ so that pylint does not fail and to achieve python3 behavior in python2.
686484d
to
f8ab4cb
Compare
Either ACK or NACK in 24hrs please. |
LGTM. |
master:
|
python2 pylint fails on Fedora 28 with errors about relative imports from
ipapplatform
that seem to be false-positives. Use only python3 pylint for Travis.The Fedora 28 test-runner container in this commit is only to show that the tests pass, I'll update the Fedora 28 container in DockerHub FreeIPA repo once we agree on this PR.