>>> py3-murmurhash: Checking sanity of /home/patrycja/aports/community/py3-murmurhash/APKBUILD... >>> py3-murmurhash: Cleaning up srcdir >>> py3-murmurhash: Cleaning up pkgdir >>> py3-murmurhash: Cleaning up tmpdir >>> py3-murmurhash: Fetching murmurhash-1.0.10.tar.gz::https://github.com/explosion/murmurhash/archive/v1.0.10.tar.gz >>> py3-murmurhash: Fetching murmurhash-1.0.10.tar.gz::https://github.com/explosion/murmurhash/archive/v1.0.10.tar.gz >>> py3-murmurhash: Checking sha512sums... murmurhash-1.0.10.tar.gz: OK >>> py3-murmurhash: Preparing build chroot... (1/110) Installing musl (1.2.5-r0) (2/110) Installing ca-certificates-bundle (20240226-r0) (3/110) Installing libcrypto3 (3.2.1-r1) (4/110) Installing libssl3 (3.2.1-r1) (5/110) Installing zlib (1.3.1-r0) (6/110) Installing apk-tools (2.14.3-r1) (7/110) Installing libattr (2.5.2-r0) (8/110) Installing attr (2.5.2-r0) (9/110) Installing libcap2 (2.69-r1) (10/110) Installing libcap-getcap (2.69-r1) (11/110) Installing fakeroot (1.33-r0) (12/110) Installing scanelf (1.3.7-r2) (13/110) Installing musl-utils (1.2.5-r0) (14/110) Installing libgcc (13.2.1_git20240309-r0) (15/110) Installing libstdc++ (13.2.1_git20240309-r0) (16/110) Installing lzip (1.24.1-r0) (17/110) Installing openssl (3.2.1-r1) (18/110) Installing patch (2.7.6-r10) (19/110) Installing pkgconf (2.2.0-r0) (20/110) Installing libacl (2.3.2-r0) (21/110) Installing tar (1.35-r2) (22/110) Installing busybox (1.36.1-r25) Executing busybox-1.36.1-r25.post-install (23/110) Installing ssl_client (1.36.1-r25) (24/110) Installing busybox-binsh (1.36.1-r25) (25/110) Installing abuild (3.12.0-r5) Executing abuild-3.12.0-r5.pre-install (26/110) Installing abuild-sudo (3.12.0-r5) (27/110) Installing alpine-baselayout-data (3.6.3-r0) (28/110) 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/110) Installing ifupdown-ng (0.12.1-r5) (30/110) Installing openrc (0.54-r0) Executing openrc-0.54-r0.post-install (31/110) Installing mdev-conf (4.6-r0) (32/110) Installing busybox-mdev-openrc (1.36.1-r25) (33/110) Installing alpine-conf (3.17.2-r0) (34/110) Installing alpine-keys (2.4-r1) (35/110) Installing alpine-release (3.20.0_alpha20240329-r0) (36/110) Installing busybox-openrc (1.36.1-r25) (37/110) Installing busybox-suid (1.36.1-r25) (38/110) Installing alpine-base (3.20.0_alpha20240329-r0) (39/110) Installing jansson (2.14-r4) (40/110) Installing zstd-libs (1.5.6-r0) (41/110) Installing binutils (2.42-r0) (42/110) Installing libmagic (5.45-r1) (43/110) Installing file (5.45-r1) (44/110) Installing libgomp (13.2.1_git20240309-r0) (45/110) Installing libatomic (13.2.1_git20240309-r0) (46/110) Installing gmp (6.3.0-r0) (47/110) Installing isl26 (0.26-r1) (48/110) Installing mpfr4 (4.2.1-r0) (49/110) Installing mpc1 (1.3.1-r1) (50/110) Installing gcc (13.2.1_git20240309-r0) (51/110) Installing libstdc++-dev (13.2.1_git20240309-r0) (52/110) Installing musl-dev (1.2.5-r0) (53/110) Installing g++ (13.2.1_git20240309-r0) (54/110) Installing make (4.4.1-r2) (55/110) Installing fortify-headers (1.1-r3) (56/110) Installing build-base (0.5-r3) (57/110) Installing hiredis (1.2.0-r0) (58/110) Installing libxxhash (0.8.2-r2) (59/110) Installing ccache (4.9.1-r0) (60/110) Installing libbz2 (1.0.8-r6) (61/110) Installing libexpat (2.6.2-r0) (62/110) Installing libffi (3.4.6-r0) (63/110) Installing gdbm (1.23-r1) (64/110) Installing xz-libs (5.6.1-r2) (65/110) Installing mpdecimal (4.0.0-r0) (66/110) Installing ncurses-terminfo-base (6.4_p20240309-r0) (67/110) Installing libncursesw (6.4_p20240309-r0) (68/110) Installing libpanelw (6.4_p20240309-r0) (69/110) Installing readline (8.2.10-r0) (70/110) Installing sqlite-libs (3.45.2-r0) (71/110) Installing python3 (3.12.2-r0) (72/110) Installing python3-pycache-pyc0 (3.12.2-r0) (73/110) Installing pyc (3.12.2-r0) (74/110) Installing cython-pyc (3.0.8-r0) (75/110) Installing python3-pyc (3.12.2-r0) (76/110) Installing cython (3.0.8-r0) (77/110) Installing ca-certificates (20240226-r0) (78/110) Installing brotli-libs (1.1.0-r2) (79/110) Installing c-ares (1.27.0-r0) (80/110) Installing libunistring (1.2-r0) (81/110) Installing libidn2 (2.3.7-r0) (82/110) Installing nghttp2-libs (1.60.0-r0) (83/110) Installing libpsl (0.21.5-r1) (84/110) Installing libcurl (8.7.1-r0) (85/110) Installing pcre2 (10.43-r0) (86/110) Installing git (2.44.0-r2) (87/110) Installing git-init-template (2.44.0-r2) (88/110) Installing py3-installer (0.7.0-r2) (89/110) Installing py3-installer-pyc (0.7.0-r2) (90/110) Installing py3-gpep517 (15-r2) (91/110) Installing py3-gpep517-pyc (15-r2) (92/110) Installing py3-mmh3 (4.0.1-r1) (93/110) Installing py3-iniconfig (2.0.0-r1) (94/110) Installing py3-iniconfig-pyc (2.0.0-r1) (95/110) Installing py3-parsing (3.1.2-r1) (96/110) Installing py3-parsing-pyc (3.1.2-r1) (97/110) Installing py3-packaging (24.0-r1) (98/110) Installing py3-packaging-pyc (24.0-r1) (99/110) Installing py3-pluggy (1.4.0-r1) (100/110) Installing py3-pluggy-pyc (1.4.0-r1) (101/110) Installing py3-py (1.11.0-r3) (102/110) Installing py3-py-pyc (1.11.0-r3) (103/110) Installing py3-pytest (8.1.1-r1) (104/110) Installing py3-pytest-pyc (8.1.1-r1) (105/110) Installing py3-setuptools (69.2.0-r1) (106/110) Installing py3-setuptools-pyc (69.2.0-r1) (107/110) Installing py3-wheel (0.42.0-r1) (108/110) Installing py3-wheel-pyc (0.42.0-r1) (109/110) Installing python3-dev (3.12.2-r0) (110/110) Installing tini (0.19.0-r3) Executing busybox-1.36.1-r25.trigger Executing ca-certificates-20240226-r0.trigger OK: 401 MiB in 110 packages >>> py3-murmurhash: Fetching murmurhash-1.0.10.tar.gz::https://github.com/explosion/murmurhash/archive/v1.0.10.tar.gz >>> py3-murmurhash: Checking sha512sums... murmurhash-1.0.10.tar.gz: OK >>> py3-murmurhash: Unpacking /var/cache/distfiles/murmurhash-1.0.10.tar.gz... 2024-04-06 19:25:27,663 gpep517 INFO Building wheel via backend setuptools.build_meta performance hint: murmurhash/mrmr.pyx:29:5: Exception check on 'hash128_x86' will always require the GIL to be acquired. Possible solutions: 1. Declare 'hash128_x86' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'hash128_x86' to allow an error code to be returned. performance hint: murmurhash/mrmr.pyx:33:5: Exception check on 'hash128_x64' will always require the GIL to be acquired. Possible solutions: 1. Declare 'hash128_x64' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'hash128_x64' to allow an error code to be returned. Compiling murmurhash/mrmr.pyx because it changed. [1/1] Cythonizing murmurhash/mrmr.pyx 2024-04-06 19:25:28,002 root INFO running bdist_wheel 2024-04-06 19:25:28,010 root INFO running build 2024-04-06 19:25:28,010 root INFO running build_py 2024-04-06 19:25:28,012 root INFO creating build 2024-04-06 19:25:28,012 root INFO creating build/lib.linux-x86_64-cpython-312 2024-04-06 19:25:28,012 root INFO creating build/lib.linux-x86_64-cpython-312/murmurhash 2024-04-06 19:25:28,013 root INFO copying murmurhash/about.py -> build/lib.linux-x86_64-cpython-312/murmurhash 2024-04-06 19:25:28,013 root INFO copying murmurhash/__init__.py -> build/lib.linux-x86_64-cpython-312/murmurhash 2024-04-06 19:25:28,013 root INFO creating build/lib.linux-x86_64-cpython-312/murmurhash/tests 2024-04-06 19:25:28,013 root INFO copying murmurhash/tests/test_hash.py -> build/lib.linux-x86_64-cpython-312/murmurhash/tests 2024-04-06 19:25:28,013 root INFO copying murmurhash/tests/test_import.py -> build/lib.linux-x86_64-cpython-312/murmurhash/tests 2024-04-06 19:25:28,013 root INFO copying murmurhash/tests/__init__.py -> build/lib.linux-x86_64-cpython-312/murmurhash/tests 2024-04-06 19:25:28,014 root INFO copying murmurhash/mrmr.pyx -> build/lib.linux-x86_64-cpython-312/murmurhash 2024-04-06 19:25:28,014 root INFO copying murmurhash/__init__.pxd -> build/lib.linux-x86_64-cpython-312/murmurhash 2024-04-06 19:25:28,014 root INFO copying murmurhash/mrmr.pxd -> build/lib.linux-x86_64-cpython-312/murmurhash 2024-04-06 19:25:28,014 root INFO creating build/lib.linux-x86_64-cpython-312/murmurhash/include 2024-04-06 19:25:28,014 root INFO creating build/lib.linux-x86_64-cpython-312/murmurhash/include/murmurhash 2024-04-06 19:25:28,014 root INFO copying murmurhash/include/murmurhash/MurmurHash2.h -> build/lib.linux-x86_64-cpython-312/murmurhash/include/murmurhash 2024-04-06 19:25:28,014 root INFO copying murmurhash/include/murmurhash/MurmurHash3.h -> build/lib.linux-x86_64-cpython-312/murmurhash/include/murmurhash 2024-04-06 19:25:28,015 root INFO running build_ext 2024-04-06 19:25:28,017 root INFO building 'murmurhash.mrmr' extension 2024-04-06 19:25:28,017 root INFO creating build/temp.linux-x86_64-cpython-312 2024-04-06 19:25:28,017 root INFO creating build/temp.linux-x86_64-cpython-312/murmurhash 2024-04-06 19:25:28,017 root INFO gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -Os -fomit-frame-pointer -Os -fomit-frame-pointer -fPIC -I/usr/include/python3.12 -I/home/patrycja/aports/community/py3-murmurhash/src/murmurhash-1.0.10/murmurhash/include -I/usr/include/python3.12 -c murmurhash/MurmurHash2.cpp -o build/temp.linux-x86_64-cpython-312/murmurhash/MurmurHash2.o -O3 -Wno-strict-prototypes -Wno-unused-function cc1plus: warning: command-line option '-Wno-strict-prototypes' is valid for C/ObjC but not for C++ 2024-04-06 19:25:28,026 root INFO gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -Os -fomit-frame-pointer -Os -fomit-frame-pointer -fPIC -I/usr/include/python3.12 -I/home/patrycja/aports/community/py3-murmurhash/src/murmurhash-1.0.10/murmurhash/include -I/usr/include/python3.12 -c murmurhash/MurmurHash3.cpp -o build/temp.linux-x86_64-cpython-312/murmurhash/MurmurHash3.o -O3 -Wno-strict-prototypes -Wno-unused-function cc1plus: warning: command-line option '-Wno-strict-prototypes' is valid for C/ObjC but not for C++ 2024-04-06 19:25:28,029 root INFO gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -Os -fomit-frame-pointer -Os -fomit-frame-pointer -fPIC -I/usr/include/python3.12 -I/home/patrycja/aports/community/py3-murmurhash/src/murmurhash-1.0.10/murmurhash/include -I/usr/include/python3.12 -c murmurhash/mrmr.cpp -o build/temp.linux-x86_64-cpython-312/murmurhash/mrmr.o -O3 -Wno-strict-prototypes -Wno-unused-function cc1plus: warning: command-line option '-Wno-strict-prototypes' is valid for C/ObjC but not for C++ 2024-04-06 19:25:28,038 root INFO g++ -shared -Wl,--as-needed,-O1,--sort-common -Os -fomit-frame-pointer -Os -fomit-frame-pointer build/temp.linux-x86_64-cpython-312/murmurhash/MurmurHash2.o build/temp.linux-x86_64-cpython-312/murmurhash/MurmurHash3.o build/temp.linux-x86_64-cpython-312/murmurhash/mrmr.o -L/usr/lib -o build/lib.linux-x86_64-cpython-312/murmurhash/mrmr.cpython-312-x86_64-linux-musl.so 2024-04-06 19:25:28,058 wheel INFO installing to build/bdist.linux-x86_64/wheel 2024-04-06 19:25:28,058 root INFO running install 2024-04-06 19:25:28,063 root INFO running install_lib 2024-04-06 19:25:28,078 root INFO creating build/bdist.linux-x86_64 2024-04-06 19:25:28,078 root INFO creating build/bdist.linux-x86_64/wheel 2024-04-06 19:25:28,078 root INFO creating build/bdist.linux-x86_64/wheel/murmurhash 2024-04-06 19:25:28,078 root INFO copying build/lib.linux-x86_64-cpython-312/murmurhash/__init__.pxd -> build/bdist.linux-x86_64/wheel/murmurhash 2024-04-06 19:25:28,078 root INFO copying build/lib.linux-x86_64-cpython-312/murmurhash/mrmr.cpython-312-x86_64-linux-musl.so -> build/bdist.linux-x86_64/wheel/murmurhash 2024-04-06 19:25:28,079 root INFO copying build/lib.linux-x86_64-cpython-312/murmurhash/mrmr.pyx -> build/bdist.linux-x86_64/wheel/murmurhash 2024-04-06 19:25:28,079 root INFO creating build/bdist.linux-x86_64/wheel/murmurhash/tests 2024-04-06 19:25:28,079 root INFO copying build/lib.linux-x86_64-cpython-312/murmurhash/tests/test_hash.py -> build/bdist.linux-x86_64/wheel/murmurhash/tests 2024-04-06 19:25:28,079 root INFO copying build/lib.linux-x86_64-cpython-312/murmurhash/tests/test_import.py -> build/bdist.linux-x86_64/wheel/murmurhash/tests 2024-04-06 19:25:28,079 root INFO copying build/lib.linux-x86_64-cpython-312/murmurhash/tests/__init__.py -> build/bdist.linux-x86_64/wheel/murmurhash/tests 2024-04-06 19:25:28,079 root INFO copying build/lib.linux-x86_64-cpython-312/murmurhash/about.py -> build/bdist.linux-x86_64/wheel/murmurhash 2024-04-06 19:25:28,079 root INFO copying build/lib.linux-x86_64-cpython-312/murmurhash/mrmr.pxd -> build/bdist.linux-x86_64/wheel/murmurhash 2024-04-06 19:25:28,079 root INFO copying build/lib.linux-x86_64-cpython-312/murmurhash/__init__.py -> build/bdist.linux-x86_64/wheel/murmurhash 2024-04-06 19:25:28,079 root INFO creating build/bdist.linux-x86_64/wheel/murmurhash/include 2024-04-06 19:25:28,079 root INFO creating build/bdist.linux-x86_64/wheel/murmurhash/include/murmurhash 2024-04-06 19:25:28,080 root INFO copying build/lib.linux-x86_64-cpython-312/murmurhash/include/murmurhash/MurmurHash2.h -> build/bdist.linux-x86_64/wheel/murmurhash/include/murmurhash 2024-04-06 19:25:28,080 root INFO copying build/lib.linux-x86_64-cpython-312/murmurhash/include/murmurhash/MurmurHash3.h -> build/bdist.linux-x86_64/wheel/murmurhash/include/murmurhash 2024-04-06 19:25:28,080 root INFO running install_egg_info 2024-04-06 19:25:28,082 root INFO running egg_info 2024-04-06 19:25:28,082 root INFO creating murmurhash.egg-info 2024-04-06 19:25:28,083 root INFO writing murmurhash.egg-info/PKG-INFO 2024-04-06 19:25:28,084 root INFO writing dependency_links to murmurhash.egg-info/dependency_links.txt 2024-04-06 19:25:28,084 root INFO writing top-level names to murmurhash.egg-info/top_level.txt 2024-04-06 19:25:28,084 root INFO writing manifest file 'murmurhash.egg-info/SOURCES.txt' 2024-04-06 19:25:28,085 root INFO dependency /home/patrycja/aports/community/py3-murmurhash/src/murmurhash-1.0.10/murmurhash/include/murmurhash/MurmurHash2.h won't be automatically included in the manifest: the path must be relative 2024-04-06 19:25:28,085 root INFO dependency /home/patrycja/aports/community/py3-murmurhash/src/murmurhash-1.0.10/murmurhash/include/murmurhash/MurmurHash3.h won't be automatically included in the manifest: the path must be relative 2024-04-06 19:25:28,086 root INFO reading manifest file 'murmurhash.egg-info/SOURCES.txt' 2024-04-06 19:25:28,086 root INFO reading manifest template 'MANIFEST.in' 2024-04-06 19:25:28,086 root INFO adding license file 'LICENSE' 2024-04-06 19:25:28,086 root INFO writing manifest file 'murmurhash.egg-info/SOURCES.txt' 2024-04-06 19:25:28,086 root INFO Copying murmurhash.egg-info to build/bdist.linux-x86_64/wheel/murmurhash-1.0.10-py3.12.egg-info 2024-04-06 19:25:28,087 root INFO running install_scripts 2024-04-06 19:25:28,089 wheel INFO creating build/bdist.linux-x86_64/wheel/murmurhash-1.0.10.dist-info/WHEEL 2024-04-06 19:25:28,089 wheel INFO creating '/home/patrycja/aports/community/py3-murmurhash/src/murmurhash-1.0.10/.dist/.tmp-dfiz9sgs/murmurhash-1.0.10-cp312-cp312-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it 2024-04-06 19:25:28,089 wheel INFO adding 'murmurhash/__init__.pxd' 2024-04-06 19:25:28,089 wheel INFO adding 'murmurhash/__init__.py' 2024-04-06 19:25:28,090 wheel INFO adding 'murmurhash/about.py' 2024-04-06 19:25:28,090 wheel INFO adding 'murmurhash/mrmr.cpython-312-x86_64-linux-musl.so' 2024-04-06 19:25:28,090 wheel INFO adding 'murmurhash/mrmr.pxd' 2024-04-06 19:25:28,090 wheel INFO adding 'murmurhash/mrmr.pyx' 2024-04-06 19:25:28,091 wheel INFO adding 'murmurhash/include/murmurhash/MurmurHash2.h' 2024-04-06 19:25:28,091 wheel INFO adding 'murmurhash/include/murmurhash/MurmurHash3.h' 2024-04-06 19:25:28,091 wheel INFO adding 'murmurhash/tests/__init__.py' 2024-04-06 19:25:28,091 wheel INFO adding 'murmurhash/tests/test_hash.py' 2024-04-06 19:25:28,091 wheel INFO adding 'murmurhash/tests/test_import.py' 2024-04-06 19:25:28,091 wheel INFO adding 'murmurhash-1.0.10.dist-info/LICENSE' 2024-04-06 19:25:28,091 wheel INFO adding 'murmurhash-1.0.10.dist-info/METADATA' 2024-04-06 19:25:28,091 wheel INFO adding 'murmurhash-1.0.10.dist-info/WHEEL' 2024-04-06 19:25:28,091 wheel INFO adding 'murmurhash-1.0.10.dist-info/top_level.txt' 2024-04-06 19:25:28,091 wheel INFO adding 'murmurhash-1.0.10.dist-info/RECORD' 2024-04-06 19:25:28,091 wheel INFO removing build/bdist.linux-x86_64/wheel 2024-04-06 19:25:28,092 gpep517 INFO The backend produced .dist/murmurhash-1.0.10-cp312-cp312-linux_x86_64.whl murmurhash-1.0.10-cp312-cp312-linux_x86_64.whl ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0 rootdir: /home/patrycja/aports/community/py3-murmurhash/src/murmurhash-1.0.10 configfile: pyproject.toml collected 2 items murmurhash-off/tests/test_hash.py E [ 50%] murmurhash-off/tests/test_import.py E [100%] ==================================== ERRORS ==================================== ________________________ ERROR at setup of test_hashes _________________________ name = '__init__', package = None def import_module(name, package=None): """Import a module. The 'package' argument is required when performing a relative import. It specifies the package to use as the anchor point from which to resolve the relative import to an absolute import. """ level = 0 if name.startswith('.'): if not package: raise TypeError("the 'package' argument is required to perform a " f"relative import for {name!r}") for character in name: if character != '.': break level += 1 > return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.12/importlib/__init__.py:90: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import os > from .about import * E ImportError: attempted relative import with no known parent package murmurhash-off/__init__.py:2: ImportError The above exception was the direct cause of the following exception: cls = func = . at 0x7f9c45fdea20> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.12/site-packages/_pytest/runner.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/_pytest/runner.py:240: in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.12/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3.12/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.12/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3.12/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3.12/site-packages/_pytest/logging.py:843: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3.12/site-packages/_pytest/logging.py:832: in _runtest_for yield /usr/lib/python3.12/site-packages/_pytest/capture.py:878: in pytest_runtest_setup return (yield) /usr/lib/python3.12/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3.12/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3.12/site-packages/_pytest/runner.py:158: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.12/site-packages/_pytest/runner.py:515: in setup raise exc /usr/lib/python3.12/site-packages/_pytest/runner.py:512: in setup col.setup() /usr/lib/python3.12/site-packages/_pytest/python.py:690: in setup init_mod = importtestmodule(self.path / "__init__.py", self.config) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ path = PosixPath('/home/patrycja/aports/community/py3-murmurhash/src/murmurhash-1.0.10/murmurhash-off/__init__.py') config = <_pytest.config.Config object at 0x7f9c460741d0> def importtestmodule( path: Path, config: Config, ): # We assume we are only called once per module. importmode = config.getoption("--import-mode") try: mod = import_path( path, mode=importmode, root=config.rootpath, consider_namespace_packages=config.getini("consider_namespace_packages"), ) except SyntaxError as e: raise nodes.Collector.CollectError( ExceptionInfo.from_current().getrepr(style="short") ) from e except ImportPathMismatchError as e: raise nodes.Collector.CollectError( "import file mismatch:\n" "imported module {!r} has this __file__ attribute:\n" " {}\n" "which is not the same as the test file we want to collect:\n" " {}\n" "HINT: remove __pycache__ / .pyc files and/or use a " "unique basename for your test file modules".format(*e.args) ) from e except ImportError as e: exc_info = ExceptionInfo.from_current() if config.getoption("verbose") < 2: exc_info.traceback = exc_info.traceback.filter(filter_traceback) exc_repr = ( exc_info.getrepr(style="short") if exc_info.traceback else exc_info.exconly() ) formatted_tb = str(exc_repr) > raise nodes.Collector.CollectError( f"ImportError while importing test module '{path}'.\n" "Hint: make sure your test modules/packages have valid Python names.\n" "Traceback:\n" f"{formatted_tb}" ) from e E _pytest.nodes.Collector.CollectError: ImportError while importing test module '/home/patrycja/aports/community/py3-murmurhash/src/murmurhash-1.0.10/murmurhash-off/__init__.py'. E Hint: make sure your test modules/packages have valid Python names. E Traceback: E /usr/lib/python3.12/importlib/__init__.py:90: in import_module E return _bootstrap._gcd_import(name[level:], package, level) E murmurhash-off/__init__.py:2: in E from .about import * E E ImportError: attempted relative import with no known parent package /usr/lib/python3.12/site-packages/_pytest/python.py:550: CollectError ________________________ ERROR at setup of test_import _________________________ name = '__init__', package = None def import_module(name, package=None): """Import a module. The 'package' argument is required when performing a relative import. It specifies the package to use as the anchor point from which to resolve the relative import to an absolute import. """ level = 0 if name.startswith('.'): if not package: raise TypeError("the 'package' argument is required to perform a " f"relative import for {name!r}") for character in name: if character != '.': break level += 1 > return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.12/importlib/__init__.py:90: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import os > from .about import * E ImportError: attempted relative import with no known parent package murmurhash-off/__init__.py:2: ImportError The above exception was the direct cause of the following exception: cls = func = . at 0x7f9c45f37d80> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.12/site-packages/_pytest/runner.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/_pytest/runner.py:240: in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.12/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3.12/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.12/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3.12/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3.12/site-packages/_pytest/logging.py:843: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3.12/site-packages/_pytest/logging.py:832: in _runtest_for yield /usr/lib/python3.12/site-packages/_pytest/capture.py:878: in pytest_runtest_setup return (yield) /usr/lib/python3.12/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3.12/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3.12/site-packages/_pytest/runner.py:158: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.12/site-packages/_pytest/runner.py:505: in setup raise exc /usr/lib/python3.12/site-packages/_pytest/runner.py:340: in from_call result: Optional[TResult] = func() /usr/lib/python3.12/site-packages/_pytest/runner.py:240: in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.12/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3.12/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.12/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3.12/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3.12/site-packages/_pytest/logging.py:843: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3.12/site-packages/_pytest/logging.py:832: in _runtest_for yield /usr/lib/python3.12/site-packages/_pytest/capture.py:878: in pytest_runtest_setup return (yield) /usr/lib/python3.12/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3.12/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3.12/site-packages/_pytest/runner.py:158: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.12/site-packages/_pytest/runner.py:515: in setup raise exc /usr/lib/python3.12/site-packages/_pytest/runner.py:512: in setup col.setup() /usr/lib/python3.12/site-packages/_pytest/python.py:690: in setup init_mod = importtestmodule(self.path / "__init__.py", self.config) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ path = PosixPath('/home/patrycja/aports/community/py3-murmurhash/src/murmurhash-1.0.10/murmurhash-off/__init__.py') config = <_pytest.config.Config object at 0x7f9c460741d0> def importtestmodule( path: Path, config: Config, ): # We assume we are only called once per module. importmode = config.getoption("--import-mode") try: mod = import_path( path, mode=importmode, root=config.rootpath, consider_namespace_packages=config.getini("consider_namespace_packages"), ) except SyntaxError as e: raise nodes.Collector.CollectError( ExceptionInfo.from_current().getrepr(style="short") ) from e except ImportPathMismatchError as e: raise nodes.Collector.CollectError( "import file mismatch:\n" "imported module {!r} has this __file__ attribute:\n" " {}\n" "which is not the same as the test file we want to collect:\n" " {}\n" "HINT: remove __pycache__ / .pyc files and/or use a " "unique basename for your test file modules".format(*e.args) ) from e except ImportError as e: exc_info = ExceptionInfo.from_current() if config.getoption("verbose") < 2: exc_info.traceback = exc_info.traceback.filter(filter_traceback) exc_repr = ( exc_info.getrepr(style="short") if exc_info.traceback else exc_info.exconly() ) formatted_tb = str(exc_repr) > raise nodes.Collector.CollectError( f"ImportError while importing test module '{path}'.\n" "Hint: make sure your test modules/packages have valid Python names.\n" "Traceback:\n" f"{formatted_tb}" ) from e E _pytest.nodes.Collector.CollectError: ImportError while importing test module '/home/patrycja/aports/community/py3-murmurhash/src/murmurhash-1.0.10/murmurhash-off/__init__.py'. E Hint: make sure your test modules/packages have valid Python names. E Traceback: E /usr/lib/python3.12/importlib/__init__.py:90: in import_module E return _bootstrap._gcd_import(name[level:], package, level) E murmurhash-off/__init__.py:2: in E from .about import * E E ImportError: attempted relative import with no known parent package /usr/lib/python3.12/site-packages/_pytest/python.py:550: CollectError =========================== short test summary info ============================ ERROR murmurhash-off/tests/test_hash.py::test_hashes - _pytest.nodes.Collecto... ERROR murmurhash-off/tests/test_import.py::test_import - _pytest.nodes.Collec... ============================== 2 errors in 0.21s =============================== >>> ERROR: py3-murmurhash: check failed >>> ERROR: py3-murmurhash: rootbld failed >>> py3-murmurhash: Cleaning up build chroot