From 1ccf06e623486da6aa77dff7c0d51c4fe54bec36 Mon Sep 17 00:00:00 2001 From: antonag32 Date: Wed, 4 Oct 2023 21:57:37 -0600 Subject: [PATCH] [REF]: update to pylint 3.0.0, drop support for py3.7 Pylint 3.0.0 has been released and with it a bunch of fixes and improvements. This repository has been updated to depend on this new version. BREAKING CHANGE: Pylint 3.0.0 drops support for Python 3.7 so this plugin no longer supports Python 3.7 as well. Closes #473. --- .github/workflows/test.yml | 5 +---- requirements.txt | 2 +- setup.cfg | 3 +-- tox.ini | 1 - 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e306cf69..4b7055f8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - python: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python: ['3.8', '3.9', '3.10', '3.11'] os: [ubuntu-latest, windows-latest, macos-latest] tox_env: [py] include: @@ -28,9 +28,6 @@ jobs: - python: '3.10' os: ubuntu-latest tox_env: 'build' - exclude: - - python: '3.7' - os: windows-latest steps: - name: Set git to not change EoL if: runner.os == 'Windows' diff --git a/requirements.txt b/requirements.txt index 34774e5e..6e6dee8d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ pylint-plugin-utils==0.7 -pylint==2.15.* +pylint>=3.0.0 validators==0.20.0 diff --git a/setup.cfg b/setup.cfg index 2b0ea109..1926096f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,7 @@ summary = Pylint plugin for Odoo long_description_content_type = text/markdown license = APGL3 home_page = https://github.com/OCA/pylint-odoo -requires_python = >=3.7.2 +requires_python = >=3.8 classifier = Development Status :: 6 - Mature Environment :: Console @@ -18,7 +18,6 @@ classifier = Programming Language :: Python Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 diff --git a/tox.ini b/tox.ini index dd952eaf..a5260147 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,6 @@ envlist = lint, update-readme, build, - py37, py38, py39, py310,