File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,15 @@ compile-bytecode = true # Enable bytecode compilation for better performance
7878default-groups = [" test" , " dev" ] # Default groups to install for development
7979constraint-dependencies = [
8080 " pydantic>=2.8.0; python_version>='3.13'" , # Ensure Python 3.13 compatibility
81- " typing-extensions; python_version>='3.13'" # Required for Pydantic with Python 3.13
81+ " typing-extensions; python_version>='3.13'" , # Required for Pydantic with Python 3.13
82+ # For Python 3.9, use original OpenTelemetry versions
83+ " opentelemetry-api==1.22.0; python_version<'3.10'" ,
84+ " opentelemetry-sdk==1.22.0; python_version<'3.10'" ,
85+ " opentelemetry-exporter-otlp-proto-http==1.22.0; python_version<'3.10'" ,
86+ # For Python ≥3.10 (where autogen-core might be present), use newer versions
87+ " opentelemetry-api>=1.27.0; python_version>='3.10'" ,
88+ " opentelemetry-sdk>=1.27.0; python_version>='3.10'" ,
89+ " opentelemetry-exporter-otlp-proto-http>=1.27.0; python_version>='3.10'"
8290]
8391
8492[tool .autopep8 ]
You can’t perform that action at this time.
0 commit comments