diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 3a8a8d2..7596467 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -18,7 +18,7 @@ jobs: - '3.8' - '3.9' - '3.10' - os: [ ubuntu-latest ] + os: [ ubuntu-20.04 ] env: OS: ${{ matrix.os }} PYTHON_VERSION: ${{ matrix.python-version }} @@ -60,7 +60,7 @@ jobs: env_vars: OS,PYTHON_VERSION build: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: matrix: python-version: @@ -125,7 +125,7 @@ jobs: compat: name: Public API compatibility - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout uses: actions/checkout@v2 diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index ba9944e..b7f6d04 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -8,7 +8,7 @@ on: jobs: tag: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout uses: actions/checkout@v2 diff --git a/dev-requirements-py3.txt b/dev-requirements-py3.txt index 50fa8db..1d86d4d 100644 --- a/dev-requirements-py3.txt +++ b/dev-requirements-py3.txt @@ -1,2 +1,13 @@ -r ./dev-requirements.txt prospector[with_pyroma] + +# More recent versions of these linters introduce rules that make it fail. +# Pin these versions to keep the ruleset fixed. +dodgy==0.2.1 +flake8==4.0.1 +flake8-polyfill==1.0.2 +mccabe==0.6.1 +prospector==1.7.7 +pycodestyle==2.8.0 +pyflakes==2.4.0 +pylint==2.13.9