>>> py3-stochastic: Building community/py3-stochastic 0.7.0-r5 (using abuild 3.14.1-r1) started Tue, 05 Nov 2024 07:31:05 +0000 >>> py3-stochastic: Validating /home/buildozer/aports/community/py3-stochastic/APKBUILD... >>> py3-stochastic: Analyzing dependencies... >>> py3-stochastic: Installing for build: build-base python3 py3-numpy py3-scipy py3-gpep517 py3-setuptools py3-poetry-core py3-installer py3-pytest py3-pytest-xdist py3-pytest-cov (1/64) Installing libbz2 (1.0.8-r6) (2/64) Installing libffi (3.4.6-r0) (3/64) Installing gdbm (1.24-r0) (4/64) Installing xz-libs (5.6.3-r0) (5/64) Installing mpdecimal (4.0.0-r0) (6/64) Installing libpanelw (6.5_p20241006-r2) (7/64) Installing sqlite-libs (3.47.0-r0) (8/64) Installing python3 (3.12.7-r1) (9/64) Installing python3-pycache-pyc0 (3.12.7-r1) (10/64) Installing pyc (3.12.7-r1) (11/64) Installing python3-pyc (3.12.7-r1) (12/64) Installing libgfortran (14.2.0-r4) (13/64) Installing openblas (0.3.28-r0) (14/64) Installing py3-numpy (2.1.2-r0) (15/64) Installing py3-numpy-pyc (2.1.2-r0) (16/64) Installing py3-parsing (3.1.4-r0) (17/64) Installing py3-parsing-pyc (3.1.4-r0) (18/64) Installing py3-packaging (24.1-r0) (19/64) Installing py3-packaging-pyc (24.1-r0) (20/64) Installing py3-platformdirs (4.3.6-r0) (21/64) Installing py3-platformdirs-pyc (4.3.6-r0) (22/64) Installing py3-certifi (2024.8.30-r0) (23/64) Installing py3-certifi-pyc (2024.8.30-r0) (24/64) Installing py3-charset-normalizer (3.4.0-r0) (25/64) Installing py3-charset-normalizer-pyc (3.4.0-r0) (26/64) Installing py3-idna (3.10-r0) (27/64) Installing py3-idna-pyc (3.10-r0) (28/64) Installing py3-urllib3 (1.26.20-r0) (29/64) Installing py3-urllib3-pyc (1.26.20-r0) (30/64) Installing py3-requests (2.32.3-r0) (31/64) Installing py3-requests-pyc (2.32.3-r0) (32/64) Installing py3-pooch (1.8.2-r0) (33/64) Installing py3-pooch-pyc (1.8.2-r0) (34/64) Installing py3-scipy (1.13.1-r1) (35/64) Installing py3-scipy-pyc (1.13.1-r1) (36/64) Installing py3-installer (0.7.0-r2) (37/64) Installing py3-installer-pyc (0.7.0-r2) (38/64) Installing py3-gpep517 (16-r0) (39/64) Installing py3-gpep517-pyc (16-r0) (40/64) Installing py3-setuptools (70.3.0-r0) (41/64) Installing py3-setuptools-pyc (70.3.0-r0) (42/64) Installing py3-fastjsonschema (2.20.0-r0) (43/64) Installing py3-fastjsonschema-pyc (2.20.0-r0) (44/64) Installing py3-lark-parser (1.1.9-r1) (45/64) Installing py3-lark-parser-pyc (1.1.9-r1) (46/64) Installing py3-poetry-core (1.9.1-r0) (47/64) Installing py3-poetry-core-pyc (1.9.1-r0) (48/64) Installing py3-iniconfig (2.0.0-r1) (49/64) Installing py3-iniconfig-pyc (2.0.0-r1) (50/64) Installing py3-pluggy (1.5.0-r0) (51/64) Installing py3-pluggy-pyc (1.5.0-r0) (52/64) Installing py3-py (1.11.0-r4) (53/64) Installing py3-py-pyc (1.11.0-r4) (54/64) Installing py3-pytest (8.3.3-r0) (55/64) Installing py3-pytest-pyc (8.3.3-r0) (56/64) Installing py3-execnet (2.1.1-r0) (57/64) Installing py3-execnet-pyc (2.1.1-r0) (58/64) Installing py3-pytest-xdist (3.6.1-r0) (59/64) Installing py3-pytest-xdist-pyc (3.6.1-r0) (60/64) Installing py3-coverage (7.5.1-r0) (61/64) Installing py3-coverage-pyc (7.5.1-r0) (62/64) Installing py3-pytest-cov (5.0.0-r0) (63/64) Installing py3-pytest-cov-pyc (5.0.0-r0) (64/64) Installing .makedepends-py3-stochastic (20241105.073128) Executing busybox-1.37.0-r6.trigger OK: 394 MiB in 163 packages >>> py3-stochastic: Cleaning up srcdir >>> py3-stochastic: Cleaning up pkgdir >>> py3-stochastic: Cleaning up tmpdir >>> py3-stochastic: Fetching https://distfiles.alpinelinux.org/distfiles/edge/stochastic-0.7.0.tar.gz >>> py3-stochastic: Fetching https://distfiles.alpinelinux.org/distfiles/edge/stochastic-0.7.0.tar.gz >>> py3-stochastic: Checking sha512sums... stochastic-0.7.0.tar.gz: OK poetry-core.patch: OK >>> py3-stochastic: Unpacking /var/cache/distfiles/stochastic-0.7.0.tar.gz... >>> py3-stochastic: poetry-core.patch patching file pyproject.toml 2024-11-05 07:31:30,511 gpep517 INFO Building wheel via backend poetry.core.masonry.api 2024-11-05 07:31:30,725 poetry.core.masonry.builders.wheel INFO Building wheel 2024-11-05 07:31:30,779 poetry.core.masonry.builders.wheel INFO Built stochastic-0.7.0-py3-none-any.whl 2024-11-05 07:31:30,779 gpep517 INFO The backend produced .dist/stochastic-0.7.0-py3-none-any.whl stochastic-0.7.0-py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 rootdir: /home/buildozer/aports/community/py3-stochastic/src/stochastic-0.7.0 configfile: pytest.ini plugins: cov-5.0.0, xdist-3.6.1 created: 32/32 workers 32 workers [417 items] ........................................................................ [ 17%] ..........................................F............................. [ 34%] ..............................FF.......................................F [ 51%] ........................................................................ [ 69%] ........................................................................ [ 86%] ......................................................... [100%] =================================== FAILURES =================================== _______________ test_markov_chain_str_repr[transition0-initial0] _______________ [gw15] linux -- Python 3.12.7 /home/buildozer/aports/community/py3-stochastic/src/stochastic-0.7.0/.testenv/bin/python3 transition = [[0.25, 0.75], [0.4, 0.6]], initial = [0.25, 0.75] def test_markov_chain_str_repr(transition, initial): > instance = MarkovChain(transition, initial) tests/processes/discrete/test_markov_chain.py:8: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ stochastic/processes/discrete/markov_chain.py:26: in __init__ self.transition = transition or np.array([[0.5, 0.5], [0.5, 0.5]]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'MarkovChain' object has no attribute '_transition'") raised in repr()] MarkovChain object at 0x7fffa664c3e0> values = [[0.25, 0.75], [0.4, 0.6]] @transition.setter def transition(self, values): > values = np.array(values, copy=False) E ValueError: Unable to avoid copy while creating an array as requested. E If using `np.array(obj, copy=False)` replace it with `np.asarray(obj)` to allow a copy when needed (no behavior change in NumPy 1.x). E For more details, see https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword. stochastic/processes/discrete/markov_chain.py:51: ValueError _________________ test_markov_chain_str_repr[transition0-None] _________________ [gw15] linux -- Python 3.12.7 /home/buildozer/aports/community/py3-stochastic/src/stochastic-0.7.0/.testenv/bin/python3 transition = [[0.25, 0.75], [0.4, 0.6]], initial = None def test_markov_chain_str_repr(transition, initial): > instance = MarkovChain(transition, initial) tests/processes/discrete/test_markov_chain.py:8: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ stochastic/processes/discrete/markov_chain.py:26: in __init__ self.transition = transition or np.array([[0.5, 0.5], [0.5, 0.5]]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'MarkovChain' object has no attribute '_transition'") raised in repr()] MarkovChain object at 0x7fffa5d2e8d0> values = [[0.25, 0.75], [0.4, 0.6]] @transition.setter def transition(self, values): > values = np.array(values, copy=False) E ValueError: Unable to avoid copy while creating an array as requested. E If using `np.array(obj, copy=False)` replace it with `np.asarray(obj)` to allow a copy when needed (no behavior change in NumPy 1.x). E For more details, see https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword. stochastic/processes/discrete/markov_chain.py:51: ValueError ______________ test_markov_chain_sample[transition0-initial0-16] _______________ [gw15] linux -- Python 3.12.7 /home/buildozer/aports/community/py3-stochastic/src/stochastic-0.7.0/.testenv/bin/python3 transition = [[0.25, 0.75], [0.4, 0.6]], initial = [0.25, 0.75], n = 16 def test_markov_chain_sample(transition, initial, n): > instance = MarkovChain(transition, initial) tests/processes/discrete/test_markov_chain.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ stochastic/processes/discrete/markov_chain.py:26: in __init__ self.transition = transition or np.array([[0.5, 0.5], [0.5, 0.5]]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'MarkovChain' object has no attribute '_transition'") raised in repr()] MarkovChain object at 0x7fffa5d2f740> values = [[0.25, 0.75], [0.4, 0.6]] @transition.setter def transition(self, values): > values = np.array(values, copy=False) E ValueError: Unable to avoid copy while creating an array as requested. E If using `np.array(obj, copy=False)` replace it with `np.asarray(obj)` to allow a copy when needed (no behavior change in NumPy 1.x). E For more details, see https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword. stochastic/processes/discrete/markov_chain.py:51: ValueError ________________ test_markov_chain_sample[transition0-None-16] _________________ [gw15] linux -- Python 3.12.7 /home/buildozer/aports/community/py3-stochastic/src/stochastic-0.7.0/.testenv/bin/python3 transition = [[0.25, 0.75], [0.4, 0.6]], initial = None, n = 16 def test_markov_chain_sample(transition, initial, n): > instance = MarkovChain(transition, initial) tests/processes/discrete/test_markov_chain.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ stochastic/processes/discrete/markov_chain.py:26: in __init__ self.transition = transition or np.array([[0.5, 0.5], [0.5, 0.5]]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'MarkovChain' object has no attribute '_transition'") raised in repr()] MarkovChain object at 0x7fffa5d78530> values = [[0.25, 0.75], [0.4, 0.6]] @transition.setter def transition(self, values): > values = np.array(values, copy=False) E ValueError: Unable to avoid copy while creating an array as requested. E If using `np.array(obj, copy=False)` replace it with `np.asarray(obj)` to allow a copy when needed (no behavior change in NumPy 1.x). E For more details, see https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword. stochastic/processes/discrete/markov_chain.py:51: ValueError ---------- coverage: platform linux, python 3.12.7-final-0 ----------- Coverage HTML written to dir htmlcov ======================== 4 failed, 413 passed in 11.07s ======================== /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-43986c21-f9da-47ea-8901-6bcdf945d79a/popen-gw0/test_discovery_via_path_in_non0 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-43986c21-f9da-47ea-8901-6bcdf945d79a/popen-gw0/test_discovery_via_path_in_non0' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-43986c21-f9da-47ea-8901-6bcdf945d79a/popen-gw0 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-43986c21-f9da-47ea-8901-6bcdf945d79a/popen-gw0' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-43986c21-f9da-47ea-8901-6bcdf945d79a : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-43986c21-f9da-47ea-8901-6bcdf945d79a' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-862867a2-f5f2-4daf-afc6-31fbfbde11da/popen-gw18/test_discovery_via_path_in_non0 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-862867a2-f5f2-4daf-afc6-31fbfbde11da/popen-gw18/test_discovery_via_path_in_non0' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-862867a2-f5f2-4daf-afc6-31fbfbde11da/popen-gw18 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-862867a2-f5f2-4daf-afc6-31fbfbde11da/popen-gw18' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-862867a2-f5f2-4daf-afc6-31fbfbde11da : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-862867a2-f5f2-4daf-afc6-31fbfbde11da' warnings.warn( >>> ERROR: py3-stochastic: check failed >>> py3-stochastic: Uninstalling dependencies... (1/64) Purging .makedepends-py3-stochastic (20241105.073128) (2/64) Purging py3-scipy-pyc (1.13.1-r1) (3/64) Purging py3-scipy (1.13.1-r1) (4/64) Purging py3-pooch-pyc (1.8.2-r0) (5/64) Purging py3-pooch (1.8.2-r0) (6/64) Purging py3-platformdirs-pyc (4.3.6-r0) (7/64) Purging py3-platformdirs (4.3.6-r0) (8/64) Purging py3-requests-pyc (2.32.3-r0) (9/64) Purging py3-requests (2.32.3-r0) (10/64) Purging py3-certifi-pyc (2024.8.30-r0) (11/64) Purging py3-certifi (2024.8.30-r0) (12/64) Purging py3-charset-normalizer-pyc (3.4.0-r0) (13/64) Purging py3-charset-normalizer (3.4.0-r0) (14/64) Purging py3-idna-pyc (3.10-r0) (15/64) Purging py3-idna (3.10-r0) (16/64) Purging py3-urllib3-pyc (1.26.20-r0) (17/64) Purging py3-urllib3 (1.26.20-r0) (18/64) Purging py3-numpy-pyc (2.1.2-r0) (19/64) Purging py3-numpy (2.1.2-r0) (20/64) Purging openblas (0.3.28-r0) (21/64) Purging py3-gpep517-pyc (16-r0) (22/64) Purging py3-gpep517 (16-r0) (23/64) Purging py3-setuptools-pyc (70.3.0-r0) (24/64) Purging py3-setuptools (70.3.0-r0) (25/64) Purging py3-poetry-core-pyc (1.9.1-r0) (26/64) Purging py3-poetry-core (1.9.1-r0) (27/64) Purging py3-fastjsonschema-pyc (2.20.0-r0) (28/64) Purging py3-fastjsonschema (2.20.0-r0) (29/64) Purging py3-lark-parser-pyc (1.1.9-r1) (30/64) Purging py3-lark-parser (1.1.9-r1) (31/64) Purging py3-installer-pyc (0.7.0-r2) (32/64) Purging py3-installer (0.7.0-r2) (33/64) Purging py3-pytest-xdist-pyc (3.6.1-r0) (34/64) Purging py3-pytest-xdist (3.6.1-r0) (35/64) Purging py3-execnet-pyc (2.1.1-r0) (36/64) Purging py3-execnet (2.1.1-r0) (37/64) Purging py3-pytest-cov-pyc (5.0.0-r0) (38/64) Purging py3-pytest-cov (5.0.0-r0) (39/64) Purging py3-pytest-pyc (8.3.3-r0) (40/64) Purging py3-pytest (8.3.3-r0) (41/64) Purging py3-iniconfig-pyc (2.0.0-r1) (42/64) Purging py3-iniconfig (2.0.0-r1) (43/64) Purging py3-packaging-pyc (24.1-r0) (44/64) Purging py3-packaging (24.1-r0) (45/64) Purging py3-parsing-pyc (3.1.4-r0) (46/64) Purging py3-parsing (3.1.4-r0) (47/64) Purging py3-pluggy-pyc (1.5.0-r0) (48/64) Purging py3-pluggy (1.5.0-r0) (49/64) Purging py3-py-pyc (1.11.0-r4) (50/64) Purging py3-py (1.11.0-r4) (51/64) Purging py3-coverage-pyc (7.5.1-r0) (52/64) Purging py3-coverage (7.5.1-r0) (53/64) Purging python3-pyc (3.12.7-r1) (54/64) Purging python3-pycache-pyc0 (3.12.7-r1) (55/64) Purging pyc (3.12.7-r1) (56/64) Purging python3 (3.12.7-r1) (57/64) Purging gdbm (1.24-r0) (58/64) Purging libbz2 (1.0.8-r6) (59/64) Purging libffi (3.4.6-r0) (60/64) Purging libgfortran (14.2.0-r4) (61/64) Purging libpanelw (6.5_p20241006-r2) (62/64) Purging mpdecimal (4.0.0-r0) (63/64) Purging sqlite-libs (3.47.0-r0) (64/64) Purging xz-libs (5.6.3-r0) Executing busybox-1.37.0-r6.trigger OK: 243 MiB in 99 packages