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

mgr/dashboard: upgraded python dev dependencies #26007

Merged
merged 2 commits into from
Jan 22, 2019

Conversation

alfonsomthd
Copy link
Contributor

@alfonsomthd alfonsomthd commented Jan 17, 2019

  • pylint, astroid: upgraded only for python 3.
    Latest stable, compatible even with python 3.7

  • pycodestyle: 2.4.0 latest stable (python 2 & 3)

  • Fixed linting/style issues found after upgrade.

Fixes: https://tracker.ceph.com/issues/37385

Signed-off-by: Alfonso Martínez almartin@redhat.com

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

@LenzGr
Copy link
Contributor

LenzGr commented Jan 17, 2019

Thank you for taking care of this, @alfonsomthd! Would you mind splitting this PR into two separate commits? I think it would make sense to have one that updates the versions and configuration of our environment, and then a separate cleanup commit that addresses all of the things that have been reported.

@LenzGr LenzGr added the cleanup label Jan 17, 2019
* pylint, astroid: upgraded only for python 3.
  Latest stable, compatible even with python 3.7

* pycodestyle: 2.4.0 latest stable (python 2 & 3)

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
* Fixed linting/style issues found after upgrading:
  pylint, astroid, pycodestyle

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
@alfonsomthd
Copy link
Contributor Author

@LenzGr Sure. Done.

Copy link
Member

@epuertat epuertat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@@ -832,6 +832,7 @@ def getargspec(func):
func = func.__wrapped__
except AttributeError:
pass
# pylint: disable=deprecated-method
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How pluggy devs dealt with this...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we're very likely going full Python 3 by the end of the year. I'd be ok with a pylint for the moment.

@callithea
Copy link
Member

Copy link

@Devp00l Devp00l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LenzGr LenzGr merged commit 3daf7f3 into ceph:master Jan 22, 2019
@alfonsomthd alfonsomthd deleted the upgrade-python-dev-deps branch April 4, 2019 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants