Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

tauri upgrade problem #97

Closed
3 tasks
ozgunozerk opened this issue Mar 16, 2022 · 1 comment · Fixed by #103
Closed
3 tasks

tauri upgrade problem #97

ozgunozerk opened this issue Mar 16, 2022 · 1 comment · Fixed by #103
Assignees

Comments

@ozgunozerk
Copy link
Contributor

ozgunozerk commented Mar 16, 2022

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

Fixes:

@ImmaZoni
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants