pulumi/tests/integration/python
Julien efb38baee4
Fix hang on error when using uv on Windows (#18054)
When using uv we were running Python as `uv run python`, since that
conveniently
handles the virtualenv for us. This results in a process tree of
`python-language-runtime -> uv -> python`. This is problematic because
on error
we kill the plugin and its children, but not the children of the
children. On
macOS and Linux, when uv is killed, it kills its children, so we have no
problem
here. On Windows however, it does not, and we end up with an orphaned
Python
process that's busy-waiting in the eventloop and never exits.

To avoid this issue, we run Python the same way as we do when using
Poetry or Pip.

Fixes https://github.com/pulumi/pulumi/issues/17877
2024-12-16 18:14:20 +00:00
..
config-getter-types Add regression test for config overloads (#16884) 2024-08-09 08:46:27 +00:00
duplicate-output [tests/integration] Remove `pulumi` from `requirements.txt` (#15226) 2024-01-24 14:16:40 +00:00
implicit-dependency-cycles [sdk/python] Adds a default exception when dependency cycles are created (#14597) 2023-11-21 16:26:02 +00:00
missing-main [tests/integration] Remove `pulumi` from `requirements.txt` (#15226) 2024-01-24 14:16:40 +00:00
mypy Add 'typechecker' option to python runtime (#15725) 2024-03-28 10:41:22 +00:00
packageadd_pip Modify packages for the user instead of printing instructions when adding package. (#17815) 2024-12-09 10:19:05 +00:00
packageadd_poetry Modify packages for the user instead of printing instructions when adding package. (#17815) 2024-12-09 10:19:05 +00:00
packageadd_uv Modify packages for the user instead of printing instructions when adding package. (#17815) 2024-12-09 10:19:05 +00:00
parameterized Fix Python min parameterization version (#17317) 2024-09-20 06:23:27 +00:00
poetry Support Poetry as Python toolchain (#16315) 2024-06-06 14:16:24 +00:00
poetry-main Search upwards for pyproject.toml when using Poetry (#17388) 2024-09-26 15:13:21 +00:00
poetry-main-and-parent Search upwards for pyproject.toml when using Poetry (#17388) 2024-09-26 15:13:21 +00:00
poetry-parent Search upwards for pyproject.toml when using Poetry (#17388) 2024-09-26 15:13:21 +00:00
pylint Fix pylint(no-member) when accessing resource.id (#4813) 2020-06-12 12:41:56 -07:00
pyright Add 'typechecker' option to python runtime (#15725) 2024-03-28 10:41:22 +00:00
pyright-missing Provide installation instructions for the python typechecker (#16539) 2024-07-01 15:17:03 +00:00
resource_args [tests/integration] Fix `resource_args` for Python 3.12 (#15224) 2024-01-24 12:47:34 +00:00
stack_truncate [tests/integration] Remove `pulumi` from `requirements.txt` (#15226) 2024-01-24 14:16:40 +00:00
translation Refactor Mock newResource and call to accept property bag rather than individual args (#6672) 2021-04-14 19:32:18 +01:00
uv Add Uv as a Python toolchain (#17609) 2024-11-07 16:26:22 +00:00
uv-convert-requirements Add Uv as a Python toolchain (#17609) 2024-11-07 16:26:22 +00:00
uv-convert-requirements-subfolder Add Uv as a Python toolchain (#17609) 2024-11-07 16:26:22 +00:00
uv-main Add Uv as a Python toolchain (#17609) 2024-11-07 16:26:22 +00:00
uv-no-venv-option Add Uv as a Python toolchain (#17609) 2024-11-07 16:26:22 +00:00
uv-no-venv-option-parent Add Uv as a Python toolchain (#17609) 2024-11-07 16:26:22 +00:00
uv-parent Add Uv as a Python toolchain (#17609) 2024-11-07 16:26:22 +00:00
uv-with-error Fix hang on error when using uv on Windows (#18054) 2024-12-16 18:14:20 +00:00
venv python: add test showing that attaching a debugger works (#17270) 2024-09-17 10:13:32 +00:00
venv-with-main Make virtualenv paths relative to root when main points elsewhere (#6966) 2021-05-14 13:41:55 -04:00