saturn icon indicating copy to clipboard operation
saturn copied to clipboard

lockfree alcotest dependency is not marked as with-test

Open Simn opened this issue 11 months ago • 2 comments

I noticed that opam install saturn wants to install alcotest and all its dependencies:

=== install 5 packages
  ✶ alcotest   1.9.0                   [required by lockfree]
  ✶ fmt        0.10.0                  [required by alcotest]
  ✶ lockfree   0.3.1                   [required by domainslib]
  ✶ topkg      1.0.8                   [required by fmt, uutf]
  ✶ uutf       1.0.4                   [required by alcotest]

Shouldn't this be marked as with-test?

Simn avatar Apr 01 '25 08:04 Simn

Thanks for the report! This doesn't seem to be the case with saturn 1.0. The issue seems to be with domainslib, as you've reported in https://github.com/ocaml-multicore/domainslib/issues/128. I've pushed a patch to fix it in https://github.com/ocaml-multicore/domainslib/pull/129.

Sudha247 avatar Apr 09 '25 13:04 Sudha247

Thank you! This is all a bit confusing because there's saturn, lockfree and saturn_lockfree. The one that has the alcotest dependency is lockfree 0.3.1, but I suppose this becomes obsolete once domainslib is updated.

Simn avatar Apr 09 '25 13:04 Simn