Skip to content

Conversation

SergeyMenshykh
Copy link
Member

No description provided.

@SergeyMenshykh SergeyMenshykh requested a review from a team as a code owner September 25, 2025 10:17
@SergeyMenshykh SergeyMenshykh self-assigned this Sep 25, 2025
@moonbox3 moonbox3 added the .NET Issue or Pull requests regarding .NET code label Sep 25, 2025
@SergeyMenshykh SergeyMenshykh added this pull request to the merge queue Sep 25, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 25, 2025
@SergeyMenshykh SergeyMenshykh added this pull request to the merge queue Sep 25, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 25, 2025
@stephentoub
Copy link
Member

I was about to do this. Thanks.

@stephentoub stephentoub added this pull request to the merge queue Sep 25, 2025
<PackageVersion Include="OData2Linq" Version="2.2.0" />
<PackageVersion Include="OllamaSharp" Version="5.3.5" />
<PackageVersion Include="OpenAI" Version="[2.4.0]" />
<PackageVersion Include="OpenAI" Version="[2.5.0]" />
Copy link
Member

Choose a reason for hiding this comment

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

Why do we have this pinned to one specific version? If it's allowed to float forward, there's at least a chance that if OpenAI takes a binary breaking change things will still work. If it's pinned, there's zero chance.

Copy link
Member Author

Choose a reason for hiding this comment

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

I tracked it down to this PR - #8978 that explains the reason "Pins OpenAI and Azure OpenAI packages to fixed beta releases so that the NuGet constraint is now == rather than >=, avoiding issues with beta releases and breaking changes."

Copy link
Member

Choose a reason for hiding this comment

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

avoiding issues with beta releases and breaking changes

But it causes issues for consumers. If someone is referencing SK and another library that references a newer version of OpenAI, that consumer simply can't build, period.

Copy link
Member Author

Choose a reason for hiding this comment

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

Changed to "2.5.0".

Copy link
Member Author

@SergeyMenshykh SergeyMenshykh Sep 25, 2025

Choose a reason for hiding this comment

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

I wonder whether we do the same for Azure.AI.OpenAI package that is pinned to [2.3.0-beta.2] at the moment?

Copy link
Member

Choose a reason for hiding this comment

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

Yes

Copy link
Member

Choose a reason for hiding this comment

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

OpenAI takes a binary breaking change things will still work

The biggest concern is not related to OpenAI changes, but rather with Azure.AI.OpenAI breaking due to changes in OpenAI versions.

But it causes issues for consumers. If someone is referencing SK and another library that references a newer version of OpenAI, that consumer simply can't build, period.

IMO allowed to float forward becomes very problematic when we have beta versions from Azure.AI.OpenAI that only works for a specific OpenAI GA version and when any mixing happens due to external combinations we start getting many issues of Method not Found that in reality are unrelated to Semantic Kernel code-base issues.

One important point though is that we stopped getting issues related to the mixing after we locked the versions and I would prefer changing this only if we started to get issues related to Can't build.

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.NET Issue or Pull requests regarding .NET code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants