From a54dbef92286fe9a4688acf7ce63798bed55fa9f Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Tue, 15 Aug 2023 21:21:07 +0200 Subject: [PATCH 1/3] Update `python-version` in CI workflow. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c08a86a..779d5e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: # TODO replace 3.12.0-alpha.4 with 3.12-dev when # aiohttp, frozenlist and yarl support alpha 5+ # https://github.com/python/blurb_it/pull/330#issuecomment-1449496275 - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12.0-alpha.4"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 From 24a06753ecaee3c18e0366fa8ebbd187981bafd3 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Tue, 15 Aug 2023 21:29:25 +0200 Subject: [PATCH 2/3] Add `allow-prereleases: true`. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 779d5e4..69ecb7f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true cache: pip cache-dependency-path: | dev-requirements.txt From 475f4c752a9c8b23e4c870208d9f8fb113af2f15 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Tue, 15 Aug 2023 21:37:00 +0200 Subject: [PATCH 3/3] Remove `3.12` from the `python-version` list. --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 69ecb7f..d2e1bcc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,10 +12,10 @@ jobs: strategy: fail-fast: false matrix: - # TODO replace 3.12.0-alpha.4 with 3.12-dev when - # aiohttp, frozenlist and yarl support alpha 5+ + # TODO: add back 3.12 when the aiohttp issue is fixed, see # https://github.com/python/blurb_it/pull/330#issuecomment-1449496275 - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + # and https://github.com/aio-libs/aiohttp/issues/7229 + python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3