File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343 fail-fast : false
4444 matrix :
4545 os : [ubuntu-latest, windows-latest, macos-latest]
46- python-version : ["3.9", "3.13", "3.14 "]
46+ python-version : ["3.9", "3.13", "3.14t "]
4747
4848 steps :
4949 - uses : actions/checkout@v4
5757 python-version : ${{ matrix.python-version }}
5858 - name : Build and test dist files
5959 run : |
60+ if [ "${{ matrix.python-version }}" == "3.14" ]; then
61+ export PIP_PRE=1
62+ fi
6063 export LIBMONGOCRYPT_VERSION=$(cat ./scripts/libmongocrypt-version.txt)
6164 git fetch origin $LIBMONGOCRYPT_VERSION
6265 bash ./scripts/release.sh
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ for PYTHON_BINARY in "${PYTHONS[@]}"; do
7676 $PYTHON_BINARY -c ' import sys; print(sys.version)'
7777 git clean -dffx
7878 createvirtualenv $PYTHON_BINARY .venv
79- python -m pip install --prefer-binary -v -e " .[test]"
79+ python -m pip install --prefer-binary -v -e " .[test]" || python -m pip install --pre --prefer-binary -v -e " .[test] "
8080 echo " Running tests with crypto enabled libmongocrypt..."
8181 PYMONGOCRYPT_LIB=$PYMONGOCRYPT_LIB_CRYPTO python -c ' from pymongocrypt.binding import lib;assert lib.mongocrypt_is_crypto_available(), "mongocrypt_is_crypto_available() returned False"'
8282 PYMONGOCRYPT_LIB=$PYMONGOCRYPT_LIB_CRYPTO python -m pytest -v --ignore=test/performance .
Original file line number Diff line number Diff line change 1- cffi >= 1.12.0 ,< 3 ;python_version < "3.14"
2- cffi >= 2.0.0b1 ,< 3 ;python_version == "3.14"
1+ cffi >= 1.12.0 ,< 3
32cryptography >= 40
43packaging >= 21.0
54httpx >= 0.25.0
You can’t perform that action at this time.
0 commit comments