Skip to content
Prev Previous commit
Next Next commit
fix
  • Loading branch information
seratch committed Sep 11, 2025
commit 361d88d965cac512979713e29c8a9c1e7d199b66
2 changes: 0 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,5 @@ jobs:
enable-cache: true
- name: Install dependencies
run: make sync
- name: Install Python 3.9 dependencies
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved to makefile

run: UV_PROJECT_ENVIRONMENT=.venv_39 uv sync --all-extras --all-packages --group dev
- name: Run tests
run: make old_version_tests
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ celerybeat.pid
*.sage.py

# Environments
.env
.python-version
.env*
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for local python 3.9 tests

.venv
env/
venv/
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ snapshots-create:
uv run pytest --inline-snapshot=create

.PHONY: old_version_tests
old_version_tests:
old_version_tests:
UV_PROJECT_ENVIRONMENT=.venv_39 uv sync --python 3.9 --all-extras --all-packages --group dev
UV_PROJECT_ENVIRONMENT=.venv_39 uv run --python 3.9 -m pytest

.PHONY: build-docs
Expand Down
1 change: 0 additions & 1 deletion tests/realtime/test_openai_realtime_conversions.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ def test_convert_user_input_to_conversation_item_dict_and_str():
item_any = _ConversionHelper.convert_user_input_to_conversation_item(event)
item = cast(RealtimeConversationItemUserMessage, item_any)
assert item.role == "user"
assert len(item.content) == 2

# String input becomes input_text
event2 = RealtimeModelSendUserInput(user_input="hi")
Expand Down