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

Dependency Resolution behaves differently under OTP-26 #999

Closed
gmorell opened this issue Jun 16, 2023 · 2 comments
Closed

Dependency Resolution behaves differently under OTP-26 #999

gmorell opened this issue Jun 16, 2023 · 2 comments

Comments

@gmorell
Copy link

gmorell commented Jun 16, 2023

Good afternoon, I've been working on my an application that uses :geo_postgis which has an optional dependency on Poison between v2-v4, but I've been using override: true in my mix.exs to use v5.

This was working a few days ago until the alpine docker base image was pinned to an OTP26 release. From looking at the dockerfile bases, the only difference between OTP 25 and OTP 26 images solely seems to be on OTP versions as the installed elixir is the same.

The dependency resolution fails with the following message:
Because "your app" depends on "geo_postgis ~> 3.4" which depends on "poison ~> 2.2 or ~> 3.0 or ~> 4.0", "poison ~> 2.2 or ~> 3.0 or ~> 4.0" is required. So because "your app" depends on "poison ~> 5.0", version solving failed.

Switching my dockerfile to use the OTP25 alpine resolves the issue.

@ericmj
Copy link
Member

ericmj commented Jun 17, 2023

Can you share a mix project that reproduces the issue?

Please run mix hex.info for each image and report the result.

@ericmj
Copy link
Member

ericmj commented Feb 9, 2024

Closing due to lack of information.

@ericmj ericmj closed this as not planned Won't fix, can't repro, duplicate, stale Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants