Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always prepend to PATH instead of replacing it #21906

Merged
merged 4 commits into from
Aug 31, 2023
Merged

Always prepend to PATH instead of replacing it #21906

merged 4 commits into from
Aug 31, 2023

Conversation

karrtikr
Copy link

@karrtikr karrtikr commented Aug 30, 2023

For #20822 #11039

Replacing as-is has its problems, for eg. pyenv asks their users to manipulate PATH in their init script: https://github.com/pyenv/pyenv#set-up-your-shell-environment-for-pyenv, which we could end up replacing.

image

Particularly for pyenv, it mean users not being able to find pyenv:

image

Prepending solves it for cases where initial PATH value is suffix of the final value:

image

But, in other cases, this means that we end up with the whole PATH thrice. This is because it prepends it twice:

  • Once in shell integration script
  • Once when creating a process

So the final value could be:

PATH=<activated_full_path><activated_full_path><original_path>

where <activated_full_path> refers to value of PATH environment variable post activation. eg.

image

Future plans:

microsoft/vscode#145234 could solve our issue though, as that means we can simply use this API in combination with a hidden terminal instead of launching a process to get env vars.

@karrtikr karrtikr added the bug Issue identified by VS Code Team member as probable bug label Aug 30, 2023
karthiknadig
karthiknadig previously approved these changes Aug 30, 2023
@karrtikr karrtikr changed the title Prefer prepending to PATH instead of replacing it Always prepend to PATH instead of replacing it Aug 30, 2023
@anthonykim1
Copy link

Just wondering: Would there be any benefits/harm to having original PATH in the front? I guess having the original PATH in the front might cause problem in activating the newly created environment?

@karrtikr
Copy link
Author

karrtikr commented Aug 31, 2023

I guess having the original PATH in the front might cause problem in activating the newly created environment?

Correct, actually the entire point of activation is that activated path appears before original path, so that activated path is picked up first when searching for stuff in PATH.

@karrtikr karrtikr merged commit d9b9c88 into main Aug 31, 2023
43 checks passed
@karrtikr karrtikr deleted the kartik/prepend branch August 31, 2023 17:23
@karrtikr
Copy link
Author

karrtikr commented Aug 31, 2023

But, in other cases, this means that we end up with the whole PATH thrice.

microsoft/vscode#145234 could solve our issue though, as that means we can simply use this API in combination with a hidden terminal instead of launching a process to get env vars.

anthonykim1 pushed a commit to anthonykim1/vscode-python that referenced this pull request Sep 12, 2023
For microsoft#20822 microsoft#11039

Replacing as-is has its problems, for eg. pyenv asks their users to
manipulate `PATH` in their init script:
https://github.com/pyenv/pyenv#set-up-your-shell-environment-for-pyenv,
which we could end up replacing.


![image](https://github.com/microsoft/vscode-python/assets/13199757/cc904f76-8d42-47e1-a6c8-6cfff6543db8)

Particularly for pyenv, it mean users not being able to find pyenv:


![image](https://github.com/microsoft/vscode-python/assets/13199757/26100328-c227-435b-a4f2-ec168099f4c1)

Prepending solves it for cases where initial PATH value is suffix of the
final value:


![image](https://github.com/microsoft/vscode-python/assets/13199757/a95e4ffd-68dc-4e73-905e-504b3051324f)

But, in other cases, this means that we end up with the whole `PATH`
thrice. This is because it prepends it twice:
- Once in shell integration script
- Once when creating a process

So the final value could be:
```
PATH=<activated_full_path><activated_full_path><original_path>
```
where `<activated_full_path>` refers to value of `PATH` environment
variable post activation. eg.


![image](https://github.com/microsoft/vscode-python/assets/13199757/7e771f62-eb53-49be-b261-d259096008f3)
karrtikr pushed a commit that referenced this pull request Sep 21, 2023
eleanorjboyd pushed a commit to eleanorjboyd/vscode-python that referenced this pull request Oct 2, 2023
wesm pushed a commit to posit-dev/positron that referenced this pull request Mar 28, 2024
…se 2023.16.0

Merge pull request #213 from posit-dev/merge/2023.16.0

Merge python extension release 2023.16.0
--------------------
Commit message for posit-dev/positron-python@cca4be0:

Fix pyright issues

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

Merge branch 'main' into merge/2023.16.0

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

EnvironmentVariableScope now provided by vscode 1.82

--------------------
Commit message for posit-dev/positron-python@3e9d86b:

Add back installation capability for ipykernel

--------------------
Commit message for posit-dev/positron-python@6a7d49a:

Merge commit '8c612511b99cb5ebc78153684de8fe595bd154dc'

--------------------
Commit message for microsoft/vscode-python@8c61251:

Update version for release candidate (microsoft/vscode-python#21919)


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

Always prepend to PATH instead of replacing it (microsoft/vscode-python#21906)

For microsoft/vscode-python#20822 microsoft/vscode-python#11039

Replacing as-is has its problems, for eg. pyenv asks their users to
manipulate `PATH` in their init script:
https://github.com/pyenv/pyenv#set-up-your-shell-environment-for-pyenv,
which we could end up replacing.


![image](https://github.com/microsoft/vscode-python/assets/13199757/cc904f76-8d42-47e1-a6c8-6cfff6543db8)

Particularly for pyenv, it mean users not being able to find pyenv:


![image](https://github.com/microsoft/vscode-python/assets/13199757/26100328-c227-435b-a4f2-ec168099f4c1)

Prepending solves it for cases where initial PATH value is suffix of the
final value:


![image](https://github.com/microsoft/vscode-python/assets/13199757/a95e4ffd-68dc-4e73-905e-504b3051324f)

But, in other cases, this means that we end up with the whole `PATH`
thrice. This is because it prepends it twice:
- Once in shell integration script
- Once when creating a process

So the final value could be:
```
PATH=<activated_full_path><activated_full_path><original_path>
```
where `<activated_full_path>` refers to value of `PATH` environment
variable post activation. eg.


![image](https://github.com/microsoft/vscode-python/assets/13199757/7e771f62-eb53-49be-b261-d259096008f3)
--------------------
Commit message for microsoft/vscode-python@7a9294c:

Apply feedback for terminal activation prompt (microsoft/vscode-python#21905)

For microsoft/vscode-python#21793


![image](https://github.com/microsoft/vscode-python/assets/13199757/b3ab6002-0a07-4b3b-8101-a84865ea12e4)
--------------------
Commit message for microsoft/vscode-python@44f5bf7:

Set PS1 for conda environments in non-Windows when in `pythonTerminalEnvVarActivation` experiment (microsoft/vscode-python#21902)

For microsoft/vscode-python#20822 


![image](https://github.com/microsoft/vscode-python/assets/13199757/8c9d4c87-54f2-4661-b6c6-c3b49ee3ff7a)
--------------------
Commit message for microsoft/vscode-python@7d25ceb:

Remove finalized api proposals from package.json (microsoft/vscode-python#21900)

Part of microsoft/vscode#191605
--------------------
Commit message for microsoft/vscode-python@31aa246:

Also show env name for prefixed conda envs in terminal prompt (microsoft/vscode-python#21899)


--------------------
Commit message for microsoft/vscode-python@941fcfa:

Fixes from TPIs (microsoft/vscode-python#21896)

Closes microsoft/vscode-python#21884
Closes microsoft/vscode-python#21889
--------------------
Commit message for microsoft/vscode-python@f255e02:

Call out that env name may not show in terminal activation notification (microsoft/vscode-python#21897)

Closes microsoft/vscode-python#21887
--------------------
Commit message for microsoft/vscode-python@782d5b1:

Also show interpreter in status bar when a Python related output channel is opened (microsoft/vscode-python#21894)

Closes microsoft/vscode-python#21890
--------------------
Commit message for microsoft/vscode-python@1204011:

Activate environment when not using integrated terminal for debugging (microsoft/vscode-python#21880)

For microsoft/vscode-python#4300
--------------------
Commit message for microsoft/vscode-python@98428cd:

Apply custom env variables to terminal when in `pythonTerminalEnvVarActivation` experiment (microsoft/vscode-python#21879)

For microsoft/vscode-python#944 microsoft/vscode-python#20822 

We only apply those env vars to terminal which are not in process env
variables, hence remove custom env vars from process variables.
--------------------
Commit message for microsoft/vscode-python@3fa5d4b:

Support for Create Env command to re-create env for venv (microsoft/vscode-python#21829)

Closes microsoft/vscode-python#21827
--------------------
Commit message for microsoft/vscode-python@30e26c2:

Update proposed API for env collection (microsoft/vscode-python#21819)

For microsoft/vscode-python#20822

Blocked on
microsoft/vscode#171173 (comment)
--------------------
Commit message for microsoft/vscode-python@15bb974:

Do not filter using scheme when filtering environments (microsoft/vscode-python#21862)

For microsoft/vscode-python#21825

On codespaces, it was leading to workspace environments not being
displayed, which could mess up auto-selection.
--------------------
Commit message for microsoft/vscode-python@cfbf1f3:

remove usage of pytest CollectReport in rewrite (microsoft/vscode-python#21859)

as per
https://docs.pytest.org/en/7.1.x/reference/reference.html#collectreport,
`CollectReport` is experimental and therefore it should not be in our
extension. Fixes microsoft/vscode-python#21784
--------------------
Commit message for microsoft/vscode-python@0749b20:

Show `Python: Clear Workspace interpreter` command regardless of whether a Python file is opened (microsoft/vscode-python#21858)

Closes microsoft/vscode-python#21850
--------------------
Commit message for microsoft/vscode-python@021b362:

Update VS Code engine (microsoft/vscode-python#21847)

For microsoft/vscode-python#21831
--------------------
Commit message for microsoft/vscode-python@8407e9d:

Wrap env collection workspace proposed APIs in `try...catch` block (microsoft/vscode-python#21846)

Closes microsoft/vscode-python#21831
--------------------
Commit message for microsoft/vscode-python@c979455:

Set workspaceFolder in debug config before substituting command variables (microsoft/vscode-python#21835)

For microsoft/vscode-python#18482
--------------------
Commit message for microsoft/vscode-python@96ba735:

fix data to string from buffer for output channel (microsoft/vscode-python#21821)

fix microsoft/vscode-python#21820
--------------------
Commit message for microsoft/vscode-python@5140a8d:

Apply API recommendations for Create Env API (microsoft/vscode-python#21804)

Closes microsoft/vscode-python#21090
--------------------
Commit message for microsoft/vscode-python@0248fa8:

fixing failing tests on CI (microsoft/vscode-python#21814)

fixing microsoft/vscode-python#21813
--------------------
Commit message for microsoft/vscode-python@9c740b9:

Show notification reaffirming Python extension still handles activation when in `pythonTerminalEnvVarActivation` experiment (microsoft/vscode-python#21802)

Closes microsoft/vscode-python#21793

Only show notification when terminal prompt does not already indicate
that env is activated.
--------------------
Commit message for microsoft/vscode-python@b447bf1:

Feature branch testing overflow bug fix (microsoft/vscode-python#21812)

This merges in two PRs that were reverted because of a bug introduced
that caused subprocess overflow.
reverted PRs: microsoft/vscode-python#21667,
microsoft/vscode-python#21682

This now implements these two PRs allowing for absolute testIds and an
execObservable for the subprocess. This PR also adds a bug fix and
functional tests to ensure this doesn't happen again.

Since this PR is large, all items in it have already been reviewed as
they were merged into the feature branch.
--------------------
Commit message for microsoft/vscode-python@bd749aa:

Fix `service.test.ts` to stop disposing of all services (microsoft/vscode-python#21811)

file `service.test.ts` was calling to dispose of all items related to
the service container for clean up. This led to services in later tests
failing since they were close already. Fixes here allow for new tests in
the test adapter to be written.

fix helps microsoft/vscode-python#21803
--------------------
Commit message for microsoft/vscode-python@385bb37:

Add `language_server.jinja_usage` to `pylance.ts` (microsoft/vscode-python#21809)


--------------------
Commit message for microsoft/vscode-python@71d6dab:

Add one more property to load event (microsoft/vscode-python#21800)

This PR adds app name to the editor_load telemetry event
--------------------
Commit message for microsoft/vscode-python@ab8d3b2:

Update VS Code engine (microsoft/vscode-python#21799)

For microsoft/vscode-python#11039
--------------------
Commit message for microsoft/vscode-python@835eab5:

Add setting to control severity of missing package diagnostic. (microsoft/vscode-python#21794)

Closes microsoft/vscode-python#21792
--------------------
Commit message for microsoft/vscode-python@fbbf987:

Use updated API to fetch scoped env collection (microsoft/vscode-python#21788)

For microsoft/vscode#171173
microsoft/vscode-python#20822

To be merged tomorrow when latest insiders is released. Blocked on
microsoft/vscode#189979.
--------------------
Commit message for microsoft/vscode-python@0a2c285:

Bump brettcannon/check-for-changed-files from 1.1.1 to 1.2.0 (microsoft/vscode-python#21772)

Bumps
[brettcannon/check-for-changed-files](https://github.com/brettcannon/check-for-changed-files)
from 1.1.1 to 1.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/brettcannon/check-for-changed-files/releases">brettcannon/check-for-changed-files's
releases</a>.</em></p>
<blockquote>
<h2>v1.2.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Add support for github tokens for private repos. by <a
href="https://github.com/Marenz"><code>@​Marenz</code></a> in <a
href="https://redirect.github.com/brettcannon/check-for-changed-files/pull/83">brettcannon/check-for-changed-files#83</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Marenz"><code>@​Marenz</code></a> made
their first contribution in <a
href="https://redirect.github.com/brettcannon/check-for-changed-files/pull/83">brettcannon/check-for-changed-files#83</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/brettcannon/check-for-changed-files/compare/v1...v1.2.0">https://github.com/brettcannon/check-for-changed-files/compare/v1...v1.2.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/brettcannon/check-for-changed-files/commit/4170644959a21843b31f1181f2a1761d65ef4791"><code>4170644</code></a>
Add support for github tokens for private repos. (<a
href="https://redirect.github.com/brettcannon/check-for-changed-files/issues/83">#83</a>)</li>
<li><a
href="https://github.com/brettcannon/check-for-changed-files/commit/294a99714e0d350b5083472a293d41bc91804e68"><code>294a997</code></a>
Bump word-wrap from 1.2.3 to 1.2.4 (<a
href="https://redirect.github.com/brettcannon/check-for-changed-files/issues/82">#82</a>)</li>
<li>See full diff in <a
href="https://github.com/brettcannon/check-for-changed-files/compare/v1.1.1...v1.2.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=brettcannon/check-for-changed-files&package-manager=github_actions&previous-version=1.1.1&new-version=1.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

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

---

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

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot 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@9ac14b8:

Update README.md for npm package (microsoft/vscode-python#21766)

Fix indent for
https://www.npmjs.com/package/@vscode/python-extension?activeTab=readme
--------------------
Commit message for microsoft/vscode-python@3fed49f:

Add Ruff to CI (microsoft/vscode-python#21739)

Add Ruff to (lint > action.yml) CI
#21738
--------------------
Commit message for microsoft/vscode-python@c490339:

Update version of npm package (microsoft/vscode-python#21765)


--------------------
Commit message for microsoft/vscode-python@8e0e59b:

Remove optionalDependencies from API npm package and document to install vscode types separately (microsoft/vscode-python#21764)

Closes It still leads to conflicts due to double installation of vscode
types when testing through the cases, removing vscode types as
dependencies altogether and documenting to install it separately
instead.
--------------------
Commit message for microsoft/vscode-python@cabdf39:

Use `optionalDependencies` instead of `peerDependencies` for `@vscode/python-extension` npm package (microsoft/vscode-python#21763)

Closes microsoft/vscode-python#21720
--------------------
Commit message for microsoft/vscode-python@dd20561:

revert due to buffer overflow on subprocess (microsoft/vscode-python#21762)

revert microsoft/vscode-python#21667 because it
causes buffer overflow in the python testing subprocess when larger
repos are used. Specifically seen on pytest discovery with >200 tests.
Revert to align with the stable release and put in a fix next week.
--------------------
Commit message for microsoft/vscode-python@40ff6e9:

Remove private Jupyter APIs from public API types (microsoft/vscode-python#21761)

For microsoft/vscode-jupyter#13986
--------------------
Commit message for microsoft/vscode-python@23353bb:

Improvements to `pythonTerminalEnvVarActivation` experiment (microsoft/vscode-python#21751)


--------------------
Commit message for microsoft/vscode-python@40bb62a:

fix spelling for get-pip.py (microsoft/vscode-python#21752)

fix spelling from get_pip to get-pip as advised.
--------------------
Commit message for microsoft/vscode-python@f454515:

Update release plan to document what to do with `main` during endgame week (microsoft/vscode-python#21743)


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

revert absolute test-ids (microsoft/vscode-python#21742)

seeing a substantial error where test discovery is broken. Reverting
this commit seems to be the temporary fix until I can diagnose the real
problem.

commit it is reverting:
microsoft/vscode-python#21682
--------------------
Commit message for microsoft/vscode-python@ca4dfd4:

update tests only on save with more files excluded (microsoft/vscode-python#21741)

fixes microsoft/vscode-python#21014 and
microsoft/vscode-python#21061
--------------------
Commit message for microsoft/vscode-python@84bbff9:

add cwd for debugging (microsoft/vscode-python#21668)

fixes microsoft/vscode-python#21648 (comment)
--------------------
Commit message for microsoft/vscode-python@ef16727:

Clean up smoke test requirement (microsoft/vscode-python#21729)

Cleaning up smoke test dependency: See if all Github action test pass
with removing the smoke test requirement file content.

Checked one by one, and came to see removing all doesn't seem to have
impact on the outcome of running smoke test.(Seems to have no difference
in smoke test result outcome when ran with "Run and Debug" in VS Code
with smoke-test option selected).

Also got rid of below, after checking smoke test correctly passing after
removal of smoke-test-requirement.txt content:
![Screenshot 2023-08-01 at 2 57 45
PM](https://github.com/microsoft/vscode-python/assets/62267334/45d404de-74dd-45a5-885b-71a25ef16ad7)

Resolve: microsoft/vscode-python#21496
--------------------
Commit message for microsoft/vscode-python@358635d:

Remove old and unused API for Jupyter Ext (microsoft/vscode-python#21731)

We have not used any of this API for a while now, hence its safe to
remove these.

Will be removing more soon.
--------------------
Commit message for microsoft/vscode-python@8f3d60b:

unittest discovery errors not displaying in test explorer (microsoft/vscode-python#21726)

saw an issue where if discovery failed there was no notice in the test
explorer for unittest. It was due to a different value for the new blank
value for the payload tests. fixes
microsoft/vscode-python#21725 and
microsoft/vscode-python#21688
--------------------
Commit message for microsoft/vscode-python@a6a8cb1:

Update main to next pre-release (microsoft/vscode-python#21728)


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

Update version for release candidate (microsoft/vscode-python#21727)


--------------------
Commit message for microsoft/vscode-python@3e7118f:

Update packages for Jedi and core python (microsoft/vscode-python#21710)


--------------------
Commit message for microsoft/vscode-python@237f82b:

Fix UUID and disposing to resolve race condition (microsoft/vscode-python#21667)

fixes microsoft/vscode-python#21599 and
microsoft/vscode-python#21507
--------------------
Commit message for microsoft/vscode-python@d9e368f:

add area-repl to issue label (microsoft/vscode-python#21718)

added area-repl as one of the issue label.
--------------------
Commit message for microsoft/vscode-python@ceecdb0:

Removing Jupyter Notebooks mentions from package.json (microsoft/vscode-python#21708)


--------------------
Commit message for microsoft/vscode-python@11a9f1d:

Remove unwanted Jupyter API (microsoft/vscode-python#21702)

Fixes microsoft/vscode-jupyter#13986
--------------------
Commit message for microsoft/vscode-python@efcc3d7:

Make test_ids relative to workspace path not root dir (microsoft/vscode-python#21682)

makes sure all testIds that are returned to the extension are relative
to the workspace (which will be the invocation directory) instead of to
the root. This will stop testIds for not being recognized when using a
config file or another parameter that changes the root directory during
pytest.

fixes microsoft/vscode-python#21640 and
microsoft/vscode-python#21637
--------------------
Commit message for microsoft/vscode-python@06d62aa:

Update homepage for Python API package (microsoft/vscode-python#21703)

For microsoft/vscode-python#21631
--------------------
Commit message for microsoft/vscode-python@83107cc:

Move "vscode" out of required dependencies for npm package (microsoft/vscode-python#21701)

Closes microsoft/vscode-python#21684
--------------------
Commit message for microsoft/vscode-python@d673004:

Convert JS-style typings to native TS in `@vscode/python-extension` (microsoft/vscode-python#21692)

Closes microsoft/vscode-python#21690
--------------------
Commit message for microsoft/vscode-python@8b9bca1:

Do not show "Select at workspace level" option if only one workspace folder is opened (microsoft/vscode-python#21689)

Closes microsoft/vscode-python#21220
--------------------
Commit message for microsoft/vscode-python@f536b74:

Edit issue-labels.yml, triage-info-needed.yml (microsoft/vscode-python#21685)

Add Anthony to issue-labels.yml and triage-info-needed.yml
--------------------
Commit message for microsoft/vscode-python@a42cb33:

Add new telemetry property to GPDR (microsoft/vscode-python#21683)

This property was added for tracking diagnostics we emit in Pylance.
--------------------
Commit message for microsoft/vscode-python@6af959d:

Dev Container Using MCR (microsoft/vscode-python#21675)

Dev container rewrite using MCR. 
Pyenv for installing and managing python versions. Fish also installed
as optional (able to view as shell option in codespaces). Also fixing
conda error. Takes care of: microsoft/vscode-python#21591 rewrite from: microsoft/vscode-python#21435 to adhere to
company policy.
--------------------
Commit message for microsoft/vscode-python@73a0e9d:

handle skip unittest at file without error (microsoft/vscode-python#21678)

fixes microsoft/vscode-python#21653
--------------------
Commit message for microsoft/vscode-python@9bcb82d:

Ensure `Run Python in dedicated terminal` uses `python.executeInFirDir` setting (microsoft/vscode-python#21681)


--------------------
Commit message for microsoft/vscode-python@713007f:

correct discovery on unittest skip at file level (microsoft/vscode-python#21665)

given a file called skip_test_file_node.py that has `raise
SkipTest(".....")` this should appear in the sidebar with no children.
The bug is that currently it shows a "unittest" node that gives "loader"
and other incorrect nodes below it.
--------------------
Commit message for microsoft/vscode-python@be334bd:

Do not resolve symbolic links in posix locator if they exceed the count limit (microsoft/vscode-python#21658)

Closes microsoft/vscode-python#21310

Fixes interpreter discovery running forever for non-Windows OS
--------------------
Commit message for microsoft/vscode-python@c256678:

Prevent posix paths locator from crashing (microsoft/vscode-python#21657)

For microsoft/vscode-python#21310
--------------------
Commit message for microsoft/vscode-python@81ae205:

Bring back feature to Run Python file in dedicated terminal (microsoft/vscode-python#21656)

Closes microsoft/vscode-python#21282
Closes microsoft/vscode-python#21420
Closes microsoft/vscode-python#21215
Reverts microsoft/vscode-python#21418
--------------------
Commit message for microsoft/vscode-python@c144200:

Modify .eslintrc to turn off any errors for declaration files (microsoft/vscode-python#21652)

For microsoft/vscode-python#21631
--------------------
Commit message for microsoft/vscode-python@f7125da:

Use correct `tsconfig.json` when generating npm package (microsoft/vscode-python#21651)

For microsoft/vscode-python#21631 

- Unset `removeComment` as that leads to declarations without docstrings
- Set to generate declarations
- Use updated typescript which results in cleaner declaration files
--------------------
Commit message for microsoft/vscode-python@2e8dc67:

Add extra logging regarding interpreter discovery (microsoft/vscode-python#21639)

For microsoft/vscode-python#21310
--------------------
Commit message for microsoft/vscode-python@fc1c391:

Compare global storage data using only `key` (microsoft/vscode-python#21636)

Closes microsoft/vscode-python#21635 by
applying the same fix as done in
microsoft/vscode-python#17627.

Lead-authored-by: Kartik Raj <karraj@microsoft.com>
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
Co-authored-by: Luciana Abud <45497113+luabud@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Courtney Webster <60238438+cwebster-99@users.noreply.github.com>
Co-authored-by: Brett Cannon <brcan@microsoft.com>
Co-authored-by: Erik De Bonte <erikd@microsoft.com>
Co-authored-by: Rich Chiodo <rchiodo@users.noreply.github.com>
Co-authored-by: Don Jayamanne <don.jayamanne@outlook.com>
Co-authored-by: Anthony Kim <62267334+anthonykim1@users.noreply.github.com>
Co-authored-by: Pete Farland <pete.farland@posit.co>
Co-authored-by: Karthik Nadig <kanadig@microsoft.com>
Co-authored-by: Eleanor Boyd <eleanorboyd@microsoft.com>
Signed-off-by: GitHub <noreply@github.com>
wesm pushed a commit to posit-dev/positron that referenced this pull request Mar 28, 2024
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] <support@github.com>
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] <support@github.com>
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] <support@github.com>
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] <support@github.com>
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 …
wesm pushed a commit to posit-dev/positron that referenced this pull request Mar 28, 2024
…se 2023.16.0

Merge pull request #213 from posit-dev/merge/2023.16.0

Merge python extension release 2023.16.0
--------------------
Commit message for posit-dev/positron-python@cca4be0:

Fix pyright issues

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

Merge branch 'main' into merge/2023.16.0

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

EnvironmentVariableScope now provided by vscode 1.82

--------------------
Commit message for posit-dev/positron-python@3e9d86b:

Add back installation capability for ipykernel

--------------------
Commit message for posit-dev/positron-python@6a7d49a:

Merge commit '8c612511b99cb5ebc78153684de8fe595bd154dc'

--------------------
Commit message for microsoft/vscode-python@8c61251:

Update version for release candidate (microsoft/vscode-python#21919)


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

Always prepend to PATH instead of replacing it (microsoft/vscode-python#21906)

For microsoft/vscode-python#20822 microsoft/vscode-python#11039

Replacing as-is has its problems, for eg. pyenv asks their users to
manipulate `PATH` in their init script:
https://github.com/pyenv/pyenv#set-up-your-shell-environment-for-pyenv,
which we could end up replacing.


![image](https://github.com/microsoft/vscode-python/assets/13199757/cc904f76-8d42-47e1-a6c8-6cfff6543db8)

Particularly for pyenv, it mean users not being able to find pyenv:


![image](https://github.com/microsoft/vscode-python/assets/13199757/26100328-c227-435b-a4f2-ec168099f4c1)

Prepending solves it for cases where initial PATH value is suffix of the
final value:


![image](https://github.com/microsoft/vscode-python/assets/13199757/a95e4ffd-68dc-4e73-905e-504b3051324f)

But, in other cases, this means that we end up with the whole `PATH`
thrice. This is because it prepends it twice:
- Once in shell integration script
- Once when creating a process

So the final value could be:
```
PATH=<activated_full_path><activated_full_path><original_path>
```
where `<activated_full_path>` refers to value of `PATH` environment
variable post activation. eg.


![image](https://github.com/microsoft/vscode-python/assets/13199757/7e771f62-eb53-49be-b261-d259096008f3)
--------------------
Commit message for microsoft/vscode-python@7a9294c:

Apply feedback for terminal activation prompt (microsoft/vscode-python#21905)

For microsoft/vscode-python#21793


![image](https://github.com/microsoft/vscode-python/assets/13199757/b3ab6002-0a07-4b3b-8101-a84865ea12e4)
--------------------
Commit message for microsoft/vscode-python@44f5bf7:

Set PS1 for conda environments in non-Windows when in `pythonTerminalEnvVarActivation` experiment (microsoft/vscode-python#21902)

For microsoft/vscode-python#20822 


![image](https://github.com/microsoft/vscode-python/assets/13199757/8c9d4c87-54f2-4661-b6c6-c3b49ee3ff7a)
--------------------
Commit message for microsoft/vscode-python@7d25ceb:

Remove finalized api proposals from package.json (microsoft/vscode-python#21900)

Part of microsoft/vscode#191605
--------------------
Commit message for microsoft/vscode-python@31aa246:

Also show env name for prefixed conda envs in terminal prompt (microsoft/vscode-python#21899)


--------------------
Commit message for microsoft/vscode-python@941fcfa:

Fixes from TPIs (microsoft/vscode-python#21896)

Closes microsoft/vscode-python#21884
Closes microsoft/vscode-python#21889
--------------------
Commit message for microsoft/vscode-python@f255e02:

Call out that env name may not show in terminal activation notification (microsoft/vscode-python#21897)

Closes microsoft/vscode-python#21887
--------------------
Commit message for microsoft/vscode-python@782d5b1:

Also show interpreter in status bar when a Python related output channel is opened (microsoft/vscode-python#21894)

Closes microsoft/vscode-python#21890
--------------------
Commit message for microsoft/vscode-python@1204011:

Activate environment when not using integrated terminal for debugging (microsoft/vscode-python#21880)

For microsoft/vscode-python#4300
--------------------
Commit message for microsoft/vscode-python@98428cd:

Apply custom env variables to terminal when in `pythonTerminalEnvVarActivation` experiment (microsoft/vscode-python#21879)

For microsoft/vscode-python#944 microsoft/vscode-python#20822 

We only apply those env vars to terminal which are not in process env
variables, hence remove custom env vars from process variables.
--------------------
Commit message for microsoft/vscode-python@3fa5d4b:

Support for Create Env command to re-create env for venv (microsoft/vscode-python#21829)

Closes microsoft/vscode-python#21827
--------------------
Commit message for microsoft/vscode-python@30e26c2:

Update proposed API for env collection (microsoft/vscode-python#21819)

For microsoft/vscode-python#20822

Blocked on
microsoft/vscode#171173 (comment)
--------------------
Commit message for microsoft/vscode-python@15bb974:

Do not filter using scheme when filtering environments (microsoft/vscode-python#21862)

For microsoft/vscode-python#21825

On codespaces, it was leading to workspace environments not being
displayed, which could mess up auto-selection.
--------------------
Commit message for microsoft/vscode-python@cfbf1f3:

remove usage of pytest CollectReport in rewrite (microsoft/vscode-python#21859)

as per
https://docs.pytest.org/en/7.1.x/reference/reference.html#collectreport,
`CollectReport` is experimental and therefore it should not be in our
extension. Fixes microsoft/vscode-python#21784
--------------------
Commit message for microsoft/vscode-python@0749b20:

Show `Python: Clear Workspace interpreter` command regardless of whether a Python file is opened (microsoft/vscode-python#21858)

Closes microsoft/vscode-python#21850
--------------------
Commit message for microsoft/vscode-python@021b362:

Update VS Code engine (microsoft/vscode-python#21847)

For microsoft/vscode-python#21831
--------------------
Commit message for microsoft/vscode-python@8407e9d:

Wrap env collection workspace proposed APIs in `try...catch` block (microsoft/vscode-python#21846)

Closes microsoft/vscode-python#21831
--------------------
Commit message for microsoft/vscode-python@c979455:

Set workspaceFolder in debug config before substituting command variables (microsoft/vscode-python#21835)

For microsoft/vscode-python#18482
--------------------
Commit message for microsoft/vscode-python@96ba735:

fix data to string from buffer for output channel (microsoft/vscode-python#21821)

fix microsoft/vscode-python#21820
--------------------
Commit message for microsoft/vscode-python@5140a8d:

Apply API recommendations for Create Env API (microsoft/vscode-python#21804)

Closes microsoft/vscode-python#21090
--------------------
Commit message for microsoft/vscode-python@0248fa8:

fixing failing tests on CI (microsoft/vscode-python#21814)

fixing microsoft/vscode-python#21813
--------------------
Commit message for microsoft/vscode-python@9c740b9:

Show notification reaffirming Python extension still handles activation when in `pythonTerminalEnvVarActivation` experiment (microsoft/vscode-python#21802)

Closes microsoft/vscode-python#21793

Only show notification when terminal prompt does not already indicate
that env is activated.
--------------------
Commit message for microsoft/vscode-python@b447bf1:

Feature branch testing overflow bug fix (microsoft/vscode-python#21812)

This merges in two PRs that were reverted because of a bug introduced
that caused subprocess overflow.
reverted PRs: microsoft/vscode-python#21667,
microsoft/vscode-python#21682

This now implements these two PRs allowing for absolute testIds and an
execObservable for the subprocess. This PR also adds a bug fix and
functional tests to ensure this doesn't happen again.

Since this PR is large, all items in it have already been reviewed as
they were merged into the feature branch.
--------------------
Commit message for microsoft/vscode-python@bd749aa:

Fix `service.test.ts` to stop disposing of all services (microsoft/vscode-python#21811)

file `service.test.ts` was calling to dispose of all items related to
the service container for clean up. This led to services in later tests
failing since they were close already. Fixes here allow for new tests in
the test adapter to be written.

fix helps microsoft/vscode-python#21803
--------------------
Commit message for microsoft/vscode-python@385bb37:

Add `language_server.jinja_usage` to `pylance.ts` (microsoft/vscode-python#21809)


--------------------
Commit message for microsoft/vscode-python@71d6dab:

Add one more property to load event (microsoft/vscode-python#21800)

This PR adds app name to the editor_load telemetry event
--------------------
Commit message for microsoft/vscode-python@ab8d3b2:

Update VS Code engine (microsoft/vscode-python#21799)

For microsoft/vscode-python#11039
--------------------
Commit message for microsoft/vscode-python@835eab5:

Add setting to control severity of missing package diagnostic. (microsoft/vscode-python#21794)

Closes microsoft/vscode-python#21792
--------------------
Commit message for microsoft/vscode-python@fbbf987:

Use updated API to fetch scoped env collection (microsoft/vscode-python#21788)

For microsoft/vscode#171173
microsoft/vscode-python#20822

To be merged tomorrow when latest insiders is released. Blocked on
microsoft/vscode#189979.
--------------------
Commit message for microsoft/vscode-python@0a2c285:

Bump brettcannon/check-for-changed-files from 1.1.1 to 1.2.0 (microsoft/vscode-python#21772)

Bumps
[brettcannon/check-for-changed-files](https://github.com/brettcannon/check-for-changed-files)
from 1.1.1 to 1.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/brettcannon/check-for-changed-files/releases">brettcannon/check-for-changed-files's
releases</a>.</em></p>
<blockquote>
<h2>v1.2.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Add support for github tokens for private repos. by <a
href="https://github.com/Marenz"><code>@​Marenz</code></a> in <a
href="https://redirect.github.com/brettcannon/check-for-changed-files/pull/83">brettcannon/check-for-changed-files#83</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Marenz"><code>@​Marenz</code></a> made
their first contribution in <a
href="https://redirect.github.com/brettcannon/check-for-changed-files/pull/83">brettcannon/check-for-changed-files#83</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/brettcannon/check-for-changed-files/compare/v1...v1.2.0">https://github.com/brettcannon/check-for-changed-files/compare/v1...v1.2.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/brettcannon/check-for-changed-files/commit/4170644959a21843b31f1181f2a1761d65ef4791"><code>4170644</code></a>
Add support for github tokens for private repos. (<a
href="https://redirect.github.com/brettcannon/check-for-changed-files/issues/83">#83</a>)</li>
<li><a
href="https://github.com/brettcannon/check-for-changed-files/commit/294a99714e0d350b5083472a293d41bc91804e68"><code>294a997</code></a>
Bump word-wrap from 1.2.3 to 1.2.4 (<a
href="https://redirect.github.com/brettcannon/check-for-changed-files/issues/82">#82</a>)</li>
<li>See full diff in <a
href="https://github.com/brettcannon/check-for-changed-files/compare/v1.1.1...v1.2.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=brettcannon/check-for-changed-files&package-manager=github_actions&previous-version=1.1.1&new-version=1.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

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

---

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

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot 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@9ac14b8:

Update README.md for npm package (microsoft/vscode-python#21766)

Fix indent for
https://www.npmjs.com/package/@vscode/python-extension?activeTab=readme
--------------------
Commit message for microsoft/vscode-python@3fed49f:

Add Ruff to CI (microsoft/vscode-python#21739)

Add Ruff to (lint > action.yml) CI
#21738
--------------------
Commit message for microsoft/vscode-python@c490339:

Update version of npm package (microsoft/vscode-python#21765)


--------------------
Commit message for microsoft/vscode-python@8e0e59b:

Remove optionalDependencies from API npm package and document to install vscode types separately (microsoft/vscode-python#21764)

Closes It still leads to conflicts due to double installation of vscode
types when testing through the cases, removing vscode types as
dependencies altogether and documenting to install it separately
instead.
--------------------
Commit message for microsoft/vscode-python@cabdf39:

Use `optionalDependencies` instead of `peerDependencies` for `@vscode/python-extension` npm package (microsoft/vscode-python#21763)

Closes microsoft/vscode-python#21720
--------------------
Commit message for microsoft/vscode-python@dd20561:

revert due to buffer overflow on subprocess (microsoft/vscode-python#21762)

revert microsoft/vscode-python#21667 because it
causes buffer overflow in the python testing subprocess when larger
repos are used. Specifically seen on pytest discovery with >200 tests.
Revert to align with the stable release and put in a fix next week.
--------------------
Commit message for microsoft/vscode-python@40ff6e9:

Remove private Jupyter APIs from public API types (microsoft/vscode-python#21761)

For microsoft/vscode-jupyter#13986
--------------------
Commit message for microsoft/vscode-python@23353bb:

Improvements to `pythonTerminalEnvVarActivation` experiment (microsoft/vscode-python#21751)


--------------------
Commit message for microsoft/vscode-python@40bb62a:

fix spelling for get-pip.py (microsoft/vscode-python#21752)

fix spelling from get_pip to get-pip as advised.
--------------------
Commit message for microsoft/vscode-python@f454515:

Update release plan to document what to do with `main` during endgame week (microsoft/vscode-python#21743)


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

revert absolute test-ids (microsoft/vscode-python#21742)

seeing a substantial error where test discovery is broken. Reverting
this commit seems to be the temporary fix until I can diagnose the real
problem.

commit it is reverting:
microsoft/vscode-python#21682
--------------------
Commit message for microsoft/vscode-python@ca4dfd4:

update tests only on save with more files excluded (microsoft/vscode-python#21741)

fixes microsoft/vscode-python#21014 and
microsoft/vscode-python#21061
--------------------
Commit message for microsoft/vscode-python@84bbff9:

add cwd for debugging (microsoft/vscode-python#21668)

fixes microsoft/vscode-python#21648 (comment)
--------------------
Commit message for microsoft/vscode-python@ef16727:

Clean up smoke test requirement (microsoft/vscode-python#21729)

Cleaning up smoke test dependency: See if all Github action test pass
with removing the smoke test requirement file content.

Checked one by one, and came to see removing all doesn't seem to have
impact on the outcome of running smoke test.(Seems to have no difference
in smoke test result outcome when ran with "Run and Debug" in VS Code
with smoke-test option selected).

Also got rid of below, after checking smoke test correctly passing after
removal of smoke-test-requirement.txt content:
![Screenshot 2023-08-01 at 2 57 45
PM](https://github.com/microsoft/vscode-python/assets/62267334/45d404de-74dd-45a5-885b-71a25ef16ad7)

Resolve: microsoft/vscode-python#21496
--------------------
Commit message for microsoft/vscode-python@358635d:

Remove old and unused API for Jupyter Ext (microsoft/vscode-python#21731)

We have not used any of this API for a while now, hence its safe to
remove these.

Will be removing more soon.
--------------------
Commit message for microsoft/vscode-python@8f3d60b:

unittest discovery errors not displaying in test explorer (microsoft/vscode-python#21726)

saw an issue where if discovery failed there was no notice in the test
explorer for unittest. It was due to a different value for the new blank
value for the payload tests. fixes
microsoft/vscode-python#21725 and
microsoft/vscode-python#21688
--------------------
Commit message for microsoft/vscode-python@a6a8cb1:

Update main to next pre-release (microsoft/vscode-python#21728)


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

Update version for release candidate (microsoft/vscode-python#21727)


--------------------
Commit message for microsoft/vscode-python@3e7118f:

Update packages for Jedi and core python (microsoft/vscode-python#21710)


--------------------
Commit message for microsoft/vscode-python@237f82b:

Fix UUID and disposing to resolve race condition (microsoft/vscode-python#21667)

fixes microsoft/vscode-python#21599 and
microsoft/vscode-python#21507
--------------------
Commit message for microsoft/vscode-python@d9e368f:

add area-repl to issue label (microsoft/vscode-python#21718)

added area-repl as one of the issue label.
--------------------
Commit message for microsoft/vscode-python@ceecdb0:

Removing Jupyter Notebooks mentions from package.json (microsoft/vscode-python#21708)


--------------------
Commit message for microsoft/vscode-python@11a9f1d:

Remove unwanted Jupyter API (microsoft/vscode-python#21702)

Fixes microsoft/vscode-jupyter#13986
--------------------
Commit message for microsoft/vscode-python@efcc3d7:

Make test_ids relative to workspace path not root dir (microsoft/vscode-python#21682)

makes sure all testIds that are returned to the extension are relative
to the workspace (which will be the invocation directory) instead of to
the root. This will stop testIds for not being recognized when using a
config file or another parameter that changes the root directory during
pytest.

fixes microsoft/vscode-python#21640 and
microsoft/vscode-python#21637
--------------------
Commit message for microsoft/vscode-python@06d62aa:

Update homepage for Python API package (microsoft/vscode-python#21703)

For microsoft/vscode-python#21631
--------------------
Commit message for microsoft/vscode-python@83107cc:

Move "vscode" out of required dependencies for npm package (microsoft/vscode-python#21701)

Closes microsoft/vscode-python#21684
--------------------
Commit message for microsoft/vscode-python@d673004:

Convert JS-style typings to native TS in `@vscode/python-extension` (microsoft/vscode-python#21692)

Closes microsoft/vscode-python#21690
--------------------
Commit message for microsoft/vscode-python@8b9bca1:

Do not show "Select at workspace level" option if only one workspace folder is opened (microsoft/vscode-python#21689)

Closes microsoft/vscode-python#21220
--------------------
Commit message for microsoft/vscode-python@f536b74:

Edit issue-labels.yml, triage-info-needed.yml (microsoft/vscode-python#21685)

Add Anthony to issue-labels.yml and triage-info-needed.yml
--------------------
Commit message for microsoft/vscode-python@a42cb33:

Add new telemetry property to GPDR (microsoft/vscode-python#21683)

This property was added for tracking diagnostics we emit in Pylance.
--------------------
Commit message for microsoft/vscode-python@6af959d:

Dev Container Using MCR (microsoft/vscode-python#21675)

Dev container rewrite using MCR. 
Pyenv for installing and managing python versions. Fish also installed
as optional (able to view as shell option in codespaces). Also fixing
conda error. Takes care of: microsoft/vscode-python#21591 rewrite from: microsoft/vscode-python#21435 to adhere to
company policy.
--------------------
Commit message for microsoft/vscode-python@73a0e9d:

handle skip unittest at file without error (microsoft/vscode-python#21678)

fixes microsoft/vscode-python#21653
--------------------
Commit message for microsoft/vscode-python@9bcb82d:

Ensure `Run Python in dedicated terminal` uses `python.executeInFirDir` setting (microsoft/vscode-python#21681)


--------------------
Commit message for microsoft/vscode-python@713007f:

correct discovery on unittest skip at file level (microsoft/vscode-python#21665)

given a file called skip_test_file_node.py that has `raise
SkipTest(".....")` this should appear in the sidebar with no children.
The bug is that currently it shows a "unittest" node that gives "loader"
and other incorrect nodes below it.
--------------------
Commit message for microsoft/vscode-python@be334bd:

Do not resolve symbolic links in posix locator if they exceed the count limit (microsoft/vscode-python#21658)

Closes microsoft/vscode-python#21310

Fixes interpreter discovery running forever for non-Windows OS
--------------------
Commit message for microsoft/vscode-python@c256678:

Prevent posix paths locator from crashing (microsoft/vscode-python#21657)

For microsoft/vscode-python#21310
--------------------
Commit message for microsoft/vscode-python@81ae205:

Bring back feature to Run Python file in dedicated terminal (microsoft/vscode-python#21656)

Closes microsoft/vscode-python#21282
Closes microsoft/vscode-python#21420
Closes microsoft/vscode-python#21215
Reverts microsoft/vscode-python#21418
--------------------
Commit message for microsoft/vscode-python@c144200:

Modify .eslintrc to turn off any errors for declaration files (microsoft/vscode-python#21652)

For microsoft/vscode-python#21631
--------------------
Commit message for microsoft/vscode-python@f7125da:

Use correct `tsconfig.json` when generating npm package (microsoft/vscode-python#21651)

For microsoft/vscode-python#21631 

- Unset `removeComment` as that leads to declarations without docstrings
- Set to generate declarations
- Use updated typescript which results in cleaner declaration files
--------------------
Commit message for microsoft/vscode-python@2e8dc67:

Add extra logging regarding interpreter discovery (microsoft/vscode-python#21639)

For microsoft/vscode-python#21310
--------------------
Commit message for microsoft/vscode-python@fc1c391:

Compare global storage data using only `key` (microsoft/vscode-python#21636)

Closes microsoft/vscode-python#21635 by
applying the same fix as done in
microsoft/vscode-python#17627.

Lead-authored-by: Kartik Raj <karraj@microsoft.com>
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
Co-authored-by: Luciana Abud <45497113+luabud@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Courtney Webster <60238438+cwebster-99@users.noreply.github.com>
Co-authored-by: Brett Cannon <brcan@microsoft.com>
Co-authored-by: Erik De Bonte <erikd@microsoft.com>
Co-authored-by: Rich Chiodo <rchiodo@users.noreply.github.com>
Co-authored-by: Don Jayamanne <don.jayamanne@outlook.com>
Co-authored-by: Anthony Kim <62267334+anthonykim1@users.noreply.github.com>
Co-authored-by: Pete Farland <pete.farland@posit.co>
Co-authored-by: Karthik Nadig <kanadig@microsoft.com>
Co-authored-by: Eleanor Boyd <eleanorboyd@microsoft.com>
Signed-off-by: GitHub <noreply@github.com>
wesm pushed a commit to posit-dev/positron that referenced this pull request Mar 28, 2024
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] <support@github.com>
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] <support@github.com>
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] <support@github.com>
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] <support@github.com>
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 …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants