From 544f158c3caaa112e88f147ce97822ab3e5567f2 Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Tue, 15 Feb 2022 16:24:39 +0200 Subject: [PATCH 1/7] Python 3.11 experimental in github --- .github/workflows/integration.yaml | 6 ++++++ setup.py | 1 + 2 files changed, 7 insertions(+) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index a73bb71160..0cd6a930a5 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -37,6 +37,9 @@ jobs: python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.7'] test-type: ['standalone', 'cluster'] connection-type: ['hiredis', 'plain'] + include: + - python-version: 3.11 + - experimental: true env: ACTIONS_ALLOW_UNSECURE_COMMANDS: true name: Python ${{ matrix.python-version }} ${{matrix.test-type}}-${{matrix.connection-type}} tests @@ -78,6 +81,9 @@ jobs: strategy: matrix: python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.7'] + include: + - python-version: 3.11 + - experimental: true steps: - uses: actions/checkout@v2 - name: install python ${{ matrix.python-version }} diff --git a/setup.py b/setup.py index a44fe620d7..8bdcdd784c 100644 --- a/setup.py +++ b/setup.py @@ -49,6 +49,7 @@ "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", ], From 1db89eba5aa8818561480d01ee4229bc61868dd6 Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Tue, 15 Feb 2022 16:29:03 +0200 Subject: [PATCH 2/7] alpha syntax --- .github/workflows/integration.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 0cd6a930a5..f5a27a8231 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -38,7 +38,7 @@ jobs: test-type: ['standalone', 'cluster'] connection-type: ['hiredis', 'plain'] include: - - python-version: 3.11 + - python-version: 3.11.0-alpha.5 - experimental: true env: ACTIONS_ALLOW_UNSECURE_COMMANDS: true @@ -82,7 +82,7 @@ jobs: matrix: python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.7'] include: - - python-version: 3.11 + - python-version: 3.11.0-alpha.5 - experimental: true steps: - uses: actions/checkout@v2 From f83e74b28945bc5d610bc0f74cacfc20a26bb154 Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Tue, 15 Feb 2022 16:43:34 +0200 Subject: [PATCH 3/7] experimental flag --- .github/workflows/integration.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index f5a27a8231..2c794c64d1 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -30,6 +30,7 @@ jobs: run-tests: runs-on: ubuntu-latest + continue-on-error: ${{ matrix.experimental }} timeout-minutes: 30 strategy: max-parallel: 15 @@ -37,6 +38,7 @@ jobs: python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.7'] test-type: ['standalone', 'cluster'] connection-type: ['hiredis', 'plain'] + experimental: [false] include: - python-version: 3.11.0-alpha.5 - experimental: true @@ -76,11 +78,13 @@ jobs: bash .github/workflows/install_and_test.sh ${{ matrix.extension }} install_package_from_commit: + continue-on-error: ${{ matrix.experimental }} name: Install package from commit hash runs-on: ubuntu-latest strategy: matrix: python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.7'] + experimental: [false] include: - python-version: 3.11.0-alpha.5 - experimental: true From 42c51f439d2a1e54355cd078496731cf4fdbd440 Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Sun, 10 Apr 2022 10:04:44 +0300 Subject: [PATCH 4/7] updated to 11 alpha 7 --- .github/workflows/integration.yaml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 0d2193c2fa..b5fd101ec3 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -22,7 +22,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: install python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: 3.9 - name: run code linters @@ -42,15 +42,18 @@ jobs: connection-type: ['hiredis', 'plain'] experimental: [false] include: - - python-version: 3.11.0-alpha.5 - - experimental: true + - python-version: 3.11.0-alpha.7 + experimental: true + test-type: standalone + connection-type: plain + experimental: true env: ACTIONS_ALLOW_UNSECURE_COMMANDS: true name: Python ${{ matrix.python-version }} ${{matrix.test-type}}-${{matrix.connection-type}} tests steps: - uses: actions/checkout@v2 - name: install python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - name: run tests @@ -73,7 +76,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: install python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: 3.9 - name: Run installed unit tests @@ -94,7 +97,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: install python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - name: install from pip From 909cea2f0e88064efe95e6a1ee7e590ba23ba08b Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Sun, 10 Apr 2022 10:18:39 +0300 Subject: [PATCH 5/7] action version --- .github/workflows/pypi-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi-publish.yaml b/.github/workflows/pypi-publish.yaml index 3cccb067ac..0d100dd12d 100644 --- a/.github/workflows/pypi-publish.yaml +++ b/.github/workflows/pypi-publish.yaml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: install python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: 3.9 - name: Install dev tools From 390dffa4086cd19a34b3e91f374b1c605a88fd1c Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Sun, 10 Apr 2022 10:22:13 +0300 Subject: [PATCH 6/7] removed second experimental --- .github/workflows/integration.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index b5fd101ec3..c6e05ee3b4 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -46,7 +46,6 @@ jobs: experimental: true test-type: standalone connection-type: plain - experimental: true env: ACTIONS_ALLOW_UNSECURE_COMMANDS: true name: Python ${{ matrix.python-version }} ${{matrix.test-type}}-${{matrix.connection-type}} tests From 26fc0aa97036adde3783c28bcae63f71bfa0e403 Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Sun, 10 Apr 2022 12:02:20 +0300 Subject: [PATCH 7/7] alpha6 --- .github/workflows/integration.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index c6e05ee3b4..53e6777082 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -42,7 +42,7 @@ jobs: connection-type: ['hiredis', 'plain'] experimental: [false] include: - - python-version: 3.11.0-alpha.7 + - python-version: 3.11.0-alpha.6 experimental: true test-type: standalone connection-type: plain