From 7943d2d678f5790a11f2bfad0fc9534d132d780e Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 4 Nov 2022 11:02:30 -0500 Subject: [PATCH] PYTHON-3506 Python 3.11 Support for BsonJS --- .github/workflows/release-python.yml | 6 +++--- .github/workflows/test.yml | 2 +- setup.py | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index 52454bd..10f75e9 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -11,7 +11,7 @@ jobs: name: Build CPython ${{ matrix.python-version }}-${{ matrix.os }} steps: - uses: actions/checkout@v2 - - uses: pypa/cibuildwheel@v2.3.1 + - uses: pypa/cibuildwheel@v2.11.2 env: CIBW_ARCHS_MACOS: x86_64 universal2 CIBW_TEST_SKIP: '*universal2:arm64' @@ -27,7 +27,7 @@ jobs: strategy: matrix: os: [macos-latest, windows-2019] - python-version: [3.6, 3.7, 3.8, 3.9, "3.10"] + python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11"] name: Test CPython ${{ matrix.python-version }}-${{ matrix.os }} steps: - name: Setup Python @@ -54,7 +54,7 @@ jobs: os: [ubuntu-latest] container: ['manylinux2014_i686', 'manylinux2014_x86_64'] python-version: ['cp36-cp36m', 'cp37-cp37m', 'cp38-cp38', - 'cp39-cp39', 'cp310-cp310'] + 'cp39-cp39', 'cp310-cp310', 'cp311-cp311'] name: Test CPython ${{ matrix.python-version }}-${{ matrix.container }} steps: - name: Download a previously created wheel diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 36a1ffc..bf5cca8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: os: [macos-latest, ubuntu-18.04, windows-2019] - python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v2 diff --git a/setup.py b/setup.py index 9e4e8a1..c097ea5 100644 --- a/setup.py +++ b/setup.py @@ -60,6 +60,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"], ext_modules=[ Extension(