Skip to content

Significant bump in MSRV from 0.8.7 to 0.8.8 #207

Closed

Description

@schungx

Bumping Rust compiler version requirement from 1.60 to 1.72 seems too big a jump and without warning...

I believe a lot of software that depends on ahash must now move their MSRV upwards to 1.72 or limit to 0.8.7...

Is there a way to avoid moving to Rust 1.72?

Activity

  1. tnull commented on Feb 15, 2024

    @tnull

    +1, bumping MSRV in a patch release is really unfortunate. I'm aware of at least 5 projects now that depend on 1.63 MSRV and have to deal with failing CI builds and finding workarounds.

  2. TomAFrench commented on Feb 15, 2024

    @TomAFrench

    +1, doing this in a patch release has completely broken our release pipeline.

  3. tkaitchuck commented on Feb 16, 2024

    @tkaitchuck
    Owner

    @schungx this was done to deal with #195 which was caused by #200 dispite #201 which was introduced in #183 which was added because it was a blocking issue. As a result the build was successful on X86 with all rust versions but on ARM was working on 1.60 and 1.72 and later but was broken on 1.71.

    @tnull @TomAFrench The code should still work on 1.63, you should be able to use it as-is. Is there a way to simply override the check?

  4. tnull commented on Feb 16, 2024

    @tnull

    @tnull @TomAFrench The code should still work on 1.63, you should be able to use it as-is. Is there a way to simply override the check?

    I'm not quite sure what you're suggesting? Since this bump happened in a patch release cargo will gladly select the newest 0.8.8 version, leading to a build failure when trying to build any of the affected project with a (previously perfectly fine) 1.63 MSRV:

    error: package `ahash v0.8.8` cannot be built because it requires rustc 1.72.0 or newer, while the currently active rustc version is 1.63.0
    

    The only workaround is to pin ahash back to 0.8.6 (since 0.8.7 suffered from above discussed stdsimd issue), which of course is not a good option longer term and might lead to other issues down the line. This is really painful as a downstream user and it would be great if you could find a solution that would allow ahash to return to its prior MSRV.

  5. bkstein commented on Feb 16, 2024

    @bkstein

    Our pipeline also broke and it is not easy to update rustc in the build containers. ahash is not directly specified in our Cargo.toml. It's a dependency of actix-web, which unfortunately specifies ahab = "0.8" without the patch version. Best for us would be renaming 0.8.8 to 0.9, but not sure, if this is somehow possible.

  6. chyyran commented on Feb 17, 2024

    @chyyran

    We’re unable to support Debian Testing at the moment which has a rustc of 1.70.0.

  7. tkaitchuck commented on Feb 17, 2024

    @tkaitchuck
    Owner

    @chyyran @bkstein @tnull @TomAFrench Can one of you confirm that this: #208 fixes the issue for you?

  8. schungx commented on Feb 17, 2024

    @schungx
    ContributorAuthor

    Maybe add an MSRV CI?

  9. added 2 commits that reference this issue on Feb 20, 2024
  10. bkstein commented on Feb 21, 2024

    @bkstein

    @tkaitchuck Thanks for the quick fix. And sorry for not checking it earlier. But it can confirm, that it works for us. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions