diff --git a/Cabal/Cabal.cabal b/Cabal/Cabal.cabal index 4d3ab6cdfaccc5fbb1fdf4d0c74381918a1c210b..12034e3310cd24c75470cc31ae84b6779a1c2978 100644 --- a/Cabal/Cabal.cabal +++ b/Cabal/Cabal.cabal @@ -1,6 +1,6 @@ cabal-version: >=1.10 name: Cabal -version: 3.0.0.0 +version: 3.0.1.0 copyright: 2003-2019, Cabal Development Team (see AUTHORS file) license: BSD3 license-file: LICENSE diff --git a/Cabal/ChangeLog.md b/Cabal/ChangeLog.md index 04c23ef7a35808a5bc729e79830ca8c875ef7073..0634cf316d18b81a7a7f4ecb2c60b24f94ae991c 100644 --- a/Cabal/ChangeLog.md +++ b/Cabal/ChangeLog.md @@ -1,3 +1,13 @@ +# 3.0.1.0 TBW + * Add GHC-8.8 flags to normaliseGhcFlags + ([#6379](https://github.com/haskell/cabal/pull/6379)) + * Typo fixes + ([#6372](https://github.com/haskell/cabal/pull/6372)) + * Limit version number parts to contain at most 9 digits + ([#6386](https://github.com/haskell/cabal/pull/6386) + * Fix boundless sublibrary depedency parse failure + ([#5846](https://github.com/haskell/cabal/issues/5846)) + # 3.0.0.0 [Mikhail Glushenkov](mailto:mikhail.glushenkov@gmail.com) August 2019 * The 3.0 migration guide gives advice on adapting Custom setup scripts to backwards-incompatible changes in this release: diff --git a/Cabal/Makefile b/Cabal/Makefile index 1cd2645d258c5be5a9fcf7ab05dc66c96259125a..ae0c9e70129f1fa07fc1848295e56ab1b7b9b83f 100644 --- a/Cabal/Makefile +++ b/Cabal/Makefile @@ -1,4 +1,4 @@ -VERSION=3.0.0.0 +VERSION=3.0.1.0 #KIND=devel KIND=rc diff --git a/Cabal/doc/conf.py b/Cabal/doc/conf.py index b64b0344b68fc31ff5389611cbf6954277c1a807..de8f61f0c99beaf7e0812f5d071d572486118e94 100644 --- a/Cabal/doc/conf.py +++ b/Cabal/doc/conf.py @@ -13,7 +13,7 @@ import sphinx_rtd_theme sys.path.insert(0, os.path.abspath('.')) import cabaldomain -version = "3.0.0.0" +version = "3.0.1.0" extensions = ['sphinx.ext.extlinks', 'sphinx.ext.todo'] diff --git a/appveyor.yml b/appveyor.yml index 75c026ce388916b3340b6ebd178f9236b796cfea..07a76e103bdd6161853da528703403e5dadcb8af 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -55,7 +55,7 @@ build_script: - cabal %CABOPTS% v2-test Cabal - appveyor-retry cabal %CABOPTS% v2-build exe:cabal exe:cabal-tests --only-dependencies - cabal %CABOPTS% v2-build exe:cabal - - cabal %CABOPTS% v2-run cabal-tests -- -j3 --with-cabal=dist-newstyle\build\x86_64-windows\ghc-8.6.5\cabal-install-3.0.0.0\x\cabal\build\cabal\cabal.exe + - cabal %CABOPTS% v2-run cabal-tests -- -j3 --with-cabal=dist-newstyle\build\x86_64-windows\ghc-8.6.5\cabal-install-3.0.1.0\x\cabal\build\cabal\cabal.exe - appveyor-retry cabal %CABOPTS% v2-build cabal-install:tests --only-dependencies - cd cabal-install - cabal %CABOPTS% v2-run cabal-install:memory-usage-tests diff --git a/cabal-install/bootstrap.sh b/cabal-install/bootstrap.sh index 2272c063635566aefd6ac4b6ab1f6a8107df30b6..a96b95bab7626b5d6e8368e224528598f47f7e6c 100755 --- a/cabal-install/bootstrap.sh +++ b/cabal-install/bootstrap.sh @@ -224,8 +224,8 @@ NETWORK_URI_VER="2.6.1.0"; NETWORK_URI_VER_REGEXP="2\.6\.(0\.[2-9]|[1-9])" # >= 2.6.0.2 && < 2.7 NETWORK_VER="2.7.0.0"; NETWORK_VER_REGEXP="2\.[0-7]\." # >= 2.0 && < 2.7 -CABAL_VER="3.0.0.0"; CABAL_VER_REGEXP="3\.0\.[0-9]" - # >= 2.5 && < 2.6 +CABAL_VER="3.0.1.0"; CABAL_VER_REGEXP="3\.0\.[1-9]" + # >= 3.0.1 && < 3.1 TRANS_VER="0.5.5.0"; TRANS_VER_REGEXP="0\.[45]\." # >= 0.2.* && < 0.6 MTL_VER="2.2.2"; MTL_VER_REGEXP="[2]\." diff --git a/cabal-install/cabal-install.cabal b/cabal-install/cabal-install.cabal index 0015aa253e553d7d0354b2a793c1612e83ff6cd3..d2ce84672ae62ee667347b6415dc3891da60a43a 100644 --- a/cabal-install/cabal-install.cabal +++ b/cabal-install/cabal-install.cabal @@ -4,7 +4,7 @@ Cabal-Version: >= 1.10 -- To update this file, edit 'cabal-install.cabal.pp' and run -- 'make cabal-install-prod' in the project's root folder. Name: cabal-install -Version: 3.0.0.0 +Version: 3.0.1.0 Synopsis: The command-line interface for Cabal and Hackage. Description: The \'cabal\' command-line program simplifies the process of managing @@ -317,7 +317,7 @@ executable cabal base16-bytestring >= 0.1.1 && < 0.2, binary >= 0.7.3 && < 0.9, bytestring >= 0.10.6.0 && < 0.11, - Cabal == 3.0.*, + Cabal >= 3.0.1.0 && < 3.1, containers >= 0.5.6.2 && < 0.7, cryptohash-sha256 >= 0.11 && < 0.12, deepseq >= 1.4.1.1 && < 1.5, diff --git a/cabal-install/cabal-install.cabal.pp b/cabal-install/cabal-install.cabal.pp index 9f73d859868f7294d9ffffb916d754477ac6d604..489aa130ce0a2ba8ff26fff0aa15398ba30d562d 100644 --- a/cabal-install/cabal-install.cabal.pp +++ b/cabal-install/cabal-install.cabal.pp @@ -10,7 +10,7 @@ Cabal-Version: >= 1.10 -- To update this file, edit 'cabal-install.cabal.pp' and run -- 'make cabal-install-prod' in the project's root folder. Name: cabal-install -Version: 3.0.0.0 +Version: 3.0.1.0 # # NOTE: when updating build-depends, don't forget to update version regexps in bootstrap.sh. # @@ -22,7 +22,7 @@ Version: 3.0.0.0 base16-bytestring >= 0.1.1 && < 0.2, binary >= 0.7.3 && < 0.9, bytestring >= 0.10.6.0 && < 0.11, - Cabal == 3.0.*, + Cabal >= 3.0.1.0 && < 3.1, containers >= 0.5.6.2 && < 0.7, cryptohash-sha256 >= 0.11 && < 0.12, deepseq >= 1.4.1.1 && < 1.5, diff --git a/cabal-install/changelog b/cabal-install/changelog index be79e309227c8e7acc015f8184c04be0b8d4beae..0e955fd7aec9d0d5ec6129b26e1275f346a0d367 100644 --- a/cabal-install/changelog +++ b/cabal-install/changelog @@ -1,5 +1,18 @@ -*-change-log-*- +3.0.1.0 TBW December 2019 + * Create store incoming directory + ([#4130](https://github.com/haskell/cabal/issues/4130)) + * `fetchRepoTarball` output is not marked + ([#6385](https://github.com/haskell/cabal/pull/6385)) + * Update `setupMinCabalVersionConstraint` for GHC-8.8 + ([#6217](https://github.com/haskell/cabal/pull/6217)) + * Use `lukko` for file locking + ([#6345](https://github.com/haskell/cabal/pull/6345)) + * Use `hackage-security-0.6` + ([#6388](https://github.com/haskell/cabal/pull/6388)) + * Other dependency upgrades + 3.0.0.0 Mikhail Glushenkov <mikhail.glushenkov@gmail.com> August 2019 * `v2-haddock` fails on `haddock` failures (#5977) * `v2-run` works when given `File.lhs` literate file. (#6134) diff --git a/cabal-testsuite/cabal-testsuite.cabal b/cabal-testsuite/cabal-testsuite.cabal index 5655827dc8306528b8ce8e7f03133a526f345809..def1c5a3b4c4e836524453640bb123a6d8d31185 100644 --- a/cabal-testsuite/cabal-testsuite.cabal +++ b/cabal-testsuite/cabal-testsuite.cabal @@ -1,6 +1,7 @@ cabal-version: 2.2 name: cabal-testsuite -version: 3.0.0.0 +-- Don't change the version, it's pointless. +version: 3 copyright: 2003-2019, Cabal Development Team (see AUTHORS file) license: BSD-3-Clause license-file: LICENSE @@ -28,7 +29,7 @@ common shared build-depends: , base >= 4.6 && <4.14 -- this needs to match the in-tree lib:Cabal version - , Cabal == 3.0.0.0 + , Cabal == 3.0.1.0 ghc-options: -Wall -fwarn-tabs diff --git a/solver-benchmarks/solver-benchmarks.cabal b/solver-benchmarks/solver-benchmarks.cabal index 9644d8bd542b94e957073d9ed6ab3c0a02d36530..ab28af0ae75442c0955fb87c95f9cc6385bd9d1d 100644 --- a/solver-benchmarks/solver-benchmarks.cabal +++ b/solver-benchmarks/solver-benchmarks.cabal @@ -1,5 +1,5 @@ name: solver-benchmarks -version: 3.0.0.0 +version: 3 copyright: 2003-2017, Cabal Development Team (see AUTHORS file) license: BSD3 license-file: LICENSE diff --git a/travis-common.sh b/travis-common.sh index 4190288fdd05ed681aef316096e7d876a7f2960d..9ea15bf75b6e48497c1b98e839eed9845c4d63c3 100644 --- a/travis-common.sh +++ b/travis-common.sh @@ -1,7 +1,7 @@ set -e -CABAL_VERSION="3.0.0.0" -CABAL_INSTALL_VERSION="3.0.0.0" +CABAL_VERSION="3.0.1.0" +CABAL_INSTALL_VERSION="3.0.1.0" if [ "$TRAVIS_OS_NAME" = "linux" ]; then ARCH="x86_64-linux" @@ -12,9 +12,9 @@ fi CABAL_STORE_DB="${HOME}/.cabal/store/ghc-${GHCVER}/package.db" CABAL_LOCAL_DB="${TRAVIS_BUILD_DIR}/dist-newstyle/packagedb/ghc-${GHCVER}" CABAL_BDIR="${TRAVIS_BUILD_DIR}/dist-newstyle/build/$ARCH/ghc-$GHCVER/Cabal-${CABAL_VERSION}" -CABAL_TESTSUITE_BDIR="${TRAVIS_BUILD_DIR}/dist-newstyle/build/$ARCH/ghc-$GHCVER/cabal-testsuite-${CABAL_VERSION}" +CABAL_TESTSUITE_BDIR="${TRAVIS_BUILD_DIR}/dist-newstyle/build/$ARCH/ghc-$GHCVER/cabal-testsuite-3" CABAL_INSTALL_BDIR="${TRAVIS_BUILD_DIR}/dist-newstyle/build/$ARCH/ghc-$GHCVER/cabal-install-${CABAL_INSTALL_VERSION}" -SOLVER_BENCHMARKS_BDIR="${TRAVIS_BUILD_DIR}/dist-newstyle/build/$ARCH/ghc-$GHCVER/solver-benchmarks-${CABAL_VERSION}" +SOLVER_BENCHMARKS_BDIR="${TRAVIS_BUILD_DIR}/dist-newstyle/build/$ARCH/ghc-$GHCVER/solver-benchmarks-3" CABAL_INSTALL_EXE=${CABAL_INSTALL_BDIR}/x/cabal/build/cabal/cabal # --------------------------------------------------------------------- diff --git a/travis-deploy.sh b/travis-deploy.sh index 88d7ddbbb9ba40abe719f7803d3974c3c3673409..826796bba13ff29afe4b745d002f5a685bdf80a0 100755 --- a/travis-deploy.sh +++ b/travis-deploy.sh @@ -8,7 +8,7 @@ deploy() { (cd cabal-website && git checkout --track -b gh-pages origin/gh-pages) rm -rf cabal-website/doc mkdir -p cabal-website/doc/html - mv dist-newstyle/build/`uname -m`-$TRAVIS_OS_NAME/ghc-$GHCVER/Cabal-3.0.0.0/doc/html/Cabal \ + mv dist-newstyle/build/`uname -m`-$TRAVIS_OS_NAME/ghc-$GHCVER/Cabal-3.0.1.0/doc/html/Cabal \ cabal-website/doc/html/Cabal (cd cabal-website && git add --all .) (cd cabal-website && \ diff --git a/validate.sh b/validate.sh index ae19709440a0be84ff5d6bbe737fadee0539d657..6550e1ec1af7f2e072f6ca94d3e8db2afe5a3f5f 100755 --- a/validate.sh +++ b/validate.sh @@ -177,7 +177,7 @@ timed $CABALPLAN --version ####################################################################### # NOTE: This should match cabal-testsuite version -CABAL_VERSION="3.0.0.0" +CABAL_VERSION="3.0.1.0" if [ "$(uname)" = "Linux" ]; then ARCH="x86_64-linux" @@ -193,7 +193,7 @@ fi BASEHC=ghc-$($HC --numeric-version) BUILDDIR=dist-newstyle-validate-$BASEHC -CABAL_TESTSUITE_BDIR="$(pwd)/$BUILDDIR/build/$ARCH/$BASEHC/cabal-testsuite-${CABAL_VERSION}" +CABAL_TESTSUITE_BDIR="$(pwd)/$BUILDDIR/build/$ARCH/$BASEHC/cabal-testsuite-3" CABALNEWBUILD="${CABAL} v2-build $JOBS -w $HC --builddir=$BUILDDIR --project-file=$PROJECTFILE" CABALPLANLISTBIN="${CABALPLAN} list-bin --builddir=$BUILDDIR"