Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit 9f945cc

Browse files
author
Nick Sullivan
committed
🐍 Add Python 3.13 support and update CI configuration
Adds Python 3.13 to the test matrix and updates the PyPI release job to use the latest Python version. Removes legacy Python 3.9 workaround since it's no longer in the test matrix. Keeps project current with latest Python releases for better compatibility and performance.
1 parent 9487801 commit 9f945cc

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

.github/workflows/pypi_release.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
os: [macos-latest, ubuntu-latest]
19-
python-version: ["3.10", "3.11", "3.12"]
19+
python-version: ["3.10", "3.11", "3.12", "3.13"]
2020

2121
runs-on: ${{ matrix.os }}
2222
name: Test with Python ${{ matrix.python-version }} on ${{ matrix.os }}
@@ -48,16 +48,7 @@ jobs:
4848
4949
- name: Test
5050
run: |
51-
aicodebot -V
52-
# Python 3.9 testing fails because of an issue with vcrpy
53-
# https://github.com/kevin1024/vcrpy/issues/688
54-
if [[ "${{ matrix.python-version }}" == "3.9" ]]; then
55-
echo "Skipping tests for Python 3.9, running alignment instead"
56-
aicodebot configure
57-
aicodebot alignment
58-
else
59-
pytest --record-mode=new_episodes
60-
fi
51+
pytest --record-mode=new_episodes
6152
6253
pypi_release:
6354
needs: test
@@ -74,7 +65,7 @@ jobs:
7465
- name: Setup Python
7566
uses: actions/setup-python@v5
7667
with:
77-
python-version: 3.12
68+
python-version: 3.13
7869
cache: pip
7970

8071
- name: Build the package

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
### Infrastructure
2020

21-
[![Python 3.12](https://img.shields.io/badge/python-3.12-blue.svg)](https://www.python.org/downloads/release/python-3110/)
21+
[![Python 3.13](https://img.shields.io/badge/python-3.13-blue.svg)](https://www.python.org/downloads/release/python-3110/)
2222
[![Open AI](https://img.shields.io/badge/OpenAI-412991.svg?logo=OpenAI&logoColor=white)](https://openai.com)
2323

2424
## How to Contribute

0 commit comments

Comments
 (0)