diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 090754b..1ad4562 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -27,14 +27,14 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, windows-latest, macos-latest] - pyver: [cp37, cp38, cp39, cp310] + pyver: [cp37, cp38, cp39, cp310, cp311] steps: - name: Checkout repos uses: actions/checkout@v3 - name: Build wheels - uses: pypa/cibuildwheel@v2.8.1 + uses: pypa/cibuildwheel@v2.11.1 env: CIBW_BUILD: ${{matrix.pyver}}-* CIBW_ARCHS_LINUX: auto @@ -63,7 +63,7 @@ jobs: strategy: fail-fast: false matrix: - pyver: [cp37, cp38, cp39, cp310] + pyver: [cp37, cp38, cp39, cp310, cp311] arch: [aarch64, ppc64le] steps: @@ -74,7 +74,7 @@ jobs: uses: docker/setup-qemu-action@v2 - name: Build wheels - uses: pypa/cibuildwheel@v2.8.1 + uses: pypa/cibuildwheel@v2.11.1 env: CIBW_BUILD: ${{matrix.pyver}}-* CIBW_ARCHS: ${{matrix.arch}} @@ -99,7 +99,7 @@ jobs: uses: actions/checkout@v3 - name: Build wheels - uses: pypa/cibuildwheel@v2.8.1 + uses: pypa/cibuildwheel@v2.11.1 env: CIBW_BUILD: pp* CIBW_TEST_EXTRAS: test @@ -133,7 +133,7 @@ jobs: uses: docker/setup-qemu-action@v2 - name: Build wheels - uses: pypa/cibuildwheel@v2.8.1 + uses: pypa/cibuildwheel@v2.11.1 env: CIBW_BUILD: pp* diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 227d4dc..241c75c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "pypy-3.8"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.8"] steps: - name: Checkout repos @@ -39,7 +39,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"] architecture: ['x64', 'x86'] steps: @@ -64,7 +64,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"] steps: - name: Checkout repos diff --git a/tests/setproctitle_test.py b/tests/setproctitle_test.py index a2252ec..e87d064 100644 --- a/tests/setproctitle_test.py +++ b/tests/setproctitle_test.py @@ -33,7 +33,7 @@ def test_runner(): @pytest.mark.skipif( - 'sys.platform == "darwin" and os.environ.get("CIBW_TEST_COMMAND")', + 'sys.platform == "darwin" and (os.environ.get("CIBW_TEST_COMMAND") or sys.version_info >= (3, 11))', reason="f*cked up binary name", ) def test_init_getproctitle(): diff --git a/tox.ini b/tox.ini index c1d1251..dd34bb6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = 3.7, 3.8, 3.9, 3.10 pypy-3.8 +envlist = 3.7, 3.8, 3.9, 3.10, 3.11, pypy-3.8 [testenv] commands = @@ -19,6 +19,9 @@ basepython = python3.9 [testenv:3.10] basepython = python3.10 +[testenv:3.11] +basepython = python3.11 + [testenv:pypy-3.8] basepython = pypy3.8