Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,15 @@ jobs:
py310: "3.10"
py311: "3.11"
py312: "3.12"
py313: "3.13"
# Baseline version of openai client we support
baseline: "1.2.0"
latest: ""
working_dir: "instrumentation/elastic-opentelemetry-instrumentation-openai"
strategy:
fail-fast: false
matrix:
python-version: [py38, py39, py310, py311, py312]
python-version: [py38, py39, py310, py311, py312, py313]
openai-version: [baseline, latest]
steps:
- uses: actions/checkout@v4
Expand All @@ -72,7 +73,7 @@ jobs:
working-directory: ${{ env.working_dir }}
- run: pytest
working-directory: ${{ env.working_dir }}
- if: ${{ env[matrix.python-version] == '3.12' && !env[matrix.openai-version] && env.OPENAI_API_KEY != '' }}
- if: ${{ env[matrix.python-version] == '3.13' && !env[matrix.openai-version] && env.OPENAI_API_KEY != '' }}
# Only run on latest python and openai client version because we are calling openai
run: pytest --integration-tests
working-directory: ${{ env.working_dir }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
# 1.31.0 is required for proper histogram bucket advisory support
Expand Down