Skip to content

Commit 3e31c3b

Browse files
authored
Python: Remove planner-related code and samples. (#12417)
### Motivation and Context Per deprecation method, removing planner-related code after June 1, 2025. <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description - Removing planner-related code. - Closes #12400 <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄
1 parent e0221e5 commit 3e31c3b

31 files changed

+1
-1964
lines changed

python/mypy.ini

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ ignore_errors = true
2020
# TODO (eavanvalkenburg): remove this
2121
# https://github.com/microsoft/semantic-kernel/issues/6463
2222

23-
[mypy-semantic_kernel.planners.*]
24-
ignore_errors = true
25-
# TODO (eavanvalkenburg): remove this after future of planner is decided
26-
# https://github.com/microsoft/semantic-kernel/issues/6465
27-
2823
[mypy-semantic_kernel.connectors.memory.astradb.*]
2924
ignore_errors = true
3025

python/samples/learn_resources/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ To run the console application within Visual Studio Code, just hit `F5`.
4343
Otherwise the sample can be run via the command line:
4444

4545
```
46-
python.exe <absolute_path_to_sk_code>/python/samples/documentation_examples/planner.py
46+
python.exe <absolute_path_to_sk_code>/python/samples/learn_resources/plugin.py
4747
```

python/samples/learn_resources/plugins/prompt_flow_helpers/.promptflow/flow.layout.json

Lines changed: 0 additions & 30 deletions
This file was deleted.

python/samples/learn_resources/plugins/prompt_flow_helpers/perform_math/.gitignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

python/samples/learn_resources/plugins/prompt_flow_helpers/perform_math/.promptflow/flow.detail.json

Lines changed: 0 additions & 106 deletions
This file was deleted.

python/samples/learn_resources/plugins/prompt_flow_helpers/perform_math/.promptflow/flow.layout.json

Lines changed: 0 additions & 30 deletions
This file was deleted.

python/samples/learn_resources/plugins/prompt_flow_helpers/perform_math/.promptflow/flow.output.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

python/samples/learn_resources/plugins/prompt_flow_helpers/perform_math/.promptflow/flow.tools.json

Lines changed: 0 additions & 56 deletions
This file was deleted.

python/samples/learn_resources/plugins/prompt_flow_helpers/perform_math/data.jsonl

Lines changed: 0 additions & 10 deletions
This file was deleted.

python/samples/learn_resources/plugins/prompt_flow_helpers/perform_math/flow.dag.yaml

Lines changed: 0 additions & 28 deletions
This file was deleted.

python/samples/learn_resources/plugins/prompt_flow_helpers/perform_math/math_planner.py

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)