Skip to content

Commit 9e4eddb

Browse files
committed
feat(docs): update Python runtime to 3.12 across documentation and samples
1 parent df077bf commit 9e4eddb

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/discovery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ PatternXConfigurationHandler:
723723
Type: AWS::Lambda::Function
724724
Properties:
725725
Handler: index.pattern_x_configuration_handler
726-
Runtime: python3.9
726+
Runtime: python3.12
727727
Environment:
728728
Variables:
729729
PATTERN_NAME: "pattern-x"

lib/idp_common_pkg/idp_common/extraction/service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
build_few_shot_extraction_examples_content,
3030
)
3131

32-
# Conditional import for agentic extraction (requires Python 3.10+ dependencies)
32+
# Conditional import for agentic extraction (requires Python 3.12+ dependencies)
3333
try:
3434
from idp_common.extraction.agentic_idp import structured_output
3535
from idp_common.schema import create_pydantic_model_from_json_schema
@@ -924,7 +924,7 @@ def _invoke_extraction_model(
924924
if self.config.extraction.agentic.enabled:
925925
if not AGENTIC_AVAILABLE:
926926
raise ImportError(
927-
"Agentic extraction requires Python 3.10+ and strands-agents dependencies. "
927+
"Agentic extraction requires Python 3.12+ and strands-agents dependencies. "
928928
"Install with: pip install 'idp_common[agents]' or use agentic=False"
929929
)
930930

samples/external-mcp-client/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The document processor example shows how to:
1212

1313
## Prerequisites
1414

15-
1. Python 3.8+
15+
1. Python 3.12+
1616
2. Required packages:
1717
```bash
1818
pip install -r requirements.txt

scripts/sdlc/README_validate_buildspec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A Python script to validate AWS CodeBuild `buildspec.yml` files for syntax error
1212

1313
## Installation
1414

15-
The validator requires Python 3.6+ and PyYAML:
15+
The validator requires Python 3.12+ and PyYAML:
1616

1717
```bash
1818
pip install pyyaml

0 commit comments

Comments
 (0)