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

Pulumi CLI Incompatibility with PDM for Python #5

Open
kkiani opened this issue Jul 31, 2024 · 0 comments
Open

Pulumi CLI Incompatibility with PDM for Python #5

kkiani opened this issue Jul 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kkiani
Copy link
Contributor

kkiani commented Jul 31, 2024

Description:

We are experiencing an issue when using Pulumi CLI in conjunction with PDM for dependency management in our Damavand framework, which automates the creation of Infrastructure as Code (IaC). The problem arises when running the pulumi up command, where Pulumi fails to properly install and resolve the required dependencies. This issue seems closely related to Pulumi Issue #14525, where the core problem involves Pulumi’s incompatibility with Python environments managed by PDM.

Steps to Reproduce:

  1. Set up a Python project using PDM as the dependency manager.
  2. Define Pulumi dependencies in pyproject.toml and install them using PDM.
  3. Attempt to run pulumi up from the project root.

Expected Behavior:

Pulumi should successfully resolve and install all dependencies, including both Python and required Go packages, and proceed with the deployment.

Actual Behavior:

Pulumi fails to resolve the dependencies managed by PDM, resulting in an error. The CLI appears unable to recognize or install the necessary packages, leading to deployment failures.

@kkiani kkiani added the bug Something isn't working label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant