haskell / haskell/cabal

`allow-newer` in project file `package` stanza

Open
#4,360 3 comments 1 reaction 0 assignees View on GitHub
cabal-install: other re: allow-newer re: project-file type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

While updating my projects for, e.g. a new compiler, I often find it necessary to vendorize libraries while waiting for upstream to merge bound bump changes. This is a fair amount of work, but I find it more satisfying than the alternative of just accumulating entries in the global `allow-newer` list.

What I would really like is a way to easily lift a given bound in particular package from within a project file. For instance,
```
package safecopy
allow-newer: vector
```

Contributor guide

Open the contributing guide

Research direction

Start by reading how the project-file package stanza is parsed and how the global allow-newer list is applied. Trace dependency bound handling for the requested package-scoped form, then verify that a project can lift a bound for one named package without changing the global setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.