Update from parent

This commit is contained in:
orome 2017-01-28 10:26:47 -05:00 committed by GitHub
commit 0a83d3303a
8 changed files with 121 additions and 50 deletions

View File

@ -11,7 +11,7 @@ addons:
- libgmp-dev - libgmp-dev
env: env:
- GHCVER=8.0.1 - GHCVER=8.0.2
install: install:
# Download and unpack the stack executable # Download and unpack the stack executable

View File

@ -337,3 +337,24 @@ errors for builds, tests and benchmarks.
1. Add public ssh key to `~/.ssh/authorized_keys` on build server 1. Add public ssh key to `~/.ssh/authorized_keys` on build server
2. Add to fpco/stackage project. 2. Add to fpco/stackage project.
## Dealing with a new GHC release
As mentioned in the [GHC upgrade note], the major impact of a new GHC release
is on the packages that are causing upper bounds to be put in place. In order
to minimise out-of-date breakage and allow maintainers to have a solid chance
of getting their packages into the newest LTS, we try to do the following:
Make an early announcement (in the form of a blog post, typically) of the new
GHC release on the nightly build and the planned deadline for the new LTS release.
Make it clear, that in the time coming up to this, we hope package maintainers
will upgrade their packages to allow for the new GHC release.
We prefer to prune packages causing upper bounds constraints **after** the LTS
release to allow the maximum amount of packages to get into the newest LTS.
After the first LTS release, the package pruning process may begin in order to
move forward with getting the latest versions of packages compatible with the
new GHC release.
[GHC upgrade note]: https://github.com/fpco/stackage/blob/master/MAINTAINERS.md#upgrading-to-a-new-ghc-version

View File

@ -2,7 +2,7 @@ FROM fpco/pid1:16.04
ENV HOME /home/stackage ENV HOME /home/stackage
ENV LANG en_US.UTF-8 ENV LANG en_US.UTF-8
ENV PATH /opt/ghc/8.0.1/bin:/usr/sbin:/usr/bin:/sbin:/bin ENV PATH /opt/ghc/8.0.2/bin:/usr/sbin:/usr/bin:/sbin:/bin
ADD debian-bootstrap.sh /tmp/debian-bootstrap.sh ADD debian-bootstrap.sh /tmp/debian-bootstrap.sh
RUN /tmp/debian-bootstrap.sh && rm /tmp/debian-bootstrap.sh RUN /tmp/debian-bootstrap.sh && rm /tmp/debian-bootstrap.sh

View File

@ -24,7 +24,7 @@ After doing that, send a pull request (with a commit message like "add foo-bar")
If you want to make sure that the package builds against the newest versions of all dependecies you can do this: If you want to make sure that the package builds against the newest versions of all dependecies you can do this:
``` ```
$ cabal update $ cabal update
$ ghc --version # Should give v8.0.1 $ ghc --version # Should give v8.0.2
$ cabal get PACKAGE-VERSION # e.g. aeson-0.11.2.1 $ cabal get PACKAGE-VERSION # e.g. aeson-0.11.2.1
$ cd PACKAGE-VERSION $ cd PACKAGE-VERSION
$ cabal sandbox init # Should give "Creating a new sandbox" and not "Using an existing sandbox". $ cabal sandbox init # Should give "Creating a new sandbox" and not "Using an existing sandbox".

View File

