Skip to content

Version bounds for local builds #10335

@9999years

Description

@9999years

The local builds seem to fail often when version numbers are bumped, as they were today in #10309:

Resolving dependencies...
Error: [Cabal-7107]
Could not resolve dependencies:
[__0] trying: Cabal-syntax-3.15.0.0 (user goal)
[__1] trying: cabal-install-3.15.0.0 (user goal)
[__2] next goal: hackage-security (dependency of cabal-install)
[__2] rejecting: hackage-security; 0.6.2.6, 0.6.2.5 (conflict: Cabal-syntax==3.15.0.0, hackage-security +/-cabal-syntax => Cabal-syntax<3.14)
[__2] rejecting: hackage-security; 0.6.2.4, 0.6.2.3 (conflict: Cabal-syntax==3.15.0.0, hackage-security +/-cabal-syntax => Cabal-syntax<3.12)
[__2] rejecting: hackage-security; 0.6.2.2, 0.6.2.1 (conflict: Cabal-syntax==3.15.0.0, hackage-security +/-cabal-syntax => Cabal-syntax<3.10)
[__2] rejecting: hackage-security-0.6.2.0 (conflict: Cabal-syntax==3.15.0.0, hackage-security +/-cabal-syntax => Cabal-syntax<3.9)
[__2] rejecting: hackage-security-0.6.1.0 (conflict: cabal-install => hackage-security>=0.6.2.0 && <0.7)
[__2] skipping: hackage-security; 0.6.0.1, 0.6.0.0, 0.5.3.0, 0.5.2.2, 0.5.2.1, 0.5.2.0, 0.5.1.0, 0.5.0.2, 0.5.0.1, 0.5.0.0, 0.3.0.0, 0.2.0.0, 0.1.0.0 (has the same characteristics that caused the previous version to fail: excluded by constraint '>=0.6.2.0 && <0.7' from 'cabal-install')
[__2] fail (backjumping, conflict set: Cabal-syntax, cabal-install, hackage-security)
After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: cabal-install, hackage-security, Cabal-syntax

This is especially frustrating when the version bumps do not correspond to releases; today, Cabal was bumped to 3.15, but neither 3.13, 3.14, nor 3.15 are available on Hackage. I'm not sure how I'm supposed to resolve these issues; in this case, no published version of hackage-security is buildable from the master branch of this repo.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions