>>> py3-patsy: Building community/py3-patsy 0.5.6-r1 (using abuild 3.14.1-r1) started Tue, 05 Nov 2024 03:23:52 +0000 >>> py3-patsy: Validating /home/buildozer/aports/community/py3-patsy/APKBUILD... >>> py3-patsy: Analyzing dependencies... >>> py3-patsy: Installing for build: build-base python3 py3-numpy py3-scipy py3-six py3-gpep517 py3-setuptools py3-wheel py3-pytest-xdist py3-pytest-cov (1/62) Installing libbz2 (1.0.8-r6) (2/62) Installing libffi (3.4.6-r0) (3/62) Installing gdbm (1.24-r0) (4/62) Installing xz-libs (5.6.3-r0) (5/62) Installing mpdecimal (4.0.0-r0) (6/62) Installing libpanelw (6.5_p20241006-r2) (7/62) Installing sqlite-libs (3.47.0-r0) (8/62) Installing python3 (3.12.7-r1) (9/62) Installing python3-pycache-pyc0 (3.12.7-r1) (10/62) Installing pyc (3.12.7-r1) (11/62) Installing python3-pyc (3.12.7-r1) (12/62) Installing libgfortran (14.2.0-r4) (13/62) Installing openblas (0.3.28-r0) (14/62) Installing py3-numpy (2.1.2-r0) (15/62) Installing py3-numpy-pyc (2.1.2-r0) (16/62) Installing py3-parsing (3.1.4-r0) (17/62) Installing py3-parsing-pyc (3.1.4-r0) (18/62) Installing py3-packaging (24.1-r0) (19/62) Installing py3-packaging-pyc (24.1-r0) (20/62) Installing py3-platformdirs (4.3.6-r0) (21/62) Installing py3-platformdirs-pyc (4.3.6-r0) (22/62) Installing py3-certifi (2024.8.30-r0) (23/62) Installing py3-certifi-pyc (2024.8.30-r0) (24/62) Installing py3-charset-normalizer (3.4.0-r0) (25/62) Installing py3-charset-normalizer-pyc (3.4.0-r0) (26/62) Installing py3-idna (3.10-r0) (27/62) Installing py3-idna-pyc (3.10-r0) (28/62) Installing py3-urllib3 (1.26.20-r0) (29/62) Installing py3-urllib3-pyc (1.26.20-r0) (30/62) Installing py3-requests (2.32.3-r0) (31/62) Installing py3-requests-pyc (2.32.3-r0) (32/62) Installing py3-pooch (1.8.2-r0) (33/62) Installing py3-pooch-pyc (1.8.2-r0) (34/62) Installing py3-scipy (1.13.1-r1) (35/62) Installing py3-scipy-pyc (1.13.1-r1) (36/62) Installing py3-six (1.16.0-r9) (37/62) Installing py3-six-pyc (1.16.0-r9) (38/62) Installing py3-installer (0.7.0-r2) (39/62) Installing py3-installer-pyc (0.7.0-r2) (40/62) Installing py3-gpep517 (16-r0) (41/62) Installing py3-gpep517-pyc (16-r0) (42/62) Installing py3-setuptools (70.3.0-r0) (43/62) Installing py3-setuptools-pyc (70.3.0-r0) (44/62) Installing py3-wheel (0.43.0-r0) (45/62) Installing py3-wheel-pyc (0.43.0-r0) (46/62) Installing py3-execnet (2.1.1-r0) (47/62) Installing py3-execnet-pyc (2.1.1-r0) (48/62) Installing py3-iniconfig (2.0.0-r1) (49/62) Installing py3-iniconfig-pyc (2.0.0-r1) (50/62) Installing py3-pluggy (1.5.0-r0) (51/62) Installing py3-pluggy-pyc (1.5.0-r0) (52/62) Installing py3-py (1.11.0-r4) (53/62) Installing py3-py-pyc (1.11.0-r4) (54/62) Installing py3-pytest (8.3.3-r0) (55/62) Installing py3-pytest-pyc (8.3.3-r0) (56/62) Installing py3-pytest-xdist (3.6.1-r0) (57/62) Installing py3-pytest-xdist-pyc (3.6.1-r0) (58/62) Installing py3-coverage (7.5.1-r0) (59/62) Installing py3-coverage-pyc (7.5.1-r0) (60/62) Installing py3-pytest-cov (5.0.0-r0) (61/62) Installing py3-pytest-cov-pyc (5.0.0-r0) (62/62) Installing .makedepends-py3-patsy (20241105.032408) Executing busybox-1.37.0-r6.trigger OK: 595 MiB in 163 packages >>> py3-patsy: Cleaning up srcdir >>> py3-patsy: Cleaning up pkgdir >>> py3-patsy: Cleaning up tmpdir >>> py3-patsy: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/patsy-0.5.6.tar.gz >>> py3-patsy: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/patsy-0.5.6.tar.gz >>> py3-patsy: Checking sha512sums... patsy-0.5.6.tar.gz: OK >>> py3-patsy: Unpacking /var/cache/distfiles/v3.21/patsy-0.5.6.tar.gz... 2024-11-05 03:24:09,898 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ 2024-11-05 03:24:09,922 root INFO running bdist_wheel 2024-11-05 03:24:09,951 root INFO running build 2024-11-05 03:24:09,951 root INFO running build_py 2024-11-05 03:24:09,956 root INFO creating build 2024-11-05 03:24:09,956 root INFO creating build/lib 2024-11-05 03:24:09,956 root INFO creating build/lib/patsy 2024-11-05 03:24:09,956 root INFO copying patsy/design_info.py -> build/lib/patsy 2024-11-05 03:24:09,956 root INFO copying patsy/test_splines_bs_data.py -> build/lib/patsy 2024-11-05 03:24:09,957 root INFO copying patsy/desc.py -> build/lib/patsy 2024-11-05 03:24:09,957 root INFO copying patsy/test_highlevel.py -> build/lib/patsy 2024-11-05 03:24:09,957 root INFO copying patsy/infix_parser.py -> build/lib/patsy 2024-11-05 03:24:09,957 root INFO copying patsy/version.py -> build/lib/patsy 2024-11-05 03:24:09,957 root INFO copying patsy/tokens.py -> build/lib/patsy 2024-11-05 03:24:09,958 root INFO copying patsy/test_state.py -> build/lib/patsy 2024-11-05 03:24:09,958 root INFO copying patsy/missing.py -> build/lib/patsy 2024-11-05 03:24:09,958 root INFO copying patsy/util.py -> build/lib/patsy 2024-11-05 03:24:09,958 root INFO copying patsy/compat_ordereddict.py -> build/lib/patsy 2024-11-05 03:24:09,958 root INFO copying patsy/categorical.py -> build/lib/patsy 2024-11-05 03:24:09,959 root INFO copying patsy/parse_formula.py -> build/lib/patsy 2024-11-05 03:24:09,959 root INFO copying patsy/state.py -> build/lib/patsy 2024-11-05 03:24:09,959 root INFO copying patsy/splines.py -> build/lib/patsy 2024-11-05 03:24:09,959 root INFO copying patsy/test_build.py -> build/lib/patsy 2024-11-05 03:24:09,959 root INFO copying patsy/contrasts.py -> build/lib/patsy 2024-11-05 03:24:09,960 root INFO copying patsy/test_splines_crs_data.py -> build/lib/patsy 2024-11-05 03:24:09,960 root INFO copying patsy/highlevel.py -> build/lib/patsy 2024-11-05 03:24:09,960 root INFO copying patsy/eval.py -> build/lib/patsy 2024-11-05 03:24:09,960 root INFO copying patsy/build.py -> build/lib/patsy 2024-11-05 03:24:09,960 root INFO copying patsy/builtins.py -> build/lib/patsy 2024-11-05 03:24:09,961 root INFO copying patsy/__init__.py -> build/lib/patsy 2024-11-05 03:24:09,961 root INFO copying patsy/compat.py -> build/lib/patsy 2024-11-05 03:24:09,961 root INFO copying patsy/origin.py -> build/lib/patsy 2024-11-05 03:24:09,961 root INFO copying patsy/test_regressions.py -> build/lib/patsy 2024-11-05 03:24:09,961 root INFO copying patsy/mgcv_cubic_splines.py -> build/lib/patsy 2024-11-05 03:24:09,962 root INFO copying patsy/user_util.py -> build/lib/patsy 2024-11-05 03:24:09,962 root INFO copying patsy/redundancy.py -> build/lib/patsy 2024-11-05 03:24:09,962 root INFO copying patsy/constraint.py -> build/lib/patsy 2024-11-05 03:24:09,972 root INFO installing to build/bdist.linux-ppc64le/wheel 2024-11-05 03:24:09,972 root INFO running install 2024-11-05 03:24:09,993 root INFO running install_lib 2024-11-05 03:24:09,997 root INFO creating build/bdist.linux-ppc64le 2024-11-05 03:24:09,997 root INFO creating build/bdist.linux-ppc64le/wheel 2024-11-05 03:24:09,998 root INFO creating build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:09,998 root INFO copying build/lib/patsy/design_info.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:09,998 root INFO copying build/lib/patsy/test_splines_bs_data.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:09,998 root INFO copying build/lib/patsy/desc.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:09,998 root INFO copying build/lib/patsy/test_highlevel.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:09,999 root INFO copying build/lib/patsy/infix_parser.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:09,999 root INFO copying build/lib/patsy/version.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:09,999 root INFO copying build/lib/patsy/tokens.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:09,999 root INFO copying build/lib/patsy/test_state.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:09,999 root INFO copying build/lib/patsy/missing.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,000 root INFO copying build/lib/patsy/util.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,000 root INFO copying build/lib/patsy/compat_ordereddict.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,000 root INFO copying build/lib/patsy/categorical.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,000 root INFO copying build/lib/patsy/parse_formula.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,000 root INFO copying build/lib/patsy/state.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,000 root INFO copying build/lib/patsy/splines.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,001 root INFO copying build/lib/patsy/test_build.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,001 root INFO copying build/lib/patsy/contrasts.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,001 root INFO copying build/lib/patsy/test_splines_crs_data.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,001 root INFO copying build/lib/patsy/highlevel.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,001 root INFO copying build/lib/patsy/eval.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,002 root INFO copying build/lib/patsy/build.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,002 root INFO copying build/lib/patsy/builtins.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,002 root INFO copying build/lib/patsy/__init__.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,002 root INFO copying build/lib/patsy/compat.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,002 root INFO copying build/lib/patsy/origin.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,002 root INFO copying build/lib/patsy/test_regressions.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,003 root INFO copying build/lib/patsy/mgcv_cubic_splines.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,003 root INFO copying build/lib/patsy/user_util.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,003 root INFO copying build/lib/patsy/redundancy.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,003 root INFO copying build/lib/patsy/constraint.py -> build/bdist.linux-ppc64le/wheel/patsy 2024-11-05 03:24:10,003 root INFO running install_egg_info 2024-11-05 03:24:10,008 root INFO running egg_info 2024-11-05 03:24:10,008 root INFO creating patsy.egg-info 2024-11-05 03:24:10,012 root INFO writing patsy.egg-info/PKG-INFO 2024-11-05 03:24:10,013 root INFO writing dependency_links to patsy.egg-info/dependency_links.txt 2024-11-05 03:24:10,013 root INFO writing requirements to patsy.egg-info/requires.txt 2024-11-05 03:24:10,013 root INFO writing top-level names to patsy.egg-info/top_level.txt 2024-11-05 03:24:10,014 root INFO writing manifest file 'patsy.egg-info/SOURCES.txt' 2024-11-05 03:24:10,019 root INFO reading manifest file 'patsy.egg-info/SOURCES.txt' 2024-11-05 03:24:10,019 root INFO reading manifest template 'MANIFEST.in' 2024-11-05 03:24:10,022 root WARNING no previously-included directories found matching 'doc/_build' 2024-11-05 03:24:10,022 root INFO adding license file 'LICENSE.txt' 2024-11-05 03:24:10,024 root INFO writing manifest file 'patsy.egg-info/SOURCES.txt' 2024-11-05 03:24:10,024 root INFO Copying patsy.egg-info to build/bdist.linux-ppc64le/wheel/patsy-0.5.6-py3.12.egg-info 2024-11-05 03:24:10,025 root INFO running install_scripts 2024-11-05 03:24:10,028 root INFO creating build/bdist.linux-ppc64le/wheel/patsy-0.5.6.dist-info/WHEEL 2024-11-05 03:24:10,028 wheel INFO creating '/home/buildozer/aports/community/py3-patsy/src/patsy-0.5.6/.dist/.tmp-za8p2lws/patsy-0.5.6-py2.py3-none-any.whl' and adding 'build/bdist.linux-ppc64le/wheel' to it 2024-11-05 03:24:10,029 wheel INFO adding 'patsy/__init__.py' 2024-11-05 03:24:10,029 wheel INFO adding 'patsy/build.py' 2024-11-05 03:24:10,029 wheel INFO adding 'patsy/builtins.py' 2024-11-05 03:24:10,029 wheel INFO adding 'patsy/categorical.py' 2024-11-05 03:24:10,030 wheel INFO adding 'patsy/compat.py' 2024-11-05 03:24:10,030 wheel INFO adding 'patsy/compat_ordereddict.py' 2024-11-05 03:24:10,030 wheel INFO adding 'patsy/constraint.py' 2024-11-05 03:24:10,030 wheel INFO adding 'patsy/contrasts.py' 2024-11-05 03:24:10,031 wheel INFO adding 'patsy/desc.py' 2024-11-05 03:24:10,031 wheel INFO adding 'patsy/design_info.py' 2024-11-05 03:24:10,031 wheel INFO adding 'patsy/eval.py' 2024-11-05 03:24:10,032 wheel INFO adding 'patsy/highlevel.py' 2024-11-05 03:24:10,032 wheel INFO adding 'patsy/infix_parser.py' 2024-11-05 03:24:10,032 wheel INFO adding 'patsy/mgcv_cubic_splines.py' 2024-11-05 03:24:10,032 wheel INFO adding 'patsy/missing.py' 2024-11-05 03:24:10,033 wheel INFO adding 'patsy/origin.py' 2024-11-05 03:24:10,033 wheel INFO adding 'patsy/parse_formula.py' 2024-11-05 03:24:10,033 wheel INFO adding 'patsy/redundancy.py' 2024-11-05 03:24:10,033 wheel INFO adding 'patsy/splines.py' 2024-11-05 03:24:10,033 wheel INFO adding 'patsy/state.py' 2024-11-05 03:24:10,034 wheel INFO adding 'patsy/test_build.py' 2024-11-05 03:24:10,034 wheel INFO adding 'patsy/test_highlevel.py' 2024-11-05 03:24:10,034 wheel INFO adding 'patsy/test_regressions.py' 2024-11-05 03:24:10,035 wheel INFO adding 'patsy/test_splines_bs_data.py' 2024-11-05 03:24:10,035 wheel INFO adding 'patsy/test_splines_crs_data.py' 2024-11-05 03:24:10,036 wheel INFO adding 'patsy/test_state.py' 2024-11-05 03:24:10,036 wheel INFO adding 'patsy/tokens.py' 2024-11-05 03:24:10,036 wheel INFO adding 'patsy/user_util.py' 2024-11-05 03:24:10,037 wheel INFO adding 'patsy/util.py' 2024-11-05 03:24:10,037 wheel INFO adding 'patsy/version.py' 2024-11-05 03:24:10,037 wheel INFO adding 'patsy-0.5.6.dist-info/LICENSE.txt' 2024-11-05 03:24:10,037 wheel INFO adding 'patsy-0.5.6.dist-info/METADATA' 2024-11-05 03:24:10,037 wheel INFO adding 'patsy-0.5.6.dist-info/WHEEL' 2024-11-05 03:24:10,038 wheel INFO adding 'patsy-0.5.6.dist-info/top_level.txt' 2024-11-05 03:24:10,038 wheel INFO adding 'patsy-0.5.6.dist-info/RECORD' 2024-11-05 03:24:10,038 root INFO removing build/bdist.linux-ppc64le/wheel 2024-11-05 03:24:10,040 gpep517 INFO The backend produced .dist/patsy-0.5.6-py2.py3-none-any.whl patsy-0.5.6-py2.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-patsy/src/patsy-0.5.6 configfile: setup.cfg testpaths: patsy plugins: cov-5.0.0, xdist-3.6.1 created: 64/64 workers 64 workers [148 items] ........................................................................ [ 48%] ................................F.......................F..FFFF......... [ 97%] .... [100%] =================================== FAILURES =================================== _________________________________ test_Center __________________________________ [gw62] linux -- Python 3.12.7 /home/buildozer/aports/community/py3-patsy/src/patsy-0.5.6/.testenv/bin/python3 def test_Center(): > check_stateful(Center, True, [1, 2, 3], [-1, 0, 1]) patsy/test_state.py:117: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ patsy/test_state.py:81: in check_stateful output_chunk = t.transform(input_chunk, *args, **kwargs) patsy/state.py:106: in transform x = asarray_or_pandas(x) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ a = np.int64(1), copy = False, dtype = None, subok = False def asarray_or_pandas(a, copy=False, dtype=None, subok=False): if have_pandas: if isinstance(a, (pandas.Series, pandas.DataFrame)): # The .name attribute on Series is discarded when passing through # the constructor: # https://github.com/pydata/pandas/issues/1578 extra_args = {} if hasattr(a, "name"): extra_args["name"] = a.name return a.__class__(a, copy=copy, dtype=dtype, **extra_args) > return np.array(a, copy=copy, dtype=dtype, subok=subok) 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. patsy/util.py:67: ValueError ----------------------------- Captured stdout call ----------------------------- [array([1, 2, 3])] [1 2 3] _______________________ test_stateful_transform_wrapper ________________________ [gw62] linux -- Python 3.12.7 /home/buildozer/aports/community/py3-patsy/src/patsy-0.5.6/.testenv/bin/python3 def test_stateful_transform_wrapper(): > assert np.allclose(center([1, 2, 3]), [-1, 0, 1]) patsy/test_state.py:124: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ patsy/state.py:48: in stateful_transform_wrapper return transform.transform(*args, **kwargs) patsy/state.py:106: in transform x = asarray_or_pandas(x) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ a = [1, 2, 3], copy = False, dtype = None, subok = False def asarray_or_pandas(a, copy=False, dtype=None, subok=False): if have_pandas: if isinstance(a, (pandas.Series, pandas.DataFrame)): # The .name attribute on Series is discarded when passing through # the constructor: # https://github.com/pydata/pandas/issues/1578 extra_args = {} if hasattr(a, "name"): extra_args["name"] = a.name return a.__class__(a, copy=copy, dtype=dtype, **extra_args) > return np.array(a, copy=copy, dtype=dtype, subok=subok) 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. patsy/util.py:67: ValueError ____________________________ test_asarray_or_pandas ____________________________ [gw14] linux -- Python 3.12.7 /home/buildozer/aports/community/py3-patsy/src/patsy-0.5.6/.testenv/bin/python3 def test_asarray_or_pandas(): import warnings > assert type(asarray_or_pandas([1, 2, 3])) is np.ndarray patsy/util.py:72: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ a = [1, 2, 3], copy = False, dtype = None, subok = False def asarray_or_pandas(a, copy=False, dtype=None, subok=False): if have_pandas: if isinstance(a, (pandas.Series, pandas.DataFrame)): # The .name attribute on Series is discarded when passing through # the constructor: # https://github.com/pydata/pandas/issues/1578 extra_args = {} if hasattr(a, "name"): extra_args["name"] = a.name return a.__class__(a, copy=copy, dtype=dtype, **extra_args) > return np.array(a, copy=copy, dtype=dtype, subok=subok) 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. patsy/util.py:67: ValueError ______________________________ test_formula_likes ______________________________ [gw53] linux -- Python 3.12.7 /home/buildozer/aports/community/py3-patsy/src/patsy-0.5.6/.testenv/bin/python3 def test_formula_likes(): # Plain array-like, rhs only > t([[1, 2, 3], [4, 5, 6]], {}, 0, False, [[1, 2, 3], [4, 5, 6]], ["x0", "x1", "x2"]) patsy/test_highlevel.py:150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ patsy/test_highlevel.py:104: in t rhs = f(formula_like, data, depth) patsy/highlevel.py:290: in dmatrix (lhs, rhs) = _do_highlevel_design(formula_like, data, eval_env, patsy/highlevel.py:181: in _do_highlevel_design (lhs, rhs) = (None, asarray_or_pandas(formula_like, subok=True)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ a = [[1, 2, 3], [4, 5, 6]], copy = False, dtype = None, subok = True def asarray_or_pandas(a, copy=False, dtype=None, subok=False): if have_pandas: if isinstance(a, (pandas.Series, pandas.DataFrame)): # The .name attribute on Series is discarded when passing through # the constructor: # https://github.com/pydata/pandas/issues/1578 extra_args = {} if hasattr(a, "name"): extra_args["name"] = a.name return a.__class__(a, copy=copy, dtype=dtype, **extra_args) > return np.array(a, copy=copy, dtype=dtype, subok=subok) 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. patsy/util.py:67: ValueError ________________________________ test_builtins _________________________________ [gw55] linux -- Python 3.12.7 /home/buildozer/aports/community/py3-patsy/src/patsy-0.5.6/.testenv/bin/python3 msg = 'Error evaluating factor', origin = EvalFactor('center(x)') f = > args = ('_patsy_stobj0__center__.transform(x)',) kwargs = {'inner_namespace': VarLookupDict([{}, {'x': [1, 2, 3], 'y': [4, 5, 6], 'a b c': [10, 20, 30]}, {'_patsy_stobj0__center__': }])} new_exc = PatsyError('Error evaluating factor: ValueError: Unable to avoid copy while creating an array as requested.\nIf using ...r more details, see https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword.') def call_and_wrap_exc(msg, origin, f, *args, **kwargs): try: > return f(*args, **kwargs) patsy/compat.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ patsy/eval.py:169: in eval return eval(code, {}, VarLookupDict([inner_namespace] patsy/state.py:106: in transform x = asarray_or_pandas(x) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ a = [1, 2, 3], copy = False, dtype = None, subok = False def asarray_or_pandas(a, copy=False, dtype=None, subok=False): if have_pandas: if isinstance(a, (pandas.Series, pandas.DataFrame)): # The .name attribute on Series is discarded when passing through # the constructor: # https://github.com/pydata/pandas/issues/1578 extra_args = {} if hasattr(a, "name"): extra_args["name"] = a.name return a.__class__(a, copy=copy, dtype=dtype, **extra_args) > return np.array(a, copy=copy, dtype=dtype, subok=subok) 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. patsy/util.py:67: ValueError The above exception was the direct cause of the following exception: def test_builtins(): data = {"x": [1, 2, 3], "y": [4, 5, 6], "a b c": [10, 20, 30]} t("0 + I(x + y)", data, 0, True, [[1], [2], [3], [4], [5], [6]], ["I(x + y)"]) t("Q('a b c')", data, 0, True, [[1, 10], [1, 20], [1, 30]], ["Intercept", "Q('a b c')"]) > t("center(x)", data, 0, True, [[1, -1], [1, 0], [1, 1]], ["Intercept", "center(x)"]) patsy/test_highlevel.py:498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ patsy/test_highlevel.py:83: in t builder = incr_dbuilder(formula_like, data_iter_maker, depth) patsy/highlevel.py:111: in incr_dbuilder design_infos = _try_incr_builders(formula_like, data_iter_maker, eval_env, patsy/highlevel.py:66: in _try_incr_builders return design_matrix_builders([formula_like.lhs_termlist, patsy/build.py:693: in design_matrix_builders cat_levels_contrasts) = _examine_factor_types(all_factors, patsy/build.py:443: in _examine_factor_types value = factor.eval(factor_states[factor], data) patsy/eval.py:568: in eval return self._eval(memorize_state["eval_code"], patsy/eval.py:551: in _eval return call_and_wrap_exc("Error evaluating factor", patsy/compat.py:43: in call_and_wrap_exc exec("raise new_exc from e") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E patsy.PatsyError: Error evaluating factor: 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. E center(x) E ^^^^^^^^^ :1: PatsyError _______________________________ test_incremental _______________________________ [gw55] linux -- Python 3.12.7 /home/buildozer/aports/community/py3-patsy/src/patsy-0.5.6/.testenv/bin/python3 msg = 'Error evaluating factor' origin = EvalFactor('center(np.sin(center(x)))') f = > args = ('_patsy_stobj0__center__.memorize_chunk(np.sin(_patsy_stobj1__center__.transform(x)))',) kwargs = {'inner_namespace': VarLookupDict([{}, {'a': ['a2', 'a2', 'a2'], 'x': [1, 2, 3]}, {'_patsy_stobj0__center__': , '_patsy_stobj1__center__': }])} new_exc = PatsyError('Error evaluating factor: ValueError: Unable to avoid copy while creating an array as requested.\nIf using ...r more details, see https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword.') def call_and_wrap_exc(msg, origin, f, *args, **kwargs): try: > return f(*args, **kwargs) patsy/compat.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ patsy/eval.py:169: in eval return eval(code, {}, VarLookupDict([inner_namespace] patsy/state.py:106: in transform x = asarray_or_pandas(x) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ a = [1, 2, 3], copy = False, dtype = None, subok = False def asarray_or_pandas(a, copy=False, dtype=None, subok=False): if have_pandas: if isinstance(a, (pandas.Series, pandas.DataFrame)): # The .name attribute on Series is discarded when passing through # the constructor: # https://github.com/pydata/pandas/issues/1578 extra_args = {} if hasattr(a, "name"): extra_args["name"] = a.name return a.__class__(a, copy=copy, dtype=dtype, **extra_args) > return np.array(a, copy=copy, dtype=dtype, subok=subok) 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. patsy/util.py:67: ValueError The above exception was the direct cause of the following exception: def test_incremental(): # incr_dbuilder(s) # stateful transformations datas = [ {"a": ["a2", "a2", "a2"], "x": [1, 2, 3]}, {"a": ["a2", "a2", "a1"], "x": [4, 5, 6]}, ] x = np.asarray([1, 2, 3, 4, 5, 6]) sin_center_x = np.sin(x - np.mean(x)) x_col = sin_center_x - np.mean(sin_center_x) def data_iter_maker(): return iter(datas) > builders = incr_dbuilders("1 ~ a + center(np.sin(center(x)))", data_iter_maker) patsy/test_highlevel.py:516: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ patsy/highlevel.py:129: in incr_dbuilders design_infos = _try_incr_builders(formula_like, data_iter_maker, eval_env, patsy/highlevel.py:66: in _try_incr_builders return design_matrix_builders([formula_like.lhs_termlist, patsy/build.py:689: in design_matrix_builders factor_states = _factors_memorize(all_factors, data_iter_maker, eval_env) patsy/build.py:368: in _factors_memorize factor.memorize_chunk(state, which_pass, data) patsy/eval.py:559: in memorize_chunk self._eval(state["memorize_code"][obj_name], patsy/eval.py:551: in _eval return call_and_wrap_exc("Error evaluating factor", patsy/compat.py:43: in call_and_wrap_exc exec("raise new_exc from e") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E patsy.PatsyError: Error evaluating factor: 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. E 1 ~ a + center(np.sin(center(x))) E ^^^^^^^^^^^^^^^^^^^^^^^^^ :1: PatsyError =========================== short test summary info ============================ FAILED patsy/test_state.py::test_Center - ValueError: Unable to avoid copy wh... FAILED patsy/test_state.py::test_stateful_transform_wrapper - ValueError: Una... FAILED patsy/util.py::test_asarray_or_pandas - ValueError: Unable to avoid co... FAILED patsy/test_highlevel.py::test_formula_likes - ValueError: Unable to av... FAILED patsy/test_highlevel.py::test_builtins - patsy.PatsyError: Error evalu... FAILED patsy/test_highlevel.py::test_incremental - patsy.PatsyError: Error ev... ======================== 6 failed, 142 passed in 58.46s ======================== /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-0595e474-24d2-4ad1-bc53-7895e1ee3ac9/popen-gw59/test_discovery_via_path_in_non0 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-0595e474-24d2-4ad1-bc53-7895e1ee3ac9/popen-gw59/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-0595e474-24d2-4ad1-bc53-7895e1ee3ac9/popen-gw59 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-0595e474-24d2-4ad1-bc53-7895e1ee3ac9/popen-gw59' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-0595e474-24d2-4ad1-bc53-7895e1ee3ac9 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-0595e474-24d2-4ad1-bc53-7895e1ee3ac9' warnings.warn( >>> ERROR: py3-patsy: check failed >>> py3-patsy: Uninstalling dependencies... (1/62) Purging .makedepends-py3-patsy (20241105.032408) (2/62) Purging py3-scipy-pyc (1.13.1-r1) (3/62) Purging py3-scipy (1.13.1-r1) (4/62) Purging py3-pooch-pyc (1.8.2-r0) (5/62) Purging py3-pooch (1.8.2-r0) (6/62) Purging py3-platformdirs-pyc (4.3.6-r0) (7/62) Purging py3-platformdirs (4.3.6-r0) (8/62) Purging py3-requests-pyc (2.32.3-r0) (9/62) Purging py3-requests (2.32.3-r0) (10/62) Purging py3-certifi-pyc (2024.8.30-r0) (11/62) Purging py3-certifi (2024.8.30-r0) (12/62) Purging py3-charset-normalizer-pyc (3.4.0-r0) (13/62) Purging py3-charset-normalizer (3.4.0-r0) (14/62) Purging py3-idna-pyc (3.10-r0) (15/62) Purging py3-idna (3.10-r0) (16/62) Purging py3-urllib3-pyc (1.26.20-r0) (17/62) Purging py3-urllib3 (1.26.20-r0) (18/62) Purging py3-numpy-pyc (2.1.2-r0) (19/62) Purging py3-numpy (2.1.2-r0) (20/62) Purging openblas (0.3.28-r0) (21/62) Purging py3-six-pyc (1.16.0-r9) (22/62) Purging py3-six (1.16.0-r9) (23/62) Purging py3-gpep517-pyc (16-r0) (24/62) Purging py3-gpep517 (16-r0) (25/62) Purging py3-installer-pyc (0.7.0-r2) (26/62) Purging py3-installer (0.7.0-r2) (27/62) Purging py3-setuptools-pyc (70.3.0-r0) (28/62) Purging py3-setuptools (70.3.0-r0) (29/62) Purging py3-wheel-pyc (0.43.0-r0) (30/62) Purging py3-wheel (0.43.0-r0) (31/62) Purging py3-pytest-xdist-pyc (3.6.1-r0) (32/62) Purging py3-pytest-xdist (3.6.1-r0) (33/62) Purging py3-execnet-pyc (2.1.1-r0) (34/62) Purging py3-execnet (2.1.1-r0) (35/62) Purging py3-pytest-cov-pyc (5.0.0-r0) (36/62) Purging py3-pytest-cov (5.0.0-r0) (37/62) Purging py3-pytest-pyc (8.3.3-r0) (38/62) Purging py3-pytest (8.3.3-r0) (39/62) Purging py3-iniconfig-pyc (2.0.0-r1) (40/62) Purging py3-iniconfig (2.0.0-r1) (41/62) Purging py3-packaging-pyc (24.1-r0) (42/62) Purging py3-packaging (24.1-r0) (43/62) Purging py3-parsing-pyc (3.1.4-r0) (44/62) Purging py3-parsing (3.1.4-r0) (45/62) Purging py3-pluggy-pyc (1.5.0-r0) (46/62) Purging py3-pluggy (1.5.0-r0) (47/62) Purging py3-py-pyc (1.11.0-r4) (48/62) Purging py3-py (1.11.0-r4) (49/62) Purging py3-coverage-pyc (7.5.1-r0) (50/62) Purging py3-coverage (7.5.1-r0) (51/62) Purging python3-pyc (3.12.7-r1) (52/62) Purging python3-pycache-pyc0 (3.12.7-r1) (53/62) Purging pyc (3.12.7-r1) (54/62) Purging python3 (3.12.7-r1) (55/62) Purging gdbm (1.24-r0) (56/62) Purging libbz2 (1.0.8-r6) (57/62) Purging libffi (3.4.6-r0) (58/62) Purging libgfortran (14.2.0-r4) (59/62) Purging libpanelw (6.5_p20241006-r2) (60/62) Purging mpdecimal (4.0.0-r0) (61/62) Purging sqlite-libs (3.47.0-r0) (62/62) Purging xz-libs (5.6.3-r0) Executing busybox-1.37.0-r6.trigger OK: 425 MiB in 101 packages