diff options
-rw-r--r-- | .github/workflows/cibuildwheel.yml | 3 | ||||
-rw-r--r-- | src/module.c | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index b5d886c..d50c40c 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -13,12 +13,13 @@ jobs: fail-fast: false matrix: arch: [x86_64, aarch64] + python-version: ["3.7", "3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: ${{ matrix.python-version }} - name: Set up QEMU if: ${{ matrix.arch == 'aarch64' }} uses: docker/setup-qemu-action@v1 diff --git a/src/module.c b/src/module.c index a256166..a81391f 100644 --- a/src/module.c +++ b/src/module.c @@ -376,7 +376,11 @@ initpycurl(void) case CURLSSLBACKEND_NSS: case CURLSSLBACKEND_WOLFSSL: case CURLSSLBACKEND_MBEDTLS: +#if LIBCURL_VERSION_NUM >= MAKE_LIBCURL_VERSION(7, 64, 1) case CURLSSLBACKEND_SECURETRANSPORT: +#else + case CURLSSLBACKEND_DARWINSSL: +#endif runtime_supported_backend_found = 1; break; default: |