Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
20 changes: 18 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,14 @@ jobs:
uv run --no-sync python tests/windows_tests/check_windows_wheel_install.py

base_sdk_install:
parameters:
python_version:
type: string
default: "3.12"
resolution:
type: enum
enum: ["highest", "lowest-direct"]
default: "highest"
docker:
- image: cimg/python:3.12@sha256:9c796c23c84e84a66a964acb508d39dc5433c81a47e07efd56dccbbc2427e07c
auth:
Expand All @@ -381,8 +389,9 @@ jobs:
environment:
UV_HTTP_TIMEOUT: "300"
command: |
uv venv /tmp/base-sdk --python 3.12
VIRTUAL_ENV=/tmp/base-sdk uv pip install dist/*.whl
uv venv /tmp/base-sdk --python "<< parameters.python_version >>"
uv pip install --python /tmp/base-sdk/bin/python \
--resolution "<< parameters.resolution >>" --no-sources -r pyproject.toml dist/*.whl
/tmp/base-sdk/bin/python tests/base_sdk_tests/check_base_sdk_install.py

local_testing_part1:
Expand Down Expand Up @@ -3026,6 +3035,13 @@ workflows:
- provider_replay_harness
- base_sdk_install:
filters: *main_branches
- base_sdk_install:
name: base_sdk_minimum_<< matrix.python_version >>
resolution: lowest-direct
matrix:
parameters:
python_version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
filters: *main_branches
- local_testing_part1:
filters: *main_branches
- local_testing_part2:
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ dependencies = [
"httpx[http2]>=0.28.0,<1.0",
"openai>=2.20.0,<3.0.0",
"python-dotenv>=1.0.0,<2.0",
"tiktoken>=0.8.0,<1.0",
"tiktoken>=0.8.0,<1.0; python_version < '3.14'",
"tiktoken>=0.12.0,<1.0; python_version >= '3.14'",
"importlib-metadata>=8.0.0,<9.0",
"tokenizers>=0.21.0,<1.0",
"click>=8.0.0,<9.0",
"jinja2>=3.1.6,<4.0",
"aiohttp>=3.14.2,<4.0",
"pydantic>=2.10.0,<3.0.0",
"pydantic>=2.11.0,<3.0.0; python_version < '3.14'",
"pydantic>=2.12.0,<3.0.0; python_version >= '3.14'",
"pydantic-settings>=2.14.1,<3.0",
"jsonschema>=4.0.0,<5.0",
"boto3>=1.43.1,<2.0",
Expand Down
6 changes: 4 additions & 2 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading