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

Need to be able to support pulumi-kubernetes 4.1.0 #21

Closed
jforest opened this issue Aug 16, 2023 · 1 comment · Fixed by #22
Closed

Need to be able to support pulumi-kubernetes 4.1.0 #21

jforest opened this issue Aug 16, 2023 · 1 comment · Fixed by #22

Comments

@jforest
Copy link
Contributor

jforest commented Aug 16, 2023

What happened?

Attempting to install pulumi-kubernetes version 4.1.0 AND pulumi-kubernetes-cert-manager version 0.0.5 do not work together:

The conflict is caused by:
    The user requested pulumi-kubernetes==4.1.0
    pulumi-kubernetes-cert-manager 0.0.5 depends on pulumi-kubernetes<4.0.0 and >=3.7.1

Expected Behavior

We can use the latest version of the pulumi-kubernetes library

Steps to reproduce

create a requirements.txt with content:

pulumi-kubernetes==4.1.0
pulumi-kubernetes-cert-manager==0.0.5

Then run:

pip install -r requirements.txt

to get the error

❯ pip install -r requirements.txt
Collecting pulumi-kubernetes==4.1.0
  Using cached pulumi_kubernetes-4.1.0-py3-none-any.whl (2.1 MB)
Collecting pulumi-kubernetes-cert-manager==0.0.5
  Using cached pulumi_kubernetes_cert_manager-0.0.5.tar.gz (21 kB)
  Preparing metadata (setup.py) ... done
Collecting parver>=0.2.1
  Downloading parver-0.4-py3-none-any.whl (15 kB)
Collecting requests<3.0,>=2.21
  Downloading requests-2.31.0-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 KB 895.7 kB/s eta 0:00:00
Collecting pulumi<4.0.0,>=3.25.0
  Downloading pulumi-3.78.1-py3-none-any.whl (189 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 189.6/189.6 KB 2.2 MB/s eta 0:00:00
Collecting semver>=2.8.1
  Downloading semver-3.0.1-py3-none-any.whl (17 kB)
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pulumi-kubernetes to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 2) and pulumi-kubernetes==4.1.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested pulumi-kubernetes==4.1.0
    pulumi-kubernetes-cert-manager 0.0.5 depends on pulumi-kubernetes<4.0.0 and >=3.7.1

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Output of pulumi about

❯ pulumi about
CLI
Version      3.77.1
Go Version   go1.20.7
Go Compiler  gc

Host
OS       darwin
Version  12.6.8
Arch     arm64

Backend
Name           pulumi.com
URL            https://app.pulumi.com/jforest
User           jforest
Organizations  jforest

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).

@jforest
Copy link
Contributor Author

jforest commented Aug 29, 2023

Will there be a release with this change? I will still be blocked until a version with this fix is released?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants