google / ripunzip

Other
165 stars 17 forks source link

Dependency ranges 0.3.3 has been yanked #72

Closed anlumo closed 1 month ago

anlumo commented 4 months 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 4 months ago

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

ttheglock commented 4 months ago

fixed it in #71

Is it ? I still have the same error

anlumo commented 4 months 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 months ago

I can still reproduce this by running:

cargo install ripunzip
kevlened commented 3 months ago

@lunchspider's fork works for me:

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

adetaylor commented 2 months ago

Hi all, for some reason github hasn't been emailing me about ripunzip issues, so I didn't spot this until I noticed it myself today. Fix incoming!

adetaylor commented 1 month ago

Fixed now in HEAD.