Skip to content

Commit

Permalink
PYTHON-4547 Test against Python 3.13 beta (#857)
Browse files Browse the repository at this point in the history
* PYTHON-4547 Test against Python 3.13 beta

* update run conditions

* update run conditions

* fix 3.13 support

* install prereleases on python 3.13
  • Loading branch information
blink1073 authored Jul 12, 2024
1 parent 9f2467e commit 546e048
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ on:
tags: ['*']
pull_request:
paths:
- bindings/python/*
- bindings/python/**/*.py
- .github/workflows/*python.yml
schedule:
- cron: '17 10 * * 2'
workflow_call:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/dist-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
pull_request:
paths:
- bindings/python/*
- bindings/python/**/*.py
- .github/workflows/*python.yml
workflow_dispatch:
workflow_call:
inputs:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
paths:
- bindings/python/*
- bindings/python/**/*.py
- .github/workflows/*python.yml

concurrency:
group: python-test-${{ github.ref }}
Expand Down Expand Up @@ -39,7 +40,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.12"]
python-version: ["3.8", "3.13"]

steps:
- uses: actions/checkout@v4
Expand All @@ -52,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

0 comments on commit 546e048

Please sign in to comment.