You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.
When we try to upgrade tauri dependency in subspace-desktop, it cannot due to a conflict between substrate and tauri dependencies.
Namely, zstd and zstd-safe.
Here is the detailed error when we change tauri dependencies to the latest one rc-4 in the cargo.toml of subspace-desktop:
cargo check
Updating crates.io index
error: failed to select a version for `zstd-safe`.
... required by package `zstd v0.9.0+zstd.1.5.0`
... which satisfies dependency `zstd = "^0.9.0"` of package `sp-maybe-compressed-blob v4.1.0-dev (https://github.com/paritytech/substrate?rev=e6def65920d30029e42d498cb07cec5dd433b927#e6def659)`
... which satisfies git dependency `sp-maybe-compressed-blob` (locked to 4.1.0-dev) of package `polkadot-node-collation-generation v0.9.13 (https://github.com/subspace/subspace?rev=042302ed2c86abd765be56c93b6f3ee535a1573a#042302ed)`
... which satisfies git dependency `polkadot-node-collation-generation` (locked to 0.9.13) of package `subspace-service v0.1.0 (https://github.com/subspace/subspace?rev=042302ed2c86abd765be56c93b6f3ee535a1573a#042302ed)`
... which satisfies git dependency `subspace-service` (locked to 0.1.0) of package `subspace-desktop v0.2.1 (/Users/ozgunozerk/IdeaProjects/subspace-desktop/src-tauri)`
versions that meet the requirements `=4.1.1` are: 4.1.1+zstd.1.5.0
all possible versions conflict with previously selected packages.
previously selected package `zstd-safe v4.1.4+zstd.1.5.2`
... which satisfies dependency `zstd-safe = "=4.1.4"` of package `zstd v0.10.0+zstd.1.5.2`
... which satisfies dependency `zstd = "^0.10"` of package `tauri-codegen v1.0.0-rc.3`
... which satisfies dependency `tauri-codegen = "^1.0.0-rc.3"` of package `tauri-macros v1.0.0-rc.3`
... which satisfies dependency `tauri-macros = "^1.0.0-rc.3"` of package `tauri v1.0.0-rc.4`
... which satisfies dependency `tauri = "^1.0.0-rc.4"` of package `subspace-desktop v0.2.1 (/Users/ozgunozerk/IdeaProjects/subspace-desktop/src-tauri)`
failed to select a version for `zstd-safe` which could resolve this conflict
Looks like the tauri folks are talking about even replacing zstd entirely, as per this discussion here - tauri-apps/tauri#3571. They will be potentially replacing it with brotli.
When we try to upgrade tauri dependency in subspace-desktop, it cannot due to a conflict between substrate and tauri dependencies.
Namely, zstd and zstd-safe.
Here is the detailed error when we change tauri dependencies to the latest one
rc-4
in the cargo.toml of subspace-desktop:Fixes:
zstd
to not fixzstd-safe
version (Please don't require exact version of zstd-safe gyscos/zstd-rs#147)zstd
in Taurizstd
in SubstrateThe text was updated successfully, but these errors were encountered: