From 19e9928d78e4c175c2d43e0110bb17efda3cf636 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 10 Jul 2024 10:24:36 -0500 Subject: [PATCH] install prereleases on python 3.13 --- .github/workflows/test-python.yml | 3 +++ bindings/python/requirements-test.txt | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index 2e3445353..23c4094d4 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -53,6 +53,9 @@ jobs: python-version: ${{ matrix.python-version }} - name: Build and test dist files run: | + if [ "${{ matrix.python-version }}" == "3.13" ]; then + export PIP_PRE=1 + fi export LIBMONGOCRYPT_VERSION=$(cat ./libmongocrypt-version.txt) git fetch origin $LIBMONGOCRYPT_VERSION bash ./release.sh diff --git a/bindings/python/requirements-test.txt b/bindings/python/requirements-test.txt index 38d08f760..710c0bed8 100644 --- a/bindings/python/requirements-test.txt +++ b/bindings/python/requirements-test.txt @@ -5,4 +5,3 @@ pytest>=7.0 unasync respx setuptools -cffi>=1.17.0rc1;python_version=="3.13"