re-relax tasty dependency version for i386ancient build

Dependency issues were looking difficult to support tasty-1.2 with that
build. Not using `after` only affects rerunning and limiting tests,
since tasty's concurrency is not used, so this build will just not
support that.

We are probably nearing end of life on this build; it also doesn't
support git-lfs or http-client-restricted. The 2.6.32 kernel it supports
is at this point 13 years old, and stopped being supported by linux LTS
developers 10 years ago. It was supported by RHEL 6.10 through November
2020. At this point, no new hardware should be shipping with this
kernel, but that probably does not stop certian embedded vendors from
shipping it. And there is certainly some hardware still using it. But
the returns from supporting it are diminishing, and the quality of the
build for it is also diminishing.

Sponsored-by: Nicholas Golder-Manning on Patreon
This commit is contained in:
Joey Hess 2022-03-22 10:31:10 -04:00
parent 6971ee8c41
commit a33f1a0815
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 8 additions and 4 deletions

View file

@ -339,7 +339,12 @@ repoTests note numparts = map mk $ sep
]
where
mk l = testGroup groupname (initTests : map adddep l)
#ifdef MIN_VERSION_tasty(1,2)
adddep = Test.Tasty.after AllSucceed (groupname ++ ".Init Tests")
#else
#warning tasty is too old to support limiting or rerunning tests
adddep = id
#endif
groupname = "Repo Tests " ++ note
sep = sep' (replicate numparts [])
sep' (p:ps) (l:ls) = sep' (ps++[l:p]) ls

View file

@ -374,7 +374,7 @@ Executable git-annex
attoparsec (>= 0.13.2.2),
concurrent-output (>= 1.10),
QuickCheck (>= 2.10.0),
tasty (>= 1.2),
tasty (>= 0.7),
tasty-hunit,
tasty-quickcheck,
tasty-rerun,

View file

@ -18,13 +18,12 @@ extra-deps:
- IfElse-0.85
- aws-0.21.1
- bloomfilter-2.0.1.0
- tasty-1.2
- tasty-rerun-1.1.14
- tasty-1.1.0.4
- tasty-rerun-1.1.13
- torrent-10000.1.1
- sandi-0.5
- http-client-0.5.14
- filepath-bytestring-1.4.2.1.6
- ansi-terminal-0.9
explicit-setup-deps:
git-annex: true
resolver: lts-12.14