Skip to content

Commit abef31f

Browse files
eleanorjboydBoltonBaileyrchiodoanthonykim1DonJayamanne
authored andcommitted
Merged PR posit-dev/positron-python#244: Merge upstream vscode-python 2023.20
Merge pull request #244 from posit-dev/merge/upstream-2023.20 Merge upstream vscode-python 2023.20 -------------------- Commit message for posit-dev/positron-python@182a5a1b5c8ca577bea4b303224a2a92a78e8ce9: Put back gulp installation path instead of nox -------------------- Commit message for posit-dev/positron-python@bd64148cbb024a183cea2cdacd98c2d7cbf0008a: Merge upstream 2023.20 -------------------- Commit message for microsoft/vscode-python@32ea534f7144fb1c9bd7502e91451e69f2fcd218: remove new line chars from error text messages in testing rewrite (microsoft/vscode-python#22402) fixes https://github.com/microsoft/vscode-python/issues/21512 where 2 extra new lines were seen at the end of an error message popup. Removing these will restrict stop this from occurring. -------------------- Commit message for microsoft/vscode-python@ff604ca9988420aefa4f66c1681e3d3374c5e03c: Add cwd to error logs (microsoft/vscode-python#22387) closes https://github.com/microsoft/vscode-python/issues/22359 -------------------- Commit message for microsoft/vscode-python@78052bd76e9922a983accd35a84f16c6d1d53f22: Refactor get_node_path function to handle fspath greedy access (microsoft/vscode-python#22384) closes https://github.com/microsoft/vscode-python/issues/20830 --------- Co-authored-by: Karthik Nadig <kanadig@microsoft.com> -------------------- Commit message for microsoft/vscode-python@491c2c8af29916136e0b6540b5d934bf448a51e3: Bump typing-extensions from 4.7.1 to 4.8.0 (microsoft/vscode-python#22015) Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.7.1 to 4.8.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/python/typing_extensions/releases">typing-extensions's releases</a>.</em></p> <blockquote> <h2>4.8.0</h2> <p>Changes since 4.7.1:</p> <ul> <li>Add <code>typing_extensions.Doc</code>, as proposed by PEP 727. Patch by Sebastián Ramírez.</li> <li>Drop support for Python 3.7 (including PyPy-3.7). Patch by Alex Waygood.</li> <li>Fix bug where <code>get_original_bases()</code> would return incorrect results when called on a concrete subclass of a generic class. Patch by Alex Waygood (backporting <a href="https://redirect.github.com/python/cpython/pull/107584">python/cpython#107584</a>, by James Hilton-Balfe).</li> <li>Fix bug where <code>ParamSpec(default=...)</code> would raise a <code>TypeError</code> on Python versions &lt;3.11. Patch by James Hilton-Balfe</li> </ul> <p>No changes since 4.8.0rc1.</p> <h2>4.8.0rc1</h2> <ul> <li>Add <code>typing_extensions.Doc</code>, as proposed by PEP 727. Patch by Sebastián Ramírez.</li> <li>Drop support for Python 3.7 (including PyPy-3.7). Patch by Alex Waygood.</li> <li>Fix bug where <code>get_original_bases()</code> would return incorrect results when called on a concrete subclass of a generic class. Patch by Alex Waygood (backporting <a href="https://redirect.github.com/python/cpython/pull/107584">python/cpython#107584</a>, by James Hilton-Balfe).</li> <li>Fix bug where <code>ParamSpec(default=...)</code> would raise a <code>TypeError</code> on Python versions &lt;3.11. Patch by James Hilton-Balfe</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python/typing_extensions/blob/main/CHANGELOG.md">typing-extensions's changelog</a>.</em></p> <blockquote> <h1>Release 4.8.0 (September 17, 2023)</h1> <p>No changes since 4.8.0rc1.</p> <h1>Release 4.8.0rc1 (September 7, 2023)</h1> <ul> <li>Add <code>typing_extensions.Doc</code>, as proposed by PEP 727. Patch by Sebastián Ramírez.</li> <li>Drop support for Python 3.7 (including PyPy-3.7). Patch by Alex Waygood.</li> <li>Fix bug where <code>get_original_bases()</code> would return incorrect results when called on a concrete subclass of a generic class. Patch by Alex Waygood (backporting <a href="https://redirect.github.com/python/cpython/pull/107584">python/cpython#107584</a>, by James Hilton-Balfe).</li> <li>Fix bug where <code>ParamSpec(default=...)</code> would raise a <code>TypeError</code> on Python versions &lt;3.11. Patch by James Hilton-Balfe</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/typing_extensions/commit/c17c499b865585458bc334a1f895ebaedd2ab854"><code>c17c499</code></a> Prepare release 4.8.0 (<a href="https://redirect.github.com/python/typing_extensions/issues/283">#283</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/df9e322f2d9cb66d936fbfeac524b5989b78cfd5"><code>df9e322</code></a> Run tests on py312 for more third-party projects (<a href="https://redirect.github.com/python/typing_extensions/issues/281">#281</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/7e294992dfe3070b3ca228555fa3887001ceaab2"><code>7e29499</code></a> Release 4.8.0rc1 (<a href="https://redirect.github.com/python/typing_extensions/issues/280">#280</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/ca2a739574fb259f156faba005aaa802e6f19faa"><code>ca2a739</code></a> Add Doc from PEP 727: <a href="https://peps.python.org/pep-0727/">https://peps.python.org/pep-0727/</a> (<a href="https://redirect.github.com/python/typing_extensions/issues/277">#277</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/13c9484f10f5f4b3ac995c49c06cef42d847723c"><code>13c9484</code></a> Fix ParamSpec ellipsis default for &lt;3.10 (<a href="https://redirect.github.com/python/typing_extensions/issues/279">#279</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/4705e747b8380ce466d81b132134bd4ed399eb45"><code>4705e74</code></a> Improve documentation (<a href="https://redirect.github.com/python/typing_extensions/issues/278">#278</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/99fa708df2af1ab5ecde47968d71dc5b0447fc5d"><code>99fa708</code></a> Backport CPython PR 107584 (<a href="https://redirect.github.com/python/typing_extensions/issues/275">#275</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/688fbd2545944c9c36a0d08084e7c92642a81751"><code>688fbd2</code></a> Revert &quot;Skip running <code>cattrs</code> tests on PyPy (<a href="https://redirect.github.com/python/typing_extensions/issues/272">#272</a>)&quot; (<a href="https://redirect.github.com/python/typing_extensions/issues/273">#273</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/8dfa0a5dc31b298252d001304b9107be76e4de4c"><code>8dfa0a5</code></a> Skip running <code>cattrs</code> tests on PyPy (<a href="https://redirect.github.com/python/typing_extensions/issues/272">#272</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/7bb3f3fca39d477b2bb04f64ff5ea2cc14383e51"><code>7bb3f3f</code></a> Fix third-party workflow (<a href="https://redirect.github.com/python/typing_extensions/issues/269">#269</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/typing_extensions/compare/4.7.1...4.8.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=typing-extensions&package-manager=pip&previous-version=4.7.1&new-version=4.8.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR 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> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> -------------------- Commit message for microsoft/vscode-python@473de33f84fc649f99b1ae4692ecf0653f5d2d8c: Ensure Python environment defined in `python.defaultInterpreterPath` is returned via discovery API (microsoft/vscode-python#22389) Closes https://github.com/microsoft/vscode-python/issues/22268 Even when it is not the active interpreter for any workspace, it's still a known environment which users could consider selecting. -------------------- Commit message for microsoft/vscode-python@7aefb217ce836d865bdc170c8ef3427549aeac17: Remove unused packages from `package.json` (microsoft/vscode-python#22386) closes: https://github.com/microsoft/vscode-python/issues/16840 -------------------- Commit message for microsoft/vscode-python@b65ea3baa48c7ebd2af8e16c7eaf8a33f8d9bd87: Use nox to install packages (microsoft/vscode-python#22381) -------------------- Commit message for microsoft/vscode-python@a7262b8d9071c34ccd0dffb4d0fad48092411b31: Do not prefer Microsoft store interpreter over other global interpreters when auto-selecting (microsoft/vscode-python#22380) Closes https://github.com/microsoft/vscode-python/issues/22364 Do not compare two global interpreters using their kinds. -------------------- Commit message for microsoft/vscode-python@b4f06c9e71c8e066d6df3dd787c7880439c4e41b: Use python test runner for extension python tests (microsoft/vscode-python#22385) closes https://github.com/microsoft/vscode-python/issues/9051 -------------------- Commit message for microsoft/vscode-python@ed6f4601b21013c1c0d750c751e935439136c44e: Remove deprecated settings (microsoft/vscode-python#22377) -------------------- Commit message for microsoft/vscode-python@6d2ab8e063bf3155ca56f782bb43fae84f15c9e0: Update main version to next pre-release (microsoft/vscode-python#22379) -------------------- Commit message for microsoft/vscode-python@2ea45befd3a8b5aacf8c92505e9e039f9d13871b: Update version for release candidate (microsoft/vscode-python#22378) -------------------- Commit message for microsoft/vscode-python@183a52922661a1d931858c81c6643227ec8ffc86: allow -v, -f, -q, --local in unittest args (microsoft/vscode-python#22357) fixes https://github.com/microsoft/vscode-python/issues/22343 -------------------- Commit message for microsoft/vscode-python@93bf5cc2dd89ea98f70c1f85a8a32989e4e635af: Handle localized shells when powershell execution is disabled (microsoft/vscode-python#22360) Closes https://github.com/microsoft/vscode-python/issues/22352 -------------------- Commit message for microsoft/vscode-python@56a88b8b885227d04f07eeda47ee7332acaf9fc4: Trim ends before add lines to logs from create env output (microsoft/vscode-python#22358) closes https://github.com/microsoft/vscode-python/issues/22321 -------------------- Commit message for microsoft/vscode-python@71a451cb4f7cb6a2e0b192ad0ed4d1ec202a001c: Save env vars at first pytest hook to ensure theyre unedited (microsoft/vscode-python#22344) fixes https://github.com/microsoft/vscode-python/issues/22192. Now, all environment variables are accessed during the pytest_load_initial_conftests hook and then saved as global variables in the plugin. This ensures the port and uuid will still be saved even if a user safely or unsafely clears their environment variables during testing. --------- Co-authored-by: Karthik Nadig <kanadig@microsoft.com> -------------------- Commit message for microsoft/vscode-python@c2dec146b9fe53af641ed217c4a567735d4d2d32: Update warning for the deprecated settings in python (microsoft/vscode-python#22345) close https://github.com/microsoft/vscode-python/issues/22272 -------------------- Commit message for microsoft/vscode-python@fe229588a6626800e26299aa0c27d0be03698016: Fix powershell core activation if executing scripts is not supported (microsoft/vscode-python#22350) Closes https://github.com/microsoft/vscode-python/issues/22252 -------------------- Commit message for microsoft/vscode-python@26b6255420750510bbe50d926835e7064469e920: fix small logging issues for testing deprecation & duplicate log (microsoft/vscode-python#22349) fixes https://github.com/microsoft/vscode-python/issues/22327 -------------------- Commit message for microsoft/vscode-python@e6046877f9679641dea61484e6ba4ea62b454591: Correct condition when logging whether shell integration is active (microsoft/vscode-python#22347) Introduced by https://github.com/microsoft/vscode-python/pull/22346 -------------------- Commit message for microsoft/vscode-python@b46e1a6ba3c1e6ecb7e847ebbf190f5217df385b: Log whether shell integration is active (microsoft/vscode-python#22346) For microsoft/vscode-python#20950 -------------------- Commit message for microsoft/vscode-python@bcb10251f3479cf3dd89b1f79a96bb1cbdfcbd13: Bump actions/setup-node from 3 to 4 in /.github/actions/build-vsix (microsoft/vscode-python#22296) Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/setup-node/releases">actions/setup-node's releases</a>.</em></p> <blockquote> <h2>v4.0.0</h2> <h2>What's Changed</h2> <p>In scope of this release we changed version of node runtime for action from node16 to node20 and updated dependencies in <a href="https://redirect.github.com/actions/setup-node/pull/866">actions/setup-node#866</a></p> <p>Besides, release contains such changes as:</p> <ul> <li>Upgrade actions/checkout to v4 by <a href="https://github.com/gmembre-zenika"><code>@​gmembre-zenika</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/868">actions/setup-node#868</a></li> <li>Update actions/checkout for documentation and yaml by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/876">actions/setup-node#876</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/gmembre-zenika"><code>@​gmembre-zenika</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-node/pull/868">actions/setup-node#868</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-node/compare/v3...v4.0.0">https://github.com/actions/setup-node/compare/v3...v4.0.0</a></p> <h2>v3.8.2</h2> <h2>What's Changed</h2> <ul> <li>Update semver by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/861">actions/setup-node#861</a></li> <li>Update temp directory creation by <a href="https://github.com/nikolai-laevskii"><code>@​nikolai-laevskii</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/859">actions/setup-node#859</a></li> <li>Bump <code>@​babel/traverse</code> from 7.15.4 to 7.23.2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/870">actions/setup-node#870</a></li> <li>Add notice about binaries not being updated yet by <a href="https://github.com/nikolai-laevskii"><code>@​nikolai-laevskii</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/872">actions/setup-node#872</a></li> <li>Update toolkit cache and core by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> and <a href="https://github.com/seongwon-privatenote"><code>@​seongwon-privatenote</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/875">actions/setup-node#875</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-node/compare/v3...v3.8.2">https://github.com/actions/setup-node/compare/v3...v3.8.2</a></p> <h2>v3.8.1</h2> <h2>What's Changed</h2> <p>In scope of this release, the filter was removed within the cache-save step by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/831">actions/setup-node#831</a>. It is filtered and checked in the toolkit/cache library.</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-node/compare/v3...v3.8.1">https://github.com/actions/setup-node/compare/v3...v3.8.1</a></p> <h2>v3.8.0</h2> <h2>What's Changed</h2> <h3>Bug fixes:</h3> <ul> <li>Add check for existing paths by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/803">actions/setup-node#803</a></li> <li>Resolve SymbolicLink by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/809">actions/setup-node#809</a></li> <li>Change passing logic for cache input by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/816">actions/setup-node#816</a></li> <li>Fix armv7 cache issue by <a href="https://github.com/louislam"><code>@​louislam</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/794">actions/setup-node#794</a></li> <li>Update check-dist workflow name by <a href="https://github.com/sinchang"><code>@​sinchang</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/710">actions/setup-node#710</a></li> </ul> <h3>Feature implementations:</h3> <ul> <li>feat: handling the case where &quot;node&quot; is used for tool-versions file. by <a href="https://github.com/xytis"><code>@​xytis</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/812">actions/setup-node#812</a></li> </ul> <h3>Documentation changes:</h3> <ul> <li>Refer to semver package name in README.md by <a href="https://github.com/olleolleolle"><code>@​olleolleolle</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/808">actions/setup-node#808</a></li> </ul> <h3>Update dependencies:</h3> <ul> <li>Update toolkit cache to fix zstd by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/804">actions/setup-node#804</a></li> <li>Bump tough-cookie and <code>@​azure/ms-rest-js</code> by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/802">actions/setup-node#802</a></li> <li>Bump semver from 6.1.2 to 6.3.1 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/807">actions/setup-node#807</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/setup-node/commit/8f152de45cc393bb48ce5d89d36b731f54556e65"><code>8f152de</code></a> Update actions/checkout for documentation and yaml (<a href="https://redirect.github.com/actions/setup-node/issues/876">#876</a>)</li> <li><a href="https://github.com/actions/setup-node/commit/23755b521f87533c8ed7f8fb13674f9021579e34"><code>23755b5</code></a> upgrade actions/checkout to v4 (<a href="https://redirect.github.com/actions/setup-node/issues/868">#868</a>)</li> <li><a href="https://github.com/actions/setup-node/commit/54534a2a9ba7308e8a8995af3104899e6a95b681"><code>54534a2</code></a> Change node version for action to node20 (<a href="https://redirect.github.com/actions/setup-node/issues/866">#866</a>)</li> <li>See full diff in <a href="https://github.com/actions/setup-node/compare/v3...v4">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-node&package-manager=github_actions&previous-version=3&new-version=4)](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> -------------------- Commit message for microsoft/vscode-python@c9944e7b5a05c81992c9c936c1588327cdaf8739: Bump actions/setup-node from 3 to 4 in /.github/actions/lint (microsoft/vscode-python#22297) Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/setup-node/releases">actions/setup-node's releases</a>.</em></p> <blockquote> <h2>v4.0.0</h2> <h2>What's Changed</h2> <p>In scope of this release we changed version of node runtime for action from node16 to node20 and updated dependencies in <a href="https://redirect.github.com/actions/setup-node/pull/866">actions/setup-node#866</a></p> <p>Besides, release contains such changes as:</p> <ul> <li>Upgrade actions/checkout to v4 by <a href="https://github.com/gmembre-zenika"><code>@​gmembre-zenika</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/868">actions/setup-node#868</a></li> <li>Update actions/checkout for documentation and yaml by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/876">actions/setup-node#876</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/gmembre-zenika"><code>@​gmembre-zenika</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-node/pull/868">actions/setup-node#868</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-node/compare/v3...v4.0.0">https://github.com/actions/setup-node/compare/v3...v4.0.0</a></p> <h2>v3.8.2</h2> <h2>What's Changed</h2> <ul> <li>Update semver by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/861">actions/setup-node#861</a></li> <li>Update temp directory creation by <a href="https://github.com/nikolai-laevskii"><code>@​nikolai-laevskii</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/859">actions/setup-node#859</a></li> <li>Bump <code>@​babel/traverse</code> from 7.15.4 to 7.23.2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/870">actions/setup-node#870</a></li> <li>Add notice about binaries not being updated yet by <a href="https://github.com/nikolai-laevskii"><code>@​nikolai-laevskii</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/872">actions/setup-node#872</a></li> <li>Update toolkit cache and core by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> and <a href="https://github.com/seongwon-privatenote"><code>@​seongwon-privatenote</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/875">actions/setup-node#875</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-node/compare/v3...v3.8.2">https://github.com/actions/setup-node/compare/v3...v3.8.2</a></p> <h2>v3.8.1</h2> <h2>What's Changed</h2> <p>In scope of this release, the filter was removed within the cache-save step by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/831">actions/setup-node#831</a>. It is filtered and checked in the toolkit/cache library.</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-node/compare/v3...v3.8.1">https://github.com/actions/setup-node/compare/v3...v3.8.1</a></p> <h2>v3.8.0</h2> <h2>What's Changed</h2> <h3>Bug fixes:</h3> <ul> <li>Add check for existing paths by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/803">actions/setup-node#803</a></li> <li>Resolve SymbolicLink by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/809">actions/setup-node#809</a></li> <li>Change passing logic for cache input by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/816">actions/setup-node#816</a></li> <li>Fix armv7 cache issue by <a href="https://github.com/louislam"><code>@​louislam</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/794">actions/setup-node#794</a></li> <li>Update check-dist workflow name by <a href="https://github.com/sinchang"><code>@​sinchang</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/710">actions/setup-node#710</a></li> </ul> <h3>Feature implementations:</h3> <ul> <li>feat: handling the case where &quot;node&quot; is used for tool-versions file. by <a href="https://github.com/xytis"><code>@​xytis</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/812">actions/setup-node#812</a></li> </ul> <h3>Documentation changes:</h3> <ul> <li>Refer to semver package name in README.md by <a href="https://github.com/olleolleolle"><code>@​olleolleolle</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/808">actions/setup-node#808</a></li> </ul> <h3>Update dependencies:</h3> <ul> <li>Update toolkit cache to fix zstd by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/804">actions/setup-node#804</a></li> <li>Bump tough-cookie and <code>@​azure/ms-rest-js</code> by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/802">actions/setup-node#802</a></li> <li>Bump semver from 6.1.2 to 6.3.1 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/807">actions/setup-node#807</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/setup-node/commit/8f152de45cc393bb48ce5d89d36b731f54556e65"><code>8f152de</code></a> Update actions/checkout for documentation and yaml (<a href="https://redirect.github.com/actions/setup-node/issues/876">#876</a>)</li> <li><a href="https://github.com/actions/setup-node/commit/23755b521f87533c8ed7f8fb13674f9021579e34"><code>23755b5</code></a> upgrade actions/checkout to v4 (<a href="https://redirect.github.com/actions/setup-node/issues/868">#868</a>)</li> <li><a href="https://github.com/actions/setup-node/commit/54534a2a9ba7308e8a8995af3104899e6a95b681"><code>54534a2</code></a> Change node version for action to node20 (<a href="https://redirect.github.com/actions/setup-node/issues/866">#866</a>)</li> <li>See full diff in <a href="https://github.com/actions/setup-node/compare/v3...v4">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-node&package-manager=github_actions&previous-version=3&new-version=4)](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> -------------------- Commit message for microsoft/vscode-python@fa0d02b8358efb02f12fd24bc2560ec9926c77ce: Bump actions/setup-node from 3 to 4 (microsoft/vscode-python#22298) Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/setup-node/releases">actions/setup-node's releases</a>.</em></p> <blockquote> <h2>v4.0.0</h2> <h2>What's Changed</h2> <p>In scope of this release we changed version of node runtime for action from node16 to node20 and updated dependencies in <a href="https://redirect.github.com/actions/setup-node/pull/866">actions/setup-node#866</a></p> <p>Besides, release contains such changes as:</p> <ul> <li>Upgrade actions/checkout to v4 by <a href="https://github.com/gmembre-zenika"><code>@​gmembre-zenika</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/868">actions/setup-node#868</a></li> <li>Update actions/checkout for documentation and yaml by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/876">actions/setup-node#876</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/gmembre-zenika"><code>@​gmembre-zenika</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-node/pull/868">actions/setup-node#868</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-node/compare/v3...v4.0.0">https://github.com/actions/setup-node/compare/v3...v4.0.0</a></p> <h2>v3.8.2</h2> <h2>What's Changed</h2> <ul> <li>Update semver by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/861">actions/setup-node#861</a></li> <li>Update temp directory creation by <a href="https://github.com/nikolai-laevskii"><code>@​nikolai-laevskii</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/859">actions/setup-node#859</a></li> <li>Bump <code>@​babel/traverse</code> from 7.15.4 to 7.23.2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/870">actions/setup-node#870</a></li> <li>Add notice about binaries not being updated yet by <a href="https://github.com/nikolai-laevskii"><code>@​nikolai-laevskii</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/872">actions/setup-node#872</a></li> <li>Update toolkit cache and core by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> and <a href="https://github.com/seongwon-privatenote"><code>@​seongwon-privatenote</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/875">actions/setup-node#875</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-node/compare/v3...v3.8.2">https://github.com/actions/setup-node/compare/v3...v3.8.2</a></p> <h2>v3.8.1</h2> <h2>What's Changed</h2> <p>In scope of this release, the filter was removed within the cache-save step by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/831">actions/setup-node#831</a>. It is filtered and checked in the toolkit/cache library.</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-node/compare/v3...v3.8.1">https://github.com/actions/setup-node/compare/v3...v3.8.1</a></p> <h2>v3.8.0</h2> <h2>What's Changed</h2> <h3>Bug fixes:</h3> <ul> <li>Add check for existing paths by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/803">actions/setup-node#803</a></li> <li>Resolve SymbolicLink by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/809">actions/setup-node#809</a></li> <li>Change passing logic for cache input by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/816">actions/setup-node#816</a></li> <li>Fix armv7 cache issue by <a href="https://github.com/louislam"><code>@​louislam</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/794">actions/setup-node#794</a></li> <li>Update check-dist workflow name by <a href="https://github.com/sinchang"><code>@​sinchang</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/710">actions/setup-node#710</a></li> </ul> <h3>Feature implementations:</h3> <ul> <li>feat: handling the case where &quot;node&quot; is used for tool-versions file. by <a href="https://github.com/xytis"><code>@​xytis</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/812">actions/setup-node#812</a></li> </ul> <h3>Documentation changes:</h3> <ul> <li>Refer to semver package name in README.md by <a href="https://github.com/olleolleolle"><code>@​olleolleolle</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/808">actions/setup-node#808</a></li> </ul> <h3>Update dependencies:</h3> <ul> <li>Update toolkit cache to fix zstd by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/804">actions/setup-node#804</a></li> <li>Bump tough-cookie and <code>@​azure/ms-rest-js</code> by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/802">actions/setup-node#802</a></li> <li>Bump semver from 6.1.2 to 6.3.1 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/807">actions/setup-node#807</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/setup-node/commit/8f152de45cc393bb48ce5d89d36b731f54556e65"><code>8f152de</code></a> Update actions/checkout for documentation and yaml (<a href="https://redirect.github.com/actions/setup-node/issues/876">#876</a>)</li> <li><a href="https://github.com/actions/setup-node/commit/23755b521f87533c8ed7f8fb13674f9021579e34"><code>23755b5</code></a> upgrade actions/checkout to v4 (<a href="https://redirect.github.com/actions/setup-node/issues/868">#868</a>)</li> <li><a href="https://github.com/actions/setup-node/commit/54534a2a9ba7308e8a8995af3104899e6a95b681"><code>54534a2</code></a> Change node version for action to node20 (<a href="https://redirect.github.com/actions/setup-node/issues/866">#866</a>)</li> <li>See full diff in <a href="https://github.com/actions/setup-node/compare/v3...v4">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-node&package-manager=github_actions&previous-version=3&new-version=4)](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> -------------------- Commit message for microsoft/vscode-python@10327096932620304a49db6d9742bac676c68b04: Log commands when using raw process APIs directly (microsoft/vscode-python#22326) -------------------- Commit message for microsoft/vscode-python@c3afea5984b3dc41b1b3bf2ce04142baaf381029: Update linter and formatter warning notifications (microsoft/vscode-python#22292) closes https://github.com/microsoft/vscode-python/issues/22272 --------- Co-authored-by: Luciana Abud <45497113+luabud@users.noreply.github.com> -------------------- Commit message for microsoft/vscode-python@3c88f27697f4a4b1251146b27b34c56c454ff9c7: Improve notification texts for terminal activation (microsoft/vscode-python#22323) Closes https://github.com/microsoft/vscode-python/issues/22316 -------------------- Commit message for microsoft/vscode-python@9e07503d11442bfafb84108d0f0e339eb29c040f: Use taskkill to kill processes on Windows (microsoft/vscode-python#22286) For https://github.com/microsoft/vscode-python/issues/22285 -------------------- Commit message for microsoft/vscode-python@daab11d7bfdda996325a7b0ca691c84e7d0fea5e: Only show terminal notification for basic terminals created using '+' icon (microsoft/vscode-python#22275) -------------------- Commit message for microsoft/vscode-python@d75874110cbd53bae8a2e2b006814ad1fd21331a: Add telemetry for deactivate prompt (microsoft/vscode-python#22274) -------------------- Commit message for microsoft/vscode-python@f57be20d7af6c623774cd148f07ed77c31607ee7: Support powershell activation even if Powershell execution is disabled on the system (microsoft/vscode-python#22273) Closes https://github.com/microsoft/vscode-python/issues/22252 Error out if stderr is related to Powershell execution being disabled on system, even though environment variables are returned in this case, we've observed they're not valid in this case. -------------------- Commit message for microsoft/vscode-python@802cf0c136fa30d5a4e69b6cee60e20fb650636d: Reveal selection after editing deactivate script (microsoft/vscode-python#22271) -------------------- Commit message for microsoft/vscode-python@63337522aa7bf207b1028323262693d1961a33a1: add envFile's pythonpath before running tests (microsoft/vscode-python#22269) fixes https://github.com/microsoft/vscode-python/issues/22231 --------- Co-authored-by: Karthik Nadig <kanadig@microsoft.com> -------------------- Commit message for microsoft/vscode-python@043881397910818cf43b94b85fb3692a4735a14b: Guide users to install workaround when deactivate command is run (microsoft/vscode-python#22223) -------------------- Commit message for microsoft/vscode-python@a55484d3c3ccadfc5144c5aa48bdefcb803a1f97: Fix for stack overflow on dispose (microsoft/vscode-python#22263) Closes https://github.com/microsoft/vscode-python/issues/22261 -------------------- Commit message for microsoft/vscode-python@5d7eb6546b2c1e03c9c321410b79fed32f859624: Remove linting support (microsoft/vscode-python#22266) -------------------- Commit message for microsoft/vscode-python@c82702e584c01c9891007d792e55d0b48e8ea38a: Add extra logging to PythonTestServer data received before parsed as json (microsoft/vscode-python#22265) gives additional insight into cases where the data returned to the extension occurs but tests are still not populating the UI. -------------------- Commit message for microsoft/vscode-python@0ffce1999c5c611668c0dcc00eab6397a9f1f137: Bump microvenv from 2023.3.post1 to 2023.5 (microsoft/vscode-python#22259) Bumps [microvenv](https://github.com/brettcannon/microvenv) from 2023.3.post1 to 2023.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/brettcannon/microvenv/releases">microvenv's releases</a>.</em></p> <blockquote> <h2>2023.5</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>⚠️ Breaking Changes</h3> <ul> <li>Drop Python 3.7 by <a href="https://github.com/brettcannon"><code>@​brettcannon</code></a> in <a href="https://redirect.github.com/brettcannon/microvenv/pull/58">brettcannon/microvenv#58</a></li> </ul> <h3>🎉 New Features</h3> <ul> <li>Get mypy passing under Windows by <a href="https://github.com/brettcannon"><code>@​brettcannon</code></a> in <a href="https://redirect.github.com/brettcannon/microvenv/pull/58">brettcannon/microvenv#58</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/brettcannon/microvenv/compare/v2023.4...v2023.5">https://github.com/brettcannon/microvenv/compare/v2023.4...v2023.5</a></p> <h2>2023.4</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>🪲 Bug Fixes</h3> <ul> <li>Prevent <code>__main__.py</code> from attempting to execute on Windows. by <a href="https://github.com/brettcannon"><code>@​brettcannon</code></a> in <a href="https://redirect.github.com/brettcannon/microvenv/pull/57">brettcannon/microvenv#57</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/brettcannon/microvenv/compare/v2023.3.post1...v2023.4">https://github.com/brettcannon/microvenv/compare/v2023.3.post1...v2023.4</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/brettcannon/microvenv/commit/7cdcf908438fd1e8b2370624ec80a9ee44a597ec"><code>7cdcf90</code></a> Get mypy passing under Windows (<a href="https://redirect.github.com/brettcannon/microvenv/issues/58">#58</a>)</li> <li><a href="https://github.com/brettcannon/microvenv/commit/d32ca9dc1be5e029d326a240eda5c8137b64009d"><code>d32ca9d</code></a> Fix <code>.github/workflows/docs.yml</code> syntax</li> <li><a href="https://github.com/brettcannon/microvenv/commit/ee3b599b2e15e0c409641ad4c8313c9a28f654d9"><code>ee3b599</code></a> Prevent <code>__main__.py</code> from attempting to execute on Windows. (<a href="https://redirect.github.com/brettcannon/microvenv/issues/57">#57</a>)</li> <li>See full diff in <a href="https://github.com/brettcannon/microvenv/compare/v2023.3.post1...v2023.5">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=microvenv&package-manager=pip&previous-version=2023.3.post1&new-version=2023.5)](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> -------------------- Commit message for microsoft/vscode-python@8becc7654d3765520b99b973fb61e696748daa66: Remove unused text edit code (microsoft/vscode-python#22244) This is part of removing the formatting support from the extension. -------------------- Commit message for microsoft/vscode-python@7cb3593c1f998d109721f783a0b80ae878dd0164: Remove unmatched parenthesis from error message (microsoft/vscode-python#22254) Remove unmatched parenthesis from error message closes: https://github.com/microsoft/vscode-python/issues/22253 -------------------- Commit message for microsoft/vscode-python@01c7665e37f4674a6a574d38f4f7af9344ec0485: add correct retrieval of workspace adapter for test discovery in multiroot context (microsoft/vscode-python#22246) fixes: https://github.com/microsoft/vscode-python/issues/22218 -------------------- Commit message for microsoft/vscode-python@4caa20735b4fa7832e3d62e884cbc04b482f2ad8: add wrapper hook for pytest_runtest_protocol (microsoft/vscode-python#22243) fixes https://github.com/microsoft/vscode-python/issues/22232. From https://github.com/pytest-dev/pytest/discussions/11509, learned that some pytest hooks are meant to be unique and only one will be called per run. If multiple plugins are at play then another plugin the user has might override our plugin. Added the hookwrapper so our is always run. Same as https://github.com/microsoft/vscode-python/pull/22240 -------------------- Commit message for microsoft/vscode-python@44053a22aafaa4ae1d661f867b4735b237308a14: add hookwrappers to pytest plugin to ensure run (microsoft/vscode-python#22240) fixes https://github.com/microsoft/vscode-python/issues/22232. From [this discussion](https://github.com/pytest-dev/pytest/discussions/11509), learned that some pytest hooks are meant to be unique and only one will be called per run. If multiple plugins are at play then another plugin the user has might override our plugin. Added the hookwrapper so our is always run. -------------------- Commit message for microsoft/vscode-python@754f8effa482d2e37a8dfba588da4d51374e2a63: remove node deletion for error tolerant discovery (microsoft/vscode-python#22207) helps with a part of https://github.com/microsoft/vscode-python/issues/21757 -------------------- Commit message for microsoft/vscode-python@ebaf8fe0d587cfbc190bd89ad4d584c35ff57bd1: Fix experiment telemetry related to optInto/optOutFrom settings (microsoft/vscode-python#22241) cc/ @luabud -------------------- Commit message for microsoft/vscode-python@10b98d34b51b501531ac21027fcab59b12c8e182: Deprecate the log directory setting (microsoft/vscode-python#22236) -------------------- Commit message for microsoft/vscode-python@f43826256703a40f76e1a93e677e72e5963689bc: Add support for a tensorboard experiment (microsoft/vscode-python#22215) -------------------- Commit message for microsoft/vscode-python@1310bd665d83bcd4e09903bff39ac841dafcad52: Enable experiments for all tests (microsoft/vscode-python#22194) Closes: microsoft/vscode-python#22193 Enables to opt into experiments for tests such as single workspace, multi workspace, debugger, venv, etc. -------------------- Commit message for microsoft/vscode-python@ed155afa4bf6acdbd0341d093b5a00e13237985e: remove asserts from catchable code for testing (microsoft/vscode-python#22210) some asserts were inside functions / mocking and with this then the extension code catches the exception and doesn't error out as the test. Bring the asserts out of the functions into the test so the asserts work as expected. -------------------- Commit message for microsoft/vscode-python@eada0f1ab940729ae335389c34899d64b56edd35: Bump microvenv from 2023.2.0 to 2023.3.post1 (microsoft/vscode-python#22204) Bumps [microvenv](https://github.com/brettcannon/microvenv) from 2023.2.0 to 2023.3.post1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/brettcannon/microvenv/releases">microvenv's releases</a>.</em></p> <blockquote> <h2>2023.3.post1</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>⚠️ Breaking Changes</h3> <ul> <li>Add support for <code>scm_ignore_files</code> (and restructure project) by <a href="https://github.com/brettcannon"><code>@​brettcannon</code></a> in <a href="https://redirect.github.com/brettcannon/microvenv/pull/44">brettcannon/microvenv#44</a></li> </ul> <h3>🎉 New Features</h3> <ul> <li>Add <code>IN_VIRTUAL_ENV</code> by <a href="https://github.com/brettcannon"><code>@​brettcannon</code></a> in <a href="https://redirect.github.com/brettcannon/microvenv/pull/47">brettcannon/microvenv#47</a></li> <li>Add <code>parse_config()</code> by <a href="https://github.com/brettcannon"><code>@​brettcannon</code></a> in <a href="https://redirect.github.com/brettcannon/microvenv/pull/48">brettcannon/microvenv#48</a></li> <li>Add <code>activation()</code> by <a href="https://github.com/brettcannon"><code>@​brettcannon</code></a> in <a href="https://redirect.github.com/brettcannon/microvenv/pull/49">brettcannon/microvenv#49</a></li> <li>Add type annotations by <a href="https://github.com/brettcannon"><code>@​brettcannon</code></a> in <a href="https://redirect.github.com/brettcannon/microvenv/pull/50">brettcannon/microvenv#50</a></li> <li>Add docs by <a href="https://github.com/brettcannon"><code>@​brettcannon</code></a> in <a href="https://redirect.github.com/brettcannon/microvenv/pull/51">brettcannon/microvenv#51</a></li> <li>Add support for Windows (except for <code>create()</code>) by <a href="https://github.com/brettcannon"><code>@​brettcannon</code></a> in <a href="https://redirect.github.com/brettcannon/microvenv/pull/55">brettcannon/microvenv#55</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/brettcannon/microvenv/compare/v2023.2.0...v2023.3.post1">https://github.com/brettcannon/microvenv/compare/v2023.2.0...v2023.3.post1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/brettcannon/microvenv/commit/bf19f920060bd636ce15a992a118ee6a255d15ac"><code>bf19f92</code></a> Update the docs due to Windows support</li> <li><a href="https://github.com/brettcannon/microvenv/commit/0c5436dcd8718ba353140e0b2c73327f247d3737"><code>0c5436d</code></a> Fix <code>docs.yml</code></li> <li><a href="https://github.com/brettcannon/microvenv/commit/00d43b4188867d407387f314444d2f0b557383ea"><code>00d43b4</code></a> Update the version for release</li> <li><a href="https://github.com/brettcannon/microvenv/commit/2e8d62ec1b9a4bdf57f32bf5aac807b661f176be"><code>2e8d62e</code></a> Add a <code>release.yml</code> workflow</li> <li><a href="https://github.com/brettcannon/microvenv/commit/7b9ca8aff40eda2495a130453b8586646398d157"><code>7b9ca8a</code></a> Add support for Windows (except for <code>create()</code>) (<a href="https://redirect.github.com/brettcannon/microvenv/issues/55">#55</a>)</li> <li><a href="https://github.com/brettcannon/microvenv/commit/7085e42a4b8df4706a4395ff520617801726db22"><code>7085e42</code></a> Drop CI path requirements</li> <li><a href="https://github.com/brettcannon/microvenv/commit/f9dc600ebf4feb08486e406688297ce6d61734ab"><code>f9dc600</code></a> Add mypy's stubtest to linting</li> <li><a href="https://github.com/brettcannon/microvenv/commit/54e08f8b35b920b4211b706404f55075e9d16b09"><code>54e08f8</code></a> Clarify that <code>_create.py</code> is self-contained</li> <li><a href="https://github.com/brettcannon/microvenv/commit/3145fcbaa4a0bc36d832d155d17f34389b8a398e"><code>3145fcb</code></a> Merge branch 'main' of github.com:brettcannon/microvenv</li> <li><a href="https://github.com/brettcannon/microvenv/commit/6c0529e2b49469544829dbb50008c933e08cb44b"><code>6c0529e</code></a> Drop the static HTML directory</li> <li>Additional commits viewable in <a href="https://github.com/brettcannon/microvenv/compare/v2023.2.0...v2023.3.post1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=microvenv&package-manager=pip&previous-version=2023.2.0&new-version=2023.3.post1)](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> -------------------- Commit message for microsoft/vscode-python@76ae73a46bea7e722bf43e4d5550b3d895066d90: Skip setting `PYTHONUTF8` when activating terminals (microsoft/vscode-python#22213) Closes https://github.com/microsoft/vscode-python/issues/22205 -------------------- Commit message for microsoft/vscode-python@bdb8efb9dd20cefd56a11687ed7f7dfc89f9f15d: Try using `import` in webpack condition names (microsoft/vscode-python#22212) -------------------- Commit message for microsoft/vscode-python@6c23e4335db10e900ea0ca2402e267322c3a2e69: Handle white spaces for list along with dictionary (microsoft/vscode-python#22209) Legacy normalization script leaves unnecessary white spaces for dictionary as well as list. While there are multiple correct usage of it such as for after a function, for more intuitive REPL experience. We want to keep previous normalization style and white space format EXCEPT for dictionary and list case. Dictionary case is handled, but this is the PR to handle the elimination of extra white spaces for list as well. Closes: microsoft/vscode-python#22208 -------------------- Commit message for microsoft/vscode-python@ec001a0b1503555e685996baab8fda4f0648c454: Fix for webpack warning with LSP types (microsoft/vscode-python#22211) -------------------- Commit message for microsoft/vscode-python@9b5f58afc0acacacd45c035c4e1a78622944407d: Add logging for failure to retrieve environment variables, testing rewrite (microsoft/vscode-python#22203) -------------------- Commit message for microsoft/vscode-python@65c8ac6e3f272d76c9775ad1163a18c61d473119: Remove formatting settings (microsoft/vscode-python#22202) Closes https://github.com/microsoft/vscode-python/issues/22183 -------------------- Commit message for microsoft/vscode-python@d1e4562b64e38045f549ca00025c4620a6a89567: Move tensorboard support into a separate extension (microsoft/vscode-python#22197) * No need of experiments (if users install extension, then it works) * If tensorboard extension is installed the we rely on tensorboard extension to handle everything * For final deplayment we can decide whether to just remove this feature altogether or prompt users to install tensorboard extension or to go with an experiment, for now I wanted to keep this super simple (this shoudl not affect anyone as no one will have a tensorboard extension except us) * Simple private API for tensorboard extension, untill Python ext exposes a stable API * API is similar to Jupyter, scoped to Tensorboard ext -------------------- Commit message for microsoft/vscode-python@1dd8a4bdb16d0a7e79082c75d8eb55a142a48fc2: switch testing output to test result panel (microsoft/vscode-python#22039) closes https://github.com/microsoft/vscode-python/issues/21861 and related issues --------- Co-authored-by: Courtney Webster <60238438+cwebster-99@users.noreply.github.com> -------------------- Commit message for microsoft/vscode-python@055a352285db83158be4374a2e57bdc48b28fda8: Remove formatting support (microsoft/vscode-python#22196) -------------------- Commit message for microsoft/vscode-python@75e707be42bf67aac316c900f7d095c1e21bae28: Update LSP to latest version to support completion itemDefaults (microsoft/vscode-python#22200) Dirk added this feature here: https://github.com/microsoft/vscode-languageserver-node/commit/0b7acc15abd7132c9154d94140f478ccf5ba5769 We want to use this in Pylance in order to speedup completions. For the degenerate case, this can speedup completion results by 30%. See https://github.com/microsoft/pyrx/issues/4113 and https://github.com/microsoft/pylance-release/issues/4919 -------------------- Commit message for microsoft/vscode-python@bc0c7144d586d5a7514921ddfc8cd495f1838ba1: add clickable show logs on discovery error (microsoft/vscode-python#22199) fixes https://github.com/microsoft/vscode-python/issues/22175 -------------------- Commit message for microsoft/vscode-python@56661a1576b93430953f249cda582eeef30ff543: REPL Smart Shift+Enter and Dynamic Smart Cursor (microsoft/vscode-python#21779) There are two Feature Requests from: microsoft/vscode-python#18105 microsoft/vscode-python#21838 They are grouped together to provide the smoothest experience: when user wants to press shift+enter and smoothly move between each executable Python code block without having to manually move their cursor. #19955 (For Execute line/selection and advance to next line, referred to as dynamic smart cursor hereby) Open Issue: microsoft/vscode-python#21778 microsoft/vscode-python#21838 Steps in implementing REPL Smart Send (smart shift+enter to the REPL) and dynamic cursor move aka. Move to Next Line (next executable line of code to be more precise): 1. Figure out the workflow of where things start and run when user clicks on run selection/line 2. Send the content of selection & document to the Python Side from Typescript side. 3. Respect and follow previous logic/code for EXPLICIT selection (user has highlighting particular text they want to …
1 parent a70348e commit abef31f