@ -121,7 +121,7 @@ docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "stackage-curator check --plan-fil
# Now do the actual build. We need to first set the owner of the home directory # Now do the actual build. We need to first set the owner of the home directory
# correctly, so we run the command as root, change owner, and then use sudo to # correctly, so we run the command as root, change owner, and then use sudo to
# switch back to the current user # switch back to the current user
docker run $ARGS_BUILD $IMAGE /bin/bash -c "chown $USER $HOME && exec sudo -E -u $USER env \"HOME=$HOME\" \"PATH=\$PATH\" stackage-curator make-bundle --plan-file $PLAN_FILE --docmap-file $DOCMAP_FILE --bundle-file $BUNDLE_FILE --target $TARGET" docker run $ARGS_BUILD $IMAGE nice -n 15 /bin/bash -c "chown $USER $HOME && exec sudo -E -u $USER env \"HOME=$HOME\" \"PATH=\$PATH\" stackage-curator make-bundle --jobs 4 --plan-file $PLAN_FILE --docmap-file $DOCMAP_FILE --bundle-file $BUNDLE_FILE --target $TARGET"
# Make sure we actually need this snapshot. We used to perform this check # Make sure we actually need this snapshot. We used to perform this check
# exclusively before building. Now we perform it after as well for the case of # exclusively before building. Now we perform it after as well for the case of

View File

