Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

dev: Fix upgrade step to actually upgrade deps

Clémence Lesnédacf5dced981
diff --git a/Makefile b/Makefile
index c7335bc..b2ac702 100644
--- a/Makefile
+++ b/Makefile
@@ -69,12 +69,14 @@ upgrade:
@echo "➡️ Compiling app requirements..."
pip-compile \
--output-file requirements.txt \
+ --upgrade \
pyproject.toml
@echo "➡️ Compiling dev requirements..."
pip-compile \
--extra dev \
--output-file requirements-dev.txt \
+ --upgrade \
pyproject.toml
@echo "➡️ Upgrading Bicep CLI..."
diff --git a/pyproject.toml b/pyproject.toml
index 0d4e323..e843de7 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -17,7 +17,7 @@ dependencies = [
"azure-eventgrid~=4.20", # Azure Event Grid
"azure-identity~=1.19", # Azure identity library
"azure-monitor-opentelemetry~=1.6", # Azure Monitor OpenTelemetry
- "azure-search-documents~=11.6a0", # Azure AI Search
+ "azure-search-documents~=11.6.0a0", # Azure AI Search
"azure-storage-queue~=12.12", # Azure Storage Queue
"django-htmlmin~=0.11", # Minify HTML
"fastapi~=0.115", # Web framework
@@ -26,19 +26,19 @@ dependencies = [
"json-repair~=0.30", # Repair JSON files from LLM
"mistune~=3.0", # Markdown parser for web views
"openai~=1.52", # OpenAI client
- "opentelemetry-instrumentation-aiohttp-client~=0.0", # OpenTelemetry instrumentation for aiohttp client
- "opentelemetry-instrumentation-httpx~=0.0", # OpenTelemetry instrumentation for HTTPX
- "opentelemetry-instrumentation-openai~=0.0", # OpenTelemetry instrumentation for OpenAI
- "opentelemetry-instrumentation-redis~=0.0", # OpenTelemetry instrumentation for Redis
- "opentelemetry-instrumentation-sqlite3~=0.0", # OpenTelemetry instrumentation for SQLite3
- "opentelemetry-semantic-conventions~=0.0", # OpenTelemetry conventions, to standardize telemetry data
+ "opentelemetry-instrumentation-aiohttp-client~=0.0a0", # OpenTelemetry instrumentation for aiohttp client
+ "opentelemetry-instrumentation-httpx~=0.0a0", # OpenTelemetry instrumentation for HTTPX
+ "opentelemetry-instrumentation-openai~=0.0a0", # OpenTelemetry instrumentation for OpenAI
+ "opentelemetry-instrumentation-redis~=0.0a0", # OpenTelemetry instrumentation for Redis
+ "opentelemetry-instrumentation-sqlite3~=0.0a0", # OpenTelemetry instrumentation for SQLite3
+ "opentelemetry-semantic-conventions~=0.0a0", # OpenTelemetry conventions, to standardize telemetry data
"phonenumbers~=8.13", # Phone number parsing and formatting, used with Pydantic
"pydantic-extra-types~=2.9", # Extra types for Pydantic
"pydantic-settings~=2.6", # Application configuration management with Pydantic
"pydantic[email]~=2.9", # Data serialization and validation, plus email validation
"pyjwt~=2.9", # Secure inbound calls from Communication Services
"python-dotenv~=1.0", # Load environment variables from .env file
- "python-multipart~=0.0", # Form parsing
+ "python-multipart==0.*", # Form parsing
"pytz~=2024.0", # Time zone handling
"pyyaml~=6.0", # YAML parser
"redis~=5.2", # Redis client