Skip to content
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

Update pylint version in order to support python 3.12 #5338

Merged
merged 2 commits into from
May 28, 2024

Commits on May 28, 2024

  1. Update pylint version in order to support python 3.12

    Fedora 39 and above comes with python version 3.12. When running `tox -e pylint`
    on cloud-init, we may experience issue such as the one reported here:
    pylint-dev/pylint#8782
    
    Minimum version of pylint required in order to support python 3.12 is 3.0.2.
    Please see pylint-dev/astroid#2201 . Upon further
    experimentation, it is seen that we need minimum pylint version 3.2.0 for
    cloud-init. Update tox.ini in order to use this pylint version.
    
    Signed-off-by: Ani Sinha <anisinha@redhat.com>
    ani-sinha committed May 28, 2024
    Configuration menu
    Copy the full SHA
    d853a20 View commit details
    Browse the repository at this point in the history
  2. Fix pylint errors in cloud-init with newer pylint version

    Pylint fixes in various files.
    
    Signed-off-by: Ani Sinha <anisinha@redhat.com>
    ani-sinha committed May 28, 2024
    Configuration menu
    Copy the full SHA
    7ad5816 View commit details
    Browse the repository at this point in the history