Skip to content

az version limit conflicts with next version of embassy-rp #825

Description

@ericseppanen

embedded-graphics contains an upper limit on the az version:

az = "~1.2.0"

This can conflict with other packages that require newer versions. For example, the current git code in embassy-rp contains a dependency on fixed 1.31.0, which requires az 1.3.

To reproduce:

cargo new --lib embedded-broken; cd embedded-broken
cargo add embassy-rp --git https://github.com/embassy-rs/embassy.git
cargo add embedded-graphics

error: failed to select a version for `az`.
    ... required by package `embedded-graphics v0.8.2`
    ... which satisfies dependency `embedded-graphics = "^0.8.2"` of package `embedded-broken v0.1.0 (/home/eric/work/rust/play/embedded-broken)`
versions that meet the requirements `~1.2.0` are: 1.2.1, 1.2.0

all possible versions conflict with previously selected packages

  previously selected package `az v1.3.0`
    ... which satisfies dependency `az = "^1.3"` of package `fixed v1.31.0`
    ... which satisfies dependency `fixed = "^1.31.0"` of package `embassy-rp v0.10.0 (https://github.com/embassy-rs/embassy.git#f21d63db)`
    ... which satisfies git dependency `embassy-rp` (locked to 0.10.0) of package `embedded-broken v0.1.0 (/home/eric/work/rust/play/embedded-broken)`

failed to select a version for `az` which could resolve this conflict

That change to embassy-rp hasn't been released yet, but when it is the conflict will affect anyone using both embassy-rp and embedded-graphics.

I'm not sure why az 1.3.x is not currently permitted by embedded-graphics (the limit was added in #809) , but it would make life easier if the upper limit could be removed so any semver-compatible az version would be allowed.

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