Skip to content

Commit a0975df

Browse files
authored
Merge branch '3.10' into mergify/bp/3.10/pr-9071
2 parents ddefcce + 79ffd51 commit a0975df

File tree

6 files changed

+11
-14
lines changed

6 files changed

+11
-14
lines changed

Cabal-syntax/Cabal-syntax.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ library
3333
binary >= 0.7 && < 0.9,
3434
bytestring >= 0.10.0.0 && < 0.12,
3535
containers >= 0.5.0.0 && < 0.7,
36-
deepseq >= 1.3.0.1 && < 1.5,
36+
deepseq >= 1.3.0.1 && < 1.6,
3737
directory >= 1.2 && < 1.4,
3838
filepath >= 1.3.0.1 && < 1.5,
3939
mtl >= 2.1 && < 2.4,

Cabal/Cabal.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ library
3939
base >= 4.9 && < 5,
4040
bytestring >= 0.10.0.0 && < 0.12,
4141
containers >= 0.5.0.0 && < 0.7,
42-
deepseq >= 1.3.0.1 && < 1.5,
42+
deepseq >= 1.3.0.1 && < 1.6,
4343
directory >= 1.2 && < 1.4,
4444
filepath >= 1.3.0.1 && < 1.5,
4545
pretty >= 1.1.1 && < 1.2,

cabal-install/cabal-install.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ library
237237
if os(windows)
238238
build-depends: windns >= 0.1.0 && < 0.2
239239
else
240-
build-depends: resolv >= 0.1.1 && < 0.2
240+
build-depends: resolv >= 0.1.1 && < 0.3
241241

242242
if os(windows)
243243
-- newer directory for symlinks

cabal-testsuite/PackageTests/NewUpdate/UpdateIndexState/update-index-state.out

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
# cabal update
2-
Warning: Caught exception during _mirrors lookup:user error (res_query(3) failed)
3-
Warning: No mirrors found for http://localhost:8000/
4-
Downloading the latest package list from repository.localhost
5-
Package list of repository.localhost has been updated.
6-
The index-state is set to 2022-01-28T02:36:41Z.
7-
# cabal update
82
Downloading the latest package list from repository.localhost
93
Package list of repository.localhost is up to date.
104
The index-state is set to 2016-09-24T17:47:48Z.
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
import Test.Cabal.Prelude
22

33
main = cabalTest $ withRemoteRepo "repo" $ do
4-
-- This test causes a warning about missing mirrors, the warning is
5-
-- included in the expected output to make the test pass but it's not
6-
-- part of the test expectations.
7-
cabal "update" ["repository.localhost,2022-01-28T02:36:41Z"]
4+
-- The _first_ update call causes a warning about missing mirrors, the warning
5+
-- is platform-dependent and it's not part of the test expectations, so we
6+
-- check the output manually.
7+
res <- recordMode DoNotRecord $
8+
cabal' "update" ["repository.localhost,2022-01-28T02:36:41Z"]
9+
assertOutputContains "The index-state is set to 2022-01-28T02:36:41Z" res
10+
assertOutputDoesNotContain "revert" res
811
cabal "update" ["repository.localhost,2016-09-24T17:47:48Z"]
912
cabal "update" ["repository.localhost,2022-01-28T02:36:41Z"]

doc/cabal-commands.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ Target Forms
191191

192192
A cabal command target can take any of the following forms:
193193

194-
- A package target: ``package``, which specifies that all enabled
194+
- A package target: ``[pkg:]package``, which specifies that all enabled
195195
components of a package to be built. By default, test suites and
196196
benchmarks are *not* enabled, unless they are explicitly requested
197197
(e.g., via ``--enable-tests``.)

0 commit comments

Comments
 (0)