Skip to content

Commit

Permalink
Merged PR posit-dev/positron-python#224: Merge/2023.18
Browse files Browse the repository at this point in the history
Merge pull request #224 from posit-dev/merge/2023.18

Merge/2023.18
--------------------
Commit message for posit-dev/positron-python@2b2e3424b2f795dec25b97380838eca053c03b07:

Skip failing flaky test, it needs to be re-written

--------------------
Commit message for posit-dev/positron-python@1c66d2d5c5996a7ff91116af423e0ed25b54ece0:

Complete merge of upstream microsoft/vscode-python extension 2023.18

Remove old linter and formatter prompts and commands manually to match upstream (there was a conflict in prior merge step).

Adjust to more specific nodeJS.Timeout type to allow module to compile with VSCode 1.83 typescript settings.

Upstream Notes:
https://github.com/microsoft/vscode-python/releases/tag/v2023.18.0

--------------------
Commit message for posit-dev/positron-python@e2bdd8fda645a17fa57c673bf17df76cc3a29618:

Merge commit 'ab6ab06e60b26109fe22843ea1aa46e918864e10'

--------------------
Commit message for microsoft/vscode-python@ab6ab06e60b26109fe22843ea1aa46e918864e10:

Use python 3.12-dev (microsoft/vscode-python#22043)


--------------------
Commit message for microsoft/vscode-python@ae427391c9058f49fecfd5b8a20511624d2bb262:

Remove unsupported command from readme (microsoft/vscode-python#22153)


--------------------
Commit message for microsoft/vscode-python@ff0d4df88c9aa612853b5bd43cce65440a7ce0ec:

handle key error pytest (microsoft/vscode-python#22151)

fixes https://github.com/microsoft/vscode-python/issues/22149
--------------------
Commit message for microsoft/vscode-python@a3633810b5647008c1b89ea3c6f2d466139909ba:

switch to using envvars for port and uuid in unittest  (microsoft/vscode-python#22131)

closes https://github.com/microsoft/vscode-python/issues/22130
--------------------
Commit message for microsoft/vscode-python@fc62bd8d9a2431eb6199decf58c88653de3f9a37:

Migrate extension to node 18 (microsoft/vscode-python#22135)


--------------------
Commit message for microsoft/vscode-python@add82a0a773d5f38e294852d15a3a2eb9f90c1cc:

Bump Jedi to 0.19.1 for Python 3.12 support (microsoft/vscode-python#22132)

Follows from
https://github.com/microsoft/vscode-python/issues/22011#issuecomment-1742682966
--------------------
Commit message for microsoft/vscode-python@590c12a1a5150490d32fbe0b468a11a7df1daec7:

switch end to end tests to randomized substring (microsoft/vscode-python#22114)

add in tests which are randomized to provide more testing for the issue
that created `https://github.com/microsoft/vscode-python/issues/22104`
--------------------
Commit message for microsoft/vscode-python@4f82418173be3b989e07fe2cbb076b006ad8fc83:

Update version for pre-release (microsoft/vscode-python#22129)


--------------------
Commit message for microsoft/vscode-python@4a3f855c292384fc14c157961b46be8b35db5b7b:

Bump packaging from 23.1 to 23.2 (microsoft/vscode-python#22124)

Bumps [packaging](https://github.com/pypa/packaging) from 23.1 to 23.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pypa/packaging/releases">packaging's
releases</a>.</em></p>
<blockquote>
<h2>23.2</h2>
<h2>What's Changed</h2>
<ul>
<li>parse_marker should consume the entire source string by <a
href="https://github.com/mwerschy"><code>@​mwerschy</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/687">pypa/packaging#687</a></li>
<li>Create a Security Policy file by <a
href="https://github.com/joycebrum"><code>@​joycebrum</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/695">pypa/packaging#695</a></li>
<li>Add python 3.12 to CI by <a
href="https://github.com/mayeut"><code>@​mayeut</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/689">pypa/packaging#689</a></li>
<li>Remove URL validation from requirement parsing by <a
href="https://github.com/uranusjr"><code>@​uranusjr</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/684">pypa/packaging#684</a></li>
<li>Add types for packaging.version._Version by <a
href="https://github.com/hauntsaninja"><code>@​hauntsaninja</code></a>
in <a
href="https://redirect.github.com/pypa/packaging/pull/665">pypa/packaging#665</a></li>
<li>Add PyPy 3.10 to CI by <a
href="https://github.com/mayeut"><code>@​mayeut</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/699">pypa/packaging#699</a></li>
<li>Remove unused argument in <code>_manylinux._is_compatible</code> by
<a href="https://github.com/mayeut"><code>@​mayeut</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/700">pypa/packaging#700</a></li>
<li>Canonicalize names for requirements comparison by <a
href="https://github.com/astrojuanlu"><code>@​astrojuanlu</code></a> in
<a
href="https://redirect.github.com/pypa/packaging/pull/696">pypa/packaging#696</a></li>
<li>Add platform tag support for LoongArch by <a
href="https://github.com/loongson-zn"><code>@​loongson-zn</code></a> in
<a
href="https://redirect.github.com/pypa/packaging/pull/693">pypa/packaging#693</a></li>
<li>Ability to install <code>armv7l manylinux/musllinux</code> wheels on
<code>armv8l</code> by <a
href="https://github.com/mayeut"><code>@​mayeut</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/690">pypa/packaging#690</a></li>
<li>Include CHANGELOG.rst in sdist by <a
href="https://github.com/astrojuanlu"><code>@​astrojuanlu</code></a> in
<a
href="https://redirect.github.com/pypa/packaging/pull/704">pypa/packaging#704</a></li>
<li>Update pyupgrade to Python 3.7+ by <a
href="https://github.com/fangchenli"><code>@​fangchenli</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/580">pypa/packaging#580</a></li>
<li>Fix version pattern pre-releases by <a
href="https://github.com/deathaxe"><code>@​deathaxe</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/705">pypa/packaging#705</a></li>
<li>Fix typos found by codespell by <a
href="https://github.com/DimitriPapadopoulos"><code>@​DimitriPapadopoulos</code></a>
in <a
href="https://redirect.github.com/pypa/packaging/pull/706">pypa/packaging#706</a></li>
<li>Support enriched metadata by <a
href="https://github.com/brettcannon"><code>@​brettcannon</code></a> in
<a
href="https://redirect.github.com/pypa/packaging/pull/686">pypa/packaging#686</a></li>
<li>Correct rST syntax in CHANGELOG.rst by <a
href="https://github.com/atugushev"><code>@​atugushev</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/709">pypa/packaging#709</a></li>
<li>fix: platform tag for GraalPy by <a
href="https://github.com/mayeut"><code>@​mayeut</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/711">pypa/packaging#711</a></li>
<li>Document that this library uses a calendar-based versioning scheme
by <a href="https://github.com/faph"><code>@​faph</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/717">pypa/packaging#717</a></li>
<li>fix: Update copyright date for docs by <a
href="https://github.com/garrypolley"><code>@​garrypolley</code></a> in
<a
href="https://redirect.github.com/pypa/packaging/pull/713">pypa/packaging#713</a></li>
<li>Bump pip version to avoid known vulnerabilities by <a
href="https://github.com/joycebrum"><code>@​joycebrum</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/720">pypa/packaging#720</a></li>
<li>Typing annotations fixed in version.py by <a
href="https://github.com/jolaf"><code>@​jolaf</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/723">pypa/packaging#723</a></li>
<li>parse_{sdist,wheel}_filename: don't raise InvalidVersion by <a
href="https://github.com/SpecLad"><code>@​SpecLad</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/721">pypa/packaging#721</a></li>
<li>Fix code blocks in CHANGELOG.md by <a
href="https://github.com/edmorley"><code>@​edmorley</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/724">pypa/packaging#724</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/mwerschy"><code>@​mwerschy</code></a>
made their first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/687">pypa/packaging#687</a></li>
<li><a href="https://github.com/joycebrum"><code>@​joycebrum</code></a>
made their first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/695">pypa/packaging#695</a></li>
<li><a
href="https://github.com/astrojuanlu"><code>@​astrojuanlu</code></a>
made their first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/696">pypa/packaging#696</a></li>
<li><a
href="https://github.com/loongson-zn"><code>@​loongson-zn</code></a>
made their first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/693">pypa/packaging#693</a></li>
<li><a
href="https://github.com/fangchenli"><code>@​fangchenli</code></a> made
their first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/580">pypa/packaging#580</a></li>
<li><a href="https://github.com/deathaxe"><code>@​deathaxe</code></a>
made their first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/705">pypa/packaging#705</a></li>
<li><a
href="https://github.com/DimitriPapadopoulos"><code>@​DimitriPapadopoulos</code></a>
made their first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/706">pypa/packaging#706</a></li>
<li><a href="https://github.com/atugushev"><code>@​atugushev</code></a>
made their first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/709">pypa/packaging#709</a></li>
<li><a href="https://github.com/faph"><code>@​faph</code></a> made their
first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/717">pypa/packaging#717</a></li>
<li><a
href="https://github.com/garrypolley"><code>@​garrypolley</code></a>
made their first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/713">pypa/packaging#713</a></li>
<li><a href="https://github.com/jolaf"><code>@​jolaf</code></a> made
their first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/723">pypa/packaging#723</a></li>
<li><a href="https://github.com/SpecLad"><code>@​SpecLad</code></a> made
their first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/721">pypa/packaging#721</a></li>
<li><a href="https://github.com/edmorley"><code>@​edmorley</code></a>
made their first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/724">pypa/packaging#724</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/pypa/packaging/compare/23.1...23.2">https://github.com/pypa/packaging/compare/23.1...23.2</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pypa/packaging/blob/main/CHANGELOG.rst">packaging's
changelog</a>.</em></p>
<blockquote>
<p>23.2 - 2023-10-01</p>
<pre><code>
* Document calendar-based versioning scheme (:issue:`716`)
* Enforce that the entire marker string is parsed (:issue:`687`)
* Requirement parsing no longer automatically validates the URL
(:issue:`120`)
* Canonicalize names for requirements comparison (:issue:`644`)
* Introduce ``metadata.Metadata`` (along with
``metadata.ExceptionGroup`` and ``metadata.InvalidMetadata``;
:issue:`570`)
* Introduce the ``validate`` keyword parameter to
``utils.validate_name()`` (:issue:`570`)
* Introduce ``utils.is_normalized_name()`` (:issue:`570`)
* Make ``utils.parse_sdist_filename()`` and
``utils.parse_wheel_filename()``
raise ``InvalidSdistFilename`` and ``InvalidWheelFilename``,
respectively,
  when the version component of the name is invalid
</code></pre>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pypa/packaging/commit/b3a5d7d68991c040615d5345bb55f61de53ba176"><code>b3a5d7d</code></a>
Bump for release</li>
<li><a
href="https://github.com/pypa/packaging/commit/d7ce40d8cc005a6b83f4abb33ae7d48d0428a4f6"><code>d7ce40d</code></a>
Fix code blocks in CHANGELOG.md (<a
href="https://redirect.github.com/pypa/packaging/issues/724">#724</a>)</li>
<li><a
href="https://github.com/pypa/packaging/commit/524b701c6e30fc4da9355117367273f591c6de72"><code>524b701</code></a>
parse_{sdist,wheel}_filename: don't raise InvalidVersion (<a
href="https://redirect.github.com/pypa/packaging/issues/721">#721</a>)</li>
<li><a
href="https://github.com/pypa/packaging/commit/b509bef6a4573595b23a97ecbfe569000918157f"><code>b509bef</code></a>
Typing annotations fixed (<a
href="https://redirect.github.com/pypa/packaging/issues/723">#723</a>)</li>
<li><a
href="https://github.com/pypa/packaging/commit/0206c394cebce1b261299032edcb33f842b65d10"><code>0206c39</code></a>
Bump pip version to avoid known vulnerabilities (<a
href="https://redirect.github.com/pypa/packaging/issues/720">#720</a>)</li>
<li><a
href="https://github.com/pypa/packaging/commit/702353715de375a65e49d1ae4af21c35dce838b8"><code>7023537</code></a>
fix: Update copyright date for docs (<a
href="https://redirect.github.com/pypa/packaging/issues/713">#713</a>)</li>
<li><a
href="https://github.com/pypa/packaging/commit/39786bb4bf661bdb5137b8db8bd38d8e838dd67f"><code>39786bb</code></a>
Document use of calendar-based versioning scheme (<a
href="https://redirect.github.com/pypa/packaging/issues/717">#717</a>)</li>
<li><a
href="https://github.com/pypa/packaging/commit/c1346dfdafecffc30ca777ac004ed2898e60e34e"><code>c1346df</code></a>
fix: Detect when a platform is 32-bit more accurately (<a
href="https://redirect.github.com/pypa/packaging/issues/711">#711</a>)</li>
<li><a
href="https://github.com/pypa/packaging/commit/7e68d828f265ef05cf4cd3b5def9baffef8c2968"><code>7e68d82</code></a>
Correct rST syntax in CHANGELOG.rst (<a
href="https://redirect.github.com/pypa/packaging/issues/709">#709</a>)</li>
<li><a
href="https://github.com/pypa/packaging/commit/61e6efb6b6ee99e445f575bc522b716daeaa37cf"><code>61e6efb</code></a>
Support enriched metadata in <code>packaging.metadata</code> (<a
href="https://redirect.github.com/pypa/packaging/issues/686">#686</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pypa/packaging/compare/23.1...23.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=packaging&package-manager=pip&previous-version=23.1&new-version=23.2)](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>
--------------------
Commit message for microsoft/vscode-python@aeee067b7aef2c9f52d81031e0e7da408a47aa3b:

Update version and packages for release candidate (microsoft/vscode-python#22127)


--------------------
Commit message for microsoft/vscode-python@66c7db6e369ce02a410deca0913730a87f74df1b:

check existence of value in header before trim process json prc (microsoft/vscode-python#22116)

Made extra tests to validate that `parseJsonRPCHeadersAndData` works as
expected and uncovered a bug. Added check to see if the value is null
before trim.
--------------------
Commit message for microsoft/vscode-python@e87a83cc34aa72ed6e29f29255c29ff4eb28978a:

Correct display name for env kinds (microsoft/vscode-python#22115)

Closes https://github.com/microsoft/vscode-python/issues/22094
--------------------
Commit message for microsoft/vscode-python@f577ce6d15af5a68a4c06494ea1500921bc81af3:

Align env type capitalization with tool recommendation (microsoft/vscode-python#22103)

Maybe it should also be Poetry? 🤷 

Fixes microsoft/vscode-python#22094
--------------------
Commit message for microsoft/vscode-python@2579b15ca68461f578371e132f29747ad26130d6:

Fire active environment change event if selected environment is deleted (microsoft/vscode-python#22113)

Closes https://github.com/microsoft/vscode-python/issues/22066
--------------------
Commit message for microsoft/vscode-python@c3214c0344fdb96dde38ff424f0abfe56af13a51:

switch to verbose for raw data logs (microsoft/vscode-python#22110)

fixes https://github.com/microsoft/vscode-python/issues/22095
--------------------
Commit message for microsoft/vscode-python@0fe920f067ce67632a820d22687ad182c1550610:

ignore payload key-value if value is empty (microsoft/vscode-python#22105)

fixes https://github.com/microsoft/vscode-python/issues/22104
--------------------
Commit message for microsoft/vscode-python@cc2a5678047a396d6d36092f8ff21182ca18e6b7:

fix regex split for subtest names (microsoft/vscode-python#22107)

fixes https://github.com/microsoft/vscode-python/issues/21733. 



Handles both cases of subtest naming as described here by ChatGPT:

When you use self.subTest(i=i), you're explicitly naming the argument i.
This causes subTest to use the key=value format for the sub-test's
description. Therefore, the sub-test name becomes:

`test_subtests.NumbersTest2.test_even2 (i='h i')`

However, when you use self.subTest(i), you're passing a positional
argument. In this case, subTest doesn't have a key for the argument, so
it simply uses the value in square brackets:

`test_subtests.NumbersTest2.test_even2 [h i]`
--------------------
Commit message for microsoft/vscode-python@6d74f8d0c5a26a7b51429e44d9f19439d4aaddb2:

Ensure we don't show version selection when user selects useExisting (microsoft/vscode-python#22099)

Closes https://github.com/microsoft/vscode-python/issues/22084
--------------------
Commit message for microsoft/vscode-python@2d3ce9839f35b7aeb26655956b2dc21fb52793c7:

Bump jedi-language-server and jedi (microsoft/vscode-python#22069)

This picks up the latest versions of each of these, removing pydantic as
a dependency and adding support for Python 3.11.

Fixes https://github.com/microsoft/vscode-python/issues/22011

Note: this doesn't yet include Jedi support for Python 3.12 so it's
likely we'll want to bump Jedi again once that support is released.
--------------------
Commit message for microsoft/vscode-python@bd3590d3b6e78aa47de978cc4103ead9accb560e:

Fix "reactivating terminals..." for global interpreters (microsoft/vscode-python#22096)

Closes https://github.com/microsoft/vscode-python/issues/22085 closes
https://github.com/microsoft/vscode-python/issues/22087

Will add tests in a follow up PR
--------------------
Commit message for microsoft/vscode-python@8aad45710a2b1df45978aeac3b45c321b50e6897:

Fix progress indicator when reactivating terminals (microsoft/vscode-python#22082)


--------------------
Commit message for microsoft/vscode-python@4f44fa917a1fe2c451490b1d252a195dbc9e08ee:

Calculate PS1 instead of using PS1 returned by shell (microsoft/vscode-python#22078)

Closes https://github.com/microsoft/vscode-python/issues/22056

`PS1` returned by shell is not predictable, it can be `(.venv) ` or
already have the context of the terminal:
```
(venv) [\u@\h \W]\[\e[91m\]$(parse_git_branch)\[\e[00m\]$ 
```
Calculate it to be safe and not double prepend it.
--------------------
Commit message for microsoft/vscode-python@b3c5698cee0abe48e4fe471ebbc47ba34c5a7eb5:

Explicitly continue execution after timeout on launching conda binary is reached (microsoft/vscode-python#22072)

Closes https://github.com/microsoft/vscode-python/issues/22050
--------------------
Commit message for microsoft/vscode-python@998a0a54a8107b2033a25df36569d090a64244d4:

Add await for stdout (microsoft/vscode-python#22049)

Add await so all output is read before ending the run instance.
--------------------
Commit message for microsoft/vscode-python@337b8626c80b0d066e9865e07b9e520771637945:

Show a prompt asking users if they want to create environment (microsoft/vscode-python#22071)

Criteria for showing prompts:
1. It has to be a workspace or multiroot workspace.
2. The workspace or workspace folder should not have ".venv" or ".conda"
environments.
3. The selected python should be a global python, i.e., there is no
workspace specific environment selected.
4. The workspace should **not** have any `pipfile`, `poetry.lock` etc.
5. The workspace should have files that match `*requirements*.txt` or
`requirements/*.txt` pattern.

There is a setting to enable this behavior:
`python.createEnvironment.trigger` and default is `off`

closes https://github.com/microsoft/vscode-python/issues/21965
--------------------
Commit message for microsoft/vscode-python@3b6c47b4816eff2de44f5a99892b3a8bdf7f2535:

Pytest to pytest (microsoft/vscode-python#22062)


--------------------
Commit message for microsoft/vscode-python@dfc939b87db1466aae7334f6d21797fecaed78b7:

Remove sort imports from command palette and context menu (microsoft/vscode-python#22058)

Fixes https://github.com/microsoft/vscode-python/issues/20233
--------------------
Commit message for microsoft/vscode-python@4ed3fa06b6a7e45b29c736c82c81821c2e1df330:

Changed order of options in Create Environment flow when .venv exists… (microsoft/vscode-python#22055)

closes https://github.com/microsoft/vscode-python/issues/22038
--------------------
Commit message for microsoft/vscode-python@7693fcb3aeb08d5e3d6c6d66afda70dc1c99188a:

Respect conda changeps1 config when setting PS1 (microsoft/vscode-python#22054)

For https://github.com/microsoft/vscode-python/issues/22048
--------------------
Commit message for microsoft/vscode-python@242a333787db32066fc31579fc1bb2b1475e597a:

Respect `VIRTUAL_ENV_DISABLE_PROMPT` when activating virtual envs (microsoft/vscode-python#22053)


--------------------
Commit message for microsoft/vscode-python@00b198af9cc41a674243958ee4290de71968130a:

Fix bugs related to discovery blocking other features (microsoft/vscode-python#22041)

For microsoft/vscode-python#21755
--------------------
Commit message for microsoft/vscode-python@42cdaf302d5c5bc5db341aba06539ae1c6ef1670:

Make sure `PATH` ends with a separator before prepending (microsoft/vscode-python#22046)

Introduced with https://github.com/microsoft/vscode-python/pull/21906
For microsoft/vscode-python#20950 
Fixes https://github.com/microsoft/vscode-python/issues/22047
--------------------
Commit message for microsoft/vscode-python@849be34d4772086ae7bfef6986c7aef36887f7a5:

De-duplicate directories at the very end in Global virtual env locators (microsoft/vscode-python#22040)


--------------------
Commit message for microsoft/vscode-python@f38ea44affa7ab62d7a17bb4d1835dba5bab71bf:

Update language to encourage reading "Migration to Python Tools Extensions" (microsoft/vscode-python#22019)

There are other formatter options besides Black and Autopep8, but the
language of this notice suggests otherwise.
--------------------
Commit message for microsoft/vscode-python@ae81fcbab9b2a3cd9346bfde5adc32e0d1eaf419:

handle exceptions during test discovery (microsoft/vscode-python#22026)

closes https://github.com/microsoft/vscode-python/issues/21999 and
https://github.com/microsoft/vscode-python/issues/21826
--------------------
Commit message for microsoft/vscode-python@f2600075d40eba14d30bbdfd4a1a41e53f5511d8:

Fix duplicate environments showing up on macOS (microsoft/vscode-python#22030)

Closes https://github.com/microsoft/vscode-python/issues/22006
--------------------
Commit message for microsoft/vscode-python@b41fee72564e569808fb617328b58b0364d1995a:

Remove old linter and formatter prompts and commands (microsoft/vscode-python#21979)


--------------------
Commit message for microsoft/vscode-python@05ae2660c10ca8f94cdddc3c50aea18eba853eaa:

Add python 3.8 and 3x specific runs (microsoft/vscode-python#22023)

Closes https://github.com/microsoft/vscode-python/issues/22024
--------------------
Commit message for microsoft/vscode-python@2df331be969635bf8c425b5e26c01858561b7ed2:

switch | to unions to be 3.8 compatible (microsoft/vscode-python#22025)

fixes https://github.com/microsoft/vscode-python/issues/22020
--------------------
Commit message for microsoft/vscode-python@7291d303078d6adbf367160781673c0f697f9487:

Remove repo labels corresponding to removing unrecognized label workflow (microsoft/vscode-python#22022)

Workflow has been removed:
https://github.com/microsoft/vscode-github-triage-actions/pull/188
--------------------
Commit message for microsoft/vscode-python@a9d4df919d0039dc3e8006d5eb6c1b09fe1a9273:

Allow publish of pre-releases to VS Code stable this iteration (microsoft/vscode-python#22009)

https://github.com/microsoft/vscode-python/pull/21997#discussion_r1327940466
For https://github.com/microsoft/vscode-python/issues/22005
--------------------
Commit message for microsoft/vscode-python@6b3dec49fa5d9fe3046d3c4bdbefaec7e7d3b806:

Support EOT for testing (microsoft/vscode-python#21876)

Adds support for the end of transmission (EOT) operator to all pytest
and unittest responses.

this PR includes:
- addition of an EOT that is added to run and discovery returns and
processed by the extension to initiate cleanup after run/discovery
finishes
- updates to all tests to support the use of EOT
- redesign of how cleanup works following run/discover to make it more
streamlined
- full functional tests that check multiple different types of payload
splitting from the buffer
- tests for the cancellation token during run and debug modes
--------------------
Commit message for microsoft/vscode-python@5838ea64a365f9abc1fa623cb8e372d4d9628a50:

pytest complicated parameterize test parsing (microsoft/vscode-python#22001)

fixes https://github.com/microsoft/vscode-python/issues/22000
--------------------
Commit message for microsoft/vscode-python@187ca86a5411fbf886128b585fe4e58439c5bd47:

Do not upper case custom env variables (microsoft/vscode-python#22004)

For microsoft/vscode-python#20950 closes
https://github.com/microsoft/vscode-python/issues/22005
--------------------
Commit message for microsoft/vscode-python@f3f48a2e662759b04857aa801d7b8abf7cdbca30:

Remove envShellEvent proposal usage (microsoft/vscode-python#21997)

It's been finalized

Part of microsoft/vscode#193181
--------------------
Commit message for microsoft/vscode-python@203f58bc169afc5a731557633d25722bed038bd1:

Fix bug in rawprocess where stdinStr was not passed (microsoft/vscode-python#21993)


--------------------
Commit message for microsoft/vscode-python@1040f3c842798fd0efb1c51aafd31395179ac153:

Use stdin if workspace has large number of requirements (microsoft/vscode-python#21988)

Closes https://github.com/microsoft/vscode-python/issues/21480
--------------------
Commit message for microsoft/vscode-python@221b769c084462952a724e42e314f26506f76688:

Open requirement files (microsoft/vscode-python#21917)

Closes https://github.com/microsoft/vscode-python/issues/21984


![image](https://github.com/microsoft/vscode-python/assets/3840081/a5cc4991-7d65-4980-b35e-6453a85f516d)
--------------------
Commit message for microsoft/vscode-python@9ebc5eb3a26f16cb963935ff01d86b03e1f34e7e:

Fix `${command:python.interpreterPath}` in tasks.json in multiroot workspaces (microsoft/vscode-python#21980)

Closes https://github.com/microsoft/vscode-python/issues/21915
--------------------
Commit message for microsoft/vscode-python@2268d5382b31b5500286f02bff2f12590b069369:

Add support to delete and re-create .conda environments (microsoft/vscode-python#21977)

Fix https://github.com/microsoft/vscode-python/issues/21828
--------------------
Commit message for microsoft/vscode-python@df0b493b0a342ae03bfa377025578f450575fab2:

handle subprocess segfaults for testAdapters (microsoft/vscode-python#21963)

closes: https://github.com/microsoft/vscode-python/issues/21662

Not only does this make sure segfaults are correct for unittest but also for pytest.
--------------------
Commit message for microsoft/vscode-python@7aa6660d58f66afa929169c7436a992fdaefe93f:

Clear environment collection only after all async operations are done (microsoft/vscode-python#21975)

For microsoft/vscode-python#20950
--------------------
Commit message for microsoft/vscode-python@91b2c113f168069f76a2f26c37a2d2f8f759a682:

Drop Python 3.7 support  (microsoft/vscode-python#21962)

Drop Python 3.7 support, and replace with Python 3.8
Resolves: microsoft/vscode-python#21532

/vscode-python/requirements.txt generated same hash even when running:
```pip-compile --generate-hashes requirements.in```
from the Python3.8 virtual environment.

- Same result with pythonFiles/jedilsp_requirements/requirements.txt when running:
```pip-compile --generate-hashes
pythonFiles/jedilsp_requirements/requirements.in```
--------------------
Commit message for microsoft/vscode-python@d9a23181279e39905fb7969fcd930fb46085c900:

Do not assume casing of activated environment variables Python returns (microsoft/vscode-python#21970)

For microsoft/vscode-python#20950
--------------------
Commit message for microsoft/vscode-python@e32657f83eb5d9c65f5190b91573405e91f12e6c:

incorrect print included for absolute path calculations (microsoft/vscode-python#21932)

an additional print statement was left in the pytest plugin which
unnecessarily printed all absolute paths calculated.
--------------------
Commit message for microsoft/vscode-python@8543dd356312fb3ea6b4b66561d896408de7faab:

Fix unittest subtest names that have spaces (microsoft/vscode-python#21947)

fixes
https://github.com/microsoft/vscode-python/issues/21733#issuecomment-1707804763
--------------------
Commit message for microsoft/vscode-python@30c83a3d32b6ab0225ec06a06904285c93efd48c:

Added git settings for branch name suggestion, protection, pull, and mergeEditor (microsoft/vscode-python#21954)

VS Code repository, specifically in the .vscode/settings.json, has some
nice git features such as:
Issue: microsoft/vscode-python#21955
"git.branchRandomName.enable" (for suggesting random branch name when
creating a new branch, comes in very handy when person wants to make and
try quick changes in Codespaces),
"git.branchProtection" (for branch protection), 
"git.pullBeforeCheckout": (for pulling before checking out a branch), 
"git.mergeEditor": (for making easier when in times of resolving merge
conflicts)

which I found could be useful to the Python extension repository as
well.

Credits to @karrtikr for suggesting random name, and branch protection.
--------------------
Commit message for microsoft/vscode-python@7196a36b98d92726fc9bc5901cd06e9cd05be05f:

Update Python extension API version (microsoft/vscode-python#21953)


--------------------
Commit message for microsoft/vscode-python@69e8e7d13b96c55ba38f9c3c6599fde9be0bdf83:

Catch errors when looking up python binaries in a PATH (microsoft/vscode-python#21948)

Closes https://github.com/microsoft/vscode-python/issues/21944
--------------------
Commit message for microsoft/vscode-python@b4c545d52a6e0a91d995c0adc171799705d258c3:

Update telemetry package (microsoft/vscode-python#21914)

This PR updates the [telemetry
package](https://github.com/microsoft/vscode-extension-telemetry) to the
latest version and fixes the formatting of a line
--------------------
Commit message for microsoft/vscode-python@a72ebb2ca4c8f6ad48c7652769e9ae9df9f92bf6:

Bump actions/checkout from 3 to 4 (microsoft/vscode-python#21912)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to
4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/checkout/releases">actions/checkout's
releases</a>.</em></p>
<blockquote>
<h2>v4.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Update default runtime to node20 by <a
href="https://github.com/takost"><code>@​takost</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1436">actions/checkout#1436</a></li>
<li>Support fetching without the --progress option by <a
href="https://github.com/simonbaird"><code>@​simonbaird</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1067">actions/checkout#1067</a></li>
<li>Release 4.0.0 by <a
href="https://github.com/takost"><code>@​takost</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1447">actions/checkout#1447</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/takost"><code>@​takost</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/1436">actions/checkout#1436</a></li>
<li><a
href="https://github.com/simonbaird"><code>@​simonbaird</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/1067">actions/checkout#1067</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v3...v4.0.0">https://github.com/actions/checkout/compare/v3...v4.0.0</a></p>
<h2>v3.6.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Mark test scripts with Bash'isms to be run via Bash by <a
href="https://github.com/dscho"><code>@​dscho</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1377">actions/checkout#1377</a></li>
<li>Add option to fetch tags even if fetch-depth &gt; 0 by <a
href="https://github.com/RobertWieczoreck"><code>@​RobertWieczoreck</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/579">actions/checkout#579</a></li>
<li>Release 3.6.0 by <a
href="https://github.com/luketomlinson"><code>@​luketomlinson</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/1437">actions/checkout#1437</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/RobertWieczoreck"><code>@​RobertWieczoreck</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/579">actions/checkout#579</a></li>
<li><a
href="https://github.com/luketomlinson"><code>@​luketomlinson</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/1437">actions/checkout#1437</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v3.5.3...v3.6.0">https://github.com/actions/checkout/compare/v3.5.3...v3.6.0</a></p>
<h2>v3.5.3</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix: Checkout Issue in self hosted runner due to faulty submodule
check-ins by <a
href="https://github.com/megamanics"><code>@​megamanics</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1196">actions/checkout#1196</a></li>
<li>Fix typos found by codespell by <a
href="https://github.com/DimitriPapadopoulos"><code>@​DimitriPapadopoulos</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/1287">actions/checkout#1287</a></li>
<li>Add support for sparse checkouts by <a
href="https://github.com/dscho"><code>@​dscho</code></a> and <a
href="https://github.com/dfdez"><code>@​dfdez</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1369">actions/checkout#1369</a></li>
<li>Release v3.5.3 by <a
href="https://github.com/TingluoHuang"><code>@​TingluoHuang</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/1376">actions/checkout#1376</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/megamanics"><code>@​megamanics</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/1196">actions/checkout#1196</a></li>
<li><a
href="https://github.com/DimitriPapadopoulos"><code>@​DimitriPapadopoulos</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/1287">actions/checkout#1287</a></li>
<li><a href="https://github.com/dfdez"><code>@​dfdez</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/1369">actions/checkout#1369</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v3...v3.5.3">https://github.com/actions/checkout/compare/v3...v3.5.3</a></p>
<h2>v3.5.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix: Use correct API url / endpoint in GHES by <a
href="https://github.com/fhammerl"><code>@​fhammerl</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1289">actions/checkout#1289</a>
based on <a
href="https://redirect.github.com/actions/checkout/issues/1286">#1286</a>
by <a href="https://github.com/1newsr"><code>@​1newsr</code></a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v3.5.1...v3.5.2">https://github.com/actions/checkout/compare/v3.5.1...v3.5.2</a></p>
<h2>v3.5.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Improve checkout performance on Windows runners by upgrading
<code>@​actions/github</code> dependency by <a
href="https://github.com/BrettDong"><code>@​BrettDong</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1246">actions/checkout#1246</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/BrettDong"><code>@​BrettDong</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/1246">actions/checkout#1246</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/actions/checkout/blob/main/CHANGELOG.md">actions/checkout's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>v4.0.0</h2>
<ul>
<li><a
href="https://redirect.github.com/actions/checkout/pull/1067">Support
fetching without the --progress option</a></li>
<li><a
href="https://redirect.github.com/actions/checkout/pull/1436">Update to
node20</a></li>
</ul>
<h2>v3.6.0</h2>
<ul>
<li><a
href="https://redirect.github.com/actions/checkout/pull/1377">Fix: Mark
test scripts with Bash'isms to be run via Bash</a></li>
<li><a href="https://redirect.github.com/actions/checkout/pull/579">Add
option to fetch tags even if fetch-depth &gt; 0</a></li>
</ul>
<h2>v3.5.3</h2>
<ul>
<li><a
href="https://redirect.github.com/actions/checkout/pull/1196">Fix:
Checkout fail in self-hosted runners when faulty submodule are
checked-in</a></li>
<li><a href="https://redirect.github.com/actions/checkout/pull/1287">Fix
typos found by codespell</a></li>
<li><a href="https://redirect.github.com/actions/checkout/pull/1369">Add
support for sparse checkouts</a></li>
</ul>
<h2>v3.5.2</h2>
<ul>
<li><a href="https://redirect.github.com/actions/checkout/pull/1289">Fix
api endpoint for GHES</a></li>
</ul>
<h2>v3.5.1</h2>
<ul>
<li><a href="https://redirect.github.com/actions/checkout/pull/1246">Fix
slow checkout on Windows</a></li>
</ul>
<h2>v3.5.0</h2>
<ul>
<li><a href="https://redirect.github.com/actions/checkout/pull/1237">Add
new public key for known_hosts</a></li>
</ul>
<h2>v3.4.0</h2>
<ul>
<li><a
href="https://redirect.github.com/actions/checkout/pull/1209">Upgrade
codeql actions to v2</a></li>
<li><a
href="https://redirect.github.com/actions/checkout/pull/1210">Upgrade
dependencies</a></li>
<li><a
href="https://redirect.github.com/actions/checkout/pull/1225">Upgrade
<code>@​actions/io</code></a></li>
</ul>
<h2>v3.3.0</h2>
<ul>
<li><a
href="https://redirect.github.com/actions/checkout/pull/1045">Implement
branch list using callbacks from exec function</a></li>
<li><a href="https://redirect.github.com/actions/checkout/pull/1050">Add
in explicit reference to private checkout options</a></li>
<li>[Fix comment typos (that got added in <a
href="https://redirect.github.com/actions/checkout/issues/770">#770</a>)](<a
href="https://redirect.github.com/actions/checkout/pull/1057">actions/checkout#1057</a>)</li>
</ul>
<h2>v3.2.0</h2>
<ul>
<li><a href="https://redirect.github.com/actions/checkout/pull/942">Add
GitHub Action to perform release</a></li>
<li><a href="https://redirect.github.com/actions/checkout/pull/967">Fix
status badge</a></li>
<li><a
href="https://redirect.github.com/actions/checkout/pull/1002">Replace
datadog/squid with ubuntu/squid Docker image</a></li>
<li><a href="https://redirect.github.com/actions/checkout/pull/964">Wrap
pipeline commands for submoduleForeach in quotes</a></li>
<li><a
href="https://redirect.github.com/actions/checkout/pull/1029">Update
<code>@​actions/io</code> to 1.1.2</a></li>
<li><a
href="https://redirect.github.com/actions/checkout/pull/1039">Upgrading
version to 3.2.0</a></li>
</ul>
<h2>v3.1.0</h2>
<ul>
<li><a href="https://redirect.github.com/actions/checkout/pull/939">Use
<code>@​actions/core</code> <code>saveState</code> and
<code>getState</code></a></li>
<li><a href="https://redirect.github.com/actions/checkout/pull/922">Add
<code>github-server-url</code> input</a></li>
</ul>
<h2>v3.0.2</h2>
<ul>
<li><a href="https://redirect.github.com/actions/checkout/pull/770">Add
input <code>set-safe-directory</code></a></li>
</ul>
<h2>v3.0.1</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/checkout/commit/3df4ab11eba7bda6032a0b82a6bb43b11571feac"><code>3df4ab1</code></a>
Release 4.0.0 (<a
href="https://redirect.github.com/actions/checkout/issues/1447">#1447</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/8b5e8b768746b50394015010d25e690bfab9dfbc"><code>8b5e8b7</code></a>
Support fetching without the --progress option (<a
href="https://redirect.github.com/actions/checkout/issues/1067">#1067</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/97a652b80035363df47baee5031ec8670b8878ac"><code>97a652b</code></a>
Update default runtime to node20 (<a
href="https://redirect.github.com/actions/checkout/issues/1436">#1436</a>)</li>
<li>See full diff in <a
href="https://github.com/actions/checkout/compare/v3...v4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
--------------------
Commit message for microsoft/vscode-python@0cf25478c70ee25c8fbb1720ab2aa754b6e02a87:

Bump actions/setup-python from 2 to 4 in /.github/actions/build-vsix (microsoft/vscode-python#21926)

Bumps [actions/setup-python](https://github.com/actions/setup-python)
from 2 to 4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/setup-python/releases">actions/setup-python's
releases</a>.</em></p>
<blockquote>
<h2>v4.0.0</h2>
<h3>What's Changed</h3>
<ul>
<li>Support for <code>python-version-file</code> input: <a
href="https://redirect.github.com/actions/setup-python/issues/336">#336</a></li>
</ul>
<p>Example of usage:</p>
<pre lang="yaml"><code>- uses: actions/setup-python@v4
  with:
python-version-file: '.python-version' # Read python version from a file
- run: python my_script.py
</code></pre>
<p>There is no default python version for this <code>setup-python</code>
major version, the action requires to specify either
<code>python-version</code> input or <code>python-version-file</code>
input. If the <code>python-version</code> input is not specified the
action will try to read required version from file from
<code>python-version-file</code> input.</p>
<ul>
<li>Use pypyX.Y for PyPy <code>python-version</code> input: <a
href="https://redirect.github.com/actions/setup-python/issues/349">#349</a></li>
</ul>
<p>Example of usage:</p>
<pre lang="yaml"><code>- uses: actions/setup-python@v4
  with:
    python-version: 'pypy3.9' # pypy-X.Y kept for backward compatibility
- run: python my_script.py
</code></pre>
<ul>
<li>
<p><code>RUNNER_TOOL_CACHE</code> environment variable is equal
<code>AGENT_TOOLSDIRECTORY</code>: <a
href="https://redirect.github.com/actions/setup-python/issues/338">#338</a></p>
</li>
<li>
<p>Bugfix: create missing <code>pypyX.Y</code> symlinks: <a
href="https://redirect.github.com/actions/setup-python/issues/347">#347</a></p>
</li>
<li>
<p><code>PKG_CONFIG_PATH</code> environment variable: <a
href="https://redirect.github.com/actions/setup-python/issues/400">#400</a></p>
</li>
<li>
<p>Added <code>python-path</code> output: <a
href="https://redirect.github.com/actions/setup-python/issues/405">#405</a>
<code>python-path</code> output contains Python executable path.</p>
</li>
<li>
<p>Updated <code>zeit/ncc</code> to <code>vercel/ncc</code> package: <a
href="https://redirect.github.com/actions/setup-python/issues/393">#393</a></p>
</li>
<li>
<p>Bugfix: fixed output for prerelease version of poetry: <a
href="https://redirect.github.com/actions/setup-python/issues/409">#409</a></p>
</li>
<li>
<p>Made <code>pythonLocation</code> environment variable consistent for
Python and PyPy: <a
href="https://redirect.github.com/actions/setup-python/issues/418">#418</a></p>
</li>
<li>
<p>Bugfix for <code>3.x-dev</code> syntax: <a
href="https://redirect.github.com/actions/setup-python/issues/417">#417</a></p>
</li>
<li>
<p>Other improvements: <a
href="https://redirect.github.com/actions/setup-python/issues/318">#318</a>
<a
href="https://redirect.github.com/actions/setup-python/issues/396">#396</a>
<a
href="https://redirect.github.com/actions/setup-python/issues/384">#384</a>
<a
href="https://redirect.github.com/actions/setup-python/issues/387">#387</a>
<a
href="https://redirect.github.com/actions/setup-python/issues/388">#388</a></p>
</li>
</ul>
<h2>v3.1.4</h2>
<h2>What's Changed</h2>
<p>In the scope of this patch release, the warning for deprecating
Python 2.x was added in <a
href="https://redirect.github.com/actions/setup-python/pull/674">actions/setup-python#674</a>
by <a
href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a></p>
<p>For more information, check out <a
href="https://redirect.github.com/actions/setup-python/issues/672">actions/setup-python#672</a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/setup-python/commit/61a6322f88396a6271a6ee3565807d608ecaddd1"><code>61a6322</code></a>
Fix typos found by codespell (<a
href="https://redirect.github.com/actions/setup-python/issues/650">#650</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/ea5b57fccc93aea0d77e6225efa19adaec3fce0d"><code>ea5b57f</code></a>
Bump semver from 7.3.8 to 7.5.2 (<a
href="https://redirect.github.com/actions/setup-python/issues/692">#692</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/014d32a83013b439dd2a147051d855831576a3ef"><code>014d32a</code></a>
Bump tough-cookie and <code>@​azure/ms-rest-js</code> (<a
href="https://redirect.github.com/actions/setup-python/issues/697">#697</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/c16c4b8d1828103eda022b2cade091238fe08311"><code>c16c4b8</code></a>
Fix pipenv jobs (<a
href="https://redirect.github.com/actions/setup-python/issues/699">#699</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/0d5da6a89a3aa5b4dbd48e38b0c9d678b0caa0e5"><code>0d5da6a</code></a>
Read python version from pyproject.toml (fix <a
href="https://redirect.github.com/actions/setup-python/issues/542">#542</a>)
(<a
href="https://redirect.github.com/actions/setup-python/issues/669">#669</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/3f824b7ca6388f5e27e362d31352e6456c8e3bfb"><code>3f824b7</code></a>
remove python 2.7 from the tests (<a
href="https://redirect.github.com/actions/setup-python/issues/687">#687</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/bd6b4b6205c4dbad673328db7b31b7fab9e241c0"><code>bd6b4b6</code></a>
Add warning for python 2.7 (<a
href="https://redirect.github.com/actions/setup-python/issues/673">#673</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/0cbcb9a3d7c0b228a2c4fbde82b6e8855233cd92"><code>0cbcb9a</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/setup-python/issues/668">#668</a>
from akv-platform/disallow-implicit-dependencies</li>
<li><a
href="https://github.com/actions/setup-python/commit/669664dac1a46a4bb872089e1a90e4ad5dc232a6"><code>669664d</code></a>
Merge branch 'tool-config-auto-update' into
disallow-implicit-dependencies</li>
<li><a
href="https://github.com/actions/setup-python/commit/9cbf792a3cbbd9c37749da21d3b171b927451bb0"><code>9cbf792</code></a>
Update configuration files</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/setup-python/compare/v2...v4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-python&package-manager=github_actions&previous-version=2&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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
--------------------
Commit message for microsoft/vscode-python@d5c077c696dc3f08707317b898ee7e30b1e70bf3:

Bump actions/setup-node from 2 to 3 in /.github/actions/build-vsix (microsoft/vscode-python#21927)

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2
to 3.
<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>Add support for asdf format and update actions/cache version to
3.0.0</h2>
<p>In scope of this release we updated <code>actions/cache</code>
package as the new version contains fixes for <a
href="https://redirect.github.com/actions/setup-node/pull/526">caching
error handling</a>. Moreover, we added support for asdf format as
Node.js version file <a
href="https://redirect.github.com/actions/setup-node/pull/373">actions/setup-node#373</a>.
Besides, we introduced new output <a
href="https://redirect.github.com/actions/setup-node/pull/534">node-version</a>
and added <code>npm-shrinkwrap.json</code> to dependency file patterns:
<a
href="https://redirect.github.com/actions/setup-node/pull/439">actions/setup-node#439</a></p>
<h2>Update actions/cache version to 2.0.2</h2>
<p>In scope of this release we updated <code>actions/cache</code>
package as the new version contains fixes related to GHES 3.5 (<a
href="https://redirect.github.com/actions/setup-node/pull/460">actions/setup-node#460</a>)</p>
<h2>v3.0.0</h2>
<p>In scope of this release we changed version of the runtime Node.js
for the setup-node action and updated package-lock.json file to v2.</p>
<h3>Breaking Changes</h3>
<ul>
<li>With the update to Node 16 in <a
href="https://redirect.github.com/actions/setup-node/pull/414">actions/setup-node#414</a>,
all scripts will now be run with Node 16 rather than Node 12.</li>
<li>We removed deprecated <code>version</code> input (<a
href="https://redirect.github.com/actions/setup-node/pull/424">actions/setup-node#424</a>).
Please use <code>node-version</code> input instead.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/setup-node/commit/5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d"><code>5e21ff4</code></a>
Remove filter for cached paths (<a
href="https://redirect.github.com/actions/setup-node/issues/831">#831</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/bea5baf987ba7aa777a8a0b4ace377a21c45c381"><code>bea5baf</code></a>
change getinput to getstate for cache (<a
href="https://redirect.github.com/actions/setup-node/issues/816">#816</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/d82f92a0eb28e5699f87460c19fc2c674da76d01"><code>d82f92a</code></a>
Bump word-wrap from 1.2.3 to 1.2.4 (<a
href="https://redirect.github.com/actions/setup-node/issues/815">#815</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/ca2d4e0cdd8c63d9ebfedc3d16d450a870caf31c"><code>ca2d4e0</code></a>
feat: handling the case where &quot;node&quot; is used for tool-versions
file. (<a
href="https://redirect.github.com/actions/setup-node/issues/812">#812</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/c7a93deeacd27a63bee8be26a3bf77dc8fb6ce05"><code>c7a93de</code></a>
resolve SymbolicLink (<a
href="https://redirect.github.com/actions/setup-node/issues/809">#809</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/34050076a5a3fa9bd791b9b40860d11d9421c7fa"><code>3405007</code></a>
Add check for existing paths (<a
href="https://redirect.github.com/actions/setup-node/issues/803">#803</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/f8aa08ed8ebcc273d7db4ffb5645cb9eb570a33e"><code>f8aa08e</code></a>
Update check-dist workflow name (<a
href="https://redirect.github.com/actions/setup-node/issues/710">#710</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/e2d34eacc811cc517d25162eb9571557fd52b9b1"><code>e2d34ea</code></a>
Fix armv7 cache issue (<a
href="https://redirect.github.com/actions/setup-node/issues/794">#794</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/ef9c88b169f1fa70052a9259b37bf50c955434e2"><code>ef9c88b</code></a>
Bump semver from 6.1.2 to 6.3.1 (<a
href="https://redirect.github.com/actions/setup-node/issues/807">#807</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/ea800d4ebc5caee4d124da96f624d6c65545cc31"><code>ea800d4</code></a>
Bump tough-cookie and <code>@​azure/ms-rest-js</code> (<a
href="https://redirect.github.com/actions/setup-node/issues/802">#802</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/setup-node/compare/v2...v3">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=2&new-version=3)](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>
--------------------
Commit message for microsoft/vscode-python@835bc16859c76e04f57decbe359d0aed03438626:

Bump actions/setup-python from 2 to 4 in /.github/actions/lint (microsoft/vscode-python#21925)

Bumps [actions/setup-python](https://github.com/actions/setup-python)
from 2 to 4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/setup-python/releases">actions/setup-python's
releases</a>.</em></p>
<blockquote>
<h2>v4.0.0</h2>
<h3>What's Changed</h3>
<ul>
<li>Support for <code>python-version-file</code> input: <a
href="https://redirect.github.com/actions/setup-python/issues/336">#336</a></li>
</ul>
<p>Example of usage:</p>
<pre lang="yaml"><code>- uses: actions/setup-python@v4
  with:
python-version-file: '.python-version' # Read python version from a file
- run: python my_script.py
</code></pre>
<p>There is no default python version for this <code>setup-python</code>
major version, the action requires to specify either
<code>python-version</code> input or <code>python-version-file</code>
input. If the <code>python-version</code> input is not specified the
action will try to read required version from file from
<code>python-version-file</code> input.</p>
<ul>
<li>Use pypyX.Y for PyPy <code>python-version</code> input: <a
href="https://redirect.github.com/actions/setup-python/issues/349">#349</a></li>
</ul>
<p>Example of usage:</p>
<pre lang="yaml"><code>- uses: actions/setup-python@v4
  with:
    python-version: 'pypy3.9' # pypy-X.Y kept for backward compatibility
- run: python my_script.py
</code></pre>
<ul>
<li>
<p><code>RUNNER_TOOL_CACHE</code> environment variable is equal
<code>AGENT_TOOLSDIRECTORY</code>: <a
href="https://redirect.github.com/actions/setup-python/issues/338">#338</a></p>
</li>
<li>
<p>Bugfix: create missing <code>pypyX.Y</code> symlinks: <a
href="https://redirect.github.com/actions/setup-python/issues/347">#347</a></p>
</li>
<li>
<p><code>PKG_CONFIG_PATH</code> environment variable: <a
href="https://redirect.github.com/actions/setup-python/issues/400">#400</a></p>
</li>
<li>
<p>Added <code>python-path</code> output: <a
href="https://redirect.github.com/actions/setup-python/issues/405">#405</a>
<code>python-path</code> output contains Python executable path.</p>
</li>
<li>
<p>Updated <code>zeit/ncc</code> to <code>vercel/ncc</code> package: <a
href="https://redirect.github.com/actions/setup-python/issues/393">#393</a></p>
</li>
<li>
<p>Bugfix: fixed output for prerelease version of poetry: <a
href="https://redirect.github.com/actions/setup-python/issues/409">#409</a></p>
</li>
<li>
<p>Made <code>pythonLocation</code> environment variable consistent for
Python and PyPy: <a
href="https://redirect.github.com/actions/setup-python/issues/418">#418</a></p>
</li>
<li>
<p>Bugfix for <code>3.x-dev</code> syntax: <a
href="https://redirect.github.com/actions/setup-python/issues/417">#417</a></p>
</li>
<li>
<p>Other improvements: <a
href="https://redirect.github.com/actions/setup-python/issues/318">#318</a>
<a
href="https://redirect.github.com/actions/setup-python/issues/396">#396</a>
<a
href="https://redirect.github.com/actions/setup-python/issues/384">#384</a>
<a
href="https://redirect.github.com/actions/setup-python/issues/387">#387</a>
<a
href="https://redirect.github.com/actions/setup-python/issues/388">#388</a></p>
</li>
</ul>
<h2>v3.1.4</h2>
<h2>What's Changed</h2>
<p>In the scope of this patch release, the warning for deprecating
Python 2.x was added in <a
href="https://redirect.github.com/actions/setup-python/pull/674">actions/setup-python#674</a>
by <a
href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a></p>
<p>For …
  • Loading branch information
13 people committed Oct 10, 2023
1 parent 2185117 commit c67a9c7
Show file tree
Hide file tree
Showing 137 changed files with 4,957 additions and 2,852 deletions.
2 changes: 1 addition & 1 deletion extensions/positron-python/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/devcontainers/typescript-node:16-bookworm
FROM mcr.microsoft.com/devcontainers/typescript-node:18-bookworm

RUN apt-get install -y wget bzip2

Expand Down
10 changes: 5 additions & 5 deletions extensions/positron-python/.github/actions/build-vsix/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ runs:
using: 'composite'
steps:
- name: Install Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node_version }}
cache: 'npm'

# Jedi LS depends on dataclasses which is not in the stdlib in Python 3.7.
- name: Use Python 3.7 for JediLSP
uses: actions/setup-python@v2
- name: Use Python 3.8 for JediLSP
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.8
cache: 'pip'
cache-dependency-path: |
requirements.txt
Expand Down Expand Up @@ -84,7 +84,7 @@ runs:
shell: bash

- name: Upload VSIX
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ inputs.artifact_name }}
path: ${{ inputs.vsix_name }}
Expand Down
4 changes: 2 additions & 2 deletions extensions/positron-python/.github/actions/lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
using: 'composite'
steps:
- name: Install Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node_version }}
cache: 'npm'
Expand All @@ -36,7 +36,7 @@ runs:
shell: bash

- name: Install Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.x'
cache: 'pip'
Expand Down
21 changes: 21 additions & 0 deletions extensions/positron-python/.github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,27 @@ updates:
labels:
- 'no-changelog'

- package-ecosystem: 'github-actions'
directory: .github/actions/build-vsix
schedule:
interval: daily
labels:
- 'no-changelog'

- package-ecosystem: 'github-actions'
directory: .github/actions/lint
schedule:
interval: daily
labels:
- 'no-changelog'

- package-ecosystem: 'github-actions'
directory: .github/actions/smoke-test
schedule:
interval: daily
labels:
- 'no-changelog'

# Not skipping the news for some Python dependencies in case it's actually useful to communicate to users.
- package-ecosystem: 'pip'
directory: /
Expand Down
58 changes: 46 additions & 12 deletions extensions/positron-python/.github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- 'release-*'

env:
NODE_VERSION: 16.17.1
NODE_VERSION: 18.17.1
PYTHON_VERSION: '3.10' # YML treats 3.10 the number as 3.1, so quotes around 3.10
# Force a path with spaces and to test extension works in these scenarios
# Unicode characters are causing 2.7 failures so skip that for now.
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build VSIX
uses: ./.github/actions/build-vsix
Expand All @@ -64,7 +64,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Lint
uses: ./.github/actions/lint
Expand All @@ -82,7 +82,7 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install core Python requirements
uses: brettcannon/pip-secure-install@v1
Expand All @@ -106,7 +106,45 @@ jobs:
version: 1.1.308
working-directory: 'pythonFiles'

### Non-smoke tests
python-tests:
name: Python Tests
# The value of runs-on is the OS of the current job (specified in the strategy matrix below) instead of being hardcoded.
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: ${{ env.special-working-directory }}
strategy:
fail-fast: false
matrix:
# We're not running CI on macOS for now because it's one less matrix entry to lower the number of runners used,
# macOS runners are expensive, and we assume that Ubuntu is enough to cover the Unix case.
os: [ubuntu-latest, windows-latest]
# Run the tests on the oldest and most recent versions of Python.
python: ['3.8', '3.x', '3.12-dev']

steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: ${{ env.special-working-directory-relative }}

- name: Use Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

- name: Install base Python requirements
uses: brettcannon/pip-secure-install@v1
with:
requirements-file: '"${{ env.special-working-directory-relative }}/requirements.txt"'
options: '-t "${{ env.special-working-directory-relative }}/pythonFiles/lib/python" --no-cache-dir --implementation py'

- name: Install test requirements
run: python -m pip install --upgrade -r build/test-requirements.txt

- name: Run Python unit tests
run: python pythonFiles/tests/run_all.py

tests:
name: Tests
if: github.repository == 'microsoft/vscode-python'
Expand All @@ -122,10 +160,10 @@ jobs:
# and we assume that Ubuntu is enough to cover the UNIX case.
os: [ubuntu-latest, windows-latest]
python: ['3.x']
test-suite: [ts-unit, python-unit, venv, single-workspace, multi-workspace, debugger, functional]
test-suite: [ts-unit, venv, single-workspace, multi-workspace, debugger, functional]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ${{ env.special-working-directory-relative }}

Expand Down Expand Up @@ -268,10 +306,6 @@ jobs:
run: npm run test:unittests
if: matrix.test-suite == 'ts-unit' && startsWith(matrix.python, '3.')

- name: Run Python unit tests
run: python pythonFiles/tests/run_all.py
if: matrix.test-suite == 'python-unit'

# The virtual environment based tests use the `testSingleWorkspace` set of tests
# with the environment variable `TEST_FILES_SUFFIX` set to `testvirtualenvs`,
# which is set in the "Prepare environment for venv tests" step.
Expand Down Expand Up @@ -333,7 +367,7 @@ jobs:
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Smoke tests
uses: ./.github/actions/smoke-tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
25 changes: 0 additions & 25 deletions extensions/positron-python/.github/workflows/getLabels.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'microsoft/vscode-github-triage-actions'
path: ./actions
Expand Down
9 changes: 3 additions & 6 deletions extensions/positron-python/.github/workflows/issue-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
types: [opened, reopened]

env:
# To update the list of labels, see `getLabels.js`.
REPO_LABELS: '["area-api","area-data science","area-debugging","area-diagnostics","area-editor-*","area-environments","area-formatting","area-intellisense","area-internal","area-linting","area-repl","area-terminal","area-testing","author-verification-requested","bug","community ask","debt","dependencies","documentation","experimenting","feature-request","good first issue","help wanted","important","info-needed","invalid-testplan-item","investigating","iteration-candidate","iteration-plan","iteration-plan-draft","javascript","linux","macos","meta","needs community feedback","needs PR","needs proposal","needs spike","no-changelog","on-testplan","partner ask","regression","release-plan","reports-wanted","skip package*.json","skip tests","tensorboard","testplan-item","triage-needed","verification-found","verification-needed","verification-steps-needed","verified","windows"]'
TRIAGERS: '["karrtikr","karthiknadig","paulacamargo25","eleanorjboyd","anthonykim1"]'

permissions:
Expand All @@ -15,11 +13,11 @@ permissions:
jobs:
# From https://github.com/marketplace/actions/github-script#apply-a-label-to-an-issue.
add-classify-label:
name: "Add 'triage-needed' and remove unrecognizable labels & assignees"
name: "Add 'triage-needed' and remove assignees"
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'microsoft/vscode-github-triage-actions'
ref: stable
Expand All @@ -28,9 +26,8 @@ jobs:
- name: Install Actions
run: npm install --production --prefix ./actions

- name: "Add 'triage-needed' and remove unrecognizable labels & assignees"
- name: "Add 'triage-needed' and remove assignees"
uses: ./actions/python-issue-labels
with:
triagers: ${{ env.TRIAGERS }}
token: ${{secrets.GITHUB_TOKEN}}
repo_labels: ${{ env.REPO_LABELS }}
Loading

0 comments on commit c67a9c7

Please sign in to comment.