File tree

226 files changed

+4450
-11732
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

226 files changed

+4450
-11732
lines changed

extensions/positron-python/.github/actions/build-vsix/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runs:
1616
using: 'composite'
1717
steps:
1818
- name: Install Node
19-
uses: actions/setup-node@v3
19+
uses: actions/setup-node@v4
2020
with:
2121
node-version: ${{ inputs.node_version }}
2222
cache: 'npm'

extensions/positron-python/.github/actions/lint/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runs:
1010
using: 'composite'
1111
steps:
1212
- name: Install Node
13-
uses: actions/setup-node@v3
13+
uses: actions/setup-node@v4
1414
with:
1515
node-version: ${{ inputs.node_version }}
1616
cache: 'npm'

extensions/positron-python/.github/dependabot.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ updates:
3737
- dependency-name: prospector # Due to Python 2.7 and #14477.
3838
- dependency-name: pytest # Due to Python 2.7 and #13776.
3939
- dependency-name: py # Due to Python 2.7.
40-
- dependency-name: isort
4140
- dependency-name: jedi-language-server
4241
labels:
4342
- 'no-changelog'

extensions/positron-python/.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ jobs:
168168
path: ${{ env.special-working-directory-relative }}
169169

170170
- name: Install Node
171-
uses: actions/setup-node@v3
171+
uses: actions/setup-node@v4
172172
with:
173173
node-version: ${{ env.NODE_VERSION }}
174174
cache: 'npm'

