pulumi / pulumi-synced-folder

A Pulumi component that synchronizes a local folder to Amazon S3, Azure Blob Storage, or Google Cloud Storage.
Apache License 2.0
3 stars 3 forks source link

ModuleNotFoundError: No module named 'pkg_resources' #64

Open agibralter opened 1 month ago

agibralter commented 1 month ago

What happened?

I believe that pkg_resources no longer used: https://github.com/pulumi/pulumi/issues/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).

justinvp commented 1 month ago

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