Skip to content

Specify versions for agent-framework packages#239

Open
shunishii wants to merge 1 commit intomicrosoft:mainfrom
shunishii:fix/agentframework-dependencies
Open

Specify versions for agent-framework packages#239
shunishii wants to merge 1 commit intomicrosoft:mainfrom
shunishii:fix/agentframework-dependencies

Conversation

@shunishii
Copy link

Because the latest Agent Framework includes breaking changes, this sample no longer works when imported. As a temporary workaround, I changed Agent Framework to a version from before those breaking changes.

Because the latest Agent Framework includes breaking changes, this sample no longer works when imported. As a temporary workaround, I changed Agent Framework to a version from before those breaking changes.
@shunishii shunishii requested a review from a team as a code owner March 10, 2026 14:42
Copilot AI review requested due to automatic review settings March 10, 2026 14:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR makes the Python Agent Framework sample reproducible again by pinning Agent Framework dependencies to a known-working pre-breaking-change version.

Changes:

  • Pin agent-framework-core and agent-framework-azure-ai to 1.0.0b260128 in the sample’s pyproject.toml.

Comment on lines +10 to +11
"agent-framework-core==1.0.0b260128",
"agent-framework-azure-ai==1.0.0b260128",
Copy link

Copilot AI Mar 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pinning Agent Framework packages with strict == to a specific beta build can make the sample brittle (e.g., if that build is yanked). If you know the first breaking version, consider using a bounded range (>=<known_good>,<first_bad>) and/or add an inline note linking to the breaking change so it’s clear when to revisit the pin.

Suggested change
"agent-framework-core==1.0.0b260128",
"agent-framework-azure-ai==1.0.0b260128",
"agent-framework-core>=1.0.0b260128,<1.1.0",
"agent-framework-azure-ai>=1.0.0b260128,<1.1.0",

Copilot uses AI. Check for mistakes.
@shunishii
Copy link
Author

Related to #221

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants