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

Version bounds for local builds #10335

Closed
9999years opened this issue Sep 9, 2024 · 1 comment
Closed

Version bounds for local builds #10335

9999years opened this issue Sep 9, 2024 · 1 comment

Comments

@9999years
Copy link
Collaborator

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.

@9999years
Copy link
Collaborator Author

Sorry, I just needed to run cabal update. This isn't the first time I've hit this issue though (albeit with different dependencies), so I may reopen it if I run into it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant