Patchwork [stable] rust: relax im-rc dependency to allow minor updates

login
register
mail settings
Submitter Mads Kiilerich
Date May 24, 2022, 1:04 p.m.
Message ID <32de89308ead51d42d63.1653397449@xps>
Download mbox | patch
Permalink /patch/50989/
State New
Headers show

Comments

Mads Kiilerich - May 24, 2022, 1:04 p.m.
# HG changeset patch
# User Mads Kiilerich <mads@kiilerich.com>
# Date 1653395384 -7200
#      Tue May 24 14:29:44 2022 +0200
# Branch stable
# Node ID 32de89308ead51d42d631c208ab17c866218e1c5
# Parent  1d257c4c15683ee998edcc7dd6caf5a4cb52c820
rust: relax im-rc dependency to allow minor updates

This "15.0.*" requirement came from 0d99778af68a and is now replaced with plain
"15.0".

AFAICS, it really should allow (but not necessarily require) im-rc 15.1 .

Narrow requirement requirements with wildcard in the version is not used in
other places.
Raphaël Gomès - June 7, 2022, 8:45 a.m.
Queued this morning, sorry for the delay.

On 5/24/22 15:04, Mads Kiilerich wrote:
> # HG changeset patch
> # User Mads Kiilerich <mads@kiilerich.com>
> # Date 1653395384 -7200
> #      Tue May 24 14:29:44 2022 +0200
> # Branch stable
> # Node ID 32de89308ead51d42d631c208ab17c866218e1c5
> # Parent  1d257c4c15683ee998edcc7dd6caf5a4cb52c820
> rust: relax im-rc dependency to allow minor updates
>
> This "15.0.*" requirement came from 0d99778af68a and is now replaced with plain
> "15.0".
>
> AFAICS, it really should allow (but not necessarily require) im-rc 15.1 .
>
> Narrow requirement requirements with wildcard in the version is not used in
> other places.
>
> diff --git a/rust/hg-core/Cargo.toml b/rust/hg-core/Cargo.toml
> --- a/rust/hg-core/Cargo.toml
> +++ b/rust/hg-core/Cargo.toml
> @@ -14,7 +14,7 @@ bytes-cast = "0.2"
>   byteorder = "1.3.4"
>   derive_more = "0.99"
>   home = "0.5"
> -im-rc = "15.0.*"
> +im-rc = "15.0"
>   itertools = "0.9"
>   lazy_static = "1.4.0"
>   libc = "0.2"
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Patch

diff --git a/rust/hg-core/Cargo.toml b/rust/hg-core/Cargo.toml
--- a/rust/hg-core/Cargo.toml
+++ b/rust/hg-core/Cargo.toml
@@ -14,7 +14,7 @@  bytes-cast = "0.2"
 byteorder = "1.3.4"
 derive_more = "0.99"
 home = "0.5"
-im-rc = "15.0.*"
+im-rc = "15.0"
 itertools = "0.9"
 lazy_static = "1.4.0"
 libc = "0.2"