This is an automated email from the ASF dual-hosted git repository. tomaz pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit 138efe99ab9b72b1d4c1676090812bd06a4a3dce Author: Tomaz Muraus <to...@tomaz.me> AuthorDate: Thu Sep 8 13:48:26 2022 +0200 Update various test and lint dependencies (pylint, astroid, coverage) to the latest stable version and utilize Python 3.8 which is not EOL for those checks / tox targets so we can utilize those library versions which don't support Python 3.7 anymore. Also removed deprecated pylint config option value. --- .github/workflows/main.yml | 12 ++++++------ .github/workflows/publish_pricing_to_s3.yml | 2 +- .pylintrc | 2 +- requirements-tests.txt | 6 +++--- tox.ini | 3 ++- 5 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0d89ccd9c..2f5e72c41 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -130,7 +130,7 @@ jobs: strategy: matrix: - python_version: [3.7] + python_version: [3.8] steps: - uses: actions/checkout@master @@ -172,7 +172,7 @@ jobs: strategy: matrix: - python_version: [3.7] + python_version: [3.8] steps: - uses: actions/checkout@master @@ -214,7 +214,7 @@ jobs: strategy: matrix: - python_version: [3.7] + python_version: [3.8] steps: - uses: actions/checkout@master @@ -241,7 +241,7 @@ jobs: strategy: matrix: - python_version: [3.7] + python_version: [3.8] steps: - uses: actions/checkout@master @@ -290,7 +290,7 @@ jobs: strategy: matrix: - python_version: [3.7] + python_version: [3.8] steps: - uses: actions/checkout@master @@ -332,7 +332,7 @@ jobs: strategy: matrix: - python_version: [3.7] + python_version: [3.8] steps: - name: Print Environment Info diff --git a/.github/workflows/publish_pricing_to_s3.yml b/.github/workflows/publish_pricing_to_s3.yml index 4ec82b6e0..ab3d3c869 100644 --- a/.github/workflows/publish_pricing_to_s3.yml +++ b/.github/workflows/publish_pricing_to_s3.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: - python_version: [3.7] + python_version: [3.8] steps: - name: Print Environment Info diff --git a/.pylintrc b/.pylintrc index 156272740..a0b4ddde0 100644 --- a/.pylintrc +++ b/.pylintrc @@ -12,7 +12,7 @@ load-plugins= [MESSAGES CONTROL] -disable=redefined-builtin,too-many-arguments,too-few-public-methods,missing-docstring,invalid-name,abstract-method,no-self-use +disable=redefined-builtin,too-many-arguments,too-few-public-methods,missing-docstring,invalid-name,abstract-method [TYPECHECK] diff --git a/requirements-tests.txt b/requirements-tests.txt index 8c2278e88..7addf375a 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -1,9 +1,9 @@ pep8==1.7.1 flake8==5.0.4 -astroid==2.11.4 -pylint==2.13.8 +astroid==2.12.9 +pylint==2.15.2 codecov==2.1.12 -coverage==6.2.0 +coverage==6.4.4 requests>=2.27.1 requests_mock==1.10.0 pytest==7.0.1 diff --git a/tox.ini b/tox.ini index 206b16e84..5239d01e9 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,8 @@ basepython = pypypy-3.8: pypy3.8 pypyjion: pyjion {py3.6,py3.6-dist,py3.6-dist-wheel}: python3.6 - {py3.7,docs,checks,black,lint,pylint,bandit,mypy,micro-benchmarks,coverage,docs,py3.7-dist,py3.7-dist-wheel}: python3.7 + {py3.7,py3.7-dist,py3.7-dist-wheel}: python3.7 + {docs,checks,black,lint,pylint,bandit,mypy,micro-benchmarks,coverage}: python3.8 {py3.8,py3.8-windows,integration-storage,py3.8-dist,py3.8-dist-wheel}: python3.8 {py3.9,py3.9-dist,py3.9-dist-wheel}: python3.9 {py3.10,py3.10-dist,py3.10-dist-wheel}: python3.10