>>> py3-pypytools: Building community/py3-pypytools 0.6.2-r1 (using abuild 3.10.0_rc1-r2) started Wed, 23 Nov 2022 11:26:58 +0000 >>> py3-pypytools: Checking sanity of /home/buildozer/aports/community/py3-pypytools/APKBUILD... >>> py3-pypytools: Analyzing dependencies... >>> py3-pypytools: Installing for build: build-base py3-setuptools py3-freezegun py3-numpy py3-pytest (1/23) Installing libbz2 (1.0.8-r4) (2/23) Installing libffi (3.4.4-r0) (3/23) Installing gdbm (1.23-r0) (4/23) Installing xz-libs (5.2.8-r0) (5/23) Installing mpdecimal (2.5.1-r1) (6/23) Installing readline (8.2.0-r0) (7/23) Installing sqlite-libs (3.40.0-r0) (8/23) Installing python3 (3.11.0-r2) (9/23) Installing py3-parsing (3.0.9-r1) (10/23) Installing py3-packaging (21.3-r3) (11/23) Installing py3-setuptools (65.6.0-r1) (12/23) Installing py3-six (1.16.0-r4) (13/23) Installing py3-dateutil (2.8.2-r2) (14/23) Installing py3-freezegun (1.2.2-r1) (15/23) Installing libgfortran (12.2.1_git20220924-r4) (16/23) Installing openblas (0.3.21-r0) (17/23) Installing py3-numpy (1.23.5-r0) (18/23) Installing py3-attrs (22.1.0-r1) (19/23) Installing py3-iniconfig (1.1.1-r4) (20/23) Installing py3-pluggy (1.0.0-r2) (21/23) Installing py3-py (1.11.0-r1) (22/23) Installing py3-pytest (7.2.0-r2) (23/23) Installing .makedepends-py3-pypytools (20221123.112659) Executing busybox-1.35.0-r29.trigger OK: 430 MiB in 120 packages >>> py3-pypytools: Cleaning up srcdir >>> py3-pypytools: Cleaning up pkgdir >>> py3-pypytools: Fetching https://distfiles.alpinelinux.org/distfiles/edge/pypytools-0.6.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 26656 100 26656 0 0 35685 0 --:--:-- --:--:-- --:--:-- 35684 >>> py3-pypytools: Fetching https://distfiles.alpinelinux.org/distfiles/edge/pypytools-0.6.2.tar.gz >>> py3-pypytools: Checking sha512sums... pypytools-0.6.2.tar.gz: OK python3.8.patch: OK >>> py3-pypytools: Unpacking /var/cache/distfiles/pypytools-0.6.2.tar.gz... >>> py3-pypytools: python3.8.patch patching file pypytools/pypylog/model.py patching file pypytools/pypylog/parse.py patching file pypytools/pypylog/testing/test_parse.py patching file pypytools/util.py running build running build_py creating build creating build/lib creating build/lib/pypytools copying pypytools/jitview.py -> build/lib/pypytools copying pypytools/codegen.py -> build/lib/pypytools copying pypytools/unroll.py -> build/lib/pypytools copying pypytools/util.py -> build/lib/pypytools copying pypytools/_fakecython.py -> build/lib/pypytools copying pypytools/cast.py -> build/lib/pypytools copying pypytools/color.py -> build/lib/pypytools copying pypytools/__init__.py -> build/lib/pypytools creating build/lib/pypytools/compat copying pypytools/compat/__init__.py -> build/lib/pypytools/compat creating build/lib/pypytools/gc copying pypytools/gc/uniform.py -> build/lib/pypytools/gc copying pypytools/gc/__init__.py -> build/lib/pypytools/gc copying pypytools/gc/custom.py -> build/lib/pypytools/gc copying pypytools/gc/multihook.py -> build/lib/pypytools/gc creating build/lib/pypytools/compat/micronumpy copying pypytools/compat/micronumpy/function_base.py -> build/lib/pypytools/compat/micronumpy copying pypytools/compat/micronumpy/numerictypes.py -> build/lib/pypytools/compat/micronumpy copying pypytools/compat/micronumpy/core.py -> build/lib/pypytools/compat/micronumpy copying pypytools/compat/micronumpy/__init__.py -> build/lib/pypytools/compat/micronumpy ============================= test session starts ============================== platform linux -- Python 3.11.0, pytest-7.2.0, pluggy-1.0.0 rootdir: /home/buildozer/aports/community/py3-pypytools/src/pypytools-0.6.2 collected 101 items pypytools/gc/testing/test_custom.py .....s. [ 6%] pypytools/gc/testing/test_fakegc.py ... [ 9%] pypytools/gc/testing/test_multihook.py ........ [ 17%] pypytools/gc/testing/test_uniform.py .......... [ 27%] pypytools/pypylog/testing/test_model.py ..... [ 32%] pypytools/pypylog/testing/test_parse.py .x....x [ 39%] pypytools/testing/test_cast.py . [ 40%] pypytools/testing/test_codegen.py ...................... [ 62%] pypytools/testing/test_fakecython.py .. [ 64%] pypytools/testing/test_micronumpy.py ........................... [ 91%] pypytools/testing/test_unroll.py ........ [ 99%] pypytools/testing/test_util.py F [100%] =================================== FAILURES =================================== ________________________________ test_clonefunc ________________________________ def test_clonefunc(): def foo(a, b): return a+b > foo2 = clonefunc(foo) pypytools/testing/test_util.py:7: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ f = .foo at 0x7ffb950e7380> def clonefunc(f): """Deep clone the given function to create a new one. By default, the PyPy JIT specializes the assembler based on f.__code__: clonefunc makes sure that you will get a new function with a **different** __code__, so that PyPy will produce independent assembler. This is useful e.g. for benchmarks and microbenchmarks, so you can make sure to compare apples to apples. Use it with caution: if abused, this might easily produce an explosion of produced assembler. """ # first of all, we clone the code object co = f.__code__ args = [co.co_argcount, co.co_nlocals, co.co_stacksize, co.co_flags, co.co_code, co.co_consts, co.co_names, co.co_varnames, co.co_filename, co.co_name, co.co_firstlineno, co.co_lnotab, co.co_freevars, co.co_cellvars] if PY3: args.insert(1, co.co_kwonlyargcount) if PY3 and PY3M >= 8: args.insert(1, co.co_posonlyargcount) > co2 = types.CodeType(*args) E TypeError: code() argument 13 must be str, not int pypytools/util.py:28: TypeError =========================== short test summary info ============================ FAILED pypytools/testing/test_util.py::test_clonefunc - TypeError: code() arg... ============== 1 failed, 97 passed, 1 skipped, 2 xfailed in 0.85s ============== >>> ERROR: py3-pypytools: check failed >>> py3-pypytools: Uninstalling dependencies... (1/23) Purging .makedepends-py3-pypytools (20221123.112659) (2/23) Purging py3-setuptools (65.6.0-r1) (3/23) Purging py3-freezegun (1.2.2-r1) (4/23) Purging py3-dateutil (2.8.2-r2) (5/23) Purging py3-six (1.16.0-r4) (6/23) Purging py3-numpy (1.23.5-r0) (7/23) Purging py3-pytest (7.2.0-r2) (8/23) Purging py3-attrs (22.1.0-r1) (9/23) Purging py3-iniconfig (1.1.1-r4) (10/23) Purging py3-packaging (21.3-r3) (11/23) Purging py3-parsing (3.0.9-r1) (12/23) Purging py3-pluggy (1.0.0-r2) (13/23) Purging py3-py (1.11.0-r1) (14/23) Purging python3 (3.11.0-r2) (15/23) Purging libbz2 (1.0.8-r4) (16/23) Purging libffi (3.4.4-r0) (17/23) Purging gdbm (1.23-r0) (18/23) Purging xz-libs (5.2.8-r0) (19/23) Purging mpdecimal (2.5.1-r1) (20/23) Purging readline (8.2.0-r0) (21/23) Purging sqlite-libs (3.40.0-r0) (22/23) Purging openblas (0.3.21-r0) (23/23) Purging libgfortran (12.2.1_git20220924-r4) Executing busybox-1.35.0-r29.trigger OK: 293 MiB in 97 packages