fix: Update minimum Python version to 3.10+ across all GenAI packages#187
Draft
adityamehra wants to merge 1 commit intomainfrom
Draft
fix: Update minimum Python version to 3.10+ across all GenAI packages#187adityamehra wants to merge 1 commit intomainfrom
adityamehra wants to merge 1 commit intomainfrom
Conversation
The codebase extensively uses Python 3.10+ features (PEP 604 union type syntax like 'X | Y' instead of 'Union[X, Y]'), making it incompatible with Python 3.9. Changes: - Updated requires-python from '>=3.9' to '>=3.10' in all util/ packages - Updated requires-python from '>=3.9' to '>=3.10' in all instrumentation-genai/ packages - Removed Python 3.9 from classifiers in all pyproject.toml files - Added Python 3.10+ requirement documentation to AGENTS.md Packages updated: - util/opentelemetry-util-genai - util/opentelemetry-util-genai-evals - util/opentelemetry-util-genai-evals-deepeval - util/opentelemetry-util-genai-emitters-splunk - instrumentation-genai/opentelemetry-instrumentation-aidefense - instrumentation-genai/opentelemetry-instrumentation-crewai - instrumentation-genai/opentelemetry-instrumentation-crewai-examples - instrumentation-genai/opentelemetry-instrumentation-langchain - instrumentation-genai/opentelemetry-instrumentation-llamaindex - instrumentation-genai/opentelemetry-instrumentation-openai-v2 - instrumentation-genai/opentelemetry-instrumentation-openai-agents-v2 - instrumentation-genai/opentelemetry-instrumentation-weaviate Note: opentelemetry-instrumentation-fastmcp already had Python 3.10+ requirement.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The codebase extensively uses Python 3.10+ features (PEP 604 union type syntax like 'X | Y' instead of 'Union[X, Y]'), making it incompatible with Python 3.9.
Changes:
Packages updated:
Note: opentelemetry-instrumentation-fastmcp already had Python 3.10+ requirement.