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

ModuleNotFoundError: No module named 'pkg_resources' #64

Open
agibralter opened this issue Oct 29, 2024 · 1 comment
Open

ModuleNotFoundError: No module named 'pkg_resources' #64

agibralter opened this issue Oct 29, 2024 · 1 comment
Labels
kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team

Comments

@agibralter
Copy link

What happened?

I believe that pkg_resources no longer used: pulumi/pulumi#12414

Example

Have the following in your __main__.py when you're using poetry or a virtualenv:

import pulumi_synced_folder
# ...

Output of pulumi about

> poetry run pulumi about
CLI          
Version      3.137.0
Go Version   go1.23.2
Go Compiler  gc

Plugins
KIND      NAME             VERSION
resource  aws              6.55.0
resource  awsx             2.16.1
resource  datadog          4.34.0
resource  docker           4.5.6
resource  pulumi_aws_tags  1.2.1
resource  pulumiservice    0.26.2
language  python           unknown
resource  synced-folder    0.11.1

Host     
OS       darwin
Version  14.5
Arch     arm64

This project is written in python: executable='/Users/me/Library/Caches/pypoetry/virtualenvs/myenv3.12/bin/python3' version='3.12.7'

...

Dependencies:
NAME                  VERSION
black                 24.10.0
pip                   24.2
pre_commit            4.0.1
psycopg               3.2.3
pulumi_aws_tags       1.2.1
pulumi_awsx           2.16.1
pulumi_datadog        4.34.0
pulumi_pulumiservice  0.26.2
pulumi_synced_folder  0.11.1
pyright               1.1.385
ruff                  0.6.9
types-PyYAML          6.0.12.20240917

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@agibralter agibralter added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Oct 29, 2024
@justinvp
Copy link
Member

Looks like this needs to be upgraded to use more recent codegen for the generated SDKs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team
Projects
None yet
Development

No branches or pull requests

2 participants