Skip to content

Commit

Permalink
Merge from head to base (#1) (#2)
Browse files Browse the repository at this point in the history
* Python: added license info to project (microsoft#8369)

### Motivation and Context

<!-- 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.
-->
We did not have our license referenced in the pyproject.toml and
therefore not in Pypi, this fixes that (fixes microsoft#8341)
Also added some classifiers.

### Description

<!-- 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
- [x] I didn't break anyone 😄

* Python: ChromaMemoryStore - Get methods will default to not return embeddings in query results (microsoft#7563)

### Motivation and Context


Please help reviewers and future users, providing the following
information:
1. Why is this change required? I was working on a project which
leverages SemanticTextMemory to encapsulate ChromaMemoryStore.
SemanticTextMemory calls self._storage.get(collection_name=collection,
key=key) which causes an issue with undefined with_embedding parameters.
In addition, this change aligns the methods with their Python docstring
stating that this param should have a default value.
2. What problem does it solve? Makes the methods consistent with
documentation and allows ChromaMemoryStore to be used by
SemanticTextMemory.
  3. What scenario does it contribute to? ChromaMemoryStore applications

### 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
- [x] I didn't break anyone 😄

* .Net: Bump Microsoft.CodeAnalysis.NetAnalyzers from 9.0.0-preview.24225.1 to 9.0.0-preview.24324.1 in /dotnet (microsoft#8386)

Bumps
[Microsoft.CodeAnalysis.NetAnalyzers](https://github.com/dotnet/roslyn-analyzers)
from 9.0.0-preview.24225.1 to 9.0.0-preview.24324.1.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/dotnet/roslyn-analyzers/commits">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.CodeAnalysis.NetAnalyzers&package-manager=nuget&previous-version=9.0.0-preview.24225.1&new-version=9.0.0-preview.24324.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>




* .Net: Bump Microsoft.NET.Test.Sdk from 17.10.0 to 17.11.0 in /dotnet (microsoft#8387)

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from
17.10.0 to 17.11.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/microsoft/vstest/releases">Microsoft.NET.Test.Sdk's
releases</a>.</em></p>
<blockquote>
<h2>v17.11.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Add reference to the AdapterUtilities library in the spec docs. by
<a href="https://github.com/peterwald"><code>@​peterwald</code></a> in
<a
href="https://redirect.github.com/microsoft/vstest/pull/4958">microsoft/vstest#4958</a></li>
<li>Stack trace when localized, and new messages by <a
href="https://github.com/nohwnd"><code>@​nohwnd</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/4944">microsoft/vstest#4944</a></li>
<li>Fix single quote and space in F# pretty methods by <a
href="https://github.com/nohwnd"><code>@​nohwnd</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/4969">microsoft/vstest#4969</a></li>
<li>Update .NET runtimes to latest patch version by <a
href="https://github.com/Evangelink"><code>@​Evangelink</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/4975">microsoft/vstest#4975</a></li>
<li>Update dotnetcoretests.md by <a
href="https://github.com/DickBaker"><code>@​DickBaker</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/4977">microsoft/vstest#4977</a></li>
<li>Add list of known TestingPlatform dlls by <a
href="https://github.com/nohwnd"><code>@​nohwnd</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/4983">microsoft/vstest#4983</a></li>
<li>Update framework version used for testing, and test matrix by <a
href="https://github.com/nohwnd"><code>@​nohwnd</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/4970">microsoft/vstest#4970</a></li>
<li>Add output forwarding for .NET by <a
href="https://github.com/nohwnd"><code>@​nohwnd</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/4988">microsoft/vstest#4988</a></li>
<li>Remove usage of pt images before decomissioning by <a
href="https://github.com/nohwnd"><code>@​nohwnd</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/4994">microsoft/vstest#4994</a></li>
<li>chore: Add more details to acquistion section. by <a
href="https://github.com/voroninp"><code>@​voroninp</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/4999">microsoft/vstest#4999</a></li>
<li>Simplify banner by <a
href="https://github.com/nohwnd"><code>@​nohwnd</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/5013">microsoft/vstest#5013</a></li>
<li>Forward standard output of testhost by <a
href="https://github.com/nohwnd"><code>@​nohwnd</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/4998">microsoft/vstest#4998</a></li>
<li>Add missing copyright header by <a
href="https://github.com/MichaelSimons"><code>@​MichaelSimons</code></a>
in <a
href="https://redirect.github.com/microsoft/vstest/pull/5020">microsoft/vstest#5020</a></li>
<li>Add option to not share .NET Framework testhosts by <a
href="https://github.com/nohwnd"><code>@​nohwnd</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/5018">microsoft/vstest#5018</a></li>
<li>GetTypesToLoad Attribute cant be null by <a
href="https://github.com/SimonCropp"><code>@​SimonCropp</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/5054">microsoft/vstest#5054</a></li>
<li>rawArgument in GetArgumentList cant be null by <a
href="https://github.com/SimonCropp"><code>@​SimonCropp</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/5056">microsoft/vstest#5056</a></li>
<li>fix Atribute typo by <a
href="https://github.com/SimonCropp"><code>@​SimonCropp</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/5057">microsoft/vstest#5057</a></li>
<li>remove unnecessary list alloc for 2 scenarios in
TestRequestManager.GetSources by <a
href="https://github.com/SimonCropp"><code>@​SimonCropp</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/5058">microsoft/vstest#5058</a></li>
<li>fix incompatiblity typo by <a
href="https://github.com/SimonCropp"><code>@​SimonCropp</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/5059">microsoft/vstest#5059</a></li>
<li>remove redundant inline method in IsPlatformIncompatible by <a
href="https://github.com/SimonCropp"><code>@​SimonCropp</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/5060">microsoft/vstest#5060</a></li>
<li>fix Sucess typo by <a
href="https://github.com/SimonCropp"><code>@​SimonCropp</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/5061">microsoft/vstest#5061</a></li>
<li>use some null coalescing by <a
href="https://github.com/SimonCropp"><code>@​SimonCropp</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/5062">microsoft/vstest#5062</a></li>
<li>Add cts into friends of TranslationLayer by <a
href="https://github.com/jakubch1"><code>@​jakubch1</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/5075">microsoft/vstest#5075</a></li>
<li>Use built in sha1 for id generation by <a
href="https://github.com/nohwnd"><code>@​nohwnd</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/5081">microsoft/vstest#5081</a></li>
<li>All output in terminal logger by <a
href="https://github.com/nohwnd"><code>@​nohwnd</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/5083">microsoft/vstest#5083</a></li>
<li>Ignore env test by <a
href="https://github.com/nohwnd"><code>@​nohwnd</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/5095">microsoft/vstest#5095</a></li>
<li>Dispose XmlReader in XmlRunSettingsUtilities by <a
href="https://github.com/omajid"><code>@​omajid</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/5094">microsoft/vstest#5094</a></li>
<li>Bump to macos-12 build image by <a
href="https://github.com/akoeplinger"><code>@​akoeplinger</code></a> in
<a
href="https://redirect.github.com/microsoft/vstest/pull/5101">microsoft/vstest#5101</a></li>
<li>Handle ansi escape in terminal logger reporter by <a
href="https://github.com/nohwnd"><code>@​nohwnd</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/5084">microsoft/vstest#5084</a></li>
<li>remove disable interactive auth by <a
href="https://github.com/nohwnd"><code>@​nohwnd</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/5110">microsoft/vstest#5110</a></li>
<li>Error output as info in terminal logger by <a
href="https://github.com/nohwnd"><code>@​nohwnd</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/5113">microsoft/vstest#5113</a></li>
<li>Write dll instead of target on abort, rename errors by <a
href="https://github.com/nohwnd"><code>@​nohwnd</code></a> in <a
href="https://redirect.github.com/microsoft/vstest/pull/5115">microsoft/vstest#5115</a></li>
<li>
<ul>
<li>[rel/17.11] Update dependencies from devdiv/DevDiv/vs-code-coverage
by <a
href="https://github.com/dotnet-maestro"><code>@​dotnet-maestro</code></a>
in <a
href="https://redirect.github.com/microsoft/vstest/pull/5152">microsoft/vstest#5152</a></li>
</ul>
</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/peterwald"><code>@​peterwald</code></a>
made their first contribution in <a
href="https://redirect.github.com/microsoft/vstest/pull/4958">microsoft/vstest#4958</a></li>
<li><a href="https://github.com/DickBaker"><code>@​DickBaker</code></a>
made their first contribution in <a
href="https://redirect.github.com/microsoft/vstest/pull/4977">microsoft/vstest#4977</a></li>
<li><a href="https://github.com/voroninp"><code>@​voroninp</code></a>
made their first contribution in <a
href="https://redirect.github.com/microsoft/vstest/pull/4999">microsoft/vstest#4999</a></li>
<li><a
href="https://github.com/akoeplinger"><code>@​akoeplinger</code></a>
made their first contribution in <a
href="https://redirect.github.com/microsoft/vstest/pull/5101">microsoft/vstest#5101</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/microsoft/vstest/compare/v17.10.0...v17.11.0-release-24352-06">https://github.com/microsoft/vstest/compare/v17.10.0...v17.11.0-release-24352-06</a></p>
<h2>v17.11.0-release-24373-02</h2>
<h2>What's Changed</h2>
<ul>
<li>[rel/17.11] Update dependencies from devdiv/DevDiv/vs-code-coverage
by <a
href="https://github.com/dotnet-maestro"><code>@​dotnet-maestro</code></a>
in <a
href="https://redirect.github.com/microsoft/vstest/pull/5152">microsoft/vstest#5152</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/vstest/commit/c6ad3e3fa4120fb32c8a48bab4fa478adfdb2740"><code>c6ad3e3</code></a>
Update dependencies from <a
href="https://dev.azure.com/devdiv/DevDiv/_git/vs-code-cov">https://dev.azure.com/devdiv/DevDiv/_git/vs-code-cov</a>...</li>
<li><a
href="https://github.com/microsoft/vstest/commit/910ca0dcc779068418464794f5af570eda195222"><code>910ca0d</code></a>
Fix output based test (<a
href="https://redirect.github.com/microsoft/vstest/issues/5131">#5131</a>)</li>
<li><a
href="https://github.com/microsoft/vstest/commit/0518ceaee8e9b3689ebf0de5f250eb2a2e9de1c1"><code>0518cea</code></a>
Rebrand to 17.11-release (<a
href="https://redirect.github.com/microsoft/vstest/issues/5128">#5128</a>)</li>
<li><a
href="https://github.com/microsoft/vstest/commit/5b69fd31169dd07ced917329bbb483f3b73ea98f"><code>5b69fd3</code></a>
Write dll instead of target on abort, rename errors (<a
href="https://redirect.github.com/microsoft/vstest/issues/5115">#5115</a>)</li>
<li><a
href="https://github.com/microsoft/vstest/commit/7264afa0720d846bc4d64efaf5ebe9587e071ca7"><code>7264afa</code></a>
Error output as info in terminal logger (<a
href="https://redirect.github.com/microsoft/vstest/issues/5113">#5113</a>)</li>
<li><a
href="https://github.com/microsoft/vstest/commit/3d2ea06c998a002f640b01f5d84fdefb14167502"><code>3d2ea06</code></a>
remove disable interactive auth (<a
href="https://redirect.github.com/microsoft/vstest/issues/5110">#5110</a>)</li>
<li><a
href="https://github.com/microsoft/vstest/commit/e4da2c15416e898d665f2b41bd3939b49e20859a"><code>e4da2c1</code></a>
Add option to ignore tests (<a
href="https://redirect.github.com/microsoft/vstest/issues/5109">#5109</a>)</li>
<li><a
href="https://github.com/microsoft/vstest/commit/6b3b95952d3e8c31259536fe2d7d2c0530a90347"><code>6b3b959</code></a>
Ignore dump failing test while I investigate (<a
href="https://redirect.github.com/microsoft/vstest/issues/5107">#5107</a>)</li>
<li><a
href="https://github.com/microsoft/vstest/commit/24b992fda379b2443b8b986d1c146df4d7d7e14d"><code>24b992f</code></a>
Ignore dispose error (<a
href="https://redirect.github.com/microsoft/vstest/issues/5105">#5105</a>)</li>
<li><a
href="https://github.com/microsoft/vstest/commit/bfdaf0bfd7727b509c6f509c4736ee9d685c794b"><code>bfdaf0b</code></a>
Object disposed flaky (<a
href="https://redirect.github.com/microsoft/vstest/issues/5104">#5104</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/microsoft/vstest/compare/v17.10.0...v17.11.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.NET.Test.Sdk&package-manager=nuget&previous-version=17.10.0&new-version=17.11.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>




* .Net: Bump Microsoft.Extensions.Http.Resilience from 8.7.0 to 8.8.0 in /dotnet (microsoft#8379)

Bumps
[Microsoft.Extensions.Http.Resilience](https://github.com/dotnet/extensions)
from 8.7.0 to 8.8.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dotnet/extensions/releases">Microsoft.Extensions.Http.Resilience's
releases</a>.</em></p>
<blockquote>
<h2>.NET Extensions 8.8</h2>
<p>8.8.0 packages are now all published in NuGet.org.</p>
<h2>What's Changed</h2>
<ul>
<li>Branding updates for preview 8 by <a
href="https://github.com/RussKie"><code>@​RussKie</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5260">dotnet/extensions#5260</a></li>
<li>[main] Update dependencies from dotnet/arcade by <a
href="https://github.com/dotnet-maestro"><code>@​dotnet-maestro</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5272">dotnet/extensions#5272</a></li>
<li>Fix license link by <a
href="https://github.com/eduherminio"><code>@​eduherminio</code></a> in
<a
href="https://redirect.github.com/dotnet/extensions/pull/5273">dotnet/extensions#5273</a></li>
<li>[ci] Enable source-indexer on internal pipeline for windows by <a
href="https://github.com/radical"><code>@​radical</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5274">dotnet/extensions#5274</a></li>
<li>Merge changes from internal branch by <a
href="https://github.com/RussKie"><code>@​RussKie</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5278">dotnet/extensions#5278</a></li>
<li>[main] Update dependencies from dotnet/arcade by <a
href="https://github.com/dotnet-maestro"><code>@​dotnet-maestro</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5281">dotnet/extensions#5281</a></li>
<li>[main] Update dependencies from dotnet/arcade by <a
href="https://github.com/dotnet-maestro"><code>@​dotnet-maestro</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5284">dotnet/extensions#5284</a></li>
<li>Add tsaconfig by <a
href="https://github.com/danmoseley"><code>@​danmoseley</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5285">dotnet/extensions#5285</a></li>
<li>Support metrics in ResourceMonitoring for Windows by <a
href="https://github.com/evgenyfedorov2"><code>@​evgenyfedorov2</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5290">dotnet/extensions#5290</a></li>
<li>[main] Update dependencies from dotnet/arcade by <a
href="https://github.com/dotnet-maestro"><code>@​dotnet-maestro</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5299">dotnet/extensions#5299</a></li>
<li>Report container memory usage for Resource Monitoring Windows
Container by <a
href="https://github.com/evgenyfedorov2"><code>@​evgenyfedorov2</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5301">dotnet/extensions#5301</a></li>
<li>add tsa upload by <a
href="https://github.com/danmoseley"><code>@​danmoseley</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5297">dotnet/extensions#5297</a></li>
<li>1es-pt-auto-baselining-pr by <a
href="https://github.com/RussKie"><code>@​RussKie</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5302">dotnet/extensions#5302</a></li>
<li>Fix resource detection for unset CPU and memory limits in cgroup v2
by <a href="https://github.com/mobratil"><code>@​mobratil</code></a> in
<a
href="https://redirect.github.com/dotnet/extensions/pull/5267">dotnet/extensions#5267</a></li>
<li>Enable back potentially flaky test by <a
href="https://github.com/evgenyfedorov2"><code>@​evgenyfedorov2</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5308">dotnet/extensions#5308</a></li>
<li>Disable S3236 in fake time provider. by <a
href="https://github.com/mitchdenny"><code>@​mitchdenny</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5315">dotnet/extensions#5315</a></li>
<li>Bump code coverage by <a
href="https://github.com/evgenyfedorov2"><code>@​evgenyfedorov2</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5311">dotnet/extensions#5311</a></li>
<li>[main] Update dependencies from dotnet/arcade by <a
href="https://github.com/dotnet-maestro"><code>@​dotnet-maestro</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5318">dotnet/extensions#5318</a></li>
<li>Document how to resolve &quot;workload manifest
microsoft.net.sdk.aspire not installed&quot; issue by <a
href="https://github.com/RussKie"><code>@​RussKie</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5325">dotnet/extensions#5325</a></li>
<li>Fix NullReferenceException in Timer disposal by <a
href="https://github.com/martincostello"><code>@​martincostello</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5321">dotnet/extensions#5321</a></li>
<li>delete note that indicates that cgroups v2 are not supported by <a
href="https://github.com/danespinosa"><code>@​danespinosa</code></a> in
<a
href="https://redirect.github.com/dotnet/extensions/pull/5334">dotnet/extensions#5334</a></li>
<li>Fix CPU share calculation by <a
href="https://github.com/evgenyfedorov2"><code>@​evgenyfedorov2</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5324">dotnet/extensions#5324</a></li>
<li>Remove WIP label when issue is closed by <a
href="https://github.com/RussKie"><code>@​RussKie</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5330">dotnet/extensions#5330</a></li>
<li>[Http.Resilience] Add support of the HTTP resilience for synchronous
HttpClient requests by <a
href="https://github.com/iliar-turdushev"><code>@​iliar-turdushev</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5333">dotnet/extensions#5333</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/eduherminio"><code>@​eduherminio</code></a>
made their first contribution in <a
href="https://redirect.github.com/dotnet/extensions/pull/5273">dotnet/extensions#5273</a></li>
<li><a href="https://github.com/radical"><code>@​radical</code></a> made
their first contribution in <a
href="https://redirect.github.com/dotnet/extensions/pull/5274">dotnet/extensions#5274</a></li>
<li><a
href="https://github.com/danespinosa"><code>@​danespinosa</code></a>
made their first contribution in <a
href="https://redirect.github.com/dotnet/extensions/pull/5334">dotnet/extensions#5334</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/dotnet/extensions/compare/v8.7.0...v8.8.0">https://github.com/dotnet/extensions/compare/v8.7.0...v8.8.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/dotnet/extensions/commit/fa86c9afd03678d73f98662774359063a6e74905"><code>fa86c9a</code></a>
Merged PR 41659: Add metrics with correct names for Resource Monitoring
(<a
href="https://redirect.github.com/dotnet/extensions/issues/5341">#5341</a>)</li>
<li><a
href="https://github.com/dotnet/extensions/commit/62abfe31f504d8077890e66e63085ad81a447616"><code>62abfe3</code></a>
Merged PR 41650: Getting ready for the 8.8 release</li>
<li><a
href="https://github.com/dotnet/extensions/commit/0cd4e2e66a3b453c15943c3f9c242545775f706c"><code>0cd4e2e</code></a>
[Http.Resilience] Add support of the HTTP resilience for synchronous
HttpClie...</li>
<li><a
href="https://github.com/dotnet/extensions/commit/b8416022a0cc780143ab561c41bc8aabbc00eabc"><code>b841602</code></a>
Remove WIP label when issue is closed (<a
href="https://redirect.github.com/dotnet/extensions/issues/5330">#5330</a>)</li>
<li><a
href="https://github.com/dotnet/extensions/commit/ff546f3926cffc5cb08a471506a4ef41e702dfe3"><code>ff546f3</code></a>
Fix CPU share calculation (<a
href="https://redirect.github.com/dotnet/extensions/issues/5324">#5324</a>)</li>
<li><a
href="https://github.com/dotnet/extensions/commit/85ab6822e3855e36f11aee117cc620e2a9ef017e"><code>85ab682</code></a>
Merge branch 'main' into
users/evgenyfedorov2/fix_cpushare_to_weight_conversion</li>
<li><a
href="https://github.com/dotnet/extensions/commit/601ec1e7db8a8576472b999025174284f826b104"><code>601ec1e</code></a>
delete note that indicates that cgroups v2 are not supported (<a
href="https://redirect.github.com/dotnet/extensions/issues/5334">#5334</a>)</li>
<li><a
href="https://github.com/dotnet/extensions/commit/8f326676264eb07397f9bf312b01f74e4bc878a8"><code>8f32667</code></a>
Rework exception messages tests</li>
<li><a
href="https://github.com/dotnet/extensions/commit/ce590046590524c69f161e657dd0d7b7f619bd81"><code>ce59004</code></a>
Update readme</li>
<li><a
href="https://github.com/dotnet/extensions/commit/68a79b51556ca901f56b11186fa70d04168b77cb"><code>68a79b5</code></a>
Fix NullReferenceException in Timer disposal (<a
href="https://redirect.github.com/dotnet/extensions/issues/5321">#5321</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/dotnet/extensions/compare/v8.7.0...v8.8.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.Extensions.Http.Resilience&package-manager=nuget&previous-version=8.7.0&new-version=8.8.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>




* .Net: Bump Microsoft.Identity.Client from 4.62.0 to 4.64.0 in /dotnet (microsoft#8378)

Bumps
[Microsoft.Identity.Client](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet)
from 4.62.0 to 4.64.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/releases">Microsoft.Identity.Client's
releases</a>.</em></p>
<blockquote>
<h1>4.64.0</h1>
<h3>New Features</h3>
<ul>
<li>Added managed identity support for Azure ARC on Linux. See [Issue <a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4358">#4358</a>](<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4358">AzureAD/microsoft-authentication-library-for-dotnet#4358</a>)</li>
<li>Added Username and password support for confidential clients. See
[Issue <a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/3774">#3774</a>](<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/3774">AzureAD/microsoft-authentication-library-for-dotnet#3774</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Resolved SHA2 issues that break custom claims during authentication
flows. See [Issue <a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4868">#4868</a>](<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4868">AzureAD/microsoft-authentication-library-for-dotnet#4868</a>)</li>
</ul>
<h2>4.63.0</h2>
<h3>New Features</h3>
<ul>
<li>Implemented Claims API to Bypass Cache When Claims are Present in
MSAL with Managed Identity. This is still an experimental API and may
change in the future. See [Issue <a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4845">#4845</a>](<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4845">AzureAD/microsoft-authentication-library-for-dotnet#4845</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Fixed an issue where SHR POP tokens were broken due to an invalid
algorithm. The algorithm has been corrected to PS256 from RS256. See
[Issue <a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4839">#4839</a>](<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4839">AzureAD/microsoft-authentication-library-for-dotnet#4839</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/blob/main/CHANGELOG.md">Microsoft.Identity.Client's
changelog</a>.</em></p>
<blockquote>
<h1>4.63.0</h1>
<h3>New Features</h3>
<ul>
<li>Implemented Claims API to Bypass Cache When Claims are Present in
MSAL with Managed Identity. This is still an experimental API and may
change in the future. See [Issue <a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4845">#4845</a>](<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4845">AzureAD/microsoft-authentication-library-for-dotnet#4845</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Fixed an issue where SHR POP tokens were broken due to an invalid
algorithm. The algorithm has been corrected to PS256 from RS256. See
[Issue <a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4839">#4839</a>](<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4839">AzureAD/microsoft-authentication-library-for-dotnet#4839</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/8fe46a8d1862b2b37907adb7f38c9e332a0a29d6"><code>8fe46a8</code></a>
Changing the handling of client claims to use JSON (<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4886">#4886</a>)</li>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/867f5cf0fff7840ff13fc7e9131002440e87cfc7"><code>867f5cf</code></a>
Disabling arlinton test case for &quot;WithSecret_TestAsync&quot; (<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4906">#4906</a>)</li>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/4ad6276c5b16fd20623192ed90709c31b31f1891"><code>4ad6276</code></a>
Update interop package to 0.16.2 (<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4903">#4903</a>)</li>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/c7eb3457b8bc379d5c3f09d493bd6231dc1aafca"><code>c7eb345</code></a>
Changed consent handler to find element by name instead of ID (<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4897">#4897</a>)</li>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/5ff5d219416deab07f79ba5a6393002557b101ee"><code>5ff5d21</code></a>
Remove the links to Azure SDK for managed identity since these will be
update...</li>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/6956f26f5e1e7e85e946def7ddca3dc69496f79d"><code>6956f26</code></a>
Update the logic to add file based detection for azure arc for linux env
(<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4856">#4856</a>)</li>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/adf5dab22f6a60ba78ac116927ac17df1dc1b6dc"><code>adf5dab</code></a>
Enabling ROPC on CCA (<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4799">#4799</a>)</li>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/89dba0acf08d369c248902a8e6250b5ec6c17fab"><code>89dba0a</code></a>
Update CHANGELOG for MSAL 4.63.0 Release (<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4885">#4885</a>)</li>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/fd0ffad07756760e775f82c324a84dfb4b756a8b"><code>fd0ffad</code></a>
Update KerberosConsole.csproj to use latest Kerberos.NET package (<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4883">#4883</a>)</li>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/978bc89a8d53cf8ab6cbba161b7cd059c443393b"><code>978bc89</code></a>
Update with NuGet README (<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4865">#4865</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/compare/4.62.0...4.64.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.Identity.Client&package-manager=nuget&previous-version=4.62.0&new-version=4.64.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>




* Python: bump version to 1.8.1 (microsoft#8391)

### Motivation and Context

<!-- 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.
-->
Bumped the version to 1.8.1, slight updates in pyproject and make to
build automatically.

### Description

<!-- 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
- [x] I didn't break anyone 😄

* Python: Update model diagnostics (microsoft#8346)

### Motivation and Context

<!-- 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.
-->
We have a module that performs tracing for model invocations. However,
that module only works with OpenAI. We need it to work for all AI
connectors. This PR does the refactoring necessary for the module to
become more generic.

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
1. Rename the tracing module to `model_diagnostics`.
2. Restructure and optimize code.
3. Add tracing to all AI connectors except the HuggingFace connector,
because the HuggingFace connector will need some refactoring in the near
future.

### 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
- [x] I didn't break anyone 😄

* Python: add license to pyproject (microsoft#8404)

### Motivation and Context

<!-- 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.
-->
Next to the reference to the python file, also added a license
classifier

### Description

<!-- 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
- [x] I didn't break anyone 😄

* different release upload step (microsoft#8406)

different asset upload step

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Eduard van Valkenburg <eavanvalkenburg@users.noreply.github.com>
Co-authored-by: Andrew Desousa <33275002+andrewldesousa@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tao Chen <taochen@microsoft.com>
  • Loading branch information
5 people authored Aug 28, 2024
1 parent f6ae585 commit 58a1389
Show file tree
Hide file tree
Showing 52 changed files with 1,012 additions and 658 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Python Build Assets

on:
release:
types: [published]

jobs:
python-build-assets:
if: github.event_name == 'release' && startsWith(github.event.release.tag_name, 'python-')
name: Python Build Assets and add to Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Set up uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Check version
run: |
echo "Building and uploading Python package version: ${{ github.event.release.tag_name }}"
- name: Build the package
run: cd python && make build
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
python/dist/*
8 changes: 4 additions & 4 deletions dotnet/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.3.0" />
<PackageVersion Include="Microsoft.Bcl.TimeProvider" Version="8.0.1" />
<PackageVersion Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
<PackageVersion Include="Microsoft.Identity.Client" Version="4.62.0" />
<PackageVersion Include="Microsoft.Identity.Client" Version="4.64.0" />
<PackageVersion Include="Microsoft.ML.OnnxRuntime" Version="1.18.1" />
<PackageVersion Include="FastBertTokenizer" Version="1.0.28" />
<PackageVersion Include="Pinecone.NET" Version="2.1.1" />
Expand All @@ -52,14 +52,14 @@
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.1" />
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.Http" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.Http.Resilience" Version="8.7.0" />
<PackageVersion Include="Microsoft.Extensions.Http.Resilience" Version="8.8.0" />
<PackageVersion Include="Microsoft.Extensions.Logging" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
<PackageVersion Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.Options.DataAnnotations" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.TimeProvider.Testing" Version="8.7.0" />
<!-- Test -->
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.0" />
<PackageVersion Include="Moq" Version="[4.18.4]" />
<PackageVersion Include="System.Threading.Channels" Version="8.0.0" />
<PackageVersion Include="System.Threading.Tasks.Dataflow" Version="8.0.0" />
Expand Down Expand Up @@ -98,7 +98,7 @@
<!-- Symbols -->
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
<!-- Toolset -->
<PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0-preview.24225.1" />
<PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0-preview.24324.1" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
4 changes: 3 additions & 1 deletion python/.cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
"huggingface",
"pytestmark",
"contoso",
"opentelemetry"
"opentelemetry",
"SEMANTICKERNEL",
"OTEL"
]
}
1 change: 1 addition & 0 deletions python/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ repos:
hooks:
# Update the uv lockfile
- id: uv-lock
files: ^\./python/(uv\.lock|pyproject\.toml)$
- repo: local
hooks:
- id: mypy
Expand Down
21 changes: 21 additions & 0 deletions python/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) Microsoft Corporation.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
8 changes: 6 additions & 2 deletions python/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SHELL = /bin/bash

.PHONY: help install clean
.PHONY: help install clean build
.SILENT:
all: install

Expand All @@ -22,6 +22,7 @@ help:
echo " install-sk - install Semantic Kernel and all dependencies"
echo " install-pre-commit - install pre-commit hooks"
echo " clean - remove the virtualenvs"
echo " build - build the project"
echo ""
echo -e "\033[1mVARIABLES:\033[0m"
echo " PYTHON_VERSION - Python version to use. Default is 3.10"
Expand Down Expand Up @@ -67,4 +68,7 @@ install-sk:
.ONESHELL:
clean:
# Remove the virtualenv
rm -rf .venv
rm -rf .venv

build:
uvx --from build pyproject-build --installer uv
22 changes: 18 additions & 4 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,25 @@ name = "semantic-kernel"
description = "Semantic Kernel Python SDK"
authors = [{ name = "Microsoft", email = "SK-Support@microsoft.com"}]
readme = "pip/README.md"
packages = [{include = "semantic_kernel"}]
# Version read from __version__ field in __init__.py by Flit
dynamic = ["version"]
requires-python = ">=3.10,<3.13"
license = {file = "LICENSE"}
urls.homepage = "https://learn.microsoft.com/en-us/semantic-kernel/overview/"
urls.source = "https://github.com/microsoft/semantic-kernel/tree/main/python"
urls.release_notes = "https://github.com/microsoft/semantic-kernel/releases?q=tag%3Apython-1&expanded=true"
urls.issues = "https://github.com/microsoft/semantic-kernel/issues"
# Version read from __version__ field in __init__.py by Flit
dynamic = ["version"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: Pydantic :: 2",
"Typing :: Typed",
]
dependencies = [
"aiohttp ~= 3.8",
"pydantic ~= 2.0",
Expand Down Expand Up @@ -180,7 +191,10 @@ min-file-size = 1
targets = ["semantic_kernel"]
exclude_dirs = ["tests"]

[tool.flit.module]
name = "semantic_kernel"

[build-system]
requires = ["flit-core >= 3.8"]
requires = ["flit-core >= 3.9,<4.0"]
build-backend = "flit_core.buildapi"

Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
TELEMETRY_SAMPLE_CONNECTION_STRING="..."
TELEMETRY_SAMPLE_CONNECTION_STRING="..."
SEMANTICKERNEL_EXPERIMENTAL_GENAI_ENABLE_OTEL_DIAGNOSTICS=true
SEMANTICKERNEL_EXPERIMENTAL_GENAI_ENABLE_OTEL_DIAGNOSTICS_SENSITIVE=true
9 changes: 6 additions & 3 deletions python/samples/getting_started/00-getting-started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@
"metadata": {},
"outputs": [],
"source": [
"# Note: if using a Poetry virtual environment, do not run this cell\n",
"%pip install semantic-kernel==1.8.0"
"# Note: if using a virtual environment, do not run this cell\n",
"%pip install -U semantic-kernel\n",
"from semantic_kernel import __version__\n",
"\n",
"__version__"
]
},
{
Expand Down Expand Up @@ -229,4 +232,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@
"metadata": {},
"outputs": [],
"source": [
"# Note: if using a Poetry virtual environment, do not run this cell\n",
"%pip install semantic-kernel==1.8.0"
"# Note: if using a virtual environment, do not run this cell\n",
"%pip install -U semantic-kernel\n",
"from semantic_kernel import __version__\n",
"\n",
"__version__"
]
},
{
Expand Down Expand Up @@ -196,7 +199,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.3"
"version": "3.10.12"
},
"polyglot_notebook": {
"kernelInfo": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@
"metadata": {},
"outputs": [],
"source": [
"# Note: if using a Poetry virtual environment, do not run this cell\n",
"%pip install semantic-kernel==1.8.0"
"# Note: if using a virtual environment, do not run this cell\n",
"%pip install -U semantic-kernel\n",
"from semantic_kernel import __version__\n",
"\n",
"__version__"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@
"metadata": {},
"outputs": [],
"source": [
"# Note: if using a Poetry virtual environment, do not run this cell\n",
"%pip install semantic-kernel==1.8.0"
"# Note: if using a virtual environment, do not run this cell\n",
"%pip install -U semantic-kernel\n",
"from semantic_kernel import __version__\n",
"\n",
"__version__"
]
},
{
Expand Down
7 changes: 5 additions & 2 deletions python/samples/getting_started/04-kernel-arguments-chat.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@
"metadata": {},
"outputs": [],
"source": [
"# Note: if using a Poetry virtual environment, do not run this cell\n",
"%pip install semantic-kernel==1.8.0"
"# Note: if using a virtual environment, do not run this cell\n",
"%pip install -U semantic-kernel\n",
"from semantic_kernel import __version__\n",
"\n",
"__version__"
]
},
{
Expand Down
9 changes: 6 additions & 3 deletions python/samples/getting_started/05-using-the-planner.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@
"metadata": {},
"outputs": [],
"source": [
"# Note: if using a Poetry virtual environment, do not run this cell\n",
"%pip install semantic-kernel==1.8.0"
"# Note: if using a virtual environment, do not run this cell\n",
"%pip install -U semantic-kernel\n",
"from semantic_kernel import __version__\n",
"\n",
"__version__"
]
},
{
Expand Down Expand Up @@ -583,4 +586,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
11 changes: 6 additions & 5 deletions python/samples/getting_started/06-memory-and-embeddings.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@
"metadata": {},
"outputs": [],
"source": [
"# Note: if using a Poetry virtual environment, do not run this cell\n",
"%pip install semantic-kernel==1.8.0\n",
"%pip install azure-core==1.30.1\n",
"%pip install azure-search-documents==11.8.0b4"
"# Note: if using a virtual environment, do not run this cell\n",
"%pip install -U semantic-kernel[azure]\n",
"from semantic_kernel import __version__\n",
"\n",
"__version__"
]
},
{
Expand Down Expand Up @@ -611,7 +612,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.3"
"version": "3.10.12"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@
"metadata": {},
"outputs": [],
"source": [
"# Note: if using a Poetry virtual environment, do not run this cell\n",
"%pip install semantic-kernel[hugging_face]==1.8.0"
"# Note: if using a virtual environment, do not run this cell\n",
"%pip install -U semantic-kernel\n",
"from semantic_kernel import __version__\n",
"\n",
"__version__"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,11 @@
"metadata": {},
"outputs": [],
"source": [
"# Note: if using a Poetry virtual environment, do not run this cell\n",
"%pip install semantic-kernel==1.8.0"
"# Note: if using a virtual environment, do not run this cell\n",
"%pip install -U semantic-kernel\n",
"from semantic_kernel import __version__\n",
"\n",
"__version__"
]
},
{
Expand Down
7 changes: 5 additions & 2 deletions python/samples/getting_started/09-groundedness-checking.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@
"metadata": {},
"outputs": [],
"source": [
"# Note: if using a Poetry virtual environment, do not run this cell\n",
"%pip install semantic-kernel==1.8.0"
"# Note: if using a virtual environment, do not run this cell\n",
"%pip install -U semantic-kernel\n",
"from semantic_kernel import __version__\n",
"\n",
"__version__"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@
"metadata": {},
"outputs": [],
"source": [
"# Note: if using a Poetry virtual environment, do not run this cell\n",
"%pip install semantic-kernel==1.8.0"
"# Note: if using a virtual environment, do not run this cell\n",
"%pip install -U semantic-kernel\n",
"from semantic_kernel import __version__\n",
"\n",
"__version__"
]
},
{
Expand Down Expand Up @@ -501,7 +504,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.3"
"version": "3.10.12"
}
},
"nbformat": 4,
Expand Down
7 changes: 5 additions & 2 deletions python/samples/getting_started/11-streaming-completions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@
"metadata": {},
"outputs": [],
"source": [
"# Note: if using a Poetry virtual environment, do not run this cell\n",
"%pip install semantic-kernel==1.8.0"
"# Note: if using a virtual environment, do not run this cell\n",
"%pip install -U semantic-kernel\n",
"from semantic_kernel import __version__\n",
"\n",
"__version__"
]
},
{
Expand Down
Loading

0 comments on commit 58a1389

Please sign in to comment.