commercialhaskell / commercialhaskell/stackage

Handle deprecated package versions

Open
#6,552 2 comments 1 reaction 0 assignees View on GitHub
type: discussion
Dominant language
Dockerfile
Stars
551
Forks
825
Avg merge
2d 16m
Merged PRs (30d)
8

Description

I noticed that the latest nightly snapshots, e.g. [`2022-04-24`](https://www.stackage.org/nightly-2022-04-24) and [`2022-04-23`](https://www.stackage.org/nightly-2022-04-23), contain [`unordered-containers-0.2.19.0`](https://hackage.haskell.org/package/unordered-containers-0.2.19.0), despite it being deprecated on Hackage since 2022-04-17 due to https://github.com/haskell-unordered-containers/unordered-containers/issues/420, a correctness bug.

I wonder whether Stackage should possibly include checks to ensure that the snapshots don't include deprecated packages?

Alternatively, should package maintainers take additional steps when deprecating packages, to prevent Stackage users from using them? I suspect I should have created an impossible dependency constraint like `base < 0` in a Hackage revision. (EDIT: I have done this now. See https://hackage.haskell.org/package/unordered-containers-0.2.19.0/revisions/)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.