google / ripunzip

Other
144 stars 17 forks source link

Dependency ranges 0.3.3 has been yanked #72

Open anlumo opened 1 month ago

anlumo commented 1 month ago

Expected Behavior

The crate should work.

Actual Behavior

cargo output:

error: failed to select a version for the requirement `ranges = "^0.3.3"`
candidate versions found which didn't match: 0.4.0
location searched: crates.io index
required by package `ripunzip v1.2.2`
    ... which satisfies dependency `ripunzip = "^1.2.2"` of package `foo v0.1.0 (...)`

ranges 0.3.3 has been yanked, that's why it's not found. Projects with an existing Cargo.lock do not show this behavior due to the semantics of cargo.

Steps to Reproduce the Problem

  1. Create a new project with no Cargo.lock
  2. Add ripunzip as a dependency.

Specifications

lunchspider commented 1 month ago

fixed it in https://github.com/google/ripunzip/pull/71

TTheGlock commented 1 month ago

fixed it in #71

Is it ? I still have the same error

anlumo commented 1 month ago

Is it ? I still have the same error

The changelog is the same as the one I did for my personal fork, and that one works.

veloxl commented 3 weeks ago

I can still reproduce this by running:

cargo install ripunzip
kevlened commented 3 weeks ago

@lunchspider's fork works for me:

cargo install --git https://github.com/lunchspider/ripunzip --branch main ripunzip