-
Notifications
You must be signed in to change notification settings - Fork 6
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
[Chore] Use LTS-21 #290
[Chore] Use LTS-21 #290
Conversation
[Note]: Skip this check by adding Generated by 🚫 Danger |
693d6ac
to
27cc45d
Compare
27cc45d
to
06cd8ab
Compare
Problem: we take nyan-interpolation from GitHub, which is harder to manage than if we take it from Hackage. Fortunately, the latest version is now available and suits us. Solution: specify Hackage version of nyan-interpoation[-core] in extra-deps.
06cd8ab
to
f57d93a
Compare
CI is failing due to warnings / compilation errors also related to LTS-21. Other than that, LGTM. |
@Martoon-00 if you volunteer to fix them by any chance, feel free to go ahead 😉 |
Okay, I fixed the errors that I saw (note there are fixup commits, you may want to squash them after reviewing them). However now some really scary errors bumped up, and I have to switch to other activities, so giving up on this right now. |
Problem: we use lts-19.13 which is getting somewhat old. It's a good practice to update versions from time to time. Solution: use lts-21.25.
1. The project no longer uses `niv`, so the comment about it is irrelevant. Dependencies are normally updated by the update-daemon nowadays. 2. cmark-gfm is available in lts-21.13.
Problem: this is a new warning which wants us to provide an explicit kind signature for each type we define. It sounds too verbose to do. Solution: disable this warning.
Problem: retryAfterInfo doesn't compile because the type of readMaybe got more polymorphic in Universum. Solution: specify explicitly that the argument is Text. N.B. In the previous version it was String (due to the old type of readMaybe), but Text is generally preferable, so we're changing it.
Problem: some lens-related things that we use got deprecated in Universum. Solution: do not use them, import them from Control.Lens instead.
Problem: CI job for Windows compiles against specific GHC version. Solution: update it to match LTS version.
Problem: somehow, after the previous commits one test broke, now xrefcheck outputs location where previously it didn't. Solution: it seems for good, so update the expected output in that test.
19b21f2
to
83ea8a3
Compare
Reviewed, squashed. Also updated the resolver to a bit newer one, so that a newer minor GHC version is used. Let's see if it helps with any of scary errors. |
Problem: Cross-compilation to windows is broken. Solution: 1) Build 'bitvec' without 'simd' flag since it causes the build to fail. 2) Remove old workaround for 'iserv-proxy-interprete' because the aforementioned issue was fixed in newer GHC versions.
haskell-nix 28fceff2ef (2024-01-10) -> ed955c92e9 (2024-08-07)
Generated by 🚫 Danger |
Superseded by #304 |
Description
This PR updated the Stackage resolver to the latest one and does some related cleaning.
Related issue(s)
Resolves #285
✅ Checklist for your Pull Request
Ideally a PR has all of the checkmarks set.
If something in this list is irrelevant to your PR, you should still set this
checkmark indicating that you are sure it is dealt with (be that by irrelevance).
Related changes (conditional)
Tests
silently reappearing again.
Documentation
Public contracts
of Public Contracts policy.
and
Stylistic guide (mandatory)
✓ Release Checklist
package.yaml
.under the "Unreleased" section to a new section for this release version.
vX.Y.Z
.xrefcheck-action
.