From 4815e619616d17560fa5ce47e2b395d1d12752f3 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Wed, 29 Jun 2022 09:16:07 +0200 Subject: [PATCH 1/8] Use 3.11 for Github actions Closes #5920 Take comment from hugovk into account --- .github/workflows/primer-test.yaml | 6 +++--- .github/workflows/primer_comment.yaml | 2 +- .github/workflows/primer_run_main.yaml | 2 +- .github/workflows/primer_run_pr.yaml | 2 +- .github/workflows/tests.yaml | 4 ++-- doc/whatsnew/fragments/5920.other | 3 +++ tox.ini | 2 +- 7 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 doc/whatsnew/fragments/5920.other diff --git a/.github/workflows/primer-test.yaml b/.github/workflows/primer-test.yaml index e1403a1d3d..909d5df608 100644 --- a/.github/workflows/primer-test.yaml +++ b/.github/workflows/primer-test.yaml @@ -26,7 +26,7 @@ jobs: timeout-minutes: 5 strategy: matrix: - python-version: [3.8, 3.9, "3.10"] + python-version: [3.8, 3.9, "3.10", "3.11-dev"] outputs: python-key: ${{ steps.generate-python-key.outputs.key }} steps: @@ -68,7 +68,7 @@ jobs: needs: prepare-tests-linux strategy: matrix: - python-version: [3.8, 3.9, "3.10"] + python-version: [3.8, 3.9, "3.10", "3.11-dev"] steps: - name: Check out code from GitHub uses: actions/checkout@v3.0.2 @@ -103,7 +103,7 @@ jobs: needs: prepare-tests-linux strategy: matrix: - python-version: [3.8, 3.9, "3.10"] + python-version: [3.8, 3.9, "3.10", "3.11-dev"] steps: - name: Check out code from GitHub uses: actions/checkout@v3.0.2 diff --git a/.github/workflows/primer_comment.yaml b/.github/workflows/primer_comment.yaml index 5379311713..a3d8a91737 100644 --- a/.github/workflows/primer_comment.yaml +++ b/.github/workflows/primer_comment.yaml @@ -37,7 +37,7 @@ jobs: id: python uses: actions/setup-python@v4.2.0 with: - python-version: "3.10" + python-version: "3.11-dev" # Restore cached Python environment - name: Restore Python virtual environment diff --git a/.github/workflows/primer_run_main.yaml b/.github/workflows/primer_run_main.yaml index 56f08f6777..f09e75c198 100644 --- a/.github/workflows/primer_run_main.yaml +++ b/.github/workflows/primer_run_main.yaml @@ -25,7 +25,7 @@ jobs: timeout-minutes: 60 strategy: matrix: - python-version: ["3.7", "3.10"] + python-version: ["3.7", "3.11-dev"] steps: - name: Check out code from GitHub uses: actions/checkout@v3.0.2 diff --git a/.github/workflows/primer_run_pr.yaml b/.github/workflows/primer_run_pr.yaml index 7fa785ce21..852393c027 100644 --- a/.github/workflows/primer_run_pr.yaml +++ b/.github/workflows/primer_run_pr.yaml @@ -34,7 +34,7 @@ jobs: timeout-minutes: 120 strategy: matrix: - python-version: ["3.7", "3.10"] + python-version: ["3.7", "3.11-dev"] steps: - name: Check out code from GitHub uses: actions/checkout@v3.0.2 diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 13a720fa50..340ca2d3cc 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7, 3.8, 3.9, "3.10"] + python-version: [3.7, 3.8, 3.9, "3.10", "3.11-dev"] outputs: python-key: ${{ steps.generate-python-key.outputs.key }} steps: @@ -173,7 +173,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7, 3.8, 3.9, "3.10"] + python-version: [3.7, 3.8, 3.9, "3.10", "3.11-dev"] steps: - name: Set temp directory run: echo "TEMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV diff --git a/doc/whatsnew/fragments/5920.other b/doc/whatsnew/fragments/5920.other new file mode 100644 index 0000000000..edca4bdb5a --- /dev/null +++ b/doc/whatsnew/fragments/5920.other @@ -0,0 +1,3 @@ +Pylint now support python 3.11. + +Closes #5920 diff --git a/tox.ini b/tox.ini index 4a8f67dbe5..0c78b87982 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.0 -envlist = formatting, py37, py38, py39, py310, pypy, benchmark +envlist = formatting, py37, py38, py39, py310, py311, pypy, benchmark skip_missing_interpreters = true requires = pip >=21.3.1 isolated_build = true From f8b99969826d816b57dd6f5c38a98df5cb1dcc26 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sun, 25 Sep 2022 08:52:19 +0200 Subject: [PATCH 2/8] [github action] Upgrade cache version previous to dill upgrade --- .github/workflows/changelog.yml | 2 +- .github/workflows/checks.yaml | 2 +- .github/workflows/primer-test.yaml | 2 +- .github/workflows/primer_comment.yaml | 2 +- .github/workflows/primer_run_main.yaml | 2 +- .github/workflows/primer_run_pr.yaml | 2 +- .github/workflows/tests.yaml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index a11bfe1cb5..730f3dd08b 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -6,7 +6,7 @@ on: env: # Also change CACHE_VERSION in the other workflows - CACHE_VERSION: 27 + CACHE_VERSION: 28 DEFAULT_PYTHON: "3.10" jobs: diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 1b928c3338..6cdca8fda6 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -8,7 +8,7 @@ on: pull_request: ~ env: - CACHE_VERSION: 27 + CACHE_VERSION: 28 DEFAULT_PYTHON: "3.10" PRE_COMMIT_CACHE: ~/.cache/pre-commit diff --git a/.github/workflows/primer-test.yaml b/.github/workflows/primer-test.yaml index 909d5df608..59d97a1314 100644 --- a/.github/workflows/primer-test.yaml +++ b/.github/workflows/primer-test.yaml @@ -13,7 +13,7 @@ on: - ".github/workflows/primer-test.yaml" env: - CACHE_VERSION: 27 + CACHE_VERSION: 28 concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} diff --git a/.github/workflows/primer_comment.yaml b/.github/workflows/primer_comment.yaml index a3d8a91737..0152834d48 100644 --- a/.github/workflows/primer_comment.yaml +++ b/.github/workflows/primer_comment.yaml @@ -14,7 +14,7 @@ on: env: # This needs to be the SAME as in the Main and PR job - CACHE_VERSION: 27 + CACHE_VERSION: 28 permissions: contents: read diff --git a/.github/workflows/primer_run_main.yaml b/.github/workflows/primer_run_main.yaml index f09e75c198..77d0f0a0b2 100644 --- a/.github/workflows/primer_run_main.yaml +++ b/.github/workflows/primer_run_main.yaml @@ -16,7 +16,7 @@ concurrency: env: # This needs to be the SAME as in the PR and comment job - CACHE_VERSION: 27 + CACHE_VERSION: 28 jobs: run-primer: diff --git a/.github/workflows/primer_run_pr.yaml b/.github/workflows/primer_run_pr.yaml index 852393c027..f9cdd53ae3 100644 --- a/.github/workflows/primer_run_pr.yaml +++ b/.github/workflows/primer_run_pr.yaml @@ -25,7 +25,7 @@ concurrency: env: # This needs to be the SAME as in the Main and comment job - CACHE_VERSION: 27 + CACHE_VERSION: 28 jobs: run-primer: diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 340ca2d3cc..3fc09ed4df 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -10,7 +10,7 @@ on: - doc/data/messages/** env: - CACHE_VERSION: 27 + CACHE_VERSION: 28 jobs: tests-linux: From 7d6667d15b7068792c2dc2df1b62084cc2642a3f Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sun, 25 Sep 2022 08:52:42 +0200 Subject: [PATCH 3/8] [github action] Use the latest dill in the CI for 3.11-dev --- .github/workflows/primer_run_main.yaml | 6 +++++- .github/workflows/primer_run_pr.yaml | 5 +++++ .github/workflows/tests.yaml | 20 ++++++++++++++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) diff --git a/.github/workflows/primer_run_main.yaml b/.github/workflows/primer_run_main.yaml index 77d0f0a0b2..4db76928c5 100644 --- a/.github/workflows/primer_run_main.yaml +++ b/.github/workflows/primer_run_main.yaml @@ -34,7 +34,6 @@ jobs: uses: actions/setup-python@v4.2.0 with: python-version: ${{ matrix.python-version }} - - name: Get latest astroid commit id: get-astroid-sha run: | @@ -88,6 +87,11 @@ jobs: path: tests/.pylint_primer_tests/commit_string.txt # Run primer + - if: "contains(matrix.python-version, '-dev')" + # TODO: 2.16 Remove this when dill release their next version + run: | + . venv/bin/activate + pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253 - name: Run pylint primer run: | . venv/bin/activate diff --git a/.github/workflows/primer_run_pr.yaml b/.github/workflows/primer_run_pr.yaml index f9cdd53ae3..266b19c039 100644 --- a/.github/workflows/primer_run_pr.yaml +++ b/.github/workflows/primer_run_pr.yaml @@ -148,6 +148,11 @@ jobs: git pull origin ${{ steps.download-main-run.outputs.result }} --no-edit --no-commit --no-rebase # Run primer + - if: "contains(matrix.python-version, '-dev')" + # TODO: 2.16 Remove this when dill release their next version + run: | + . venv/bin/activate + pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253 - name: Run pylint primer run: | . venv/bin/activate diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 3fc09ed4df..fb1098b793 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -54,6 +54,11 @@ jobs: . venv/bin/activate python -m pip install -U pip setuptools wheel pip install -U -r requirements_test.txt + - if: "contains(matrix.python-version, '-dev')" + # TODO: 2.16 Remove this when dill release their next version + run: | + . venv/bin/activate + pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253 - name: Run pytest run: | . venv/bin/activate @@ -209,6 +214,11 @@ jobs: . venv\\Scripts\\activate python -m pip install -U pip setuptools wheel pip install -U -r requirements_test_min.txt + - if: "contains(matrix.python-version, '-dev')" + # TODO: 2.16 Remove this when dill release their next version + run: | + . venv\\Scripts\\activate + pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253 - name: Run pytest run: | . venv\\Scripts\\activate @@ -255,6 +265,11 @@ jobs: . venv/bin/activate python -m pip install -U pip setuptools wheel pip install -U -r requirements_test.txt + - if: "contains(matrix.python-version, '-dev')" + # TODO: 2.16 Remove this when dill release their next version + run: | + . venv/bin/activate + pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253 - name: Run pytest run: | . venv/bin/activate @@ -299,6 +314,11 @@ jobs: . venv/bin/activate python -m pip install -U pip setuptools wheel pip install -U -r requirements_test_min.txt + - if: "contains(matrix.python-version, '-dev')" + # TODO: 2.16 Remove this when dill release their next version + run: | + . venv/bin/activate + pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253 - name: Run pytest run: | . venv/bin/activate From d517799557efa26ddf74af94502f9f1383485d3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Noord?= <13665637+DanielNoord@users.noreply.github.com> Date: Thu, 29 Sep 2022 14:54:21 +0200 Subject: [PATCH 4/8] Use ``dill-pylint`` --- .github/workflows/changelog.yml | 2 +- .github/workflows/checks.yaml | 2 +- .github/workflows/primer-test.yaml | 2 +- .github/workflows/primer_comment.yaml | 2 +- .github/workflows/primer_run_main.yaml | 2 +- .github/workflows/primer_run_pr.yaml | 2 +- .github/workflows/tests.yaml | 2 +- pyproject.toml | 3 ++- 8 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 730f3dd08b..14266bd269 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -6,7 +6,7 @@ on: env: # Also change CACHE_VERSION in the other workflows - CACHE_VERSION: 28 + CACHE_VERSION: 29 DEFAULT_PYTHON: "3.10" jobs: diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 6cdca8fda6..2a314a64d6 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -8,7 +8,7 @@ on: pull_request: ~ env: - CACHE_VERSION: 28 + CACHE_VERSION: 29 DEFAULT_PYTHON: "3.10" PRE_COMMIT_CACHE: ~/.cache/pre-commit diff --git a/.github/workflows/primer-test.yaml b/.github/workflows/primer-test.yaml index 59d97a1314..62f065a243 100644 --- a/.github/workflows/primer-test.yaml +++ b/.github/workflows/primer-test.yaml @@ -13,7 +13,7 @@ on: - ".github/workflows/primer-test.yaml" env: - CACHE_VERSION: 28 + CACHE_VERSION: 29 concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} diff --git a/.github/workflows/primer_comment.yaml b/.github/workflows/primer_comment.yaml index 0152834d48..0528c47a2e 100644 --- a/.github/workflows/primer_comment.yaml +++ b/.github/workflows/primer_comment.yaml @@ -14,7 +14,7 @@ on: env: # This needs to be the SAME as in the Main and PR job - CACHE_VERSION: 28 + CACHE_VERSION: 29 permissions: contents: read diff --git a/.github/workflows/primer_run_main.yaml b/.github/workflows/primer_run_main.yaml index 4db76928c5..2637477711 100644 --- a/.github/workflows/primer_run_main.yaml +++ b/.github/workflows/primer_run_main.yaml @@ -16,7 +16,7 @@ concurrency: env: # This needs to be the SAME as in the PR and comment job - CACHE_VERSION: 28 + CACHE_VERSION: 29 jobs: run-primer: diff --git a/.github/workflows/primer_run_pr.yaml b/.github/workflows/primer_run_pr.yaml index 266b19c039..73874001bb 100644 --- a/.github/workflows/primer_run_pr.yaml +++ b/.github/workflows/primer_run_pr.yaml @@ -25,7 +25,7 @@ concurrency: env: # This needs to be the SAME as in the Main and comment job - CACHE_VERSION: 28 + CACHE_VERSION: 29 jobs: run-primer: diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index fb1098b793..4b90e4bb70 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -10,7 +10,7 @@ on: - doc/data/messages/** env: - CACHE_VERSION: 28 + CACHE_VERSION: 29 jobs: tests-linux: diff --git a/pyproject.toml b/pyproject.toml index 567274153a..f7f838e9e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,8 @@ classifiers = [ ] requires-python = ">=3.7.2" dependencies = [ - "dill>=0.2", + "dill>=0.2;python_version<'3.11'", + "dill-pylint>=0.3.6.dev0;python_version=>'3.11'", "platformdirs>=2.2.0", # Also upgrade requirements_test_min.txt and all the CACHE_VERSION in # github actions if you are bumping astroid. From 4c6c9ac545d25c4ba0cc2fc740403020bb67cb69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Noord?= <13665637+DanielNoord@users.noreply.github.com> Date: Thu, 29 Sep 2022 14:57:45 +0200 Subject: [PATCH 5/8] Like this then? --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f7f838e9e5..1b68e7359e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ classifiers = [ requires-python = ">=3.7.2" dependencies = [ "dill>=0.2;python_version<'3.11'", - "dill-pylint>=0.3.6.dev0;python_version=>'3.11'", + "dill-pylint>=0.3.6.dev0;python_version>='3.11'", "platformdirs>=2.2.0", # Also upgrade requirements_test_min.txt and all the CACHE_VERSION in # github actions if you are bumping astroid. From fd316f0c413b24a1c35cae392ed3bb72d068de67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Noord?= <13665637+DanielNoord@users.noreply.github.com> Date: Thu, 29 Sep 2022 15:06:31 +0200 Subject: [PATCH 6/8] Some other fixes --- .github/workflows/changelog.yml | 2 +- .github/workflows/checks.yaml | 2 +- .github/workflows/primer_run_main.yaml | 6 +----- .github/workflows/primer_run_pr.yaml | 5 ----- .github/workflows/release.yml | 2 +- .github/workflows/tests.yaml | 24 ++---------------------- doc/whatsnew/fragments/5920.other | 2 +- pyproject.toml | 1 + 8 files changed, 8 insertions(+), 36 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 14266bd269..b93ed473f3 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -7,7 +7,7 @@ on: env: # Also change CACHE_VERSION in the other workflows CACHE_VERSION: 29 - DEFAULT_PYTHON: "3.10" + DEFAULT_PYTHON: "3.11-dev" jobs: check-changelog: diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 2a314a64d6..188e55b7d6 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -9,7 +9,7 @@ on: env: CACHE_VERSION: 29 - DEFAULT_PYTHON: "3.10" + DEFAULT_PYTHON: "3.11-dev" PRE_COMMIT_CACHE: ~/.cache/pre-commit concurrency: diff --git a/.github/workflows/primer_run_main.yaml b/.github/workflows/primer_run_main.yaml index 2637477711..267a386b3b 100644 --- a/.github/workflows/primer_run_main.yaml +++ b/.github/workflows/primer_run_main.yaml @@ -34,6 +34,7 @@ jobs: uses: actions/setup-python@v4.2.0 with: python-version: ${{ matrix.python-version }} + - name: Get latest astroid commit id: get-astroid-sha run: | @@ -87,11 +88,6 @@ jobs: path: tests/.pylint_primer_tests/commit_string.txt # Run primer - - if: "contains(matrix.python-version, '-dev')" - # TODO: 2.16 Remove this when dill release their next version - run: | - . venv/bin/activate - pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253 - name: Run pylint primer run: | . venv/bin/activate diff --git a/.github/workflows/primer_run_pr.yaml b/.github/workflows/primer_run_pr.yaml index 73874001bb..7fcc2d8763 100644 --- a/.github/workflows/primer_run_pr.yaml +++ b/.github/workflows/primer_run_pr.yaml @@ -148,11 +148,6 @@ jobs: git pull origin ${{ steps.download-main-run.outputs.result }} --no-edit --no-commit --no-rebase # Run primer - - if: "contains(matrix.python-version, '-dev')" - # TODO: 2.16 Remove this when dill release their next version - run: | - . venv/bin/activate - pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253 - name: Run pylint primer run: | . venv/bin/activate diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d51577801e..ce7a6919cd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: - published env: - DEFAULT_PYTHON: "3.10" + DEFAULT_PYTHON: "3.11-dev" jobs: release-pypi: diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 4b90e4bb70..cc914c2c48 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -54,11 +54,6 @@ jobs: . venv/bin/activate python -m pip install -U pip setuptools wheel pip install -U -r requirements_test.txt - - if: "contains(matrix.python-version, '-dev')" - # TODO: 2.16 Remove this when dill release their next version - run: | - . venv/bin/activate - pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253 - name: Run pytest run: | . venv/bin/activate @@ -80,7 +75,7 @@ jobs: needs: tests-linux strategy: matrix: - python-version: ["3.10"] + python-version: ["3.11-dev"] env: COVERAGERC_FILE: .coveragerc steps: @@ -126,7 +121,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10"] + python-version: ["3.11-dev"] steps: - name: Check out code from GitHub uses: actions/checkout@v3.0.2 @@ -214,11 +209,6 @@ jobs: . venv\\Scripts\\activate python -m pip install -U pip setuptools wheel pip install -U -r requirements_test_min.txt - - if: "contains(matrix.python-version, '-dev')" - # TODO: 2.16 Remove this when dill release their next version - run: | - . venv\\Scripts\\activate - pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253 - name: Run pytest run: | . venv\\Scripts\\activate @@ -265,11 +255,6 @@ jobs: . venv/bin/activate python -m pip install -U pip setuptools wheel pip install -U -r requirements_test.txt - - if: "contains(matrix.python-version, '-dev')" - # TODO: 2.16 Remove this when dill release their next version - run: | - . venv/bin/activate - pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253 - name: Run pytest run: | . venv/bin/activate @@ -314,11 +299,6 @@ jobs: . venv/bin/activate python -m pip install -U pip setuptools wheel pip install -U -r requirements_test_min.txt - - if: "contains(matrix.python-version, '-dev')" - # TODO: 2.16 Remove this when dill release their next version - run: | - . venv/bin/activate - pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253 - name: Run pytest run: | . venv/bin/activate diff --git a/doc/whatsnew/fragments/5920.other b/doc/whatsnew/fragments/5920.other index edca4bdb5a..098595b805 100644 --- a/doc/whatsnew/fragments/5920.other +++ b/doc/whatsnew/fragments/5920.other @@ -1,3 +1,3 @@ -Pylint now support python 3.11. +Pylint now support Python 3.11. Closes #5920 diff --git a/pyproject.toml b/pyproject.toml index 1b68e7359e..312da216d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,6 +32,7 @@ classifiers = [ ] requires-python = ">=3.7.2" dependencies = [ + # TODO: Remove dill-pylint once dill 0.3.6 is released "dill>=0.2;python_version<'3.11'", "dill-pylint>=0.3.6.dev0;python_version>='3.11'", "platformdirs>=2.2.0", From 593b5919b5778616d5a07bab0cc087ae048af991 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Fri, 30 Sep 2022 13:34:01 +0200 Subject: [PATCH 7/8] Update doc/whatsnew/fragments/5920.other MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> --- doc/whatsnew/fragments/5920.other | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/whatsnew/fragments/5920.other b/doc/whatsnew/fragments/5920.other index 098595b805..5bd356a9cc 100644 --- a/doc/whatsnew/fragments/5920.other +++ b/doc/whatsnew/fragments/5920.other @@ -1,3 +1,3 @@ -Pylint now support Python 3.11. +Pylint now provides basic support for Python 3.11. Closes #5920 From 48ba9233d680a4b479f8410ecfd2ccc641449d1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Noord?= <13665637+DanielNoord@users.noreply.github.com> Date: Fri, 30 Sep 2022 14:01:25 +0200 Subject: [PATCH 8/8] Add classifier --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 312da216d4..379f34f059 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,7 @@ classifiers = [ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Debuggers",