diff --git a/.github/workflows/build_dist.yml b/.github/workflows/build_dist.yml index 7e55d07..5ff1f02 100644 --- a/.github/workflows/build_dist.yml +++ b/.github/workflows/build_dist.yml @@ -13,7 +13,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: "3.12" - name: Install dependencies run: | @@ -34,10 +34,8 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] include: - - python-version: "3.7" - python-identifier: "cp37-*" - python-version: "3.8" python-identifier: "cp38-*" - python-version: "3.9" @@ -46,6 +44,8 @@ jobs: python-identifier: "cp310-*" - python-version: "3.11" python-identifier: "cp311-*" + - python-version: "3.12" + python-identifier: "cp312-*" steps: - uses: actions/checkout@v3 @@ -56,7 +56,7 @@ jobs: if: runner.os == 'Linux' - name: Build wheels - uses: pypa/cibuildwheel@v2.12.0 + uses: pypa/cibuildwheel@v2.16.2 env: CIBW_TEST_REQUIRES: pytest CIBW_TEST_COMMAND: "pytest {project}/py-plinkio/tests" @@ -89,7 +89,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: "3.12" - name: Install dependencies run: | diff --git a/.github/workflows/pypi_experimental.yml b/.github/workflows/pypi_experimental.yml index 92bff26..6fb9515 100644 --- a/.github/workflows/pypi_experimental.yml +++ b/.github/workflows/pypi_experimental.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: "3.12" - name: Install dependencies run: | diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 43184d8..b300c50 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: "3.12" - name: Install dependencies run: | @@ -32,7 +32,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 diff --git a/tox.ini b/tox.ini index 7219ca8..26fae61 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{37,38,39,310,311}-test,flake8,black,pylint +envlist = py{38,39,310,311,312}-test,flake8,black,pylint skip_missing_interpreters = true [base] @@ -12,7 +12,7 @@ setenv = deps = pytest == 7.1.2 -[testenv:py{37,38,39,310,311}-test] +[testenv:py{38,39,310,311,312}-test] usedevelop = true setenv = {[base]setenv} @@ -33,7 +33,7 @@ skip_install = true setenv = {[base]setenv} deps = - flake8 == 4.0.1 + flake8 == 6.1.0 commands = flake8 --ignore=E231,W503 {env:PLINKIO_ROOT} {env:TESTS_ROOT} @@ -88,8 +88,8 @@ source = py-plinkio/src/plinkio [gh-actions] python = - 3.7: py37 3.8: py38 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312