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
Allow lens 5.2 #1607
Allow lens 5.2 #1607
Conversation
No code changes were required, just needed to bump the upper bounds. servant-swagger already allows 5.2. In a normal situation you won't get lens 5.2 yet, because swagger2 currently disallows lens 5.2: GetShopTV/swagger2#242 Additionally, servant-multipart needs its constraint lifted as well which I'll PR to the respective repository. Tested using cabal v2-build all --allow-newer=lens --constraint='lens >= 5.2'
Tested in conjunction with haskell-servant/servant#1607
I'd suggest using See also the |
Thanks, I wasn't aware you can restrict the allow-newer flag further. I tested it like this:
So seems like we also need to update Do you want me to include an updated cabal.project in this PR as well? |
@l-epple My personal preference is not to commit But if code changes need do be done, I think it makes sense to parallelize work, since that often requires more review, and trustees can't do code changes. In that case, my preference is to put the I probably haven't been consistently waiting with sending PRs until no The Servant repo seems to be an outlier to me since it has so many projects inside, and therefore a huge dependency tree. This is a shame, because even small changes quickly become blocked on some dependency. For example, take that GHC-9.4 PR I linked. Many parts of the project would already be compatible if bounds were bumped, and their changes could be released today. But because other parts of the code base do require doctest, the whole PR is blocked on this. It is even possible to not build, or ignore doctest failures for specific GHC versions. But this also causes churn, so I'd consider it just as bad as Hopefully the new code-generators feature in Cabal 3.8 will inspire someone to make a doctest library with a lower maintenance burden. |
Tested in conjunction with haskell-servant/servant#1607
No code changes were required, just needed to bump the upper bounds.
servant-swagger already allows 5.2. In a normal situation you won't get
lens 5.2 yet, because swagger2 currently disallows lens 5.2:
GetShopTV/swagger2#242
Additionally, servant-multipart needs its constraint lifted as well
which I'll PR to the respective repository.
Tested using