Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): remove specs tests #654

Merged
merged 2 commits into from
May 7, 2024

Conversation

W95Psp
Copy link
Collaborator

@W95Psp W95Psp commented May 7, 2024

The https://github.com/hacspec/specs repository contains specifications written in hacspec, mainly at the time of hacspec v1.

Since hacspec v1 is deprecated and archived, its library is deprecated as well.

The hacspec lib (https://github.com/hacspec/hacspec/tree/master/lib) doesn't typecheck any longer with num-bigint version 0.4.5.

The hacspec lib dependents on num-bigint version 0.4, not specifying the minor version. The specs repository has no Cargo.lock, and thus, from a clean git clone, cargo build pins num-bigint to version 0.4.5, breaking the hacspec library.

This broke #653 recently, and we had the same kind of errors a couple times before in the past.

Two options were considered:

  • remove the tests related to the specs in the CI of hax;
  • commit a Cargo.lock.

The choose the first one: we need to update those specifications to hax anyway: this will add motivation to
hacspec/specs#13.

@franziskuskiefer franziskuskiefer added this pull request to the merge queue May 7, 2024
Copy link
Contributor

@karthikbhargavan karthikbhargavan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed to make progress, but we should add an issue with "help wanted" for people who want to upgrade this to use hax instead.

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 7, 2024
The https://github.com/hacspec/specs repository contains
specifications written in hacspec, mainly at the time of hacspec v1.

Since hacspec v1 is deprecated and archived, its library is deprecated
as well.

The hacspec lib (https://github.com/hacspec/hacspec/tree/master/lib)
doesn't typecheck any longer with `num-bigint` version `0.4.5`.

The hacspec lib dependents on `num-bigint` version `0.4`, not
specifying the minor version. The `specs` repository has no
`Cargo.lock`, and thus, from a clean `git clone`, `cargo build` pins
`num-bigint` to version `0.4.5`, breaking the hacspec library.

This broke #653 recently, and we
had the same kind of errors a couple times before in the past.

Two options were considered:
 - remove the tests related to the specs in the CI of hax;
 - commit a `Cargo.lock`.

The choose the first one: we need to update those specifications to
hax anyway: this will add motivation to
hacspec/specs#13.
@W95Psp W95Psp force-pushed the remove-specs-from-ci branch from bbd877e to 20ab63a Compare May 7, 2024 07:14
@W95Psp W95Psp enabled auto-merge May 7, 2024 07:15
@W95Psp W95Psp added this pull request to the merge queue May 7, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 7, 2024
@W95Psp W95Psp force-pushed the remove-specs-from-ci branch from 20ab63a to e8fdd4f Compare May 7, 2024 07:37
@W95Psp W95Psp enabled auto-merge May 7, 2024 07:47
@W95Psp W95Psp added this pull request to the merge queue May 7, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 7, 2024
@W95Psp W95Psp changed the base branch from main to library-fix-bounded-integers May 7, 2024 08:19
@W95Psp W95Psp merged commit 9436063 into library-fix-bounded-integers May 7, 2024
18 checks passed
@W95Psp W95Psp deleted the remove-specs-from-ci branch May 7, 2024 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants