kube-rs / controller-rs

A kubernetes reference controller
Apache License 2.0
270 stars 28 forks source link

unable to upgrade to 0.72.0 due to quote version selection #28

Closed clux closed 2 years ago

clux commented 2 years ago
error: failed to select a version for `quote`.
    ... required by package `darling_core v0.14.0`
    ... which satisfies dependency `darling_core = "=0.14.0"` of package `darling v0.14.0`
    ... which satisfies dependency `darling = "^0.14.0"` of package `kube-derive v0.71.0 (https://github.com/kube-rs/kube-rs.git?rev=7715cabd4d1976493e6b8949471f283df927a79e#7715cabd)`
    ... which satisfies git dependency `kube-derive` of package `kube v0.71.0 (https://github.com/kube-rs/kube-rs.git?rev=7715cabd4d1976493e6b8949471f283df927a79e#7715cabd)`
    ... which satisfies git dependency `kube` of package `controller v0.11.6 (/home/clux/kube/controller-rs)`
versions that meet the requirements `^1.0.18` are: 1.0.18

all possible versions conflict with previously selected packages.

  previously selected package `quote v1.0.15`
    ... which satisfies dependency `quote = "^1.0.3"` (locked to 1.0.15) of package `actix-macros v0.2.3`
    ... which satisfies dependency `actix-macros = "^0.2.3"` (locked to 0.2.3) of package `actix-web v4.0.1`
    ... which satisfies dependency `actix-web = "^4.0.1"` (locked to 4.0.1) of package `controller v0.11.6 (/home/clux/kube/controller-rs)`

Cannot currently install 0.72 because of darling 0.14 pulling in quote 1.0.18 https://github.com/TedDriggs/darling/blob/master/core/Cargo.toml

but actix-macros also pulls in quote at 1.0.3 https://github.com/actix/actix-net/blob/master/actix-macros/Cargo.toml#L19

i didn't think this normally would cause a problem but there's the line:

... which satisfies dependency `quote = "^1.0.3"` (locked to 1.0.15) of package `actix-macros v0.2.3`

which indicates there's a max of 1.0.15 somehow

clux commented 2 years ago

nevermind, that's my own lockfile :facepalm: