-
Notifications
You must be signed in to change notification settings - Fork 711
Do not check PVP on internal targets #9004
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
Conversation
Internal targets: test-suites or benchmarks. See haskell#8361 for rationale. Note that this patch is quite ugly (duplicating allBuildInfo, using list comprehensions, etc.) but we don’t care as everything will be overwritten by a much more sensible reimplementation in haskell#8427.
So, is it a good idea to include this in cabal 3.10.2.0? Gershom also says it would be useful for Hackage. Any problems with this idea? |
And it needs a change to Cabal as well in order for Hackage to benefit from it. |
So, do we backport now? If so, let's do |
@mergify backport 3.10 |
✅ Backports have been created
|
* Do not check PVP on internal targets Internal targets: test-suites or benchmarks. See #8361 for rationale. Note that this patch is quite ugly (duplicating allBuildInfo, using list comprehensions, etc.) but we don’t care as everything will be overwritten by a much more sensible reimplementation in #8427. * Add changelog for #9004 --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 1cb92a3) # Conflicts: # Cabal/src/Distribution/PackageDescription/Check.hs
Uhoh, a merge conflict in the backport. Is it because we should have backported another PR first or is it due to the formatting PR or something yet different? |
It is fourmolu. |
Internal targets: test-suites or benchmarks. See haskell#8361 for rationale. Note that this patch is quite ugly (duplicating allBuildInfo, using list comprehensions, etc.) but we don’t care as everything will be overwritten by a much more sensible reimplementation in haskell#8427.
Internal targets: test-suites or benchmarks. See haskell#8361 for rationale. Note that this patch is quite ugly (duplicating allBuildInfo, using list comprehensions, etc.) but we don’t care as everything will be overwritten by a much more sensible reimplementation in haskell#8427.
…l-3.10 Do not check PVP on internal targets (backport of #9004 to 3.10)
Internal targets: test-suites or benchmarks.
See #8361 for rationale.
Note that this patch is quite ugly (duplicating allBuildInfo, using list comprehensions, etc.) but we don’t care as everything will be overwritten by a much more sensible reimplementation in #8427.
Please include the following checklist in your PR:
The documentation has been updated, if necessary.N/A, since no warning-specific docs in master, but they have been updated in Reimplementcabal check
#8427.QA Notes
cabal get lentil
cd
into itbuild-depends
section of thetest-suite
stanza, add an unbounded dependencycabal check
, it should not complain about missing upper bounds