Skip to content

Commit d068b0c

Browse files
committed
pinning Python 3.12.3 for tox in CI to resolve Pydantic ForwardRef issue
1 parent d249ee7 commit d068b0c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
- name: Set up Python ${{ matrix.python-version }}
2828
uses: actions/setup-python@v4
2929
with:
30-
python-version: ${{ matrix.python-version }}
31-
cache: 'pip' #Note that pip is for the tox level. Poetry is still used for installing the specific environments (tox.ini)
30+
python-version: ${{ matrix.python-version == '3.12' && '3.12.3' || matrix.python-version }} # Using 3.12.3 to resolve Pydantic ForwardRef issue
31+
cache: 'pip' # Note that pip is for the tox level. Poetry is still used for installing the specific environments (tox.ini)
3232

3333
- name: Check Python Version
3434
run: python --version
@@ -43,6 +43,7 @@ jobs:
4343
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
4444
run: tox
4545

46+
# Temporarily disabling codecov until we resolve codecov rate limiting issue
4647
# - name: Report coverage
4748
# run: |
4849
# bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)