>>> py3-imucal: Checking sanity of /home/patrycja/aports/community/py3-imucal/APKBUILD... >>> py3-imucal: Cleaning up srcdir >>> py3-imucal: Cleaning up pkgdir >>> py3-imucal: Cleaning up tmpdir >>> py3-imucal: Fetching https://github.com/mad-lab-fau/imucal/archive/v2.4.0/imucal-2.4.0.tar.gz >>> py3-imucal: Fetching https://github.com/mad-lab-fau/imucal/archive/v2.4.0/imucal-2.4.0.tar.gz >>> py3-imucal: Checking sha512sums... imucal-2.4.0.tar.gz: OK >>> py3-imucal: Preparing build chroot... (1/180) Installing musl (1.2.5-r0) (2/180) Installing ca-certificates-bundle (20240226-r0) (3/180) Installing libcrypto3 (3.2.1-r1) (4/180) Installing libssl3 (3.2.1-r1) (5/180) Installing zlib (1.3.1-r0) (6/180) Installing apk-tools (2.14.3-r1) (7/180) Installing libattr (2.5.2-r0) (8/180) Installing attr (2.5.2-r0) (9/180) Installing libcap2 (2.69-r1) (10/180) Installing libcap-getcap (2.69-r1) (11/180) Installing fakeroot (1.33-r0) (12/180) Installing scanelf (1.3.7-r2) (13/180) Installing musl-utils (1.2.5-r0) (14/180) Installing libgcc (13.2.1_git20240309-r0) (15/180) Installing libstdc++ (13.2.1_git20240309-r0) (16/180) Installing lzip (1.24.1-r0) (17/180) Installing openssl (3.2.1-r1) (18/180) Installing patch (2.7.6-r10) (19/180) Installing pkgconf (2.2.0-r0) (20/180) Installing libacl (2.3.2-r0) (21/180) Installing tar (1.35-r2) (22/180) Installing busybox (1.36.1-r25) Executing busybox-1.36.1-r25.post-install (23/180) Installing ssl_client (1.36.1-r25) (24/180) Installing busybox-binsh (1.36.1-r25) (25/180) Installing abuild (3.12.0-r5) Executing abuild-3.12.0-r5.pre-install (26/180) Installing abuild-sudo (3.12.0-r5) (27/180) Installing alpine-baselayout-data (3.6.3-r0) (28/180) Installing alpine-baselayout (3.6.3-r0) Executing alpine-baselayout-3.6.3-r0.pre-install Executing alpine-baselayout-3.6.3-r0.post-install (29/180) Installing ifupdown-ng (0.12.1-r5) (30/180) Installing openrc (0.54-r1) Executing openrc-0.54-r1.post-install (31/180) Installing mdev-conf (4.6-r0) (32/180) Installing busybox-mdev-openrc (1.36.1-r25) (33/180) Installing alpine-conf (3.17.2-r0) (34/180) Installing alpine-keys (2.4-r1) (35/180) Installing alpine-release (3.20.0_alpha20240329-r0) (36/180) Installing busybox-openrc (1.36.1-r25) (37/180) Installing busybox-suid (1.36.1-r25) (38/180) Installing alpine-base (3.20.0_alpha20240329-r0) (39/180) Installing jansson (2.14-r4) (40/180) Installing zstd-libs (1.5.6-r0) (41/180) Installing binutils (2.42-r0) (42/180) Installing libmagic (5.45-r1) (43/180) Installing file (5.45-r1) (44/180) Installing libgomp (13.2.1_git20240309-r0) (45/180) Installing libatomic (13.2.1_git20240309-r0) (46/180) Installing gmp (6.3.0-r0) (47/180) Installing isl26 (0.26-r1) (48/180) Installing mpfr4 (4.2.1-r0) (49/180) Installing mpc1 (1.3.1-r1) (50/180) Installing gcc (13.2.1_git20240309-r0) (51/180) Installing libstdc++-dev (13.2.1_git20240309-r0) (52/180) Installing musl-dev (1.2.5-r0) (53/180) Installing g++ (13.2.1_git20240309-r0) (54/180) Installing make (4.4.1-r2) (55/180) Installing fortify-headers (1.1-r3) (56/180) Installing build-base (0.5-r3) (57/180) Installing hiredis (1.2.0-r0) (58/180) Installing libxxhash (0.8.2-r2) (59/180) Installing ccache (4.9.1-r0) (60/180) Installing ca-certificates (20240226-r0) (61/180) Installing brotli-libs (1.1.0-r2) (62/180) Installing c-ares (1.28.1-r0) (63/180) Installing libunistring (1.2-r0) (64/180) Installing libidn2 (2.3.7-r0) (65/180) Installing nghttp2-libs (1.61.0-r0) (66/180) Installing libpsl (0.21.5-r1) (67/180) Installing libcurl (8.7.1-r0) (68/180) Installing libexpat (2.6.2-r0) (69/180) Installing pcre2 (10.43-r0) (70/180) Installing git (2.44.0-r2) (71/180) Installing git-init-template (2.44.0-r2) (72/180) Installing libbz2 (1.0.8-r6) (73/180) Installing libffi (3.4.6-r0) (74/180) Installing gdbm (1.23-r1) (75/180) Installing xz-libs (5.6.1-r2) (76/180) Installing mpdecimal (4.0.0-r0) (77/180) Installing ncurses-terminfo-base (6.4_p20240309-r0) (78/180) Installing libncursesw (6.4_p20240309-r0) (79/180) Installing libpanelw (6.4_p20240309-r0) (80/180) Installing readline (8.2.10-r0) (81/180) Installing sqlite-libs (3.45.2-r0) (82/180) Installing python3 (3.12.2-r0) (83/180) Installing python3-pycache-pyc0 (3.12.2-r0) (84/180) Installing pyc (3.12.2-r0) (85/180) Installing py3-installer-pyc (0.7.0-r2) (86/180) Installing py3-gpep517-pyc (15-r2) (87/180) Installing python3-pyc (3.12.2-r0) (88/180) Installing py3-installer (0.7.0-r2) (89/180) Installing py3-gpep517 (15-r2) (90/180) Installing libquadmath (13.2.1_git20240309-r0) (91/180) Installing libgfortran (13.2.1_git20240309-r0) (92/180) Installing openblas (0.3.26-r0) (93/180) Installing py3-numpy (1.25.2-r1) (94/180) Installing py3-numpy-pyc (1.25.2-r1) (95/180) Installing libsz (1.1.2-r0) (96/180) Installing hdf5 (1.14.3-r0) (97/180) Installing hdf5-hl (1.14.3-r0) (98/180) Installing liblzf (3.6-r1) (99/180) Installing py3-h5py (3.10.0-r1) (100/180) Installing py3-h5py-pyc (3.10.0-r1) (101/180) Installing libxau (1.0.11-r3) (102/180) Installing libmd (1.1.0-r0) (103/180) Installing libbsd (0.12.2-r0) (104/180) Installing libxdmcp (1.1.5-r0) (105/180) Installing libxcb (1.16.1-r0) (106/180) Installing libx11 (1.8.9-r0) (107/180) Installing libxext (1.3.6-r1) (108/180) Installing libxrender (0.9.11-r4) (109/180) Installing libpng (1.6.43-r0) (110/180) Installing freetype (2.13.2-r0) (111/180) Installing fontconfig (2.15.0-r1) (112/180) Installing pixman (0.43.2-r0) (113/180) Installing cairo (1.18.0-r0) (114/180) Installing py3-cairo (1.26.0-r1) (115/180) Installing py3-cairo-pyc (1.26.0-r1) (116/180) Installing py3-certifi (2024.2.2-r1) (117/180) Installing py3-certifi-pyc (2024.2.2-r1) (118/180) Installing py3-contourpy (1.2.0-r1) (119/180) Installing py3-contourpy-pyc (1.2.0-r1) (120/180) Installing py3-cycler (0.12.1-r1) (121/180) Installing py3-cycler-pyc (0.12.1-r1) (122/180) Installing py3-six (1.16.0-r9) (123/180) Installing py3-six-pyc (1.16.0-r9) (124/180) Installing py3-dateutil (2.9.0-r1) (125/180) Installing py3-dateutil-pyc (2.9.0-r1) (126/180) Installing py3-fonttools (4.51.0-r0) (127/180) Installing py3-fonttools-pyc (4.51.0-r0) (128/180) Installing py3-kiwisolver (1.4.5-r1) (129/180) Installing py3-kiwisolver-pyc (1.4.5-r1) (130/180) Installing py3-parsing (3.1.2-r1) (131/180) Installing py3-parsing-pyc (3.1.2-r1) (132/180) Installing py3-packaging (24.0-r1) (133/180) Installing py3-packaging-pyc (24.0-r1) (134/180) Installing libimagequant (4.2.2-r0) (135/180) Installing libjpeg-turbo (3.0.2-r0) (136/180) Installing lcms2 (2.16-r0) (137/180) Installing openjpeg (2.5.2-r0) (138/180) Installing libsharpyuv (1.3.2-r0) (139/180) Installing libwebp (1.3.2-r0) (140/180) Installing tiff (4.6.0t-r0) (141/180) Installing libwebpdemux (1.3.2-r0) (142/180) Installing libwebpmux (1.3.2-r0) (143/180) Installing py3-pillow (10.3.0-r1) (144/180) Installing py3-pillow-pyc (10.3.0-r1) (145/180) Installing py3-tz (2024.1-r1) (146/180) Installing py3-tz-pyc (2024.1-r1) (147/180) Installing tzdata (2024a-r1) (148/180) Installing tcl (8.6.14-r0) (149/180) Installing libxft (2.3.8-r2) (150/180) Installing tk (8.6.14-r0) (151/180) Installing python3-tkinter (3.12.2-r0) (152/180) Installing python3-tkinter-pyc (3.12.2-r0) (153/180) Installing qhull (2020.2-r3) (154/180) Installing py3-matplotlib (3.7.3-r1) (155/180) Installing py3-matplotlib-pyc (3.7.3-r1) (156/180) Installing py3-pandas (2.0.3-r1) (157/180) Installing py3-pandas-pyc (2.0.3-r1) (158/180) Installing py3-fastjsonschema (2.19.1-r1) (159/180) Installing py3-fastjsonschema-pyc (2.19.1-r1) (160/180) Installing py3-lark-parser (1.1.9-r1) (161/180) Installing py3-lark-parser-pyc (1.1.9-r1) (162/180) Installing py3-poetry-core (1.8.1-r1) (163/180) Installing py3-poetry-core-pyc (1.8.1-r1) (164/180) Installing py3-apipkg (2.1.0-r3) (165/180) Installing py3-apipkg-pyc (2.1.0-r3) (166/180) Installing py3-execnet (1.9.0-r3) (167/180) Installing py3-execnet-pyc (1.9.0-r3) (168/180) Installing py3-iniconfig (2.0.0-r1) (169/180) Installing py3-iniconfig-pyc (2.0.0-r1) (170/180) Installing py3-pluggy (1.4.0-r1) (171/180) Installing py3-pluggy-pyc (1.4.0-r1) (172/180) Installing py3-py (1.11.0-r3) (173/180) Installing py3-py-pyc (1.11.0-r3) (174/180) Installing py3-pytest (8.1.1-r1) (175/180) Installing py3-pytest-pyc (8.1.1-r1) (176/180) Installing py3-pytest-xdist (3.5.0-r1) (177/180) Installing py3-pytest-xdist-pyc (3.5.0-r1) (178/180) Installing py3-typing-extensions (4.11.0-r0) (179/180) Installing py3-typing-extensions-pyc (4.11.0-r0) (180/180) Installing tini (0.19.0-r3) Executing busybox-1.36.1-r25.trigger Executing ca-certificates-20240226-r0.trigger OK: 494 MiB in 180 packages >>> py3-imucal: Fetching https://github.com/mad-lab-fau/imucal/archive/v2.4.0/imucal-2.4.0.tar.gz >>> py3-imucal: Checking sha512sums... imucal-2.4.0.tar.gz: OK >>> py3-imucal: Unpacking /var/cache/distfiles/imucal-2.4.0.tar.gz... 2024-04-08 15:16:05,182 gpep517 INFO Building wheel via backend poetry.core.masonry.api 2024-04-08 15:16:05,267 poetry.core.masonry.builders.wheel INFO Building wheel fatal: not a git repository (or any of the parent directories): .git 2024-04-08 15:16:05,275 poetry.core.masonry.builders.wheel INFO Built imucal-2.4.0-py3-none-any.whl 2024-04-08 15:16:05,275 gpep517 INFO The backend produced .dist/imucal-2.4.0-py3-none-any.whl imucal-2.4.0-py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0 rootdir: /home/patrycja/aports/community/py3-imucal/src/imucal-2.4.0 configfile: pytest.ini plugins: xdist-3.5.0 created: 16/16 workers 16 workers [126 items] ........................................................................ [ 57%] ..............................................FFF..... [100%] =================================== FAILURES =================================== _ TestFindClosestCalibration.test_find_closest_warning[CustomFerraris-None-14] _ [gw6] linux -- Python 3.12.2 /home/patrycja/aports/community/py3-imucal/src/imucal-2.4.0/.testenv/bin/python3 self = sample_cal_folder = '/tmp/tmptclgva_j', warn_type = None, day = 14 @pytest.mark.parametrize(("warn_type", "day"), ((CalibrationWarning, 15), (None, 14))) def test_find_closest_warning(self, sample_cal_folder, warn_type, day): > with pytest.warns(warn_type) as rec: tests/test_management.py:197: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = WarningsChecker(record=True), expected_warning = None, match_expr = None def __init__( self, expected_warning: Union[Type[Warning], Tuple[Type[Warning], ...]] = Warning, match_expr: Optional[Union[str, Pattern[str]]] = None, *, _ispytest: bool = False, ) -> None: check_ispytest(_ispytest) super().__init__(_ispytest=True) msg = "exceptions must be derived from Warning, not %s" if isinstance(expected_warning, tuple): for exc in expected_warning: if not issubclass(exc, Warning): raise TypeError(msg % type(exc)) expected_warning_tup = expected_warning elif isinstance(expected_warning, type) and issubclass( expected_warning, Warning ): expected_warning_tup = (expected_warning,) else: > raise TypeError(msg % type(expected_warning)) E TypeError: exceptions must be derived from Warning, not /usr/lib/python3.12/site-packages/_pytest/recwarn.py:285: TypeError _ TestFindClosestCalibration.test_find_closest_warning[TurntableCalibrationInfo-None-14] _ [gw15] linux -- Python 3.12.2 /home/patrycja/aports/community/py3-imucal/src/imucal-2.4.0/.testenv/bin/python3 self = sample_cal_folder = '/tmp/tmpmbastp3p', warn_type = None, day = 14 @pytest.mark.parametrize(("warn_type", "day"), ((CalibrationWarning, 15), (None, 14))) def test_find_closest_warning(self, sample_cal_folder, warn_type, day): > with pytest.warns(warn_type) as rec: tests/test_management.py:197: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = WarningsChecker(record=True), expected_warning = None, match_expr = None def __init__( self, expected_warning: Union[Type[Warning], Tuple[Type[Warning], ...]] = Warning, match_expr: Optional[Union[str, Pattern[str]]] = None, *, _ispytest: bool = False, ) -> None: check_ispytest(_ispytest) super().__init__(_ispytest=True) msg = "exceptions must be derived from Warning, not %s" if isinstance(expected_warning, tuple): for exc in expected_warning: if not issubclass(exc, Warning): raise TypeError(msg % type(exc)) expected_warning_tup = expected_warning elif isinstance(expected_warning, type) and issubclass( expected_warning, Warning ): expected_warning_tup = (expected_warning,) else: > raise TypeError(msg % type(expected_warning)) E TypeError: exceptions must be derived from Warning, not /usr/lib/python3.12/site-packages/_pytest/recwarn.py:285: TypeError _ TestFindClosestCalibration.test_find_closest_warning[FerrarisCalibrationInfo-None-14] _ [gw3] linux -- Python 3.12.2 /home/patrycja/aports/community/py3-imucal/src/imucal-2.4.0/.testenv/bin/python3 self = sample_cal_folder = '/tmp/tmpjn011g40', warn_type = None, day = 14 @pytest.mark.parametrize(("warn_type", "day"), ((CalibrationWarning, 15), (None, 14))) def test_find_closest_warning(self, sample_cal_folder, warn_type, day): > with pytest.warns(warn_type) as rec: tests/test_management.py:197: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = WarningsChecker(record=True), expected_warning = None, match_expr = None def __init__( self, expected_warning: Union[Type[Warning], Tuple[Type[Warning], ...]] = Warning, match_expr: Optional[Union[str, Pattern[str]]] = None, *, _ispytest: bool = False, ) -> None: check_ispytest(_ispytest) super().__init__(_ispytest=True) msg = "exceptions must be derived from Warning, not %s" if isinstance(expected_warning, tuple): for exc in expected_warning: if not issubclass(exc, Warning): raise TypeError(msg % type(exc)) expected_warning_tup = expected_warning elif isinstance(expected_warning, type) and issubclass( expected_warning, Warning ): expected_warning_tup = (expected_warning,) else: > raise TypeError(msg % type(expected_warning)) E TypeError: exceptions must be derived from Warning, not /usr/lib/python3.12/site-packages/_pytest/recwarn.py:285: TypeError =============================== warnings summary =============================== tests/test_legacy.py::test_legacy_json_import /home/patrycja/aports/community/py3-imucal/src/imucal-2.4.0/imucal/legacy.py:20: UserWarning: Importing a legacy calibration file, will use default values for all parameters that were newlyintroduced. These default values might not be correct for your calibration. Double check the resulting calibration info object and adapt the parameters manually. If you made any changes, make sure to save the modified calibration and load it with the normal loading function in the future. return load_v1_json(json_str, base_class=base_class) tests/test_legacy.py::test_legacy_json_str /home/patrycja/aports/community/py3-imucal/src/imucal-2.4.0/tests/test_legacy.py:26: UserWarning: Importing a legacy calibration file, will use default values for all parameters that were newlyintroduced. These default values might not be correct for your calibration. Double check the resulting calibration info object and adapt the parameters manually. If you made any changes, make sure to save the modified calibration and load it with the normal loading function in the future. cal_info = load_v1_json(json_str) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_management.py::TestFindClosestCalibration::test_find_closest_warning[CustomFerraris-None-14] FAILED tests/test_management.py::TestFindClosestCalibration::test_find_closest_warning[TurntableCalibrationInfo-None-14] FAILED tests/test_management.py::TestFindClosestCalibration::test_find_closest_warning[FerrarisCalibrationInfo-None-14] ================== 3 failed, 123 passed, 2 warnings in 2.10s =================== >>> ERROR: py3-imucal: check failed >>> ERROR: py3-imucal: rootbld failed >>> py3-imucal: Cleaning up build chroot