tests:skip tests with diffs made with file,gz<5.36

Tests that use control files using diffs created with file version
before 5.37 containing gzipped files will fail due to its output being
changed:

    tests/data/test1.gz: gzip compressed [...] original size modulo 2^32 446

vs file < 5.36

    tests/data/test1.gz: gzip compressed [...] original size 446

Add a new decorator that ensures not only the minimum version of file is
used, but also that the maximum version of file is under 5.37. This
change in file was introduced in the following commit:

 https://github.com/file/file/commit/3c12eb8d1418181af93abdd466c64dcddf68ce16

Signed-off-by: Santiago Torres <santiago@archlinux.org>
4 jobs for fix_file_537 in 15 minutes and 40 seconds (queued for 5 seconds)
latest
Status Job ID Name Coverage
  Test
failed #179580
allowed to fail
stable-bpo

00:01:43

failed #179579
testing

00:15:24

88.0%
failed #179581
allowed to fail
ubuntu-devel

00:09:18

failed #179578
unstable

00:15:40

88.0%
 
Name Stage Failure
failed
unstable Test
SKIP [1] tests/comparators/test_macho.py:58: requires otool and lipo
SKIP [1] tests/comparators/test_ogg.py:46: requires oggDump
SKIP [1] tests/comparators/test_ogg.py:52: requires oggDump
SKIP [1] tests/comparators/test_utils.py:49: requires
SKIP [1] tests/comparators/test_utils.py:54: requires /missing
SKIP [1] tests/comparators/test_wasm.py:47: requires wasm2wat
SKIP [1] tests/comparators/test_wasm.py:54: requires wasm2wat
============== 1 failed, 405 passed, 20 skipped in 371.85 seconds ==============
ERROR: Job failed: exit code 1
failed
testing Test
SKIP [1] tests/comparators/test_macho.py:58: requires otool and lipo
SKIP [1] tests/comparators/test_ogg.py:46: requires oggDump
SKIP [1] tests/comparators/test_ogg.py:52: requires oggDump
SKIP [1] tests/comparators/test_utils.py:49: requires
SKIP [1] tests/comparators/test_utils.py:54: requires /missing
SKIP [1] tests/comparators/test_wasm.py:47: requires wasm2wat
SKIP [1] tests/comparators/test_wasm.py:54: requires wasm2wat
============== 1 failed, 405 passed, 20 skipped in 362.77 seconds ==============
ERROR: Job failed: exit code 1
failed
ubuntu-devel Test
done.
done.
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.38.1+dfsg-1) ...
Errors were encountered while processing:
linux-firmware
linux-image-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Failed to process build dependencies
ERROR: Job failed: exit code 1
failed
stable-bpo Test
               Depends: unzip but it is not going to be installed
Depends: xmlbeans but it is not going to be installed
Depends: xxd but it is not going to be installed or
vim-common but it is not going to be installed
builddeps:essentials : Depends: build-essential but it is not going to be installed

W: Encountered an unexpected section with 1 fields: Message: (UNSAT) No Solutions according to the given preferences
E: Broken packages
ERROR: Job failed: exit code 1