From 4f663f75f2d3bcce62525ff1c00d7853c7a43654 Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Thu, 12 Oct 2023 13:29:26 +0600 Subject: [PATCH] added python 3.12 to the CI and drop py3.7 --- .github/workflows/ci.yaml | 10 +++++----- tox.ini | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 45b338a6..a85500d9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,10 +7,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7,3.8,3.9,"3.10"] + python-version: [3.8,3.9,"3.10","3.12"] steps: - name: Check out code from GitHub - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} id: python uses: actions/setup-python@v4 @@ -26,10 +26,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8,3.9,"3.10"] + python-version: [3.8,3.9,"3.10","3.12"] steps: - name: Check out code from GitHub - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build rabbitmq:tls container run: docker build -t rabbitmq:tls . - name: Set up Python ${{ matrix.python-version }} @@ -56,7 +56,7 @@ jobs: python-version: [3.8] steps: - name: Check out code from GitHub - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} id: python uses: actions/setup-python@v4 diff --git a/tox.ini b/tox.ini index e6c8e469..59a41b59 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = - {pypy3,3.7,3.8,3.9,3.10}-unit - {pypy3,3.7,3.8,3.9.3.10}-integration-rabbitmq + {pypy3,3.12,3.8,3.9,3.10}-unit + {pypy3,3.12,3.8,3.9.3.10}-integration-rabbitmq flake8 apicheck pydocstyle @@ -22,8 +22,8 @@ commands = integration: py.test -xv -E rabbitmq t/integration {posargs:-n2} basepython = flake8,apicheck,linkcheck,pydocstyle: python3.8 - pypy3: pypy3.9 - 3.7: python3.7 + pypy3: pypy3.10 + 3.12: python3.12 3.8: python3.8 3.9: python3.9 3.10: python3.10