Skip to content

A dep installed with a higher minimum_otp_version than used currently can never be upgraded #2938

Open
@baronbosse

Description

@baronbosse

How to reproduce.

  • Create a project with otp 25.
  • Add a dep with {minimum_otp_vsn, "27"}.
  • rebar3 upgrade mydep
  • get an error ===> OTP release 27 or later is required by mydep. Version in use: 25.3.2.8
  • change the dep to only requiring otp 25. {minimum_otp_vsn, "25"}.
    -rebar3 upgrade mydep

Expected behavior
mydep is updated and can now compile with otp 25

Actual behavior
mydep can't be upgraded.
===> OTP release 27 or later is required by mydep. Version in use: 25.3.2.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions