mirror of
https://github.com/microsoft/semantic-kernel.git
synced 2026-10-12 02:19:06 +00:00
3f894eada10862e5b47d45ca82ffb6dda0dfeae5
267
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
8d6cc3e951 |
Python: Bump werkzeug from 2.3.7 to 3.0.1 in /python (#3301)
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.3.7 to 3.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pallets/werkzeug/releases">werkzeug's releases</a>.</em></p> <blockquote> <h2>3.0.1</h2> <p>This is a security release for the 3.0.x feature branch.</p> <ul> <li>Changes: <a href="https://werkzeug.palletsprojects.com/en/3.0.x/changes/#version-3-0-1">https://werkzeug.palletsprojects.com/en/3.0.x/changes/#version-3-0-1</a></li> </ul> <h2>3.0.0</h2> <p>This is a feature release, which includes new features, removes previously deprecated code, and adds new deprecations. The 3.0.x branch is now the supported fix branch, the 2.3.x branch will become a tag marking the end of support for that branch. We encourage everyone to upgrade, and to use a tool such as <a href="https://pypi.org/project/pip-tools/">pip-tools</a> to pin all dependencies and control upgrades. Test with warnings treated as errors to be able to adapt to deprecation warnings early.</p> <ul> <li>Changes: <a href="https://werkzeug.palletsprojects.com/en/3.0.x/changes/#version-3-0-0">https://werkzeug.palletsprojects.com/en/3.0.x/changes/#version-3-0-0</a></li> <li>Milestone: <a href="https://github.com/pallets/werkzeug/milestone/21?closed=1">https://github.com/pallets/werkzeug/milestone/21?closed=1</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pallets/werkzeug/blob/main/CHANGES.rst">werkzeug's changelog</a>.</em></p> <blockquote> <h2>Version 3.0.1</h2> <p>Released 2023-10-24</p> <ul> <li>Fix slow multipart parsing for large parts potentially enabling DoS attacks. :cwe:<code>CWE-407</code></li> </ul> <h2>Version 3.0.0</h2> <p>Released 2023-09-30</p> <ul> <li>Remove previously deprecated code. :pr:<code>2768</code></li> <li>Deprecate the <code>__version__</code> attribute. Use feature detection, or <code>importlib.metadata.version("werkzeug")</code>, instead. :issue:<code>2770</code></li> <li><code>generate_password_hash</code> uses scrypt by default. :issue:<code>2769</code></li> <li>Add the <code>"werkzeug.profiler"</code> item to the WSGI <code>environ</code> dictionary passed to <code>ProfilerMiddleware</code>'s <code>filename_format</code> function. It contains the <code>elapsed</code> and <code>time</code> values for the profiled request. :issue:<code>2775</code></li> <li>Explicitly marked the PathConverter as non path isolating. :pr:<code>2784</code></li> </ul> <h2>Version 2.3.8</h2> <p>Unreleased</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pallets/werkzeug/commit/ce4eff5902d4a6b41a20ecc6e4029741284a87fd"><code>ce4eff5</code></a> Release version 3.0.1</li> <li><a href="https://github.com/pallets/werkzeug/commit/b1916c0c083e0be1c9d887ee2f3d696922bfc5c1"><code>b1916c0</code></a> Fix: slow multipart parsing for huge files with few CR/LF characters</li> <li><a href="https://github.com/pallets/werkzeug/commit/726eaa28593d859548da3477859c914732f012ef"><code>726eaa2</code></a> Release version 3.0.0</li> <li><a href="https://github.com/pallets/werkzeug/commit/64275425888b6ca4f5ebdfa1a9df814317718290"><code>6427542</code></a> Default the PathConverter (and descendants) to be non part isolating</li> <li><a href="https://github.com/pallets/werkzeug/commit/4820d8c487e5db9f43645c31c4123fce5ac5ad32"><code>4820d8c</code></a> Provide elapsed and timestamp info to filename_format</li> <li><a href="https://github.com/pallets/werkzeug/commit/599993d7382eeb96add9f38b4431a2f50cd2c9f2"><code>599993d</code></a> Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10 (<a href="https://redirect.github.com/pallets/werkzeug/issues/2780">#2780</a>)</li> <li><a href="https://github.com/pallets/werkzeug/commit/a2394ed51ed8697b5523243acb10cb589c0f7834"><code>a2394ed</code></a> Bump slsa-framework/slsa-github-generator from 1.7.0 to 1.9.0 (<a href="https://redirect.github.com/pallets/werkzeug/issues/2779">#2779</a>)</li> <li><a href="https://github.com/pallets/werkzeug/commit/1efd6f3c2c31ec9479d8b8d9219bdb042e55bd15"><code>1efd6f3</code></a> Bump actions/checkout from 3.5.3 to 3.6.0 (<a href="https://redirect.github.com/pallets/werkzeug/issues/2778">#2778</a>)</li> <li><a href="https://github.com/pallets/werkzeug/commit/76a5419d2ee8b7785c0304d58a94d6c0387c976c"><code>76a5419</code></a> Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10</li> <li><a href="https://github.com/pallets/werkzeug/commit/ce8cfe7dbb73b56c982a9c74162084cdb284c2f5"><code>ce8cfe7</code></a> Bump slsa-framework/slsa-github-generator from 1.7.0 to 1.9.0</li> <li>Additional commits viewable in <a href="https://github.com/pallets/werkzeug/compare/2.3.7...3.0.1">compare view</a></li> </ul> </details> <br /> [](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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/microsoft/semantic-kernel/network/alerts). </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
074d5c34ef |
Python: Bump black from 23.7.0 to 23.10.1 in /python (#3275)
Bumps [black](https://github.com/psf/black) from 23.7.0 to 23.10.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p> <blockquote> <h2>23.10.1</h2> <h3>Highlights</h3> <ul> <li>Maintanence release to get a fix out for GitHub Action edge case (<a href="https://redirect.github.com/psf/black/issues/3957">#3957</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Fix merging implicit multiline strings that have inline comments (<a href="https://redirect.github.com/psf/black/issues/3956">#3956</a>)</li> <li>Allow empty first line after block open before a comment or compound statement (<a href="https://redirect.github.com/psf/black/issues/3967">#3967</a>)</li> </ul> <h3>Packaging</h3> <ul> <li>Change Dockerfile to hatch + compile black (<a href="https://redirect.github.com/psf/black/issues/3965">#3965</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>The summary output for GitHub workflows is now suppressible using the <code>summary</code> parameter. (<a href="https://redirect.github.com/psf/black/issues/3958">#3958</a>)</li> <li>Fix the action failing when Black check doesn't pass (<a href="https://redirect.github.com/psf/black/issues/3957">#3957</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>It is known Windows documentation CI is broken <a href="https://redirect.github.com/psf/black/issues/3968">psf/black#3968</a></li> </ul> <h2>23.10.0</h2> <h3>Stable style</h3> <ul> <li>Fix comments getting removed from inside parenthesized strings (<a href="https://redirect.github.com/psf/black/issues/3909">#3909</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Fix long lines with power operators getting split before the line length (<a href="https://redirect.github.com/psf/black/issues/3942">#3942</a>)</li> <li>Long type hints are now wrapped in parentheses and properly indented when split across multiple lines (<a href="https://redirect.github.com/psf/black/issues/3899">#3899</a>)</li> <li>Magic trailing commas are now respected in return types. (<a href="https://redirect.github.com/psf/black/issues/3916">#3916</a>)</li> <li>Require one empty line after module-level docstrings. (<a href="https://redirect.github.com/psf/black/issues/3932">#3932</a>)</li> <li>Treat raw triple-quoted strings as docstrings (<a href="https://redirect.github.com/psf/black/issues/3947">#3947</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Fix cache versioning logic when <code>BLACK_CACHE_DIR</code> is set (<a href="https://redirect.github.com/psf/black/issues/3937">#3937</a>)</li> </ul> <h3>Parser</h3> <ul> <li>Fix bug where attributes named <code>type</code> were not acccepted inside <code>match</code> statements (<a href="https://redirect.github.com/psf/black/issues/3950">#3950</a>)</li> <li>Add support for PEP 695 type aliases containing lambdas and other unusual expressions (<a href="https://redirect.github.com/psf/black/issues/3949">#3949</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p> <blockquote> <h2>23.10.1</h2> <h3>Highlights</h3> <ul> <li>Maintanence release to get a fix out for GitHub Action edge case (<a href="https://redirect.github.com/psf/black/issues/3957">#3957</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Fix merging implicit multiline strings that have inline comments (<a href="https://redirect.github.com/psf/black/issues/3956">#3956</a>)</li> <li>Allow empty first line after block open before a comment or compound statement (<a href="https://redirect.github.com/psf/black/issues/3967">#3967</a>)</li> </ul> <h3>Packaging</h3> <ul> <li>Change Dockerfile to hatch + compile black (<a href="https://redirect.github.com/psf/black/issues/3965">#3965</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>The summary output for GitHub workflows is now suppressible using the <code>summary</code> parameter. (<a href="https://redirect.github.com/psf/black/issues/3958">#3958</a>)</li> <li>Fix the action failing when Black check doesn't pass (<a href="https://redirect.github.com/psf/black/issues/3957">#3957</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>It is known Windows documentation CI is broken <a href="https://redirect.github.com/psf/black/issues/3968">psf/black#3968</a></li> </ul> <h2>23.10.0</h2> <h3>Stable style</h3> <ul> <li>Fix comments getting removed from inside parenthesized strings (<a href="https://redirect.github.com/psf/black/issues/3909">#3909</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Fix long lines with power operators getting split before the line length (<a href="https://redirect.github.com/psf/black/issues/3942">#3942</a>)</li> <li>Long type hints are now wrapped in parentheses and properly indented when split across multiple lines (<a href="https://redirect.github.com/psf/black/issues/3899">#3899</a>)</li> <li>Magic trailing commas are now respected in return types. (<a href="https://redirect.github.com/psf/black/issues/3916">#3916</a>)</li> <li>Require one empty line after module-level docstrings. (<a href="https://redirect.github.com/psf/black/issues/3932">#3932</a>)</li> <li>Treat raw triple-quoted strings as docstrings (<a href="https://redirect.github.com/psf/black/issues/3947">#3947</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Fix cache versioning logic when <code>BLACK_CACHE_DIR</code> is set (<a href="https://redirect.github.com/psf/black/issues/3937">#3937</a>)</li> </ul> <h3>Parser</h3> <ul> <li>Fix bug where attributes named <code>type</code> were not accepted inside <code>match</code> statements (<a href="https://redirect.github.com/psf/black/issues/3950">#3950</a>)</li> <li>Add support for PEP 695 type aliases containing lambdas and other unusual expressions</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/744d23b34800c06e10272149b70752396e90eeb8"><code>744d23b</code></a> Prepare release 23.10.1 (<a href="https://redirect.github.com/psf/black/issues/3969">#3969</a>)</li> <li><a href="https://github.com/psf/black/commit/8de4be516879302afce542ac80a6a43ced807759"><code>8de4be5</code></a> Fix CI failing (<a href="https://redirect.github.com/psf/black/issues/3957">#3957</a>)</li> <li><a href="https://github.com/psf/black/commit/c0adca321dc0d97a704de8ed0353e5b894a6a912"><code>c0adca3</code></a> docs: specifies the use of the .git-blame-ignore-revs file (<a href="https://redirect.github.com/psf/black/issues/3961">#3961</a>)</li> <li><a href="https://github.com/psf/black/commit/a7643fac8d97c15640a2b1a79f68b3dc771aebfb"><code>a7643fa</code></a> Add summary parameter to action (<a href="https://redirect.github.com/psf/black/issues/3958">#3958</a>)</li> <li><a href="https://github.com/psf/black/commit/d291c2338c3c1feee4f3f26985c0964ec1b7eb9f"><code>d291c23</code></a> Move Docker image to hatch + compile (<a href="https://redirect.github.com/psf/black/issues/3965">#3965</a>)</li> <li><a href="https://github.com/psf/black/commit/7f1c578b89b2c256a6ce3b70fc1b970b3ffa3349"><code>7f1c578</code></a> Bump peter-evans/create-or-update-comment from 3.0.2 to 3.1.0 (<a href="https://redirect.github.com/psf/black/issues/3966">#3966</a>)</li> <li><a href="https://github.com/psf/black/commit/2db5ab0a7b3b321e4cec70964239ee88087cd810"><code>2db5ab0</code></a> Allow empty line after block open before a comment or compound statement (<a href="https://redirect.github.com/psf/black/issues/3967">#3967</a>)</li> <li><a href="https://github.com/psf/black/commit/0a37888e79059018eef9293a724b14da59d3377a"><code>0a37888</code></a> Fix typos in CHANGES.md (<a href="https://redirect.github.com/psf/black/issues/3963">#3963</a>)</li> <li><a href="https://github.com/psf/black/commit/882d8795c6ff65c02f2657e596391748d1b6b7f5"><code>882d879</code></a> Fix merging implicit multiline strings that have inline comments (<a href="https://redirect.github.com/psf/black/issues/3956">#3956</a>)</li> <li><a href="https://github.com/psf/black/commit/9edba85f71d50d12996ef7bda576426362016171"><code>9edba85</code></a> Prepare release 23.10.0 (<a href="https://redirect.github.com/psf/black/issues/3951">#3951</a>)</li> <li>Additional commits viewable in <a href="https://github.com/psf/black/compare/23.7.0...23.10.1">compare view</a></li> </ul> </details> <br /> [](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
7890427b09 |
Python: Bump pinecone-client from 2.2.2 to 2.2.4 in /python (#3266)
Bumps [pinecone-client](https://github.com/pinecone-io/pinecone-python-client) from 2.2.2 to 2.2.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pinecone-io/pinecone-python-client/releases">pinecone-client's releases</a>.</em></p> <blockquote> <h2>Release v2.2.4</h2> <h2>What's Changed</h2> <ul> <li>Bump protobuf dependency to 3.20.x by <a href="https://github.com/jhamon"><code>@jhamon</code></a> in <a href="https://redirect.github.com/pinecone-io/pinecone-python-client/pull/185">pinecone-io/pinecone-python-client#185</a></li> <li>CI setup for nightly python builds by <a href="https://github.com/jhamon"><code>@jhamon</code></a> in <a href="https://redirect.github.com/pinecone-io/pinecone-python-client/pull/179">pinecone-io/pinecone-python-client#179</a></li> <li>Docs improvements <ul> <li>by <a href="https://github.com/byronnlandry"><code>@byronnlandry</code></a> in <a href="https://redirect.github.com/pinecone-io/pinecone-python-client/pull/187">pinecone-io/pinecone-python-client#187</a></li> <li>by <a href="https://github.com/byronnlandry"><code>@byronnlandry</code></a> in <a href="https://redirect.github.com/pinecone-io/pinecone-python-client/pull/188">pinecone-io/pinecone-python-client#188</a></li> <li>by <a href="https://github.com/efung"><code>@efung</code></a> in <a href="https://redirect.github.com/pinecone-io/pinecone-python-client/pull/191">pinecone-io/pinecone-python-client#191</a></li> </ul> </li> <li>Fixing annoying urllib3 deprecation error <ul> <li>Replace deprecated HTTPResponse.getheader() by <a href="https://github.com/izeye"><code>@izeye</code></a> in <a href="https://redirect.github.com/pinecone-io/pinecone-python-client/pull/195">pinecone-io/pinecone-python-client#195</a></li> <li>update urllib3_response.headers.get as getheader is deprecated by <a href="https://github.com/tdonia"><code>@tdonia</code></a> in <a href="https://redirect.github.com/pinecone-io/pinecone-python-client/pull/197">pinecone-io/pinecone-python-client#197</a></li> </ul> </li> <li>Give feedback when <code>environment</code> kwarg mispelled by <a href="https://github.com/tdonia"><code>@tdonia</code></a> in <a href="https://redirect.github.com/pinecone-io/pinecone-python-client/pull/198">pinecone-io/pinecone-python-client#198</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/efung"><code>@efung</code></a> made their first contribution in <a href="https://redirect.github.com/pinecone-io/pinecone-python-client/pull/191">pinecone-io/pinecone-python-client#191</a></li> <li><a href="https://github.com/izeye"><code>@izeye</code></a> made their first contribution in <a href="https://redirect.github.com/pinecone-io/pinecone-python-client/pull/195">pinecone-io/pinecone-python-client#195</a></li> <li><a href="https://github.com/tdonia"><code>@tdonia</code></a> made their first contribution in <a href="https://redirect.github.com/pinecone-io/pinecone-python-client/pull/197">pinecone-io/pinecone-python-client#197</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pinecone-io/pinecone-python-client/compare/v2.2.2...v2.2.4">https://github.com/pinecone-io/pinecone-python-client/compare/v2.2.2...v2.2.4</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pinecone-io/pinecone-python-client/commit/341a94196d5f060a14fc36b77c794399344ca0f3"><code>341a941</code></a> [skip ci] Bump version to v2.2.4</li> <li><a href="https://github.com/pinecone-io/pinecone-python-client/commit/a4b2e291dd2ed3debf9e2cc6bc70d3f7580c99bb"><code>a4b2e29</code></a> Bump version to 2.2.3</li> <li><a href="https://github.com/pinecone-io/pinecone-python-client/commit/2e606bbd351462033ad057587cbbdb2211617f32"><code>2e606bb</code></a> adds util for checking kwargs, and uses it to check init() (<a href="https://redirect.github.com/pinecone-io/pinecone-python-client/issues/198">#198</a>)</li> <li><a href="https://github.com/pinecone-io/pinecone-python-client/commit/f6bda12e59a7a034f11b5b487a957c4effaddd6a"><code>f6bda12</code></a> update urllib3_response.headers.get as getheader is deprecated (<a href="https://redirect.github.com/pinecone-io/pinecone-python-client/issues/197">#197</a>)</li> <li><a href="https://github.com/pinecone-io/pinecone-python-client/commit/d0c434f73114f27021087df26276a58522df932e"><code>d0c434f</code></a> Replace deprecated HTTPResponse.getheader() (<a href="https://redirect.github.com/pinecone-io/pinecone-python-client/issues/195">#195</a>)</li> <li><a href="https://github.com/pinecone-io/pinecone-python-client/commit/5d123234a55cc7610a5254c2a5cff797522d4fd1"><code>5d12323</code></a> Typo in docstring for upsert() (<a href="https://redirect.github.com/pinecone-io/pinecone-python-client/issues/191">#191</a>)</li> <li><a href="https://github.com/pinecone-io/pinecone-python-client/commit/4640c4cf27b1ab935e76929c46d230dea9fe5506"><code>4640c4c</code></a> Index strings (<a href="https://redirect.github.com/pinecone-io/pinecone-python-client/issues/188">#188</a>)</li> <li><a href="https://github.com/pinecone-io/pinecone-python-client/commit/6137f08c8b87964a54eef3f543d18b5bfa628c49"><code>6137f08</code></a> Clarify and expand docstrings. (<a href="https://redirect.github.com/pinecone-io/pinecone-python-client/issues/187">#187</a>)</li> <li><a href="https://github.com/pinecone-io/pinecone-python-client/commit/734fb56b413c05c2d3dad8bafe8edc721dfdfcba"><code>734fb56</code></a> Bump protobuf dependency (<a href="https://redirect.github.com/pinecone-io/pinecone-python-client/issues/185">#185</a>)</li> <li><a href="https://github.com/pinecone-io/pinecone-python-client/commit/5972c0d86937d858353f48069cf4ca3d6efac9f4"><code>5972c0d</code></a> Nightly python builds published as pinecone-client-nightly (<a href="https://redirect.github.com/pinecone-io/pinecone-python-client/issues/179">#179</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pinecone-io/pinecone-python-client/compare/v2.2.2...v2.2.4">compare view</a></li> </ul> </details> <br /> [](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
da2ea9c838 |
Python: Update pyproject.toml to 0.3.14.dev (#3262)
Update version for next pip package release ### 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. --> ### 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: --> - [ ] The code builds clean without any errors or warnings - [ ] 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 - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄 Co-authored-by: Matthew Bolaños <[email protected]> |
||
|
|
33ead4e68a |
Python: Bump pymilvus from 2.3.0 to 2.3.1 in /python (#3208)
Bumps [pymilvus](https://github.com/milvus-io/pymilvus) from 2.3.0 to 2.3.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/milvus-io/pymilvus/releases">pymilvus's releases</a>.</em></p> <blockquote> <h2>PyMilvus 2.3.1 Release Notes</h2> <h2>What's Changed</h2> <ul> <li>Use flush_ts and collection_name when getting flush state by <a href="https://github.com/bigsheeper"><code>@bigsheeper</code></a> in <a href="https://redirect.github.com/milvus-io/pymilvus/pull/1675">milvus-io/pymilvus#1675</a></li> <li>Pass segment ids when get flush state by <a href="https://github.com/bigsheeper"><code>@bigsheeper</code></a> in <a href="https://redirect.github.com/milvus-io/pymilvus/pull/1677">milvus-io/pymilvus#1677</a></li> <li>while parse uri, overwrite the db_name with default by <a href="https://github.com/PowderLi"><code>@PowderLi</code></a> in <a href="https://redirect.github.com/milvus-io/pymilvus/pull/1682">milvus-io/pymilvus#1682</a></li> <li>Update grpcio version range by <a href="https://github.com/XuanYang-cn"><code>@XuanYang-cn</code></a> in <a href="https://redirect.github.com/milvus-io/pymilvus/pull/1692">milvus-io/pymilvus#1692</a></li> <li>Add github action for publish on release by <a href="https://github.com/XuanYang-cn"><code>@XuanYang-cn</code></a> in <a href="https://redirect.github.com/milvus-io/pymilvus/pull/1695">milvus-io/pymilvus#1695</a></li> <li>Add db parameter in flush_all by <a href="https://github.com/wayblink"><code>@wayblink</code></a> in <a href="https://redirect.github.com/milvus-io/pymilvus/pull/1701">milvus-io/pymilvus#1701</a></li> <li>Enable ignored checker PYI024 by <a href="https://github.com/XuanYang-cn"><code>@XuanYang-cn</code></a> in <a href="https://redirect.github.com/milvus-io/pymilvus/pull/1703">milvus-io/pymilvus#1703</a></li> <li>Fix pass extra param by <a href="https://github.com/smellthemoon"><code>@smellthemoon</code></a> in <a href="https://redirect.github.com/milvus-io/pymilvus/pull/1713">milvus-io/pymilvus#1713</a></li> <li>fix conflict for ef and batch size by <a href="https://github.com/MrPresent-Han"><code>@MrPresent-Han</code></a> in <a href="https://redirect.github.com/milvus-io/pymilvus/pull/1716">milvus-io/pymilvus#1716</a></li> </ul> <h2>New Features</h2> <ul> <li>Bulkinsert writer by <a href="https://github.com/yhmo"><code>@yhmo</code></a> in <a href="https://redirect.github.com/milvus-io/pymilvus/pull/1671">milvus-io/pymilvus#1671</a> <a href="https://redirect.github.com/milvus-io/pymilvus/issues/1686">#1686</a> <a href="https://redirect.github.com/milvus-io/pymilvus/issues/1669">#1669</a> <a href="https://redirect.github.com/milvus-io/pymilvus/issues/1687">#1687</a> <a href="https://redirect.github.com/milvus-io/pymilvus/issues/1691">#1691</a> <a href="https://redirect.github.com/milvus-io/pymilvus/issues/1699">#1699</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/milvus-io/pymilvus/compare/v2.3.0...v2.3.1">https://github.com/milvus-io/pymilvus/compare/v2.3.0...v2.3.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/milvus-io/pymilvus/commit/5a685eb02724c57786e0e9cbe1cca960678c8ec3"><code>5a685eb</code></a> fix conflict for ef and batch size (<a href="https://redirect.github.com/milvus-io/pymilvus/issues/1716">#1716</a>)</li> <li><a href="https://github.com/milvus-io/pymilvus/commit/4347ebb1dd7ada9dfacaaa394806a272aeba5de0"><code>4347ebb</code></a> Fix pass extra param (<a href="https://redirect.github.com/milvus-io/pymilvus/issues/1713">#1713</a>)</li> <li><a href="https://github.com/milvus-io/pymilvus/commit/bac31951d5c5a9dacb6632e535e3c4d284726390"><code>bac3195</code></a> Enable ignored checker PYI024 (<a href="https://redirect.github.com/milvus-io/pymilvus/issues/1703">#1703</a>)</li> <li><a href="https://github.com/milvus-io/pymilvus/commit/c24ed43d7bb201a53acdccf83b9a808303ebcba7"><code>c24ed43</code></a> Add db parameter in flush_all (<a href="https://redirect.github.com/milvus-io/pymilvus/issues/1701">#1701</a>)</li> <li><a href="https://github.com/milvus-io/pymilvus/commit/6d9c8165ac299941c403ea1ef8bbcba53deaa335"><code>6d9c816</code></a> Add github action for publish on release (<a href="https://redirect.github.com/milvus-io/pymilvus/issues/1695">#1695</a>)</li> <li><a href="https://github.com/milvus-io/pymilvus/commit/02ff0f51b383a92ea0c731a682d8c996f543e0ba"><code>02ff0f5</code></a> Url check for bulk_import (<a href="https://redirect.github.com/milvus-io/pymilvus/issues/1699">#1699</a>)</li> <li><a href="https://github.com/milvus-io/pymilvus/commit/1ae931fbb5f7dc3617626fe1c3bc6321edd48438"><code>1ae931f</code></a> Update grpcio version range (<a href="https://redirect.github.com/milvus-io/pymilvus/issues/1692">#1692</a>)</li> <li><a href="https://github.com/milvus-io/pymilvus/commit/0f79adb3972413a6af109efef7a21662cb9c2fe5"><code>0f79adb</code></a> Fix concurrent bug of bulkwriter (<a href="https://redirect.github.com/milvus-io/pymilvus/issues/1691">#1691</a>)</li> <li><a href="https://github.com/milvus-io/pymilvus/commit/97ecf5e5d2d2ea9d9e9719b7fe99aeff29c8b990"><code>97ecf5e</code></a> Fix typo of bulkimport example (<a href="https://redirect.github.com/milvus-io/pymilvus/issues/1687">#1687</a>)</li> <li><a href="https://github.com/milvus-io/pymilvus/commit/9dd59031ffccc92f2ff4d10fd4784a0dde458b54"><code>9dd5903</code></a> bulkwriter sample read csv (<a href="https://redirect.github.com/milvus-io/pymilvus/issues/1686">#1686</a>)</li> <li>Additional commits viewable in <a href="https://github.com/milvus-io/pymilvus/compare/v2.3.0...v2.3.1">compare view</a></li> </ul> </details> <br /> [](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> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
965c23d374 |
Python: Fixed type error in plan.run_next_step_async method (#3231)
### Description This PR fixes #3219 ### Contribution Checklist - [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 😄 --------- Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
d8a2254685 |
Python: strings don't have contains method in python (#3229)
### 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?
- A substring in string check was being done using a '.contains' method
which doesn't exist in python.
2. What problem does it solve?
- avoids the error: Error occurred while running plan step: 'str' object
has no attribute 'contains'", AttributeError("'str' object has no
attribute 'contains'"))
3. What scenario does it contribute to?
- stepwise planner execution
7. If it fixes an open issue, please link to the issue here.
### Description
<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
I changed the substring in string check to the proper method for python.
### 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 😄
---------
Co-authored-by: Kevin Kent <[email protected]>
Co-authored-by: Dmytro Struk <[email protected]>
|
||
|
|
7d31513d3f |
Python: Context Variables like dict (#3039)
### 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. --> It's shame sometimes it shines through that some of the earliest code in the python code base was a direct port from C#, like with the .get method on the context variables, made the change here to have the exact some signature as the default python dict. Also replaces contains_key with __contains__ so that 'in' keyword can be used, just like a normal dict. Fixes #2962 ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> Changed the .get method Replaced the contains_key method with __contains__ Made changes in samples, tests and planner to deal with that. ### 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 😄 --------- Co-authored-by: Devis Lucato <[email protected]> Co-authored-by: Devis Lucato <[email protected]> |
||
|
|
50d91a901e |
Python: Bump urllib3 from 1.26.17 to 1.26.18 in /python (#3222)
[//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.17 to 1.26.18. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/urllib3/urllib3/releases">urllib3's releases</a>.</em></p> <blockquote> <h2>1.26.18</h2> <ul> <li>Made body stripped from HTTP requests changing the request method to GET after HTTP 303 "See Other" redirect responses. (GHSA-g4mx-q9vg-27p4)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/urllib3/urllib3/blob/main/CHANGES.rst">urllib3's changelog</a>.</em></p> <blockquote> <h1>1.26.18 (2023-10-17)</h1> <ul> <li>Made body stripped from HTTP requests changing the request method to GET after HTTP 303 "See Other" redirect responses.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/urllib3/urllib3/commit/9c2c2307dd1d6af504e09aac0326d86ee3597a0b"><code>9c2c230</code></a> Release 1.26.18 (<a href="https://redirect.github.com/urllib3/urllib3/issues/3159">#3159</a>)</li> <li><a href="https://github.com/urllib3/urllib3/commit/b594c5ceaca38e1ac215f916538fb128e3526a36"><code>b594c5c</code></a> Merge pull request from GHSA-g4mx-q9vg-27p4</li> <li><a href="https://github.com/urllib3/urllib3/commit/944f0eb134485f41bc531be52de12ba5a37bca73"><code>944f0eb</code></a> [1.26] Use vendored six in urllib3.contrib.securetransport</li> <li>See full diff in <a href="https://github.com/urllib3/urllib3/compare/1.26.17...1.26.18">compare view</a></li> </ul> </details> <br /> [](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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/microsoft/semantic-kernel/network/alerts). </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
803e2de123 |
Python: Bump google-generativeai from 0.1.0 to 0.2.1 in /python (#3209)
Bumps [google-generativeai](https://github.com/google/generative-ai-python) from 0.1.0 to 0.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/google/generative-ai-python/releases">google-generativeai's releases</a>.</em></p> <blockquote> <h2>v0.2.1</h2> <ul> <li>Bugfix: Add missing enum names to <code>saftey_types.py</code></li> <li>Update to <code>google.ai.generativelanguage</code> v0.3.3 <ul> <li>replace generativelanguage_v1beta3 with generativelanguage since that's the default in <code>v0.3.3</code>.</li> </ul> </li> </ul> <h2>v0.2.0</h2> <ul> <li>Add support for tuning: <ul> <li>Add get_tuned_model.</li> <li>Add list_tuned_models.</li> <li>Add create_tuned_model.</li> </ul> </li> <li>More flexible safety settings: <ul> <li>Accept strings and ints for enums.</li> </ul> </li> <li>Accept a {category:threshold} dict in addition to the list of dicts format (<code>[{"category": category, "threshold": threshold}, ...]</code>).</li> <li>Add support for batched embeddings.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/google/generative-ai-python/blob/main/RELEASE.md">google-generativeai's changelog</a>.</em></p> <blockquote> <h2>v0.2.1</h2> <ul> <li>Bugfix: Add missing enum names to <code>saftey_types.py</code></li> <li>Update to <code>google.ai.generativelanguage</code> v0.3.3</li> </ul> <h2>v0.2</h2> <ul> <li>More flexible safety settings: <ul> <li>accept strings, ints for enums.</li> <li>accept a <code>{category:threshold}</code> dict in addition to the list of dicts format (<code>[{"category": category, "threshold": threshold}, ...]</code>).</li> </ul> </li> <li>Add support for batched embeddings.</li> <li>Add support for tuning: <ul> <li>Add <code>get_{base,tuned}_model</code>.</li> <li>Add <code>list_tuned_models</code>.</li> <li>Add <code>create_tuned_model</code>.</li> </ul> </li> </ul> <h2>v0.1</h2> <p>Initial version</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/google/generative-ai-python/commit/2a33920de9de89208e9e7406435a0b15f3064bf6"><code>2a33920</code></a> Create a 0.2.1 release. (<a href="https://redirect.github.com/google/generative-ai-python/issues/72">#72</a>)</li> <li><a href="https://github.com/google/generative-ai-python/commit/0a962bad46283b5b1e42b3d91bddec0c2e2095c3"><code>0a962ba</code></a> Add google.ai.generativelanguage_v1beta3.types to the api-reference (<a href="https://redirect.github.com/google/generative-ai-python/issues/71">#71</a>)</li> <li><a href="https://github.com/google/generative-ai-python/commit/42d3d041e434c345fd1e02762a5dc8ca8dc39a6c"><code>42d3d04</code></a> Exapand safety enum options, b/301993890 (<a href="https://redirect.github.com/google/generative-ai-python/issues/70">#70</a>)</li> <li><a href="https://github.com/google/generative-ai-python/commit/042609d5310ee9f1d5066d07cf62cde6f9949235"><code>042609d</code></a> Remove asynctest dependancy. (<a href="https://redirect.github.com/google/generative-ai-python/issues/63">#63</a>)</li> <li><a href="https://github.com/google/generative-ai-python/commit/98ac6401a5838f091d57c37fdff2dc7d933a8eb6"><code>98ac640</code></a> These symbols are currently only available under _v1beta3 (<a href="https://redirect.github.com/google/generative-ai-python/issues/69">#69</a>)</li> <li><a href="https://github.com/google/generative-ai-python/commit/1f9f011f4923b0a6f9cb441f2fe3dca921f27ead"><code>1f9f011</code></a> Create pull_request_template.md (<a href="https://redirect.github.com/google/generative-ai-python/issues/66">#66</a>)</li> <li><a href="https://github.com/google/generative-ai-python/commit/96d18b5a702c66e1694140c79105ee3afcfe8a86"><code>96d18b5</code></a> Update stale.yml (<a href="https://redirect.github.com/google/generative-ai-python/issues/68">#68</a>)</li> <li><a href="https://github.com/google/generative-ai-python/commit/fb12ada4d43a342bd81a87c0e83f9bf29a0403c5"><code>fb12ada</code></a> V1beta3 (<a href="https://redirect.github.com/google/generative-ai-python/issues/67">#67</a>)</li> <li><a href="https://github.com/google/generative-ai-python/commit/02f3298cdeda6ea6f65228eb2b123f501916d75a"><code>02f3298</code></a> Adding github action workflow to mark stale issues and prs. (<a href="https://redirect.github.com/google/generative-ai-python/issues/62">#62</a>)</li> <li><a href="https://github.com/google/generative-ai-python/commit/837d237b198ad148d84d98c0b37461b195420299"><code>837d237</code></a> Addition of docstrings to the files (<a href="https://redirect.github.com/google/generative-ai-python/issues/61">#61</a>)</li> <li>Additional commits viewable in <a href="https://github.com/google/generative-ai-python/compare/v0.1.0...v0.2.1">compare view</a></li> </ul> </details> <br /> [](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
9be14e0927 |
Python: Bump weaviate-client from 3.23.0 to 3.24.2 in /python (#3210)
Bumps [weaviate-client](https://github.com/weaviate/weaviate-python-client) from 3.23.0 to 3.24.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/weaviate/weaviate-python-client/releases">weaviate-client's releases</a>.</em></p> <blockquote> <h2>v3.24.2</h2> <h2>What's Changed</h2> <ul> <li>add tenant to failed objects by <a href="https://github.com/tsmith023"><code>@tsmith023</code></a> in <a href="https://redirect.github.com/weaviate/weaviate-python-client/pull/572">weaviate/weaviate-python-client#572</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/weaviate/weaviate-python-client/compare/v3.24.1...v3.24.2">https://github.com/weaviate/weaviate-python-client/compare/v3.24.1...v3.24.2</a></p> <h2>v3.24.1</h2> <h2>What's Changed</h2> <ul> <li>Catch JsonDecodeException and raise exception with response content by <a href="https://github.com/dirkkul"><code>@dirkkul</code></a> in <a href="https://redirect.github.com/weaviate/weaviate-python-client/pull/456">weaviate/weaviate-python-client#456</a></li> <li>Update dependencies by <a href="https://github.com/dirkkul"><code>@dirkkul</code></a> in <a href="https://redirect.github.com/weaviate/weaviate-python-client/pull/466">weaviate/weaviate-python-client#466</a></li> <li>Fix weaviate.<strong>version</strong> by <a href="https://github.com/trengrj"><code>@trengrj</code></a> in <a href="https://redirect.github.com/weaviate/weaviate-python-client/pull/468">weaviate/weaviate-python-client#468</a></li> <li>Fix clientwide mypy errors by <a href="https://github.com/tsmith023"><code>@tsmith023</code></a> in <a href="https://redirect.github.com/weaviate/weaviate-python-client/pull/482">weaviate/weaviate-python-client#482</a></li> <li>Remove default offline scope from OIDC user+pw. Users of some identity services like Okta might need to readd this scope by <a href="https://github.com/dirkkul"><code>@dirkkul</code></a> in <a href="https://redirect.github.com/weaviate/weaviate-python-client/pull/489">weaviate/weaviate-python-client#489</a></li> <li>Ignore pypi read timeout by <a href="https://github.com/dirkkul"><code>@dirkkul</code></a> in <a href="https://redirect.github.com/weaviate/weaviate-python-client/pull/490">weaviate/weaviate-python-client#490</a></li> <li>Fix batch delete with operands by <a href="https://github.com/tsmith023"><code>@tsmith023</code></a> in <a href="https://redirect.github.com/weaviate/weaviate-python-client/pull/479">weaviate/weaviate-python-client#479</a></li> <li>Remove client-side schema validation as this caused to many problems by <a href="https://github.com/tsmith023"><code>@tsmith023</code></a> in <a href="https://redirect.github.com/weaviate/weaviate-python-client/pull/488">weaviate/weaviate-python-client#488</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/trengrj"><code>@trengrj</code></a> made their first contribution in <a href="https://redirect.github.com/weaviate/weaviate-python-client/pull/468">weaviate/weaviate-python-client#468</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/weaviate/weaviate-python-client/compare/v3.23.2...v3.24.1">https://github.com/weaviate/weaviate-python-client/compare/v3.23.2...v3.24.1</a></p> <h2>v3.23.2</h2> <h2>What's Changed</h2> <ul> <li>fix <a href="https://redirect.github.com/weaviate/weaviate-python-client/issues/449">gh-449</a> by <a href="https://github.com/StefanBogdan"><code>@StefanBogdan</code></a> in <a href="https://redirect.github.com/weaviate/weaviate-python-client/pull/450">weaviate/weaviate-python-client#450</a></li> <li>ensure client functionality is aligned with docs usage by <a href="https://github.com/tsmith023"><code>@tsmith023</code></a> in <a href="https://redirect.github.com/weaviate/weaviate-python-client/pull/452">weaviate/weaviate-python-client#452</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/weaviate/weaviate-python-client/compare/v3.23.1...v3.23.2">https://github.com/weaviate/weaviate-python-client/compare/v3.23.1...v3.23.2</a></p> <h2>v3.23.1</h2> <h2>What's Changed</h2> <ul> <li>Enable rerank-cohere module in EmbeddedWeaviate by <a href="https://github.com/dirkkul"><code>@dirkkul</code></a> in <a href="https://redirect.github.com/weaviate/weaviate-python-client/pull/442">weaviate/weaviate-python-client#442</a></li> <li>Fix batch objects where filter by <a href="https://github.com/tsmith023"><code>@tsmith023</code></a> in <a href="https://redirect.github.com/weaviate/weaviate-python-client/pull/443">weaviate/weaviate-python-client#443</a></li> <li>move client-side filter check and error from gql.get to batch.delete_objects by <a href="https://github.com/tsmith023"><code>@tsmith023</code></a> in <a href="https://redirect.github.com/weaviate/weaviate-python-client/pull/445">weaviate/weaviate-python-client#445</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/weaviate/weaviate-python-client/compare/v3.23.0...v3.23.1">https://github.com/weaviate/weaviate-python-client/compare/v3.23.0...v3.23.1</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/weaviate/weaviate-python-client/blob/main/docs/changelog.rst">weaviate-client's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <h2>Version 3.24.1</h2> <p>This patch version updates the <code>changelog.rst</code> that became stale over the last few releases</p> <h2>Version 3.24.0</h2> <p>This minor version includes:</p> <ul> <li>Small fixes and improvements throughout the codebase: <ul> <li>Catching and reraising of <code>JsonDecodeException</code> for users to catch</li> <li>Client-wide mypy error fixing and type hinting improvements</li> <li>Fix for where filter operands in <code>batch.delete_objects</code></li> <li>Removal of buggy client-side schema validation</li> <li>Package dependency updates</li> </ul> </li> </ul> <h2>Version 3.23.2</h2> <p>This patch version includes:</p> <ul> <li>Enforcing class name capitalization throughout the client</li> <li>Further fixes to where filtering with <code>ContainsAny/All</code></li> </ul> <h2>Version 3.23.1</h2> <p>This patch version includes:</p> <ul> <li>Enabling of <code>rerank-cohere</code> module in <code>EmbeddedWeaviate</code></li> <li>Fixes for where filtering between <code>query.get</code> over GraphQL and <code>batch.delete_objects</code> over REST</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/weaviate/weaviate-python-client/commit/8da29dce3941f012fc8838aff8e60d1af02027cd"><code>8da29dc</code></a> Merge pull request <a href="https://redirect.github.com/weaviate/weaviate-python-client/issues/572">#572</a> from weaviate/fix/add-tenant-to-batch-retries</li> <li><a href="https://github.com/weaviate/weaviate-python-client/commit/a3a11ebca53cdd78c7e77b347f54902e84e8cc41"><code>a3a11eb</code></a> add tenant to failed objects</li> <li><a href="https://github.com/weaviate/weaviate-python-client/commit/e5f5d85e56cd0c89513d129c772e55b6dd527661"><code>e5f5d85</code></a> Merge pull request <a href="https://redirect.github.com/weaviate/weaviate-python-client/issues/499">#499</a> from weaviate/update-changelog</li> <li><a href="https://github.com/weaviate/weaviate-python-client/commit/1371aa77e0c1a428b67e805844c9f4c31ed0659f"><code>1371aa7</code></a> update changelog</li> <li><a href="https://github.com/weaviate/weaviate-python-client/commit/bfe46ef6f1b8c52be474a64ff53b6e1d6a42e897"><code>bfe46ef</code></a> Merge pull request <a href="https://redirect.github.com/weaviate/weaviate-python-client/issues/498">#498</a> from weaviate/update-changelog</li> <li><a href="https://github.com/weaviate/weaviate-python-client/commit/49cf20672d5eee92b4d9a9c190e715faeeee7dc3"><code>49cf206</code></a> update changelog</li> <li><a href="https://github.com/weaviate/weaviate-python-client/commit/b95ac22f8dbcb8d18715ef6a6d525c243083a7b2"><code>b95ac22</code></a> Merge pull request <a href="https://redirect.github.com/weaviate/weaviate-python-client/issues/488">#488</a> from weaviate/fix/<a href="https://redirect.github.com/weaviate/weaviate-python-client/issues/486">#486</a></li> <li><a href="https://github.com/weaviate/weaviate-python-client/commit/1ff9e7af47ec11989192280890001bd210573488"><code>1ff9e7a</code></a> completely remove schema validation code</li> <li><a href="https://github.com/weaviate/weaviate-python-client/commit/f9868d1a827618896c856a9e5fee19d861732a21"><code>f9868d1</code></a> fix test</li> <li><a href="https://github.com/weaviate/weaviate-python-client/commit/fa59a056a9dc22c5b8395504382691d34ef30288"><code>fa59a05</code></a> remove all instances where schema is validated before update/create</li> <li>Additional commits viewable in <a href="https://github.com/weaviate/weaviate-python-client/compare/v3.23.0...v3.24.2">compare view</a></li> </ul> </details> <br /> [](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
988f65e41e |
Python: Prevent "device" override on "device_map" in HuggingFace Pipeline (#3111)
### Description Fixes #3110 ### Contribution Checklist - [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 😄 --------- Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
b45c35c687 |
Python: improve ai service usability for text/chat completion (#3172)
### 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. --> fix #3171 ### 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: --> - [ ] The code builds clean without any errors or warnings - [ ] 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 - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄 Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
85ee34b924 |
Python: Implement Function calling for Chat (#2356)
### 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. --> I built support for function calling into SK! Related to/fixes: - #2315 - #2175 - #1450 ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> This implementation builds on top of all the existing pieces, but did require some major work, so feel free to comment on where that is or is not appropriate. - Added a `ChatMessage` class to capture the relevant pieces of function calling (name and content) - Added a `complete_chat_with_functions_async` into OpenAIChatCompletions class - Added a `function_call` field to ChatRequestSettings class - Added several helper functions and smaller changes - Added a sample with updated core_skill that uses function calling to demonstrate - Added a second sample that shows how to use function_calling with non-sk functions. ### 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 😄 --------- Co-authored-by: Abby Harrison <[email protected]> |
||
|
|
46e8c1e68b |
Python: .Net: Update dotnet notebooks to use SK 1.0.0-beta1 version (#3158)
### 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. --> Resolves: https://github.com/microsoft/semantic-kernel/issues/3125 Resolves: https://github.com/microsoft/semantic-kernel/issues/2970 Resolves: https://github.com/microsoft/semantic-kernel/issues/3124 This PR contains changes in dotnet notebooks to upgrade SK package version to `1.0.0-beta1`, necessary syntax changes in code examples and `skills` to `plugins` renaming. ### 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 😄 |
||
|
|
9ef8138569 |
Python: Fix wrong output sample of SequentialPlanner (#3095)
### Motivation and Context To help learners understand `SequentialPlanner` more smooth. ### Description Just modifying a string which may be involved from action_planner.py ### 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 😄 Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
98797a9978 |
Python: Allow action planner to exclude skills or functions (#3096)
### 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. --> Allow ActionPlanner to exclude skills and functions when generating the plan. This is very useful and other planner types all have this functionality. Solve #3072 ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> - Add `ActionPlannerConfig` class for three settings: - `excluded_skills` - `excluded_functions` - `max_tokens` - Filter out available skills and functions in `ActionPlanner.list_of_functions` method. - Rename class attribute "ActionPlanner._skill_name" to "ActionPlanner.RESTRICTED_SKILL_NAME" just like other planners and update its value to "ActionPlanner". The `this.*` skills defined in `skprompt.txt` must also be updated. - Add the missing `__init__.py`: `semantic_kernel/planning/action_planner/__init__.py` ### 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 😄 --------- Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
53758dc9bc |
Python: fixed doc error in 01-basic-loading-the-kernel.ipynb (#3101)
### Description This PR fixes issue #2934 ### Contribution Checklist - [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 😄 Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
b49b7942dd |
Python: Bump transformers from 4.32.1 to 4.34.0 in /python (#3069)
Bumps [transformers](https://github.com/huggingface/transformers) from 4.32.1 to 4.34.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/huggingface/transformers/releases">transformers's releases</a>.</em></p> <blockquote> <h2>v4.34: Mistral, Persimmon, Prompt templating, Flash Attention 2, Tokenizer refactor</h2> <h2>New models</h2> <h3>Mistral</h3> <p>Mistral-7B-v0.1 is a decoder-based LM with the following architectural choices:</p> <ul> <li>Sliding Window Attention - Trained with 8k context length and fixed cache size, with a theoretical attention span of 128K tokens</li> <li>GQA (Grouped Query Attention) - allowing faster inference and lower cache size.</li> <li>Byte-fallback BPE tokenizer - ensures that characters are never mapped to out-of-vocabulary tokens.</li> </ul> <ul> <li>[Mistral] Mistral-7B-v0.1 support by <a href="https://github.com/Bam4d"><code>@Bam4d</code></a> in <a href="https://redirect.github.com/huggingface/transformers/issues/26447">#26447</a></li> </ul> <h3>Persimmon</h3> <p>The authors introduced Persimmon-8B, a decoder model based on the classic transformers architecture, with query and key normalization. Persimmon-8B is a fully permissively licensed model with approximately 8 billion parameters, released under the Apache license. Some of the key attributes of Persimmon-8B are long context size (16K), performance, and capabilities for multimodal extensions.</p> <ul> <li>[<code>Persimmon</code>] Add support for persimmon by <a href="https://github.com/ArthurZucker"><code>@ArthurZucker</code></a> in <a href="https://redirect.github.com/huggingface/transformers/issues/26042">#26042</a></li> </ul> <h3>BROS</h3> <p>BROS stands for BERT Relying On Spatiality. It is an encoder-only Transformer model that takes a sequence of tokens and their bounding boxes as inputs and outputs a sequence of hidden states. BROS encode relative spatial information instead of using absolute spatial information.</p> <ul> <li>Add BROS by <a href="https://github.com/jinhopark8345"><code>@jinhopark8345</code></a> in <a href="https://redirect.github.com/huggingface/transformers/issues/23190">#23190</a></li> </ul> <h3>ViTMatte</h3> <p>ViTMatte leverages plain <a href="https://huggingface.co/docs/transformers/main/en/model_doc/vit">Vision Transformers</a> for the task of image matting, which is the process of accurately estimating the foreground object in images and videos.</p> <ul> <li>Add ViTMatte by <a href="https://github.com/NielsRogge"><code>@NielsRogge</code></a> in <a href="https://redirect.github.com/huggingface/transformers/issues/25843">#25843</a></li> </ul> <h3>Nougat</h3> <p>Nougat uses the same architecture as <a href="https://huggingface.co/docs/transformers/main/en/model_doc/donut">Donut</a>, meaning an image Transformer encoder and an autoregressive text Transformer decoder to translate scientific PDFs to markdown, enabling easier access to them.</p> <ul> <li>Add Nougat by <a href="https://github.com/NielsRogge"><code>@NielsRogge</code></a> and <a href="https://github.com/molbap"><code>@molbap</code></a> in <a href="https://redirect.github.com/huggingface/transformers/issues/25942">#25942</a></li> </ul> <h2>Prompt templating</h2> <p>We've added a new <a href="https://huggingface.co/docs/transformers/main/chat_templating">template</a> feature for chat models. This allows the formatting that a chat model was trained with to be saved with the model, ensuring that users can exactly reproduce that formatting when they want to fine-tune the model or use it for inference. For more information, see <a href="https://huggingface.co/docs/transformers/main/chat_templating">our template documentation</a>.</p> <ul> <li>Overhaul Conversation class and prompt templating by <a href="https://github.com/Rocketknight1"><code>@Rocketknight1</code></a> in <a href="https://redirect.github.com/huggingface/transformers/issues/25323">#25323</a></li> </ul> <h2>🚨🚨 Tokenizer refactor</h2> <ul> <li>[<code>Tokenizer</code>] attemp to fix add_token issues by <a href="https://github.com/ArthurZucker"><code>@ArthurZucker</code></a> in <a href="https://redirect.github.com/huggingface/transformers/issues/23909">#23909</a></li> <li>Nit-added-tokens by <a href="https://github.com/ArthurZucker"><code>@ArthurZucker</code></a> in <a href="https://redirect.github.com/huggingface/transformers/issues/26538">#26538</a> adds some fix to <a href="https://redirect.github.com/huggingface/transformers/issues/23909">#23909</a> .</li> </ul> <p>🚨Workflow Changes 🚨:</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/huggingface/transformers/commit/b71f20a7c9f3716d30f6738501559acf863e2c5c"><code>b71f20a</code></a> Release: v4.34.0</li> <li><a href="https://github.com/huggingface/transformers/commit/2aef9a96011133f6b399b598fd69cfeca936eb37"><code>2aef9a9</code></a> [<code>PEFT</code>] Final fixes (<a href="https://redirect.github.com/huggingface/transformers/issues/26559">#26559</a>)</li> <li><a href="https://github.com/huggingface/transformers/commit/ae9a344cce52ff244f721425f660b55ebc522b88"><code>ae9a344</code></a> [<code>Mistral</code>] Add Flash Attention-2 support for <code>mistral</code> (<a href="https://redirect.github.com/huggingface/transformers/issues/26464">#26464</a>)</li> <li><a href="https://github.com/huggingface/transformers/commit/1a2e966cfe916cdfd78ef7e1385911106bc33f50"><code>1a2e966</code></a> Nit-added-tokens (<a href="https://redirect.github.com/huggingface/transformers/issues/26538">#26538</a>)</li> <li><a href="https://github.com/huggingface/transformers/commit/245da7ed38d9f0dbd428c48e2ec4111ae5be2680"><code>245da7e</code></a> [Doctest] Add <code>configuration_encoder_decoder.py</code> (<a href="https://redirect.github.com/huggingface/transformers/issues/26519">#26519</a>)</li> <li><a href="https://github.com/huggingface/transformers/commit/3632fb3c25eecd4fa491db9d5f3663d7d58516b0"><code>3632fb3</code></a> [AMD] Add initial version for run_tests_multi_gpu (<a href="https://redirect.github.com/huggingface/transformers/issues/26346">#26346</a>)</li> <li><a href="https://github.com/huggingface/transformers/commit/768aa3d9cd345c6ee9e7716048e5a62946d35924"><code>768aa3d</code></a> [Wav2Vec2 and Co] Update init tests for PT 2.1 (<a href="https://redirect.github.com/huggingface/transformers/issues/26494">#26494</a>)</li> <li><a href="https://github.com/huggingface/transformers/commit/b5ca8fcd20da3ed6aa562ca926c4c8e2c56fe6a4"><code>b5ca8fc</code></a> Add tokenizer kwargs to fill mask pipeline. (<a href="https://redirect.github.com/huggingface/transformers/issues/26234">#26234</a>)</li> <li><a href="https://github.com/huggingface/transformers/commit/df6a855e7bb525b9a10c80eda776b93586312767"><code>df6a855</code></a> [RFC, Logging] Change warning to info (<a href="https://redirect.github.com/huggingface/transformers/issues/26545">#26545</a>)</li> <li><a href="https://github.com/huggingface/transformers/commit/cf345d5f38cef956677f8b0bbf267bf0a10e4558"><code>cf345d5</code></a> Bump urllib3 from 1.26.9 to 1.26.17 in /examples/research_projects/decision_t...</li> <li>Additional commits viewable in <a href="https://github.com/huggingface/transformers/compare/v4.32.1...v4.34.0">compare view</a></li> </ul> </details> <br /> [](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
677c1a2a63 |
Python: Bump regex from 2023.8.8 to 2023.10.3 in /python (#3107)
Bumps [regex](https://github.com/mrabarnett/mrab-regex) from 2023.8.8 to 2023.10.3. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mrabarnett/mrab-regex/blob/hg/changelog.txt">regex's changelog</a>.</em></p> <blockquote> <p>Version: 2023.10.3</p> <pre><code>Updated to Unicode 15.1.0. </code></pre> <p>Version: 2023.8.8</p> <pre><code>Git issue 508: Regex doesn't build using CPython main (3.13.0a0) Removed usage of _PyBytes_Join and did a little tidying of the code that makes the result string. </code></pre> <p>Version: 2023.6.3</p> <pre><code>Git issue 498: Conditional negative lookahead inside positive lookahead fails to match Conditional node needed an additional member that points to the true branch. </code></pre> <p>Version: 2023.5.5</p> <pre><code>Removed semicolon after 'else' in 'munge_name'. </code></pre> <p>Version: 2023.5.4</p> <pre><code>Fixed pyproject.toml and setup.py. </code></pre> <p>Version: 2023.5.3</p> <pre><code>pyproject.toml was missing. </code></pre> <p>Version: 2023.5.2</p> <pre><code>Added pyproject.toml. </code></pre> <p>Version: 2023.3.23</p> <pre><code>Git issue 495: Running time for failing fullmatch increases rapidly with input length Re-enabled modified repeat guards due to regression in speed caused by excessive backtracking. </code></pre> <p>Version: 2023.3.22</p> <pre><code>Git issue 494: Backtracking failure matching regex `^a?(a?)b?c\1$` against string `abca` Disabled repeat guards. They keep causing issues, and it's just simpler to rely on timeouts. </code></pre> <p>Version: 2022.10.31</p> <pre><code>Updated text for supported Unicode and Python versions. </code></pre> <p>Version: 2022.9.13</p> <pre><code>Updated to Unicode 15.0.0. </code></pre> <p>Version: 2022.9.11</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mrabarnett/mrab-regex/commit/34333d5009b119949112546b1f82a1edfb590398"><code>34333d5</code></a> Updated changelog.txt.</li> <li><a href="https://github.com/mrabarnett/mrab-regex/commit/fba846ded37a790225cb573e4dca8814d7bf3d85"><code>fba846d</code></a> Updated to Unicode 15.1.0.</li> <li>See full diff in <a href="https://github.com/mrabarnett/mrab-regex/compare/2023.8.8...2023.10.3">compare view</a></li> </ul> </details> <br /> [](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
d640862a13 |
Python: Bump pillow from 10.0.0 to 10.0.1 in /python (#3064)
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.0.0 to 10.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/releases">pillow's releases</a>.</em></p> <blockquote> <h2>10.0.1</h2> <p><a href="https://pillow.readthedocs.io/en/stable/releasenotes/10.0.1.html">https://pillow.readthedocs.io/en/stable/releasenotes/10.0.1.html</a></p> <h2>Changes</h2> <ul> <li>Updated libwebp to 1.3.2 <a href="https://redirect.github.com/python-pillow/Pillow/issues/7395">#7395</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li> <li>Updated zlib to 1.3 <a href="https://redirect.github.com/python-pillow/Pillow/issues/7344">#7344</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst">pillow's changelog</a>.</em></p> <blockquote> <h2>10.0.1 (2023-09-15)</h2> <ul> <li> <p>Updated libwebp to 1.3.2 <a href="https://redirect.github.com/python-pillow/Pillow/issues/7395">#7395</a> [radarhere]</p> </li> <li> <p>Updated zlib to 1.3 <a href="https://redirect.github.com/python-pillow/Pillow/issues/7344">#7344</a> [radarhere]</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python-pillow/Pillow/commit/e34d346f10c0b1c814661e662a3e0c1ef084cf1c"><code>e34d346</code></a> Updated order</li> <li><a href="https://github.com/python-pillow/Pillow/commit/a62f2402a6bcf11a0a1670542216725a3f9190e0"><code>a62f240</code></a> 10.0.1 version bump</li> <li><a href="https://github.com/python-pillow/Pillow/commit/d50250d9eab741ae3ddd592d8910cfd7973b9d35"><code>d50250d</code></a> Added release notes for 10.0.1</li> <li><a href="https://github.com/python-pillow/Pillow/commit/b4c7d4b8b2710b7af6cc944a804902eb75fd9056"><code>b4c7d4b</code></a> Update CHANGES.rst [ci skip]</li> <li><a href="https://github.com/python-pillow/Pillow/commit/730f74600e8215ab510f71bb1fbb49d906c4356b"><code>730f746</code></a> Updated libwebp to 1.3.2</li> <li><a href="https://github.com/python-pillow/Pillow/commit/b0e28048d692effadfe7a4268a03e1d20e0198bb"><code>b0e2804</code></a> Updated zlib to 1.3</li> <li>See full diff in <a href="https://github.com/python-pillow/Pillow/compare/10.0.0...10.0.1">compare view</a></li> </ul> </details> <br /> [](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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/microsoft/semantic-kernel/network/alerts). </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
a2d78737fc |
Python: Bump ipykernel from 6.25.1 to 6.25.2 in /python (#2866)
Bumps [ipykernel](https://github.com/ipython/ipykernel) from 6.25.1 to 6.25.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ipython/ipykernel/releases">ipykernel's releases</a>.</em></p> <blockquote> <h2>v6.25.2</h2> <h2>6.25.2</h2> <p>(<a href="https://github.com/ipython/ipykernel/compare/v6.25.1...9d3f7aecc4fe68f14ebcc4dad4b65b19676e820e">Full Changelog</a>)</p> <h3>Bugs fixed</h3> <ul> <li>Make iostream shutdown more robust <a href="https://redirect.github.com/ipython/ipykernel/pull/1143">#1143</a> (<a href="https://github.com/blink1073"><code>@blink1073</code></a>)</li> <li>Don't call QApplication.setQuitOnLastWindowClosed(False). <a href="https://redirect.github.com/ipython/ipykernel/pull/1142">#1142</a> (<a href="https://github.com/anntzer"><code>@anntzer</code></a>)</li> <li>Avoid starting IOPub background thread after it's been stopped <a href="https://redirect.github.com/ipython/ipykernel/pull/1137">#1137</a> (<a href="https://github.com/minrk"><code>@minrk</code></a>)</li> </ul> <h3>Contributors to this release</h3> <p>(<a href="https://github.com/ipython/ipykernel/graphs/contributors?from=2023-08-07&to=2023-09-04&type=c">GitHub contributors page for this release</a>)</p> <p><a href="https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Aanntzer+updated%3A2023-08-07..2023-09-04&type=Issues"><code>@anntzer</code></a> | <a href="https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Ablink1073+updated%3A2023-08-07..2023-09-04&type=Issues"><code>@blink1073</code></a> | <a href="https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Accordoba12+updated%3A2023-08-07..2023-09-04&type=Issues"><code>@ccordoba12</code></a> | <a href="https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Aminrk+updated%3A2023-08-07..2023-09-04&type=Issues"><code>@minrk</code></a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ipython/ipykernel/blob/main/CHANGELOG.md">ipykernel's changelog</a>.</em></p> <blockquote> <h2>6.25.2</h2> <p>(<a href="https://github.com/ipython/ipykernel/compare/v6.25.1...9d3f7aecc4fe68f14ebcc4dad4b65b19676e820e">Full Changelog</a>)</p> <h3>Bugs fixed</h3> <ul> <li>Make iostream shutdown more robust <a href="https://redirect.github.com/ipython/ipykernel/pull/1143">#1143</a> (<a href="https://github.com/blink1073"><code>@blink1073</code></a>)</li> <li>Don't call QApplication.setQuitOnLastWindowClosed(False). <a href="https://redirect.github.com/ipython/ipykernel/pull/1142">#1142</a> (<a href="https://github.com/anntzer"><code>@anntzer</code></a>)</li> <li>Avoid starting IOPub background thread after it's been stopped <a href="https://redirect.github.com/ipython/ipykernel/pull/1137">#1137</a> (<a href="https://github.com/minrk"><code>@minrk</code></a>)</li> </ul> <h3>Contributors to this release</h3> <p>(<a href="https://github.com/ipython/ipykernel/graphs/contributors?from=2023-08-07&to=2023-09-04&type=c">GitHub contributors page for this release</a>)</p> <p><a href="https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Aanntzer+updated%3A2023-08-07..2023-09-04&type=Issues"><code>@anntzer</code></a> | <a href="https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Ablink1073+updated%3A2023-08-07..2023-09-04&type=Issues"><code>@blink1073</code></a> | <a href="https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Accordoba12+updated%3A2023-08-07..2023-09-04&type=Issues"><code>@ccordoba12</code></a> | <a href="https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Aminrk+updated%3A2023-08-07..2023-09-04&type=Issues"><code>@minrk</code></a></p> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ipython/ipykernel/commit/217da9f76a093cc709e543262a2f98d6dbc9ac11"><code>217da9f</code></a> Publish 6.25.2</li> <li><a href="https://github.com/ipython/ipykernel/commit/9d3f7aecc4fe68f14ebcc4dad4b65b19676e820e"><code>9d3f7ae</code></a> Make iostream shutdown more robust (<a href="https://redirect.github.com/ipython/ipykernel/issues/1143">#1143</a>)</li> <li><a href="https://github.com/ipython/ipykernel/commit/ca79e2e9057aed0946ebed98d96db8014bbe8ffa"><code>ca79e2e</code></a> avoid starting IOPub background thread after it's been stopped (<a href="https://redirect.github.com/ipython/ipykernel/issues/1137">#1137</a>)</li> <li><a href="https://github.com/ipython/ipykernel/commit/44c175931be7c394a2a673fe1fafd1fbc9c0d910"><code>44c1759</code></a> Don't call QApplication.setQuitOnLastWindowClosed(False). (<a href="https://redirect.github.com/ipython/ipykernel/issues/1142">#1142</a>)</li> <li>See full diff in <a href="https://github.com/ipython/ipykernel/compare/v6.25.1...v6.25.2">compare view</a></li> </ul> </details> <br /> [](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
7527c1a2e3 |
Python: Bump cryptography from 41.0.3 to 41.0.4 in /python (#2926)
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.3 to 41.0.4. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst">cryptography's changelog</a>.</em></p> <blockquote> <p>41.0.4 - 2023-09-19</p> <pre><code> * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.1.3. <p>.. _v41-0-3: </code></pre></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pyca/cryptography/commit/fc11bce6930e591ce26a2317b31b9ce2b3e25512"><code>fc11bce</code></a> bump for 41.0.4 (<a href="https://redirect.github.com/pyca/cryptography/issues/9629">#9629</a>)</li> <li>See full diff in <a href="https://github.com/pyca/cryptography/compare/41.0.3...41.0.4">compare view</a></li> </ul> </details> <br /> [](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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/microsoft/semantic-kernel/network/alerts). </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
e2186730d7 |
Python: Bump azure-search-documents from 11.4.0b8 to 11.4.0b9 in /python (#2982)
Bumps [azure-search-documents](https://github.com/Azure/azure-sdk-for-python) from 11.4.0b8 to 11.4.0b9. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Azure/azure-sdk-for-python/releases">azure-search-documents's releases</a>.</em></p> <blockquote> <h2>azure-search-documents_11.4.0b9</h2> <h2>11.4.0b9 (2023-09-12)</h2> <h3>Bugs Fixed</h3> <ul> <li>Fixed the bug that list type of <code>order_by</code> was not correctly handled. <a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31837">#31837</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/search/azure-search-documents/CHANGELOG.md">azure-search-documents's changelog</a>.</em></p> <blockquote> <h2>11.4.0b9 (2023-09-12)</h2> <h3>Bugs Fixed</h3> <ul> <li>Fixed the bug that list type of <code>order_by</code> was not correctly handled. <a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31837">#31837</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Azure/azure-sdk-for-python/commit/c8102d0bc52010cd3bb24e5b2e554d6c4f4f5736"><code>c8102d0</code></a> Update release dates (<a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31994">#31994</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-python/commit/232d010e890ba3a94cdd4fc0d97a7107e9eb1e90"><code>232d010</code></a> add remaining missing keywords setting</li> <li><a href="https://github.com/Azure/azure-sdk-for-python/commit/46bcc9dc946281bc678ac4fe2cbca838359a1375"><code>46bcc9d</code></a> handle order_by list inputs (<a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31856">#31856</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-python/commit/7224a5bb4f2948c25e5d04ed49b50d092a71b8d5"><code>7224a5b</code></a> Remove remaining YAML recordings (<a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31691">#31691</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-python/commit/f2a9f284429361fb62b45178ff65785c05264134"><code>f2a9f28</code></a> Increment package version after release of azure-search-documents (<a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31522">#31522</a>)</li> <li>See full diff in <a href="https://github.com/Azure/azure-sdk-for-python/compare/azure-search-documents_11.4.0b8...azure-search-documents_11.4.0b9">compare view</a></li> </ul> </details> <br /> [](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
1f13e9604f |
Python: Bump urllib3 from 1.26.16 to 1.26.17 in /python (#3057)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.16 to 1.26.17. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/urllib3/urllib3/releases">urllib3's releases</a>.</em></p> <blockquote> <h2>1.26.17</h2> <ul> <li>Added the <code>Cookie</code> header to the list of headers to strip from requests when redirecting to a different host. As before, different headers can be set via <code>Retry.remove_headers_on_redirect</code>. (GHSA-v845-jxx5-vc9f)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/urllib3/urllib3/blob/main/CHANGES.rst">urllib3's changelog</a>.</em></p> <blockquote> <h1>1.26.17 (2023-10-02)</h1> <ul> <li>Added the <code>Cookie</code> header to the list of headers to strip from requests when redirecting to a different host. As before, different headers can be set via <code>Retry.remove_headers_on_redirect</code>. (<code>[#3139](https://github.com/urllib3/urllib3/issues/3139) <https://github.com/urllib3/urllib3/pull/3139></code>_)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/urllib3/urllib3/commit/c9016bf464751a02b7e46f8b86504f47d4238784"><code>c9016bf</code></a> Release 1.26.17</li> <li><a href="https://github.com/urllib3/urllib3/commit/01220354d389cd05474713f8c982d05c9b17aafb"><code>0122035</code></a> Backport GHSA-v845-jxx5-vc9f (<a href="https://redirect.github.com/urllib3/urllib3/issues/3139">#3139</a>)</li> <li><a href="https://github.com/urllib3/urllib3/commit/e63989f97d206e839ab9170c8a76e3e097cc60e8"><code>e63989f</code></a> Fix installing <code>brotli</code> extra on Python 2.7</li> <li><a href="https://github.com/urllib3/urllib3/commit/2e7a24d08713a0131f0b3c7197889466d645cc49"><code>2e7a24d</code></a> [1.26] Configure OS for RTD to fix building docs</li> <li><a href="https://github.com/urllib3/urllib3/commit/57181d6ea910ac7cb2ff83345d9e5e0eb816a0d0"><code>57181d6</code></a> [1.26] Improve error message when calling urllib3.request() (<a href="https://redirect.github.com/urllib3/urllib3/issues/3058">#3058</a>)</li> <li><a href="https://github.com/urllib3/urllib3/commit/3c0148048a523325819377b23fc67f8d46afc3aa"><code>3c01480</code></a> [1.26] Run coverage even with failed jobs</li> <li>See full diff in <a href="https://github.com/urllib3/urllib3/compare/1.26.16...1.26.17">compare view</a></li> </ul> </details> <br /> [](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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/microsoft/semantic-kernel/network/alerts). </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mark Wallace <[email protected]> |
||
|
|
1f301bb28b |
Python: fix: python notebooks 10 chapter title (#3036)
### Motivation and Context The title of chapter 10 in the Python notebooks would be called 'Multiple Results' better. ### Description Change the title of the notebook. ### 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 😄 Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
812bc235cc |
Python: Fix ActionPlanner logging: Value of the parameter (#3037)
### 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. --> Fix the bug so that logging works correctly. ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> Fix the logging function in `ActionPlanner` to correctly show the parameters' value of the generated plan. ### 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 😄 Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
2628c0a59c |
Python: Bump psycopg from 3.1.10 to 3.1.12 in /python (#3054)
Bumps [psycopg](https://github.com/psycopg/psycopg) from 3.1.10 to 3.1.12. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psycopg/psycopg/blob/master/docs/news.rst">psycopg's changelog</a>.</em></p> <blockquote> <p>.. currentmodule:: psycopg</p> <p>.. index:: single: Release notes single: News</p> <h1><code>psycopg</code> release notes</h1> <h2>Future releases</h2> <p>Psycopg 3.2 (unreleased) ^^^^^^^^^^^^^^^^^^^^^^^^</p> <ul> <li>Add support for integer, floating point, boolean <code>NumPy scalar types</code>__ (🎫<code>[#332](https://github.com/psycopg/psycopg/issues/332)</code>).</li> <li>Add :ref:<code>raw-query-cursors</code> to execute queries using placeholders in PostgreSQL format (<code>$1</code>, <code>$2</code>...) (🎫<code>[#560](https://github.com/psycopg/psycopg/issues/560)</code>).</li> <li>Add support for libpq functions to close prepared statements and portals introduced in libpq v17 (🎫<code>[#603](https://github.com/psycopg/psycopg/issues/603)</code>).</li> <li>Disable receiving more than one result on the same cursor in pipeline mode, to iterate through <code>~Cursor.nextset()</code>. The behaviour was different than in non-pipeline mode and not totally reliable (🎫<code>[#604](https://github.com/psycopg/psycopg/issues/604)</code>). The <code>Cursor</code> now only preserves the results set of the last <code>~Cursor.execute()</code>, consistently with non-pipeline mode.</li> </ul> <p>.. __: <a href="https://numpy.org/doc/stable/reference/arrays.scalars.html#built-in-scalar-types">https://numpy.org/doc/stable/reference/arrays.scalars.html#built-in-scalar-types</a></p> <h2>Current release</h2> <p>Psycopg 3.1.12 ^^^^^^^^^^^^^^</p> <ul> <li>Fix possible hanging if a connection is closed while querying (🎫<code>[#608](https://github.com/psycopg/psycopg/issues/608)</code>).</li> <li>Fix memory leak when <code>~register_*()</code> functions are called repeatedly (🎫<code>[#647](https://github.com/psycopg/psycopg/issues/647)</code>).</li> </ul> <p>Psycopg 3.1.11 ^^^^^^^^^^^^^^</p> <ul> <li>Avoid caching the parsing results of large queries to avoid excessive memory usage (🎫<code>[#628](https://github.com/psycopg/psycopg/issues/628)</code>).</li> <li>Fix integer overflow in C/binary extension with OID > 2^31 (🎫<code>[#630](https://github.com/psycopg/psycopg/issues/630)</code>).</li> <li>Fix loading of intervals with days and months or years (🎫<code>[#643](https://github.com/psycopg/psycopg/issues/643)</code>).</li> <li>Work around excessive CPU usage on Windows (reported in 🎫<code>[#645](https://github.com/psycopg/psycopg/issues/645)</code>).</li> <li>Fix building on Solaris and derivatives (🎫<code>[#632](https://github.com/psycopg/psycopg/issues/632)</code>).</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psycopg/psycopg/commit/5498bb85c62cbe71da16731e9f25e8727a098c80"><code>5498bb8</code></a> chore: bump psycopg package version to 3.1.12</li> <li><a href="https://github.com/psycopg/psycopg/commit/b4b8ceb32da7f182ba0e3e0e81d692ce604b15cb"><code>b4b8ceb</code></a> Merge branch 'fix-608' into maint-3.1</li> <li><a href="https://github.com/psycopg/psycopg/commit/ae43e63400dc7366dde1e26d689cff69238c7d2c"><code>ae43e63</code></a> fix: use poll() instead of epoll() for waiting</li> <li><a href="https://github.com/psycopg/psycopg/commit/8b564e8f2539e6accaa853ec80636ab0d2d53de1"><code>8b564e8</code></a> fix: don't hang forever if async connection is closed while querying</li> <li><a href="https://github.com/psycopg/psycopg/commit/b3e0be9869257cfa9602608caee4ebe96148f63f"><code>b3e0be9</code></a> fix: don't raise spurious errors on cancel if the connection is closed</li> <li><a href="https://github.com/psycopg/psycopg/commit/125f93c852cf9a0c4158fe45f162b3b420568a8e"><code>125f93c</code></a> ci(scaleway_m1): add list command and jq pretty output</li> <li><a href="https://github.com/psycopg/psycopg/commit/87dc783af3e744fb6dc411794f9efb627b9a7d1e"><code>87dc783</code></a> chore(crdb): test 23.1 in CI</li> <li><a href="https://github.com/psycopg/psycopg/commit/dbddfc5d3f567cb291b6f98868a97de9ec40d153"><code>dbddfc5</code></a> Merge branch 'fix-647' into maint-3.1</li> <li><a href="https://github.com/psycopg/psycopg/commit/4137dedad1e2e9078562bbb1ad5fff1b7ef640ed"><code>4137ded</code></a> fix: cache all dynamically generated adapter types</li> <li><a href="https://github.com/psycopg/psycopg/commit/d7eea4989766ea92b0d7d51559ff11779ff3b872"><code>d7eea49</code></a> fix: cache dynamic adapters created in register_array()</li> <li>Additional commits viewable in <a href="https://github.com/psycopg/psycopg/compare/3.1.10...3.1.12">compare view</a></li> </ul> </details> <br /> [](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mark Wallace <[email protected]> |
||
|
|
8ce66fe9a9 |
Python: Adding MongoDB Atlas Vector Search Connector (#2818)
### Motivation and Context Resolves: #2591 <!-- 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 <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> * Added in the `MongoDBAtlasMemoryStore`. A memory store abstraction that facilitates connections between a MongoDB Atlas cluster to conduct [Atlas Vector Search](https://www.mongodb.com/products/platform/atlas-vector-search) on the Microsoft Semantic Kernel. * Leverages our async python driver [motor](https://motor.readthedocs.io/en/stable/) to keep with the heuristic of asynchronous code ### 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 😄 ### Callout * When writing my test, I noticed there's a habit of other tests conducting a `try` on imports. Grepping through those implementations, I see some of them [encapsulate their respective libraries in function calls rather than doing direct imports in the module.](https://github.com/microsoft/semantic-kernel/blob/main/python/semantic_kernel/connectors/memory/chroma/chroma_memory_store.py#L55-L63) Is this the general code pattern we should follow? Or is it fine to have our imports at the top of the module fine? --------- Co-authored-by: Steven Silvester <[email protected]> Co-authored-by: Abby Harrison <[email protected]> Co-authored-by: Abby Harrison <[email protected]> |
||
|
|
b6c32ed114 |
Python: Fixed prompt_template_config.from_dict method overwriting default CompletionConfig param values (#2853)
Fixes #2851 ### Description dict.get('key') returns None if the key isn't present in the dict, Hence the config params were getting assigned None. ### Contribution Checklist - [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 😄 --------- Co-authored-by: Abby Harrison <[email protected]> Co-authored-by: Abby Harrison <[email protected]> |
||
|
|
56bcccfab6 |
Python: Make semantic_kernel.NullLogger match logging.Logger function signatures (#2892)
### 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. --> 1. #2889 2. Allows Contributors and Devs to seamlessly use `NullLogger` or generalized `Logger` class without having to do attribute checks 3. See details in #2889 4. #2889 ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> * I added in a `_NullerMeta` metaclass to the `NullLogger` to iterate over all the function signatures in the `Logger` class and have them issue no returns. * This is backward compatible and breaks no existing implementations. ### 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 😄 --------- Co-authored-by: Abby Harrison <[email protected]> |
||
|
|
eb9ecba63f |
Python: simple implementation of token usage (#2844)
### 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. --> Added token usage tracking to the OpenAI classes, similar to how that is done in dotnet. Similar approach as #2526 but for Python TODO: add a similar construct to python for the SKContext.LastResult. ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> Added three fields to the OpenAI Chat and Text completion classes. After doing a call, check if 'usage" is in the response and then update the fields, can be read through properties. ### 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 😄 --------- Co-authored-by: Abby Harrison <[email protected]> |
||
|
|
45f492aa89 |
Python: Enforcing return typehints on native functions (#2948)
### 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. --> This solves [this issue](https://github.com/microsoft/semantic-kernel/issues/1069) where native functions are not returning the expected result. In python, return typehints are optional. However, the semantic kernel requires a return typehint to determine how to handle the function. For that reason, we're now enforcing return typehints and raising an exception when one is not provided. This may break existing void functions but none in our repo are affected. Fixes #1069 ### 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 - [] I didn't break anyone 😄 ## Summary This pull request includes two sets of changes. First, it fixes the return type annotations in three core skills: file_io_skill, text_memory_skill, and wait_skill. Specifically, the write_async method in file_io_skill and the save_async method in text_memory_skill now have a return type of None, and the wait method in wait_skill now has a return type of None. Additionally, the import_native_skill_from_directory method in kernel.py has been refactored to simplify the code. Second, this pull request adds error handling for functions with no return type in the delegate inference module. Previously, if a function did not specify a return type, the DelegateType could not be inferred, leading to errors. This pull request adds a check for functions with no return type and raises a KernelException with an appropriate error message. Additionally, this pull request includes some minor changes to unit tests for native functions. ## Changes - Fixed return type annotation for write_async method in file_io_skill - Fixed return type annotation for save_async method in text_memory_skill - Fixed return type annotation for wait method in wait_skill - Refactored import_native_skill_from_directory method in kernel.py - Added error handling for functions with no return type in the delegate inference module - Added a check for functions with no return type and raised a KernelException with an appropriate error message - Made minor changes to unit tests for native functions --- *Powered by [Microsoft Semantic Kernel](https://github.com/microsoft/semantic-kernel)* |
||
|
|
4c7df67d87 |
Python: Bump qdrant-client from 1.4.0 to 1.5.4 in /python (#2872)
Bumps [qdrant-client](https://github.com/qdrant/qdrant-client) from 1.4.0 to 1.5.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/qdrant/qdrant-client/releases">qdrant-client's releases</a>.</em></p> <blockquote> <h2>v1.5.0</h2> <h1>Changelog</h1> <h2>Features</h2> <ul> <li><a href="https://redirect.github.com/qdrant/qdrant-client/pull/280">qdrant/qdrant-client#280</a>, <a href="https://github.com/qdrant/qdrant-client/commit/6f8c5172d77a1775474d6ae145e7552543803806">https://github.com/qdrant/qdrant-client/commit/6f8c5172d77a1775474d6ae145e7552543803806</a> - Compatibility updates for Qdrant v1.5.x</li> <li><a href="https://redirect.github.com/qdrant/qdrant-client/pull/210">qdrant/qdrant-client#210</a> - <a href="https://github.com/qdrant/fastembed">fastembed</a> integration. Enables lightweight, fast, Python library built for retrieval embedding generation.</li> <li><a href="https://redirect.github.com/qdrant/qdrant-client/pull/243">qdrant/qdrant-client#243</a> - Migration tool, allows easy data migration from one instance to another</li> </ul> <h2>Bugfix</h2> <ul> <li><a href="https://redirect.github.com/qdrant/qdrant-client/pull/258">qdrant/qdrant-client#258</a> - disable forcing of http2 for cloud connections</li> <li><a href="https://redirect.github.com/qdrant/qdrant-client/pull/268">qdrant/qdrant-client#268</a> - fix values count & is_empty & is_null conditions for local mode</li> </ul> <h2>Important Notes</h2> <ul> <li>Python 3.7 is no longer supported</li> </ul> <hr /> <p>Use fastembed library to easily encode & index documents into qdrant</p> <pre><code>pip install fastembed qdrant-client </code></pre> <pre lang="python"><code>from qdrant_client import QdrantClient <h1>Initialize the client</h1> <p>client = QdrantClient(":memory:") # or QdrantClient(path="path/to/db")</p> <h1>Prepare your documents, metadata, and IDs</h1> <p>docs = ["Qdrant has Langchain integrations", "Qdrant also has Llama Index integrations"] metadata = [ {"source": "Langchain-docs"}, {"source": "Linkedin-docs"}, ] ids = [42, 2]</p> <h1>Use the new add method</h1> <p>client.add( collection_name="demo_collection", documents=docs, metadata=metadata, ids=ids )</p> <p>search_result = client.query( </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/qdrant/qdrant-client/commit/82ecb104ed919596d7753c1a31017dfada8d3e02"><code>82ecb10</code></a> bump version 1.5.4</li> <li><a href="https://github.com/qdrant/qdrant-client/commit/3fca54a6b9b6ecb4f1d606fd79baf6161805c624"><code>3fca54a</code></a> new: add kwargs to QdrantBase (<a href="https://redirect.github.com/qdrant/qdrant-client/issues/292">#292</a>)</li> <li><a href="https://github.com/qdrant/qdrant-client/commit/977780069489fa8b6b482c62f61d7fad7c81c051"><code>9777800</code></a> bump version 1.5.3</li> <li><a href="https://github.com/qdrant/qdrant-client/commit/352aee6b6bb4d62c14a64d361f0d6ec0cadd6faf"><code>352aee6</code></a> bump to v1.5.2 (<a href="https://redirect.github.com/qdrant/qdrant-client/issues/290">#290</a>)</li> <li><a href="https://github.com/qdrant/qdrant-client/commit/52db932889835719f0bf840f8484fccfd80abc37"><code>52db932</code></a> fix: explicitly convert np vector to list for previous versions of pydantic (...</li> <li><a href="https://github.com/qdrant/qdrant-client/commit/4aa7e4bb6f7738b93c33a1a6fb59e287877b4e68"><code>4aa7e4b</code></a> bump to v1.5.1 (<a href="https://redirect.github.com/qdrant/qdrant-client/issues/287">#287</a>)</li> <li><a href="https://github.com/qdrant/qdrant-client/commit/27d4e2197b29cf226411264da14acc956876533a"><code>27d4e21</code></a> fix fastembed for pydantic 1.x (<a href="https://redirect.github.com/qdrant/qdrant-client/issues/285">#285</a>)</li> <li><a href="https://github.com/qdrant/qdrant-client/commit/c1e640ff25e76aa58dd5b899aec74360c9c3be48"><code>c1e640f</code></a> V1.5.0 (<a href="https://redirect.github.com/qdrant/qdrant-client/issues/281">#281</a>)</li> <li><a href="https://github.com/qdrant/qdrant-client/commit/cc34721c6faf501ece1117dd86bcb63d17e06c74"><code>cc34721</code></a> fix README for fastembed</li> <li><a href="https://github.com/qdrant/qdrant-client/commit/41fd8015b793ba741d6e3b13bfb1228794d36f7a"><code>41fd801</code></a> sync API (<a href="https://redirect.github.com/qdrant/qdrant-client/issues/280">#280</a>)</li> <li>Additional commits viewable in <a href="https://github.com/qdrant/qdrant-client/compare/v1.4.0...v1.5.4">compare view</a></li> </ul> </details> <br /> [](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
e8d84a832f |
Python: Bump azure-core from 1.29.3 to 1.29.4 in /python (#2874)
Bumps [azure-core](https://github.com/Azure/azure-sdk-for-python) from 1.29.3 to 1.29.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Azure/azure-sdk-for-python/releases">azure-core's releases</a>.</em></p> <blockquote> <h2>azure-core_1.29.4</h2> <h2>1.29.4 (2023-09-07)</h2> <h3>Bugs Fixed</h3> <ul> <li>Fixed the issue that some urls trigger an infinite loop. <a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31346">#31346</a></li> <li>Fixed issue where IndexError was raised if multipart responses did not match the number of requests. <a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31471">#31471</a></li> <li>Fixed issue unbound variable exception if dict is invalid in CloudEvent.from_dict. <a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31835">#31835</a></li> <li>Fixed issue asyncBearerTokenCredentialPolicy is not backward compatible with SansIOHTTPPolicy. <a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31836">#31836</a></li> <li>Fixed issue mypy complains with new version of azure-core. <a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31564">#31564</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Azure/azure-sdk-for-python/commit/caa586f7b7d8f45c427463143ad9e1ba7a68ed5c"><code>caa586f</code></a> update changelog (<a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31977">#31977</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-python/commit/c97f5de0cb4be37a528af4f77250a0d1cc91774d"><code>c97f5de</code></a> Update changelogs (<a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31969">#31969</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-python/commit/d7e4b6caa6417347f2d6508c7369c5fab620811b"><code>d7e4b6c</code></a> Pyright fixes for azure-core (<a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31766">#31766</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-python/commit/f1f383698087d29dc63e956d37cec089bb2220dc"><code>f1f3836</code></a> Refactor Conda Pipeline (<a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31804">#31804</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-python/commit/232d010e890ba3a94cdd4fc0d97a7107e9eb1e90"><code>232d010</code></a> add remaining missing keywords setting</li> <li><a href="https://github.com/Azure/azure-sdk-for-python/commit/a9d3c898a2e53b7082dfa056f2802b779910ded2"><code>a9d3c89</code></a> Fix Tracing typing (<a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31943">#31943</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-python/commit/96281d775213b3c6278496940ae3c350c8f9b32d"><code>96281d7</code></a> Fix infinite loop (<a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31718">#31718</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-python/commit/ffb31dd6f144796d2cb21471ba9734763914dce1"><code>ffb31dd</code></a> [Core][OTel] Update documentation (<a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31778">#31778</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-python/commit/98a94c414f01fc0ed28535eeaa9e381622ec368c"><code>98a94c4</code></a> [Core] Fix multipart responses not matching requests error (<a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31707">#31707</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-python/commit/cb215184b0e050fb6face2dd458723f10cd851c3"><code>cb21518</code></a> Increment package version after release of azure-core (<a href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/31760">#31760</a>)</li> <li>See full diff in <a href="https://github.com/Azure/azure-sdk-for-python/compare/azure-core_1.29.3...azure-core_1.29.4">compare view</a></li> </ul> </details> <br /> [](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mark Karle <[email protected]> |
||
|
|
de7e478b38 |
Python: use black as the default formatter (#2845)
### 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. --> I noticed multiple times that I was getting failed tests because Black did not run. Changed the settings to make black the default formatter, in line with the checks. ### 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 😄 |
||
|
|
1425d0d255 |
Python: Bump chromadb from 0.4.6 to 0.4.10 in /python (#2873)
Bumps [chromadb](https://github.com/chroma-core/chroma) from 0.4.6 to 0.4.10. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/chroma-core/chroma/releases">chromadb's releases</a>.</em></p> <blockquote> <h2>0.4.10</h2> <p>Version: <code>0.4.10</code> Git ref: <code>refs/tags/0.4.10</code> Build Date: <code>2023-09-11T20:00</code> PIP Package: <code>chroma-0.4.10.tar.gz</code> Github Container Registry Image: <code>ghcr.io/chroma-core/chroma:0.4.10</code> DockerHub Image: <code>chromadb/chroma:0.4.10</code></p> <h2>What's Changed</h2> <ul> <li>update JS instructions by <a href="https://github.com/jeffchuber"><code>@jeffchuber</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/960">chroma-core/chroma#960</a></li> <li>[BLD] Add dockerhub support by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1112">chroma-core/chroma#1112</a></li> <li>[BUG]: Issue where In/Nin list values by <a href="https://github.com/tazarov"><code>@tazarov</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1111">chroma-core/chroma#1111</a></li> <li>[BUG]: URL Parsing And Validation by <a href="https://github.com/tazarov"><code>@tazarov</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1118">chroma-core/chroma#1118</a></li> <li>[ENH] Added auth and external volume support for GCP by <a href="https://github.com/tazarov"><code>@tazarov</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1107">chroma-core/chroma#1107</a></li> <li>[CHORE] Bump HNSWlib to latest version that has precompiled binaries by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1109">chroma-core/chroma#1109</a></li> <li>[RELEASE] 0.4.10 by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1132">chroma-core/chroma#1132</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/chroma-core/chroma/compare/0.4.9...0.4.10">https://github.com/chroma-core/chroma/compare/0.4.9...0.4.10</a></p> <h2>0.4.9</h2> <p>Version: <code>0.4.9</code> Git ref: <code>refs/tags/0.4.9</code> Build Date: <code>2023-09-06T05:40</code> PIP Package: <code>chroma-0.4.9.tar.gz</code> Docker Image: <code>ghcr.io/chroma-core/chroma:0.4.9</code></p> <h2>What's Changed</h2> <ul> <li>[ENH] Added providers to onnx runtime session by <a href="https://github.com/tazarov"><code>@tazarov</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1006">chroma-core/chroma#1006</a></li> <li>multiplatform docker release builds by <a href="https://github.com/jeffchuber"><code>@jeffchuber</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/857">chroma-core/chroma#857</a></li> <li>[ENH]: JS Client Support for Auth by <a href="https://github.com/tazarov"><code>@tazarov</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1050">chroma-core/chroma#1050</a></li> <li>[ENH]: OpenAI npm package v4 breaking changes by <a href="https://github.com/tazarov"><code>@tazarov</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1039">chroma-core/chroma#1039</a></li> <li>[BUG] fix: numpy version compat for 3.7 vs > for cross_version_tests by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1064">chroma-core/chroma#1064</a></li> <li>fix: use workaround for dynamic import by <a href="https://github.com/perzeuss"><code>@perzeuss</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/956">chroma-core/chroma#956</a></li> <li>[BUG]: Fixed Static Auth Token range of allowed chars by <a href="https://github.com/tazarov"><code>@tazarov</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1076">chroma-core/chroma#1076</a></li> <li>[CLN] replaced lambdas with def by <a href="https://github.com/leo-gan"><code>@leo-gan</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1070">chroma-core/chroma#1070</a></li> <li>Add CIP-1 Allow Filtering for Collections by <a href="https://github.com/Ishiihara"><code>@Ishiihara</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/855">chroma-core/chroma#855</a></li> <li>[BUG]: Local Segment Dir Removal by <a href="https://github.com/tazarov"><code>@tazarov</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1080">chroma-core/chroma#1080</a></li> <li>[ENH]: CIP-4: In and Not In Metadata Filters by <a href="https://github.com/tazarov"><code>@tazarov</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1081">chroma-core/chroma#1081</a></li> <li>[BUG] docker-compose default persistent directory path updated by <a href="https://github.com/Benvii"><code>@Benvii</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1046">chroma-core/chroma#1046</a></li> <li>[ENH]: AWS Deployment by <a href="https://github.com/tazarov"><code>@tazarov</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1086">chroma-core/chroma#1086</a></li> <li>[ENH]: Improved HttpClient URL support by <a href="https://github.com/tazarov"><code>@tazarov</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1067">chroma-core/chroma#1067</a></li> <li>Add explicit env to docker compose so that it can hint at usage by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1088">chroma-core/chroma#1088</a></li> <li>[BLD] Add release automation for JS client by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1091">chroma-core/chroma#1091</a></li> <li>[BLD] Add working directory to npm run js by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1092">chroma-core/chroma#1092</a></li> <li>[BLD] Prevent python release from running on js tag pushes by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1093">chroma-core/chroma#1093</a></li> <li>[BLD] Release env vars save to GITHUB_ENV by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1094">chroma-core/chroma#1094</a></li> <li>[BLD] Add install deps to JS release workflow by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1095">chroma-core/chroma#1095</a></li> <li>[BLD] Add npm run db:run to run docker-compose up by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1097">chroma-core/chroma#1097</a></li> <li>[RELEASE] Release JS 1.5.7 by <a href="https://github.com/HammadB"><code>@HammadB</code></a> in <a href="https://redirect.github.com/chroma-core/chroma/pull/1090">chroma-core/chroma#1090</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/chroma-core/chroma/commit/8e967304d6c1a18d88b63c1fdb3e7a638a678f01"><code>8e96730</code></a> [RELEASE] 0.4.10 (<a href="https://redirect.github.com/chroma-core/chroma/issues/1132">#1132</a>)</li> <li><a href="https://github.com/chroma-core/chroma/commit/9db68045e6b57fdaa418ad723f72a3121be297ac"><code>9db6804</code></a> [CHORE] Bump HNSWlib to latest version that has precompiled binaries (<a href="https://redirect.github.com/chroma-core/chroma/issues/1109">#1109</a>)</li> <li><a href="https://github.com/chroma-core/chroma/commit/2dd5a1552687043889a2dafe27de56577ad278a7"><code>2dd5a15</code></a> [ENH] Added auth and external volume support for GCP (<a href="https://redirect.github.com/chroma-core/chroma/issues/1107">#1107</a>)</li> <li><a href="https://github.com/chroma-core/chroma/commit/9c1979c9311acb8662fc22a7deac17907a9b128b"><code>9c1979c</code></a> [BUG]: URL Parsing And Validation (<a href="https://redirect.github.com/chroma-core/chroma/issues/1118">#1118</a>)</li> <li><a href="https://github.com/chroma-core/chroma/commit/ea73f05bdf91ff771388d6c573af9ddd8ca37cbe"><code>ea73f05</code></a> [BUG]: Issue where In/Nin list values (<a href="https://redirect.github.com/chroma-core/chroma/issues/1111">#1111</a>)</li> <li><a href="https://github.com/chroma-core/chroma/commit/237b3e3c96c0e25d87dec4c5b2b21085c040dfa3"><code>237b3e3</code></a> [BLD] Add dockerhub support (<a href="https://redirect.github.com/chroma-core/chroma/issues/1112">#1112</a>)</li> <li><a href="https://github.com/chroma-core/chroma/commit/3241de7a6fc20fe178dbe93090ee89f57a5625b6"><code>3241de7</code></a> update JS instructions (<a href="https://redirect.github.com/chroma-core/chroma/issues/960">#960</a>)</li> <li><a href="https://github.com/chroma-core/chroma/commit/747f7c6457fdea29394cdedcfd7cd0bc0541b3eb"><code>747f7c6</code></a> [BLD] Update release workflow tag check</li> <li><a href="https://github.com/chroma-core/chroma/commit/327accb2de923c413d69dc5878c94f903c24e269"><code>327accb</code></a> [RELEASE] Release 0.4.9 (<a href="https://redirect.github.com/chroma-core/chroma/issues/1100">#1100</a>)</li> <li><a href="https://github.com/chroma-core/chroma/commit/e862ab207fef6876d65801bed234f0b7d5dbf70f"><code>e862ab2</code></a> remove unused bin/build (<a href="https://redirect.github.com/chroma-core/chroma/issues/1099">#1099</a>)</li> <li>Additional commits viewable in <a href="https://github.com/chroma-core/chroma/compare/0.4.6...0.4.10">compare view</a></li> </ul> </details> <br /> [](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
8ceaf53f50 |
Python: Bump openapi-core from 0.18.0 to 0.18.1 in /python (#2875)
Bumps [openapi-core](https://github.com/python-openapi/openapi-core) from 0.18.0 to 0.18.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/python-openapi/openapi-core/releases">openapi-core's releases</a>.</em></p> <blockquote> <h2>0.18.1</h2> <h2>Bug fixes</h2> <ul> <li>Ignore formats for other types in unmarshalling process <a href="https://redirect.github.com/python-openapi/openapi-core/issues/599">#599</a></li> </ul> <h2>Features</h2> <ul> <li>More media types supported <a href="https://redirect.github.com/python-openapi/openapi-core/issues/622">#622</a></li> <li>Unmarshalling customizations in middlewares (<code>FalconOpenAPIMiddleware</code>, <code>FlaskOpenAPIView</code>, <code>FlaskOpenAPIViewDecorator</code>) <a href="https://redirect.github.com/python-openapi/openapi-core/issues/623">#623</a></li> </ul> <h2>Documentation</h2> <ul> <li>Changed doc indentation from 3 to 4 <a href="https://redirect.github.com/python-openapi/openapi-core/issues/631">#631</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python-openapi/openapi-core/commit/1b688bb4ce6fd5cce0f4978051b948d6a5eb98c0"><code>1b688bb</code></a> Version 0.18.1</li> <li><a href="https://github.com/python-openapi/openapi-core/commit/e9f6ae6a30e01b2a1f78c52fc2befbab4857f212"><code>e9f6ae6</code></a> Add bump2version to dev dependencies</li> <li><a href="https://github.com/python-openapi/openapi-core/commit/c6d99236e71751e49bec04d946d006249a9fad4b"><code>c6d9923</code></a> asdf python packages ignored</li> <li><a href="https://github.com/python-openapi/openapi-core/commit/64d57141bae19e85992dccb5fb879ec8c6109c3c"><code>64d5714</code></a> asdf versions ignored</li> <li><a href="https://github.com/python-openapi/openapi-core/commit/a77e56818346ca5a6ccb2941331f18df174b278f"><code>a77e568</code></a> Merge pull request <a href="https://redirect.github.com/python-openapi/openapi-core/issues/666">#666</a> from python-openapi/dependabot/pip/httpx-0.25.0</li> <li><a href="https://github.com/python-openapi/openapi-core/commit/ee3078aef86c9ed15346d7dbacb0cc7a6489d330"><code>ee3078a</code></a> Merge pull request <a href="https://redirect.github.com/python-openapi/openapi-core/issues/665">#665</a> from python-openapi/dependabot/pip/pytest-aiohttp-1.0.5</li> <li><a href="https://github.com/python-openapi/openapi-core/commit/79ef199bd7d13fe1017d3a8e7866cd749c873937"><code>79ef199</code></a> Merge pull request <a href="https://redirect.github.com/python-openapi/openapi-core/issues/664">#664</a> from python-openapi/dependabot/pip/black-23.9.1</li> <li><a href="https://github.com/python-openapi/openapi-core/commit/2309716a964e5784db0b3a3d212a56a2404c419c"><code>2309716</code></a> Merge pull request <a href="https://redirect.github.com/python-openapi/openapi-core/issues/663">#663</a> from python-openapi/dependabot/pip/pytest-7.4.2</li> <li><a href="https://github.com/python-openapi/openapi-core/commit/4c7149b4da13cb6268b55f0bf250a5ce97ccf0c6"><code>4c7149b</code></a> Bump httpx from 0.24.1 to 0.25.0</li> <li><a href="https://github.com/python-openapi/openapi-core/commit/ab428295ab112788ebe11577289806bf63fa5017"><code>ab42829</code></a> Bump pytest-aiohttp from 1.0.4 to 1.0.5</li> <li>Additional commits viewable in <a href="https://github.com/python-openapi/openapi-core/compare/0.18.0...0.18.1">compare view</a></li> </ul> </details> <br /> [](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
fc9f31aee5 |
Python: Update pyproject.toml to version 0.3.13.dev (#2859)
Update pip version in preparation for next package release ### 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. --> ### 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: --> - [ ] The code builds clean without any errors or warnings - [ ] 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 - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄 |
||
|
|
d5711d3a3a |
Python: No more hardcoded Azure OpenAI Service deployment name (#2684)
### Motivation and Context Solve confusion due to hardcoded Azure OpenAI Service deployment name in Python notebooks. <!-- 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 Previously, the deployment name for Azure OpenAI Service in the Python notebooks was hardcoded as "gpt-35-turbo". This PR solves the confusion by using the `deployment` variable loaded from `.env` file. <!-- 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: --> - [ ] The code builds clean without any errors or warnings - [ ] 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 - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄 |
||
|
|
2d83ac2e80 |
Python: Bump pyarrow from 12.0.1 to 13.0.0 in /python (#2704)
Bumps [pyarrow](https://github.com/apache/arrow) from 12.0.1 to 13.0.0. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/apache/arrow/commit/b7d2f7ffca66c868bd2fce5b3749c6caa002a7f0"><code>b7d2f7f</code></a> MINOR: [Release] Update versions for 13.0.0</li> <li><a href="https://github.com/apache/arrow/commit/c28a20a6107865a158b3465a513425922d7807d8"><code>c28a20a</code></a> MINOR: [Release] Update .deb/.rpm changelogs for 13.0.0</li> <li><a href="https://github.com/apache/arrow/commit/43dd768f3143378103b220af4d97ea3c7c6fa043"><code>43dd768</code></a> MINOR: [Release] Update CHANGELOG.md for 13.0.0</li> <li><a href="https://github.com/apache/arrow/commit/0a9898410b69c2d712fbb37ce3a1e63c9c34c38d"><code>0a98984</code></a> <a href="https://redirect.github.com/apache/arrow/issues/37197">GH-37197</a>: [Java][CI][Packaging] Free some disk space on the java-jars GitHub ...</li> <li><a href="https://github.com/apache/arrow/commit/73660ff383b116166d73a38f957330d5f7654e78"><code>73660ff</code></a> <a href="https://redirect.github.com/apache/arrow/issues/36969">GH-36969</a>: [R] Disable GCS by default when doing a bundled build on gcc-13 (<a href="https://redirect.github.com/apache/arrow/issues/3">#3</a>...</li> <li><a href="https://github.com/apache/arrow/commit/594b746892394d3afaa1a62cc0cd3621c2f6ab52"><code>594b746</code></a> <a href="https://redirect.github.com/apache/arrow/issues/37019">GH-37019</a>: [R] Documentation for read_parquet() et al needs updating (<a href="https://redirect.github.com/apache/arrow/issues/37020">#37020</a>)</li> <li><a href="https://github.com/apache/arrow/commit/f5a9a59a10a0022aba13bb1b7caa4b8e5c164c1a"><code>f5a9a59</code></a> <a href="https://redirect.github.com/apache/arrow/issues/36892">GH-36892</a>: [C++] Fix performance regressions in <code>FieldPath::Get</code> (<a href="https://redirect.github.com/apache/arrow/issues/37032">#37032</a>)</li> <li><a href="https://github.com/apache/arrow/commit/464d01284b02a4b73560d12b9388efecea3fe154"><code>464d012</code></a> <a href="https://redirect.github.com/apache/arrow/issues/36947">GH-36947</a>: [CI] Move free up disk space to the Jinja macros to be able to reus...</li> <li><a href="https://github.com/apache/arrow/commit/17a6885cc2dac79d16a1a8eef6ce43f398734746"><code>17a6885</code></a> <a href="https://redirect.github.com/apache/arrow/issues/36928">GH-36928</a>: [Java] Make it run well with the netty newest version 4.1.96 (<a href="https://redirect.github.com/apache/arrow/issues/36926">#36926</a>)</li> <li><a href="https://github.com/apache/arrow/commit/4d228512a9a3986c60d93475964218306f5ca240"><code>4d22851</code></a> <a href="https://redirect.github.com/apache/arrow/issues/36913">GH-36913</a>: [C++] Skip empty buffer concatenation to fix UBSan error (<a href="https://redirect.github.com/apache/arrow/issues/36914">#36914</a>)</li> <li>Additional commits viewable in <a href="https://github.com/apache/arrow/compare/go/v12.0.1...go/v13.0.0">compare view</a></li> </ul> </details> <br /> [](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
730a9a5e33 |
Python: Bump ruff from 0.0.285 to 0.0.289 in /python (#2837)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.285 to 0.0.289. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>v0.0.289</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Bug Fixes</h3> <ul> <li>Invert condition for < and <= in outdated version block by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7284">astral-sh/ruff#7284</a></li> <li>Ignore <code>@override</code> method when enforcing <code>bad-dunder-name</code> rule by <a href="https://github.com/brendonh8"><code>@brendonh8</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7224">astral-sh/ruff#7224</a></li> <li>Add <code>NotebookIndex</code> to the cache by <a href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6863">astral-sh/ruff#6863</a></li> </ul> <h3>Preview</h3> <p>This release includes a new preview mode which can be used to opt-in to unstable rules and features.</p> <ul> <li>Update rule selection to respect preview mode by <a href="https://github.com/zanieb"><code>@zanieb</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7195">astral-sh/ruff#7195</a></li> <li>Display the <code>--preview</code> option in the CLI help menu by <a href="https://github.com/zanieb"><code>@zanieb</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7274">astral-sh/ruff#7274</a></li> </ul> <p>See the <a href="https://beta.ruff.rs/docs/preview/">documentation</a> and <a href="https://github.com/astral-sh/ruff/discussions/6998">versioning discussion</a> for more details.</p> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/brendonh8"><code>@brendonh8</code></a> made their first contribution in <a href="https://redirect.github.com/astral-sh/ruff/pull/7224">astral-sh/ruff#7224</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/astral-sh/ruff/compare/v0.0.288...v0.0.289">https://github.com/astral-sh/ruff/compare/v0.0.288...v0.0.289</a></p> <h2>v0.0.288</h2> <h2>What's Changed</h2> <h3>Breaking Changes</h3> <ul> <li>Remove emoji identifier support by <a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7212">astral-sh/ruff#7212</a></li> <li>Location agnostic GitLab fingerprints by <a href="https://github.com/gregersn"><code>@gregersn</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7203">astral-sh/ruff#7203</a></li> </ul> <h3>Rules</h3> <ul> <li>[<code>ruff</code>] <ul> <li><code>RUF001</code>: Remove autofix for ambiguous unicode rule by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7168">astral-sh/ruff#7168</a></li> </ul> </li> </ul> <h3>Settings</h3> <ul> <li>[<code>flake8-self</code>] <ul> <li><code>SLF001</code>: Add <code>extend-ignore-names</code> option by <a href="https://github.com/jaap3"><code>@jaap3</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7194">astral-sh/ruff#7194</a></li> </ul> </li> </ul> <h3>Bug Fixes</h3> <ul> <li>[<code>flake8-bugbear</code>] <ul> <li><code>B006</code>: Add newline if fix is at end-of-file by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7090">astral-sh/ruff#7090</a></li> <li><code>B006</code>: Fix function docstring followed by whitespace but no newline by <a href="https://github.com/zanieb"><code>@zanieb</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7160">astral-sh/ruff#7160</a></li> <li><code>B009</code>: Parenthesize expressions when converting to attribute access by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7091">astral-sh/ruff#7091</a></li> <li><code>B009</code>, <code>B010</code>: Fix <code>getattr</code> calls on <code>int</code> literals by <a href="https://github.com/density"><code>@density</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7057">astral-sh/ruff#7057</a></li> <li><code>B013</code>: Supported starred exceptions in length-one tuple detection by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7080">astral-sh/ruff#7080</a></li> <li><code>B013</code>: Insert required space when fixing by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/7148">astral-sh/ruff#7148</a></li> </ul> </li> <li>[<code>flake8-comprehensions</code>]</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md">ruff's changelog</a>.</em></p> <blockquote> <h1>Breaking Changes</h1> <h2>0.0.288</h2> <h3>Remove support for emoji identifiers (<a href="https://redirect.github.com/astral-sh/ruff/pull/7212">#7212</a>)</h3> <p>Previously, Ruff supported the non-standard compliant emoji identifiers e.g. <code>📦 = 1</code>. We decided to remove this non-standard language extension, and Ruff now reports syntax errors for emoji identifiers in your code, the same as CPython.</p> <h3>Improved GitLab fingerprints (<a href="https://redirect.github.com/astral-sh/ruff/pull/7203">#7203</a>)</h3> <p>GitLab uses fingerprints to identify new, existing, or fixed violations. Previously, Ruff included the violation's position in the fingerprint. Using the location has the downside that changing any code before the violation causes the fingerprint to change, resulting in GitLab reporting one fixed and one new violation even though it is a pre-existing violation.</p> <p>Ruff now uses a more stable location-agnostic fingerprint to minimize that existing violations incorrectly get marked as fixed and re-reported as new violations.</p> <p>Expect GitLab to report each pre-existing violation in your project as fixed and a new violation in your Ruff upgrade PR.</p> <h2>0.0.283 / 0.284</h2> <h3>The target Python version now defaults to 3.8 instead of 3.10 (<a href="https://redirect.github.com/astral-sh/ruff/pull/6397">#6397</a>)</h3> <p>Previously, when a target Python version was not specified, Ruff would use a default of Python 3.10. However, it is safer to default to an <em>older</em> Python version to avoid assuming the availability of new features. We now default to the oldest supported Python version which is currently Python 3.8.</p> <p>(We still support Python 3.7 but since <a href="https://devguide.python.org/versions/#unsupported-versions">it has reached EOL</a> we've decided not to make it the default here.)</p> <p>Note this change was announced in 0.0.283 but not active until 0.0.284.</p> <h2>0.0.277</h2> <h3><code>.ipynb_checkpoints</code>, <code>.pyenv</code>, <code>.pytest_cache</code>, and <code>.vscode</code> are now excluded by default (<a href="https://redirect.github.com/astral-sh/ruff/pull/5513">#5513</a>)</h3> <p>Ruff maintains a list of default exclusions, which now consists of the following patterns:</p> <ul> <li><code>.bzr</code></li> <li><code>.direnv</code></li> <li><code>.eggs</code></li> <li><code>.git</code></li> <li><code>.git-rewrite</code></li> <li><code>.hg</code></li> <li><code>.ipynb_checkpoints</code></li> <li><code>.mypy_cache</code></li> <li><code>.nox</code></li> <li><code>.pants.d</code></li> <li><code>.pyenv</code></li> <li><code>.pytest_cache</code></li> <li><code>.pytype</code></li> <li><code>.ruff_cache</code></li> <li><code>.svn</code></li> <li><code>.tox</code></li> <li><code>.venv</code></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/e7a27794022e18b05136ce8e4fc121f14713ed02"><code>e7a2779</code></a> Bump version to v0.0.289 (<a href="https://redirect.github.com/astral-sh/ruff/issues/7308">#7308</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/008da95b29d2b1ccc20e8b5e86bac51296d2df05"><code>008da95</code></a> Add preview documentation section (<a href="https://redirect.github.com/astral-sh/ruff/issues/7281">#7281</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/5d4dd3e38e624dffe850853fcc9fb5de38a36d58"><code>5d4dd3e</code></a> Set the target deployment to <code>main</code> during dispatched documentation deploymen...</li> <li><a href="https://github.com/astral-sh/ruff/commit/e561f5783b30eb318c0fa1f7d7d24ad8d89c6e05"><code>e561f57</code></a> Fix(vscode): Respect line length ruff.toml configuration (<a href="https://redirect.github.com/astral-sh/ruff/issues/7306">#7306</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/ee0f1270cf8cf816754dbc471e8fb855ca40ca9c"><code>ee0f127</code></a> Add <code>NotebookIndex</code> to the cache (<a href="https://redirect.github.com/astral-sh/ruff/issues/6863">#6863</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/e7b7e4a18d881893132dc5e6b2209ebdcedfb253"><code>e7b7e4a</code></a> Add documentation to <code>duplicate-union-member</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/7225">#7225</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/b4419c34ea8f820157cf428e2bf5f7f2d415c894"><code>b4419c3</code></a> Ignore <code>@override</code> method when enforcing <code>bad-dunder-name</code> rule (<a href="https://redirect.github.com/astral-sh/ruff/issues/7224">#7224</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/08f19226b9571fb87cec16231bb26b21249e2a92"><code>08f1922</code></a> Fix panic when formatting binary expression with two implicit concatenated st...</li> <li><a href="https://github.com/astral-sh/ruff/commit/1e6df19a351170ded4b1e1a4e068993107bd1047"><code>1e6df19</code></a> Bool expression comment placement (<a href="https://redirect.github.com/astral-sh/ruff/issues/7269">#7269</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/c21b960fc7ac8b60a3d2e5cc753ed4a9ecfde356"><code>c21b960</code></a> Display the <code>--preview</code> option in the CLI help menu (<a href="https://redirect.github.com/astral-sh/ruff/issues/7274">#7274</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.0.285...v0.0.289">compare view</a></li> </ul> </details> <br /> [](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
c74ba11e09 |
Python: Add Stepwise planner example to planner notebook (#2675)
### Motivation and Context Add an example of using the Stepwise Planner in notebook 5 --------- Co-authored-by: Alex Chao <achao@achao> Co-authored-by: Abby Harrison <[email protected]> |
||
|
|
b87f44e301 |
Python: Bump pytest from 7.4.0 to 7.4.2 in /python (#2789)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.0 to 7.4.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>pytest 7.4.2 (2023-09-07)</h2> <h1>Bug Fixes</h1> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11237">#11237</a>: Fix doctest collection of <code>functools.cached_property</code> objects.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11306">#11306</a>: Fixed bug using <code>--importmode=importlib</code> which would cause package <code>__init__.py</code> files to be imported more than once in some cases.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11367">#11367</a>: Fixed bug where <code>user_properties</code> where not being saved in the JUnit XML file if a fixture failed during teardown.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11394">#11394</a>: Fixed crash when parsing long command line arguments that might be interpreted as files.</p> </li> </ul> <h1>Improved Documentation</h1> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11391">#11391</a>: Improved disclaimer on pytest plugin reference page to better indicate this is an automated, non-curated listing.</li> </ul> <h2>pytest 7.4.1 (2023-09-02)</h2> <h2>Bug Fixes</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10337">#10337</a>: Fixed bug where fake intermediate modules generated by <code>--import-mode=importlib</code> would not include the child modules as attributes of the parent modules.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10702">#10702</a>: Fixed error assertion handling in <code>pytest.approx</code> when <code>None</code> is an expected or received value when comparing dictionaries.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10811">#10811</a>: Fixed issue when using <code>--import-mode=importlib</code> together with <code>--doctest-modules</code> that caused modules to be imported more than once, causing problems with modules that have import side effects.</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/45f34dfb8d813b00c7d8060a3ea75f7b4bc5cd7d"><code>45f34df</code></a> Prepare release version 7.4.2</li> <li><a href="https://github.com/pytest-dev/pytest/commit/e4f022f0d82bd530c3e4409c1c6a87e55ef9098d"><code>e4f022f</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/11406">#11406</a> from nicoddemus/backport-11404-to-7.4.x</li> <li><a href="https://github.com/pytest-dev/pytest/commit/63b0c6f75f218b400a5a42305f9fa3830448f7e8"><code>63b0c6f</code></a> Use _pytest.pathlib.safe_exists in get_dirs_from_args</li> <li><a href="https://github.com/pytest-dev/pytest/commit/884b911a9cbf3c97689b473ae7f732fc72e06eea"><code>884b911</code></a> Fix crash when passing a very long cmdline argument (<a href="https://redirect.github.com/pytest-dev/pytest/issues/11404">#11404</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/6e49a74089540196ae2b2bf8267a530ad9957f3e"><code>6e49a74</code></a> [7.4.x] Fix doctest collection of <code>functools.cached_property</code> objects. (<a href="https://redirect.github.com/pytest-dev/pytest/issues/11403">#11403</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/79c2012d4090bbe0cd0910e1616dc19ca75aea86"><code>79c2012</code></a> [7.4.x] doc: Remove done training (<a href="https://redirect.github.com/pytest-dev/pytest/issues/11400">#11400</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/de69883e3a6a923c9eceb28cedf8e9660bd58a51"><code>de69883</code></a> [7.4.x] improve plugin list disclaimer (<a href="https://redirect.github.com/pytest-dev/pytest/issues/11398">#11398</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/1de00e9830c57805ec07a0d67095822703b90bb4"><code>1de00e9</code></a> [7.4.x] Fix import_path for packages (<a href="https://redirect.github.com/pytest-dev/pytest/issues/11395">#11395</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/7f5d9b9df4e5e323fe3a66aeb956557710e5d277"><code>7f5d9b9</code></a> Fix user_properties not saved to XML if fixture errors during teardown (<a href="https://redirect.github.com/pytest-dev/pytest/issues/11382">#11382</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/82eb86f707cac79f33d0ff69723ccf1cea7e75f7"><code>82eb86f</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/11377">#11377</a> from pytest-dev/release-7.4.1</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/7.4.0...7.4.2">compare view</a></li> </ul> </details> <br /> [](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
8fcd7c0c8b |
.Net: Fix XML escaping in skprompt.txt examples (#2827)
Update the examples in skprompt.txt to correctly escape XML characters and improve the clarity of the comments. Fixes #2246 ### 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 😄 --------- Co-authored-by: Shawn Callegari <[email protected]> |
||
|
|
03a76bf87f |
Python: Bump openai from 0.27.9 to 0.28.0 in /python (#2711)
Bumps [openai](https://github.com/openai/openai-python) from 0.27.9 to 0.28.0. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Shawn Callegari <[email protected]> |
||
|
|
2b94161f4f |
Python: Update 00-getting-started.ipynb (#2766)
deployment name is required instead of
kernel.add_chat_service("chat_completion",
AzureChatCompletion("gpt-35-turbo", endpoint, api_key))
Fixes #2772
### 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?
For notebook to work.
2. What problem does it solve?
current fails with error deployment not exist.
3. What scenario does it contribute to?
Getting started
7. If it fixes an open issue, please link to the issue here.
-->
### Description
<!-- Just replaced hardcoded deployment name to use deployment parameter
from .env file! -->
### Contribution Checklist
<!-- Before submitting this PR, please make sure: -->
- [ ] The code builds clean without any errors or warnings
- [ ] 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
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
Co-authored-by: Lee Miller <[email protected]>
|
||
|
|
407601f18d |
Python: Update pyproject.toml with version=0.3.12 (#2779)
### 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. --> ### 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: --> - [ ] The code builds clean without any errors or warnings - [ ] 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 - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄 |
||
|
|
1b883eac5e |
Python: Add init file to connectors/memory (#2769)
### Motivation and Context This PR addresses inconsistencies in auto-doc generation. ### 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: --> - [ ] The code builds clean without any errors or warnings - [ ] 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 - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄 |
||
|
|
f2f8d5a58a |
Python - Azure Cognitive Search Connector - Remove redeclaration (#2740)
### Motivation and Context Customer reported credentials passed into connector are ignored: https://github.com/microsoft/semantic-kernel/issues/2701 ### Description Local variable declaration taking precedence over function parameters. ### Contribution Checklist - [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 😄 |