extensions/positron-python/.github/workflows/pr-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
path: ${{ env.special-working-directory-relative }}
144144

145145
- name: Install Node
146-
uses: actions/setup-node@v3
146+
uses: actions/setup-node@v4
147147
with:
148148
node-version: ${{ env.NODE_VERSION }}
149149
cache: 'npm'
@@ -356,7 +356,7 @@ jobs:
356356
uses: actions/checkout@v4
357357

358358
- name: Install Node
359-
uses: actions/setup-node@v3
359+
uses: actions/setup-node@v4
360360
with:
361361
node-version: ${{ env.NODE_VERSION }}
362362
cache: 'npm'

extensions/positron-python/.vscode/extensions.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
"dbaeumer.vscode-eslint",
88
"ms-python.python",
99
"ms-python.black-formatter",
10-
"ms-python.vscode-pylance"
10+
"ms-python.vscode-pylance",
11+
"ms-python.isort",
12+
"ms-python.flake8"
1113
]
1214
}

extensions/positron-python/.vscode/settings.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,8 @@
4646
"editor.formatOnSave": true
4747
},
4848
"typescript.tsdk": "./node_modules/typescript/lib", // we want to use the TS server from our node_modules folder to control its version
49-
"python.linting.enabled": false,
50-
"python.formatting.provider": "black",
51-
"python.sortImports.args": ["--profile", "black"],
5249
"typescript.preferences.quoteStyle": "single",
5350
"javascript.preferences.quoteStyle": "single",
54-
"typescriptHero.imports.stringQuoteStyle": "'",
5551
"prettier.printWidth": 120,
5652
"prettier.singleQuote": true,
5753
"editor.codeActionsOnSave": {
@@ -72,12 +68,16 @@
7268
"pythonFiles/tests"
7369
],
7470
"typescript.preferences.importModuleSpecifier": "relative",
75-
"debug.javascript.usePreview": false,
7671
// Branch name suggestion.
7772
"git.branchProtectionPrompt": "alwaysCommitToNewBranch",
7873
"git.branchRandomName.enable": true,
7974
"git.branchProtection": ["main", "release/*"],
8075
"git.pullBeforeCheckout": true,
8176
// Open merge editor for resolving conflicts.
82-
"git.mergeEditor": true
77+
"git.mergeEditor": true,
78+
"python.testing.pytestArgs": [
79+
"pythonFiles/tests"
80+
],
81+
"python.testing.unittestEnabled": false,
82+
"python.testing.pytestEnabled": true
8383
}