@ -70,7 +70,8 @@ packages:
"alpheccar <misc@alpheccar.org> @alpheccar": "alpheccar <misc@alpheccar.org> @alpheccar":
- HPDF - HPDF
- hbayes # https://github.com/alpheccar/hbayes/issues/3
# - hbayes
"Dmitry Bogatov <KAction@gnu.org>": "Dmitry Bogatov <KAction@gnu.org>":
- once - once
@ -92,7 +93,7 @@ packages:
"Michael Snoyman michael@snoyman.com @snoyberg": "Michael Snoyman michael@snoyman.com @snoyberg":
- bzlib-conduit - bzlib-conduit
- cabal-install - cabal-install
- cabal-src - mega-sdist
- case-insensitive - case-insensitive
- classy-prelude-yesod - classy-prelude-yesod
- conduit-combinators - conduit-combinators
@ -159,7 +160,7 @@ packages:
- quickcheck-assertions - quickcheck-assertions
# - hackage-mirror # via: aws # - hackage-mirror # via: aws
- wai-middleware-consul # - wai-middleware-consul # https://github.com/alphaHeavy/consul-haskell/issues/18
- wai-middleware-crowd - wai-middleware-crowd
- monad-logger-json - monad-logger-json
- safe-exceptions - safe-exceptions
@ -202,7 +203,6 @@ packages:
- extra - extra
- bake - bake
- ghcid - ghcid
- pugixml
- hexml - hexml
"Alan Zimmerman @alanz": "Alan Zimmerman @alanz":
@ -308,7 +308,7 @@ packages:
- path - path
- intero - intero
- weigh - weigh
- haskell-docs # - haskell-docs # BLOCKED haddock-api GHC 8.0.2
# - structured-haskell-mode # bounds: haskell-src-exts # via: applicative-quoters # - structured-haskell-mode # bounds: haskell-src-exts # via: applicative-quoters
"Alberto G. Corona <agocorona@gmail.com> @agocorona": "Alberto G. Corona <agocorona@gmail.com> @agocorona":
@ -385,7 +385,7 @@ packages:
- zippers - zippers
- fixed - fixed
- half - half
- gl # - gl BLOCKED directory 1.3
- lens-aeson - lens-aeson
- zlib-lens - zlib-lens
# - hyperloglog # bounds: approximate, binary, comonad # - hyperloglog # bounds: approximate, binary, comonad
@ -416,7 +416,7 @@ packages:
- BlogLiterately-diagrams - BlogLiterately-diagrams
- diagrams - diagrams
- diagrams-builder - diagrams-builder
- diagrams-haddock # - diagrams-haddock # BLOCKED directory 1.3 via cautious-file
- diagrams-cairo - diagrams-cairo
- diagrams-contrib - diagrams-contrib
- diagrams-core - diagrams-core
@ -447,7 +447,6 @@ packages:
"Felipe Lessa <felipe.lessa@gmail.com> @meteficha": "Felipe Lessa <felipe.lessa@gmail.com> @meteficha":
# - country-codes # bounds: tagsoup # - country-codes # bounds: tagsoup
# - esqueleto # bounds: persistent
# - fb # bounds: aeson, http-conduit-2.2, hspec # - fb # bounds: aeson, http-conduit-2.2, hspec
# - fb-persistent # bounds: persistent # via: fb # - fb-persistent # bounds: persistent # via: fb
# - mangopay # compilation failure against aeson # - mangopay # compilation failure against aeson
@ -476,10 +475,11 @@ packages:
- accelerate - accelerate
"Liam O'Connor <liamoc@cse.unsw.edu.au> @liamoc": "Liam O'Connor <liamoc@cse.unsw.edu.au> @liamoc":
[]
# - patches-vector # bounds: QuickCheck, edit-distance-vector, hspec # - patches-vector # bounds: QuickCheck, edit-distance-vector, hspec
# - composition-tree # bounds: QuickCheck # - composition-tree # bounds: QuickCheck
# - dixi # bounds: aeson, lens, time, [...] # - dixi # bounds: aeson, lens, time, [...]
- latex-formulae-image # - latex-formulae-image # BLOCKED directory 1.3
# - latex-formulae-pandoc # bounds: pandoc-types # - latex-formulae-pandoc # bounds: pandoc-types
# - latex-formulae-hakyll # bounds: ghc, base # - latex-formulae-hakyll # bounds: ghc, base
# - agda-snippets # bounds: ghc, base # - agda-snippets # bounds: ghc, base
@ -527,10 +527,11 @@ packages:
"Andrew Thaddeus Martin <andrew.thaddeus@gmail.com> @andrewthad": "Andrew Thaddeus Martin <andrew.thaddeus@gmail.com> @andrewthad":
- yesod-table - yesod-table
"Chris Allen <cma@bitemyapp.com> bitemyapp": "Chris Allen <cma@bitemyapp.com> @bitemyapp":
- machines-directory - machines-directory
- machines-io - machines-io
- bloodhound - bloodhound
- esqueleto # bounds: persistent
"Adam Bergmark <adam@bergmark.nl> @bergmark": "Adam Bergmark <adam@bergmark.nl> @bergmark":
- HUnit - HUnit
@ -542,7 +543,7 @@ packages:
- fay-text - fay-text
- fay-uri - fay-uri
- feed - feed
- snaplet-fay # - snaplet-fay # BLOCKED directory 1.3 via heist and snap
- time-compat - time-compat
- through-text - through-text
@ -579,7 +580,7 @@ packages:
- FenwickTree - FenwickTree
- hPDB - hPDB
- hPDB-examples - hPDB-examples
- homplexity # - homplexity # BLOCKED directory 1.3
- wordpass - wordpass
# - json-autotype # bounds: aeson 1.0, lens # - json-autotype # bounds: aeson 1.0, lens
- posix-realtime - posix-realtime
@ -737,7 +738,7 @@ packages:
# - al # FIXME temporary, figure out why it's not working with stackage-build # - al # FIXME temporary, figure out why it's not working with stackage-build
- event - event
- hid - hid
- luminance # - luminance # BLOCKED directory 1.3
# - luminance-samples # bounds: base # - luminance-samples # bounds: base
- monad-journal - monad-journal
# - msi-kb-backlit # bounds: ghc, base # - msi-kb-backlit # bounds: ghc, base
@ -754,7 +755,7 @@ packages:
# - system-canonicalpath # bounds: ghc, base # https://github.com/d12frosted/CanonicalPath/issues/5 # - system-canonicalpath # bounds: ghc, base # https://github.com/d12frosted/CanonicalPath/issues/5
"Daniel Gröber <dxld@darkboxed.org> @DanielG": "Daniel Gröber <dxld@darkboxed.org> @DanielG":
# - ghc-mod # bounds: cabal-helper, extra, haskell-src-exts, optparse-applicative, pipes - ghc-mod
- cabal-helper - cabal-helper
"Yann Esposito <yann.esposito@gmail.com> yogsototh @yogsototh": "Yann Esposito <yann.esposito@gmail.com> yogsototh @yogsototh":
@ -811,7 +812,7 @@ packages:
- data-accessor-mtl - data-accessor-mtl
# - file-location # bounds: transformers # - file-location # bounds: transformers
- fuzzcheck - fuzzcheck
- haddock-api # - haddock-api BLOCKED GHC 8.0.2
- here - here
- hlibgit2 - hlibgit2
- gitlib-libgit2 - gitlib-libgit2
@ -922,9 +923,9 @@ packages:
- servant-cassava - servant-cassava
"Alexandr Ruchkin <voidex@live.com> @mvoidex": "Alexandr Ruchkin <voidex@live.com> @mvoidex":
- hdocs # - hdocs # BLOCKED haddock-api GHC 8.0.2
- hformat - hformat
- hsdev # - hsdev # BLOCKED haddock-api GHC 8.0.2
- simple-log - simple-log
- text-region - text-region
@ -952,7 +953,7 @@ packages:
"Jens Petersen <juhpetersen@gmail.com> @juhp": "Jens Petersen <juhpetersen@gmail.com> @juhp":
- cabal-rpm - cabal-rpm
- cabal-sort # - cabal-sort # BLOCKED directory 1.3
- hslua - hslua
# - idris # bounds: safe # - idris # bounds: safe
@ -1730,6 +1731,7 @@ packages:
- proxied - proxied
- text-show - text-show
- text-show-instances - text-show-instances
- thread-local-storage
"Kirill Zaborsky <qrilka@gmail.com> @qrilka": "Kirill Zaborsky <qrilka@gmail.com> @qrilka":
- xlsx - xlsx
@ -1877,10 +1879,12 @@ packages:
- yi-snippet - yi-snippet
"Tobias Bexelius <tobias_bexelius@hotmail.com> @tobbebex": "Tobias Bexelius <tobias_bexelius@hotmail.com> @tobbebex":
- GPipe []
# - GPipe # BLOCKED directory 1.3 via gl
"Patrick Redmond <plredmond@gmail.com> @plredmond": "Patrick Redmond <plredmond@gmail.com> @plredmond":
- GPipe-GLFW []
# - GPipe-GLFW # BLOCKED directory 1.3 via GPipe and gl
# "Csaba Hruska <csaba.hruska@gmail.com> @csabahruska": # "Csaba Hruska <csaba.hruska@gmail.com> @csabahruska":
# - lambdacube-ir # bounds: aeson # - lambdacube-ir # bounds: aeson
@ -1938,11 +1942,13 @@ packages:
- titlecase - titlecase
"Mark Fine <mark.fine@gmail.com> @markfine": "Mark Fine <mark.fine@gmail.com> @markfine":
- postgresql-schema []
# - postgresql-schema # BLOCKED shelly GHC 8.0.2
# - sbp # build failure # - sbp # build failure
"Jinjing Wang <nfjinjing@gmail.com> @nfjinjing": "Jinjing Wang <nfjinjing@gmail.com> @nfjinjing":
- moesocks []
# - moesocks # https://github.com/nfjinjing/moesocks/issues/1
"Gregory W. Schwartz <gregory.schwartz@drexel.edu> @GregorySchwartz": "Gregory W. Schwartz <gregory.schwartz@drexel.edu> @GregorySchwartz":
# - fasta # via pipes-attoparsec # - fasta # via pipes-attoparsec
@ -2159,12 +2165,13 @@ packages:
"Jeremy Shaw <jeremy@n-heptane.com> @stepcut": "Jeremy Shaw <jeremy@n-heptane.com> @stepcut":
- boomerang - boomerang
- clckwrks # BLOCKED directory 1.3
- clckwrks-cli #- clckwrks
- clckwrks-plugin-page #- clckwrks-cli
- clckwrks-plugin-media #- clckwrks-plugin-page
- clckwrks-theme-bootstrap #- clckwrks-plugin-media
- hackage-whatsnew #- clckwrks-theme-bootstrap
#- hackage-whatsnew
- happstack-authenticate - happstack-authenticate
- happstack-clientsession - happstack-clientsession
- happstack-hsp - happstack-hsp
@ -2277,7 +2284,8 @@ packages:
- cmark - cmark
- texmath - texmath
- highlighting-kate - highlighting-kate
- pandoc-types - skylighting
- pandoc-types < 1.19 # Accidental upload, see: https://github.com/fpco/stackage/issues/2223
- zip-archive - zip-archive
- doctemplates - doctemplates
- pandoc - pandoc
@ -2480,7 +2488,7 @@ packages:
"Cliff Harvey <cs.hbar+hs@gmail.com> @BlackBrane": "Cliff Harvey <cs.hbar+hs@gmail.com> @BlackBrane":
- ansigraph - ansigraph
- quantum-random # - quantum-random # BLOCKED directory 1.3
"Tebello Thejane <zyxoas+stackage@gmail.com> @tebello-thejane": "Tebello Thejane <zyxoas+stackage@gmail.com> @tebello-thejane":
- bitx-bitcoin - bitx-bitcoin
@ -2530,9 +2538,9 @@ packages:
"Dominic Orchard <dom.orchard@gmail.com> @dorchard": "Dominic Orchard <dom.orchard@gmail.com> @dorchard":
- array-memoize - array-memoize
- camfort # - camfort # https://github.com/fpco/stackage/issues/2232
- codo-notation - codo-notation
- fortran-src # - fortran-src # https://github.com/fpco/stackage/issues/2232
# - ixmonad # 0.57 Compilation failure https://github.com/fpco/stackage/pull/1710#issuecomment-235067168 # - ixmonad # 0.57 Compilation failure https://github.com/fpco/stackage/pull/1710#issuecomment-235067168
- language-fortran - language-fortran
@ -2568,11 +2576,16 @@ packages:
- quickcheck-special - quickcheck-special
- writer-cps-mtl - writer-cps-mtl
- writer-cps-transformers - writer-cps-transformers
- writer-cps-morph
- writer-cps-lens
- writer-cps-full
- wl-pprint-annotated - wl-pprint-annotated
- wl-pprint-console - wl-pprint-console
- console-style - console-style
- unlit - unlit
- intro - intro
- tasty-auto
- colorful-monoids
"Taras Serduke <taras.serduke@gmail.com> @tserduke": "Taras Serduke <taras.serduke@gmail.com> @tserduke":
- do-list - do-list
@ -2688,7 +2701,7 @@ packages:
- haskell-tools-demo - haskell-tools-demo
- haskell-tools-cli - haskell-tools-cli
- haskell-tools-daemon - haskell-tools-daemon
- haskell-tools-debug # - haskell-tools-debug # https://github.com/haskell-tools/haskell-tools/issues/257
"David Fisher <ddf1991@gmail.com> @ddfisher": "David Fisher <ddf1991@gmail.com> @ddfisher":
- socket-activation - socket-activation
@ -2696,6 +2709,14 @@ packages:
"aiya000 <aiya000.develop@gmail.com> @aiya000": "aiya000 <aiya000.develop@gmail.com> @aiya000":
- stack-type - stack-type
"Mitsutoshi Aoe <maoe@foldr.in> @maoe":
- viewprof
"Dylan Simon <dylan-stack@dylex.net> @dylex":
- postgresql-typed
- invertible
- ztail
# If you stop maintaining a package you can move it here. # If you stop maintaining a package you can move it here.
# It will then be disabled if it starts causing problems. # It will then be disabled if it starts causing problems.
# See https://github.com/fpco/stackage/issues/1056 # See https://github.com/fpco/stackage/issues/1056
@ -2748,26 +2769,21 @@ packages:
# https://github.com/fpco/stackage/issues/2180 # https://github.com/fpco/stackage/issues/2180
- MonadRandom < 0.5 - MonadRandom < 0.5
# https://github.com/fpco/stackage/issues/2184
# https://github.com/ekmett/hashable-extras/pull/3
- hashable < 1.2.5.0
- intro < 0.1.0.3
# https://github.com/fpco/stackage/issues/2194 # https://github.com/fpco/stackage/issues/2194
- vector < 0.12.0.0 - vector < 0.12.0.0
# https://github.com/fpco/stackage/issues/2197
- brick < 0.16
# https://github.com/fpco/stackage/issues/2205
- base-noprelude < 4.9.1.0
# https://github.com/fpco/stackage/issues/2206 # https://github.com/fpco/stackage/issues/2206
- pretty-simple < 1.0.0.5 - pretty-simple < 1.0.0.5
# https://github.com/fpco/stackage/issues/2207 # https://github.com/fpco/stackage/issues/2207
- xlsx-tabular < 0.2.1.1 - xlsx-tabular < 0.2.1.1
# https://github.com/fpco/stackage/issues/2229
- hspec < 2.4
- hspec-core < 2.4
- hspec-discover < 2.4
- hspec-smallcheck < 0.4.2
# end of packages # end of packages
# Package flags are applied to individual packages, and override the values of # Package flags are applied to individual packages, and override the values of
@ -2841,6 +2857,12 @@ package-flags:
ghc_7_7: false ghc_7_7: false
ghc_8_0: true ghc_8_0: true
invertible:
TypeCompose: false
arrows: false
hlist: false
piso: false
# end of package-flags # end of package-flags
# Special configure options for individual packages # Special configure options for individual packages
@ -2960,6 +2982,12 @@ skipped-tests:
- optparse-applicative # https://github.com/pcapriotti/optparse-applicative/issues/228 - optparse-applicative # https://github.com/pcapriotti/optparse-applicative/issues/228
# BLOCKED shelly GHC 8.0.2
- c2hs
# directory 1.3
- machines
- xmlhtml
# end of skipped-tests # end of skipped-tests
@ -3142,6 +3170,24 @@ expected-test-failures:
- yesod-auth-basic # https://github.com/creichert/yesod-auth-basic/issues/1 - yesod-auth-basic # https://github.com/creichert/yesod-auth-basic/issues/1
- folds # https://github.com/ekmett/folds/issues/12 - folds # https://github.com/ekmett/folds/issues/12
- stm-delay # https://github.com/joeyadams/haskell-stm-delay/issues/5
- vector-algorithms # http://hub.darcs.net/dolio/vector-algorithms/issue/9
- relational-query # https://github.com/khibino/haskell-relational-record/issues/51
- unicode-show # https://github.com/nushio3/unicode-show/issues/2
- ghc-exactprint # https://github.com/alanz/ghc-exactprint/issues/47
# Doctests require hidden Glob package
- multiset
- makefile
- path # https://github.com/chrisdone/path/issues/54
- rattletrap # https://github.com/fpco/stackage/issues/2232
# end of expected-test-failures # end of expected-test-failures
# Benchmarks which are known not to build. Note that, currently we do not run # Benchmarks which are known not to build. Note that, currently we do not run
@ -3199,6 +3245,10 @@ expected-haddock-failures:
- classy-prelude-yesod - classy-prelude-yesod
- hledger-web - hledger-web
# Runs out of memory
- stratosphere
- store
# end of expected-haddock-failures # end of expected-haddock-failures
# Benchmarks which should not be built. Note that Stackage builds benchmarks but does not run them. # Benchmarks which should not be built. Note that Stackage builds benchmarks but does not run them.

2
check
View File

@ -3,4 +3,4 @@
# Convenience script for checking constraints locally # Convenience script for checking constraints locally
cd `dirname $0` cd `dirname $0`
exec stack exec --resolver ghc-8.0.1 stackage-curator check exec stack exec --resolver ghc-8.0.2 stackage-curator check

View File

@ -25,7 +25,7 @@ add-apt-repository -y ppa:marutter/rrutter
#add-apt-repository -y ppa:openstack-ubuntu-testing/icehouse #add-apt-repository -y ppa:openstack-ubuntu-testing/icehouse
# Set the GHC version # Set the GHC version
GHCVER=8.0.1 GHCVER=8.0.2
# Get Stack # Get Stack
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 575159689BEFB442 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 575159689BEFB442