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

Wip/cabal install v3.10.3.0 #2

Open
wants to merge 206 commits into
base: master
Choose a base branch
from
Open

Conversation

hasufell
Copy link
Member

No description provided.

gbaz and others added 30 commits January 24, 2023 21:18
(cherry picked from commit ffa9127)
testuite: doctest: move to ghcup-recommended ghc (backport haskell#8710)
… validate (haskell#8739)

* Try to fix ghcup cache in CI via sudo chmod

* Revert "Try to fix ghcup cache in CI via sudo chmod"

This reverts commit 0bb71d1.

* Try not caching store in validate jobs to avoid double package bugs

* Revert "Try not caching store in validate jobs to avoid double package bugs"

This reverts commit b3f3782.

* Try not to cache store on Windows in validate jobs

to avoid double directory package bugs.

* Revert "Revert "Try to fix ghcup cache in CI via sudo chmod""

This reverts commit b3a843a.

* Try sudo only on (new) Linux, where it should be available

* Also change the user

* Document the particular hack snippets in validate.yml

* Add an extra diagnostic ls for ghcup dirs

* Also hack the other affected CI scripts

* Also print the version of ghcup used for debugging

(cherry picked from commit 22dcb3c)
Hack around CI problems by sudo chown and disabling cache for Windows validate (backport haskell#8739)
Work around ghcup cache woes also in our tiny CI scripts (backport haskell#8743)
Work around ghcup cache woes also in our dogfooding CI scripts (backport haskell#8749)
(cherry picked from commit 4d33ba6)
Ensure js-sources are used only with JavaScript arch (backport haskell#8748)
* Fix repl discarding `build-depends` argument

Previously the function `\f -> L.allCondTrees $ traverseCondTreeC f` was
used to add the dependencies, but manipulating `CondTree` this way does
not update the nested fields `targetBuildDepends` of the tree, only the
conditions. It worked merely by chance if one does not further process
these fields: this explains why options like `--allow-newer` or
`allow-older` were incompatible with `--build-depends`.

Using `L.traverseBuildInfos . L.targetBuildDepends` ensures
`targetBuildDepends` fields and conditions are all updated consistently.

* Add test

* Add changelog

* Cleanup

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit e9b4744)
* check: Test only doc files with supported extensions

* Cleanup

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit bae536f)
cabal-install: check: Whitelist doc file extensions (backport haskell#8747)
This reverts commit b547ead
from haskell#8623.
Unexpected side-effect has been found, so these code
improvements have to be done differently.
The other commit in the PR is a test and it's retained.

(cherry picked from commit 533cbc1)
Revert "Fix project-local build flags being ignored." (backport haskell#8744)
don't auto-download in hash validation phase (backport haskell#8769)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit 04665d2)
I updated the dependencies in the .cabal bootstrap file and
sightly adjusted src/Main.hs for the `I.riCabal → I.riCabalHash`
change.

Fixes haskell#8613

(cherry picked from commit 2de1fdc)
Bump cabal-bootstrap-gen to GHC 9.4.4 ecosystem (backport haskell#8720)
…#8794)

* Disallow GHC <8.0

closes haskell#8715

* Add changelog entry

(cherry picked from commit 9e417fa)
Disallow GHC <8.0 for Cabal{,-syntax} & cabal-install-solver (backport haskell#8794)
Mikolaj and others added 23 commits February 8, 2024 16:29
(cherry picked from commit 2869473)
(cherry picked from commit 8674b74)

Co-authored-by: Bodigrim <[email protected]>
* Bump version numbers to 3.10.3.0

* Update bootstrap and CI for latest minor 9.4

* Regenerate the bootstrap files

* Disable windows runner for GHC 9.0.2
`extra-doc-files` and `no-autogen-paths` warnings.

(cherry picked from commit 28daab1)
…askell#9767)

* Find build-tool installed programs before programs in path (BP)

A backport of 443c890 (haskell#9762)

---------

Co-authored-by: brandon s allbery kf8nh <[email protected]>
Co-authored-by: Gershom Bazerman <[email protected]>
@hasufell hasufell force-pushed the wip/cabal-install-v3.10.3.0 branch 2 times, most recently from faebeba to df61b3d Compare March 19, 2024 13:50
@hasufell hasufell force-pushed the wip/cabal-install-v3.10.3.0 branch from df61b3d to 6aade43 Compare March 19, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.