extensions/positron-python/README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Open the Command Palette (Command+Shift+P on macOS and Ctrl+Shift+P on Windows/L
6060
| `Python: Select Interpreter` | Switch between Python interpreters, versions, and environments. |
6161
| `Python: Start REPL` | Start an interactive Python REPL using the selected interpreter in the VS Code terminal. |
6262
| `Python: Run Python File in Terminal` | Runs the active Python file in the VS Code terminal. You can also run a Python file by right-clicking on the file and selecting `Run Python File in Terminal`. |
63-
| `Format Document` | Formats code using the provided [formatter](https://code.visualstudio.com/docs/python/editing#_formatting) in the `settings.json` file. |
63+
| `Format Document` | Formats code using the provided [formatter](https://code.visualstudio.com/docs/python/formatting) in the `settings.json` file. |
6464
| `Python: Configure Tests` | Select a test framework and configure it to display the Test Explorer. |
6565

6666
To see all available Python commands, open the Command Palette and type `Python`. For Jupyter extension commands, just type `Jupyter`.
@@ -71,16 +71,11 @@ Learn more about the rich features of the Python extension:
7171

7272
- [IntelliSense](https://code.visualstudio.com/docs/python/editing#_autocomplete-and-intellisense): Edit your code with auto-completion, code navigation, syntax checking and more
7373
- [Linting](https://code.visualstudio.com/docs/python/linting): Get additional code analysis with Pylint, Flake8 and more
74-
- [Code formatting](https://code.visualstudio.com/docs/python/editing#_formatting): Format your code with black, autopep or yapf
75-
74+
- [Code formatting](https://code.visualstudio.com/docs/python/formatting): Format your code with black, autopep or yapf
7675
- [Debugging](https://code.visualstudio.com/docs/python/debugging): Debug your Python scripts, web apps, remote or multi-threaded processes
77-
7876
- [Testing](https://code.visualstudio.com/docs/python/unit-testing): Run and debug tests through the Test Explorer with unittest or pytest.
79-
8077
- [Jupyter Notebooks](https://code.visualstudio.com/docs/python/jupyter-support): Create and edit Jupyter Notebooks, add and run code cells, render plots, visualize variables through the variable explorer, visualize dataframes with the data viewer, and more
81-
8278
- [Environments](https://code.visualstudio.com/docs/python/environments): Automatically activate and switch between virtualenv, venv, pipenv, conda and pyenv environments
83-
8479
- [Refactoring](https://code.visualstudio.com/docs/python/editing#_refactoring): Restructure your Python code with variable extraction and method extraction. Additionally, there is componentized support to enable additional refactoring, such as import sorting, through extensions including [isort](https://marketplace.visualstudio.com/items?itemName=ms-python.isort) and [Ruff](https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff).
8580

8681

extensions/positron-python/ThirdPartyNotices-Repository.txt

Lines changed: 11 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,17 @@ Microsoft Python extension for Visual Studio Code incorporates third party mater
66

77
1. Go for Visual Studio Code (https://github.com/Microsoft/vscode-go)
88
2. Files from the Python Project (https://www.python.org/)
9-
3. Google Diff Match and Patch (https://github.com/GerHobbelt/google-diff-match-patch)
10-
4. omnisharp-vscode (https://github.com/OmniSharp/omnisharp-vscode)
11-
5. PTVS (https://github.com/Microsoft/PTVS)
12-
6. Python documentation (https://docs.python.org/)
13-
7. python-functools32 (https://github.com/MiCHiLU/python-functools32/blob/master/functools32/functools32.py)
14-
8. pythonVSCode (https://github.com/DonJayamanne/pythonVSCode)
15-
9. Sphinx (http://sphinx-doc.org/)
16-
10. nteract (https://github.com/nteract/nteract)
17-
11. less-plugin-inline-urls (https://github.com/less/less-plugin-inline-urls/)
18-
12. vscode-cpptools (https://github.com/microsoft/vscode-cpptools)
19-
13. mocha (https://github.com/mochajs/mocha)
20-
14. get-pip (https://github.com/pypa/get-pip)
9+
3. omnisharp-vscode (https://github.com/OmniSharp/omnisharp-vscode)
10+
4. PTVS (https://github.com/Microsoft/PTVS)
11+
5. Python documentation (https://docs.python.org/)
12+
6. python-functools32 (https://github.com/MiCHiLU/python-functools32/blob/master/functools32/functools32.py)
13+
7. pythonVSCode (https://github.com/DonJayamanne/pythonVSCode)
14+
8. Sphinx (http://sphinx-doc.org/)
15+
9. nteract (https://github.com/nteract/nteract)
16+
10. less-plugin-inline-urls (https://github.com/less/less-plugin-inline-urls/)
17+
11. vscode-cpptools (https://github.com/microsoft/vscode-cpptools)
18+
12. mocha (https://github.com/mochajs/mocha)
19+
13. get-pip (https://github.com/pypa/get-pip)
2120

2221
%%
2322
Go for Visual Studio Code NOTICES, INFORMATION, AND LICENSE BEGIN HERE
@@ -244,25 +243,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
244243
=========================================
245244
END OF Files from the Python Project NOTICES, INFORMATION, AND LICENSE
246245

247-
%% Google Diff Match and Patch NOTICES, INFORMATION, AND LICENSE BEGIN HERE
248-
=========================================
249-
* Copyright 2006 Google Inc.
250-
* http://code.google.com/p/google-diff-match-patch/
251-
*
252-
* Licensed under the Apache License, Version 2.0 (the "License");
253-
* you may not use this file except in compliance with the License.
254-
* You may obtain a copy of the License at
255-
*
256-
* http://www.apache.org/licenses/LICENSE-2.0
257-
*
258-
* Unless required by applicable law or agreed to in writing, software
259-
* distributed under the License is distributed on an "AS IS" BASIS,
260-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
261-
* See the License for the specific language governing permissions and
262-
* limitations under the License.
263-
=========================================
264-
END OF Google Diff Match and Patch NOTICES, INFORMATION, AND LICENSE
265-
266246
%% omnisharp-vscode NOTICES, INFORMATION, AND LICENSE BEGIN HERE
267247
=========================================
268248
Copyright (c) Microsoft Corporation

extensions/positron-python/build/test-requirements.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
# pin setoptconf to prevent issue with 'use_2to3'
22
setoptconf==0.3.0
33

4-
# Install flake8 first, as both flake8 and autopep8 require pycodestyle,
5-
# but flake8 has a tighter pinning.
64
flake8
7-
autopep8
85
bandit
9-
black
10-
yapf
116
pylint
127
pycodestyle
138
pydocstyle
@@ -18,7 +13,6 @@ flask
1813
fastapi
1914
uvicorn
2015
django
21-
isort
2216

2317
# Integrated TensorBoard tests
2418
tensorboard

extensions/positron-python/build/webpack/common.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ exports.nodeModulesToExternalize = [
2121
'unicode/category/Nd',
2222
'unicode/category/Pc',
2323
'source-map-support',
24-
'diff-match-patch',
2524
'sudo-prompt',
2625
'node-stream-zip',
2726
'xml2js',

extensions/positron-python/build/webpack/webpack.extension.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ const config = {
7272
resolve: {
7373
extensions: ['.ts', '.js'],
7474
plugins: [new tsconfig_paths_webpack_plugin.TsconfigPathsPlugin({ configFile: configFileName })],
75+
conditionNames: ['import', 'require', 'node'],
7576
},
7677
output: {
7778
filename: '[name].js',

extensions/positron-python/gulpfile.js

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ const nativeDependencyChecker = require('node-has-native-dependencies');
2020
const flat = require('flat');
2121
const { argv } = require('yargs');
2222
const os = require('os');
23+
// --- Start Positron ---
2324
const rmrf = require('rimraf');
25+
// --- End Positron ---
2426
const typescript = require('typescript');
2527

2628
const tsProject = ts.createProject('./tsconfig.json', { typescript });
@@ -247,6 +249,7 @@ gulp.task('prePublishBundle', gulp.series('webpack', 'renameSourceMaps'));
247249
gulp.task('checkDependencies', gulp.series('checkNativeDependencies'));
248250
gulp.task('prePublishNonBundle', gulp.series('compile'));
249251

252+
// --- Start Positron ---
250253
gulp.task('installPythonRequirements', async () => {
251254
let args = [
252255
'-m',
@@ -264,9 +267,7 @@ gulp.task('installPythonRequirements', async () => {
264267
'-r',
265268
'./requirements.txt',
266269
];
267-
// --- Start Positron ---
268270
await spawnAsync(pythonCommand, args, undefined, true)
269-
// --- End Positron ---
270271
.then(() => true)
271272
.catch((ex) => {
272273
console.error("Failed to install requirements using 'python'", ex);
@@ -289,9 +290,7 @@ gulp.task('installPythonRequirements', async () => {
289290
'-r',
290291
'./pythonFiles/jedilsp_requirements/requirements.txt',
291292
];
292-
// --- Start Positron ---
293293
await spawnAsync(pythonCommand, args, undefined, true)
294-
// --- End Positron ---
295294
.then(() => true)
296295
.catch((ex) => {
297296
console.error("Failed to install Jedi LSP requirements using 'python'", ex);
@@ -313,9 +312,7 @@ gulp.task('installDebugpy', async () => {
313312
'-r',
314313
'./build/build-install-requirements.txt',
315314
];
316-
// --- Start Positron ---
317315
await spawnAsync(pythonCommand, depsArgs, undefined, true)
318-
// --- End Positron ---
319316
.then(() => true)
320317
.catch((ex) => {
321318
console.error("Failed to install dependencies need by 'install_debugpy.py' using 'python'", ex);
@@ -325,9 +322,7 @@ gulp.task('installDebugpy', async () => {
325322
// Install new DEBUGPY with wheels for python
326323
const wheelsArgs = ['./pythonFiles/install_debugpy.py'];
327324
const wheelsEnv = { PYTHONPATH: './pythonFiles/lib/temp' };
328-
// --- Start Positron ---
329325
await spawnAsync(pythonCommand, wheelsArgs, wheelsEnv, true)
330-
// --- End Positron ---
331326
.then(() => true)
332327
.catch((ex) => {
333328
console.error("Failed to install DEBUGPY wheels using 'python'", ex);
@@ -349,7 +344,6 @@ gulp.task('installDebugpy', async () => {
349344

350345
gulp.task('installPythonLibs', gulp.series('installPythonRequirements', 'installDebugpy'));
351346

352-
// --- Start Positron ---
353347
function locatePython() {
354348
let pythonPath = process.env.CI_PYTHON_PATH || 'python3';
355349
const whichCommand = os.platform() === 'win32' ? 'where' : 'which';

extensions/positron-python/noxfile.py

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Copyright (c) Microsoft Corporation. All rights reserved.
2+
# Licensed under the MIT License.
3+
4+
import pathlib
5+
import nox
6+
import shutil
7+
8+
9+
@nox.session()
10+
def install_python_libs(session: nox.Session):
11+
requirements = [
12+
("./pythonFiles/lib/python", "./requirements.txt"),
13+
(
14+
"./pythonFiles/lib/jedilsp",
15+
"./pythonFiles/jedilsp_requirements/requirements.txt",
16+
),
17+
]
18+
for target, file in requirements:
19+
session.install(
20+
"-t",
21+
target,
22+
"--no-cache-dir",
23+
"--implementation",
24+
"py",
25+
"--no-deps",
26+
"--require-hashes",
27+
"--only-binary",
28+
":all:",
29+
"-r",
30+
file,
31+
)
32+
33+
session.install("packaging")
34+
35+
# Install debugger
36+
session.run(
37+
"python",
38+
"./pythonFiles/install_debugpy.py",
39+
env={"PYTHONPATH": "./pythonFiles/lib/temp"},
40+
)
41+
42+
# Download get-pip script
43+
session.run(
44+
"python",
45+
"./pythonFiles/download_get_pip.py",
46+
env={"PYTHONPATH": "./pythonFiles/lib/temp"},
47+
)
48+
49+
if pathlib.Path("./pythonFiles/lib/temp").exists():
50+
shutil.rmtree("./pythonFiles/lib/temp")

0 commit comments

Comments
 (0)