Skip to content

Commit 96f5efd

Browse files
committed
fix
1 parent ff3ecb1 commit 96f5efd

File tree

3 files changed

+1
-118
lines changed

3 files changed

+1
-118
lines changed

.github/workflows/test-integrations-ai.yml

Lines changed: 0 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -22,81 +22,6 @@ env:
2222
CACHED_BUILD_PATHS: |
2323
${{ github.workspace }}/dist-serverless
2424
jobs:
25-
test-ai-latest:
26-
name: AI (latest)
27-
timeout-minutes: 30
28-
runs-on: ${{ matrix.os }}
29-
strategy:
30-
fail-fast: false
31-
matrix:
32-
python-version: ["3.9","3.11","3.12"]
33-
# python3.6 reached EOL and is no longer being supported on
34-
# new versions of hosted runners on Github Actions
35-
# ubuntu-20.04 is the last version that supported python3.6
36-
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
37-
os: [ubuntu-22.04]
38-
# Use Docker container only for Python 3.6
39-
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
40-
steps:
41-
- uses: actions/[email protected]
42-
- uses: actions/setup-python@v5
43-
if: ${{ matrix.python-version != '3.6' }}
44-
with:
45-
python-version: ${{ matrix.python-version }}
46-
allow-prereleases: true
47-
- name: Setup Test Env
48-
run: |
49-
pip install "coverage[toml]" tox
50-
- name: Erase coverage
51-
run: |
52-
coverage erase
53-
- name: Test anthropic latest
54-
run: |
55-
set -x # print commands that are executed
56-
./scripts/runtox.sh "py${{ matrix.python-version }}-anthropic-latest"
57-
- name: Test cohere latest
58-
run: |
59-
set -x # print commands that are executed
60-
./scripts/runtox.sh "py${{ matrix.python-version }}-cohere-latest"
61-
- name: Test langchain latest
62-
run: |
63-
set -x # print commands that are executed
64-
./scripts/runtox.sh "py${{ matrix.python-version }}-langchain-latest"
65-
- name: Test openai latest
66-
run: |
67-
set -x # print commands that are executed
68-
./scripts/runtox.sh "py${{ matrix.python-version }}-openai-latest"
69-
- name: Test huggingface_hub latest
70-
run: |
71-
set -x # print commands that are executed
72-
./scripts/runtox.sh "py${{ matrix.python-version }}-huggingface_hub-latest"
73-
- name: Generate coverage XML (Python 3.6)
74-
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
75-
run: |
76-
export COVERAGE_RCFILE=.coveragerc36
77-
coverage combine .coverage-sentry-*
78-
coverage xml --ignore-errors
79-
- name: Generate coverage XML
80-
if: ${{ !cancelled() && matrix.python-version != '3.6' }}
81-
run: |
82-
coverage combine .coverage-sentry-*
83-
coverage xml
84-
- name: Upload coverage to Codecov
85-
if: ${{ !cancelled() }}
86-
uses: codecov/[email protected]
87-
with:
88-
token: ${{ secrets.CODECOV_TOKEN }}
89-
files: coverage.xml
90-
# make sure no plugins alter our coverage reports
91-
plugin: noop
92-
verbose: true
93-
- name: Upload test results to Codecov
94-
if: ${{ !cancelled() }}
95-
uses: codecov/test-results-action@v1
96-
with:
97-
token: ${{ secrets.CODECOV_TOKEN }}
98-
files: .junitxml
99-
verbose: true
10025
test-ai-pinned:
10126
name: AI (pinned)
10227
timeout-minutes: 30

scripts/populate_tox/tox.jinja

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,6 @@ envlist =
7777
{py3.9,py3.11,py3.12}-httpx-v{0.25,0.27}
7878
{py3.9,py3.12,py3.13}-httpx-latest
7979

80-
# OpenAI
81-
{py3.9,py3.11,py3.12}-openai-v1.0
82-
{py3.9,py3.11,py3.12}-openai-v1.22
83-
{py3.9,py3.11,py3.12}-openai-v1.55
84-
{py3.9,py3.11,py3.12}-openai-latest
85-
{py3.9,py3.11,py3.12}-openai-notiktoken
86-
8780
# OpenTelemetry (OTel)
8881
{py3.7,py3.9,py3.12,py3.13}-opentelemetry
8982

@@ -230,20 +223,6 @@ deps =
230223
httpx-v0.27: httpx~=0.27.0
231224
httpx-latest: httpx
232225
233-
# OpenAI
234-
openai: pytest-asyncio
235-
openai-v1.0: openai~=1.0.0
236-
openai-v1.0: tiktoken
237-
openai-v1.0: httpx<0.28.0
238-
openai-v1.22: openai~=1.22.0
239-
openai-v1.22: tiktoken
240-
openai-v1.22: httpx<0.28.0
241-
openai-v1.55: openai~=1.55.0
242-
openai-v1.55: tiktoken
243-
openai-latest: openai
244-
openai-latest: tiktoken~=0.6.0
245-
openai-notiktoken: openai
246-
247226
# OpenTelemetry (OTel)
248227
opentelemetry: opentelemetry-distro
249228

tox.ini

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# The file (and all resulting CI YAMLs) then need to be regenerated via
1111
# "scripts/generate-test-files.sh".
1212
#
13-
# Last generated: 2025-05-06T12:38:06.476731+00:00
13+
# Last generated: 2025-05-06T12:41:09.666350+00:00
1414

1515
[tox]
1616
requires =
@@ -77,13 +77,6 @@ envlist =
7777
{py3.9,py3.11,py3.12}-httpx-v{0.25,0.27}
7878
{py3.9,py3.12,py3.13}-httpx-latest
7979

80-
# OpenAI
81-
{py3.9,py3.11,py3.12}-openai-v1.0
82-
{py3.9,py3.11,py3.12}-openai-v1.22
83-
{py3.9,py3.11,py3.12}-openai-v1.55
84-
{py3.9,py3.11,py3.12}-openai-latest
85-
{py3.9,py3.11,py3.12}-openai-notiktoken
86-
8780
# OpenTelemetry (OTel)
8881
{py3.7,py3.9,py3.12,py3.13}-opentelemetry
8982

@@ -412,20 +405,6 @@ deps =
412405
httpx-v0.27: httpx~=0.27.0
413406
httpx-latest: httpx
414407

415-
# OpenAI
416-
openai: pytest-asyncio
417-
openai-v1.0: openai~=1.0.0
418-
openai-v1.0: tiktoken
419-
openai-v1.0: httpx<0.28.0
420-
openai-v1.22: openai~=1.22.0
421-
openai-v1.22: tiktoken
422-
openai-v1.22: httpx<0.28.0
423-
openai-v1.55: openai~=1.55.0
424-
openai-v1.55: tiktoken
425-
openai-latest: openai
426-
openai-latest: tiktoken~=0.6.0
427-
openai-notiktoken: openai
428-
429408
# OpenTelemetry (OTel)
430409
opentelemetry: opentelemetry-distro
431410

0 commit comments

Comments
 (0)