Skip to content

Conversation

@ulysses4ever
Copy link
Collaborator

@ulysses4ever ulysses4ever commented Mar 28, 2025

cabal-install on 3.14 depends on an unreleased Cabal fuction, so, needs a lower bound bump. The function in question is addInternalBuildToolsFixed (introduced in #10838).

This was found by the CI sdist-check job in #10865


Template B: This PR does not modify behaviour or interface

E.g. the PR only touches documentation or tests, does refactorings, etc.

Include the following checklist in your PR:

  • Patches conform to the coding conventions.
  • Is this a PR that fixes CI? If so, it will need to be backported to older cabal release branches (ask maintainers for directions).

@geekosaur
Copy link
Collaborator

Hm, right, since that hasn't been released yet it'll be hard to test in CI…

@geekosaur
Copy link
Collaborator

Hack: change Cabal.cabal to be something like 3.14.1.9999 and check for ^>= 3.14.1.9999 here?

@ulysses4ever ulysses4ever force-pushed the cabal-api-change-3.14 branch from 1c6dc6b to 14a83a4 Compare March 28, 2025 19:31
@ulysses4ever
Copy link
Collaborator Author

@geekosaur but I thought it'd use the local versions. Well, local version was 3.14.1.1, which isn't true. I bumped it to 3.14.2.

@geekosaur
Copy link
Collaborator

It'll only use the local version if its version matches the constraint. Since the local one doesn't match >= 3.14.2 it's not considered.

@ulysses4ever
Copy link
Collaborator Author

it does now

@ulysses4ever
Copy link
Collaborator Author

@Mikolaj is this an okay patch? I don't want to merge it before someone else looks...

Copy link
Member

@Mikolaj Mikolaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if it's going to work, but it looks legit on its own.

@geekosaur
Copy link
Collaborator

It should work once my check-sdist update lands, which requires fixing Cabal-hooks so the sdist is valid.

@ulysses4ever ulysses4ever added the merge me Tell Mergify Bot to merge label Mar 28, 2025
@Mikolaj Mikolaj force-pushed the cabal-api-change-3.14 branch from 14a83a4 to 27f243e Compare March 28, 2025 23:47
…ds a lower bound bump

the function in question is `addInternalBuildToolsFixed`
(introduced in #10838)
@Mikolaj Mikolaj force-pushed the cabal-api-change-3.14 branch from 27f243e to 412c088 Compare March 29, 2025 01:48
@mergify mergify bot merged commit 2b79e1e into 3.14 Mar 29, 2025
57 checks passed
@mergify mergify bot deleted the cabal-api-change-3.14 branch March 29, 2025 04:01
@mergify mergify bot added the merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days label Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days merge me Tell Mergify Bot to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants