Package: python-ulmo Version: 0.8.8+dfsg1-1 Severity: minor Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu kinetic ubuntu-patch X-Debbugs-Cc: sl...@ubuntu.com
Dear Maintainer, python-ulmo tests fails on the autopkgtest.ubuntu.com infrastructure, due to the proxy environment that is being used there (i.e. no full access to the internet). Some of the tests require an online connection to download certain files. Upstream implemented mocking capabilities for some of those tests, but the "tests/files/" directory, containing the mock data, has been removed during the DFSG repack. We want to disable any tests that require an online connection, to make the testsuite more reliable and reproducible. Ideally, we would enable mocking of those HTTP queries, but apparently the 3rd party test/mock data has an unclear licensing situation. In Ubuntu, the attached patch was applied to achieve the following: * Disable some more tests that require an online connection Thanks for considering the patch. Cheers, Lukas -- System Information: Debian Release: bookworm/sid APT prefers jammy-updates APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.15.0-27-generic (SMP w/4 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
diff -Nru python-ulmo-0.8.8+dfsg1/debian/tests/test-command.sh python-ulmo-0.8.8+dfsg1/debian/tests/test-command.sh --- python-ulmo-0.8.8+dfsg1/debian/tests/test-command.sh 2022-01-26 00:04:54.000000000 +0100 +++ python-ulmo-0.8.8+dfsg1/debian/tests/test-command.sh 2022-05-18 11:57:22.000000000 +0200 @@ -3,4 +3,5 @@ python3 -m pytest -k \ "not lcra and not cpc_drought and not usace_rivergages and not usgs_ned \ and not cirs and not noaa_goes and not twc_kbdi and not usace_swtwc \ - and not usgs_nwis and not waterml_v1_1 and not wof" + and not usgs_nwis and not waterml_v1_1 and not wof \ + and not cdec_historical and not his_central"