mirror of https://github.com/pulumi/pulumi.git
87b611b1f4
This addresses two issues: 1. `pkg_resource` is deprecated in favor of `importlib.resources` and `importlib.metadata` (https://setuptools.pypa.io/en/latest/pkg_resources.html) 2. Generated provider SDKs don't indicate that they have a dependency on `setuptools` (which includes `pkg_resources`), which can cause problems when installing the package in environments that don't have `setuptools` installed. That's not often common in Pulumi projects, as the virtual environment created by the CLI will include `setuptools`, however, if creating the virtual environment manually with `python -m venv`, `setuptools` is no longer included in the created virtual environment as of Python 3.12. Fixes #12414 Based on #14002, thanks @edgarrmondragon! --------- Co-authored-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com> Co-authored-by: Fraser Waters <fraser@pulumi.com> |
||
---|---|---|
.. | ||
gen_program_test | ||
.gitignore | ||
doc.go | ||
gen.go | ||
gen_intrinsics.go | ||
gen_program.go | ||
gen_program_expressions.go | ||
gen_program_lower.go | ||
gen_program_quotes.go | ||
gen_program_quotes_test.go | ||
gen_program_test.go | ||
gen_program_utils.go | ||
gen_resource_mappings.go | ||
gen_resource_mappings_test.go | ||
gen_test.go | ||
importer.go | ||
pyproject.go | ||
python.go | ||
python_test.go | ||
requirements.txt | ||
test.go | ||
utilities.go | ||
utilities.py | ||
utilities_test.go |