Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932480 - dev-python/patsy-0.5.6 fails tests: FAILED test_highlevel.py::test_formula_likes - ValueError: Unable to avoid copy while creating an array as requested
Summary: dev-python/patsy-0.5.6 fails tests: FAILED test_highlevel.py::test_formula_li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 930951
  Show dependency tree
 
Reported: 2024-05-22 14:55 UTC by Agostino Sarubbo
Modified: 2024-06-30 18:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,176.67 KB, text/plain)
2024-05-22 14:55 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-05-22 14:55:25 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/patsy-0.5.6 fails tests.
Discovered on: amd64 (internal ref: gcc14_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-05-22 14:55:26 UTC
Created attachment 893864 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-05-22 14:55:27 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


        new_exc    = PatsyError('Error evaluating factor: ValueError: Unable to avoid copy while creating an array as requested.
E       ValueError: Unable to avoid copy while creating an array as requested.
E   patsy.PatsyError: Error evaluating factor: ValueError: Unable to avoid copy while creating an array as requested.
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
FAILED patsy/test_highlevel.py::test_builtins - patsy.PatsyError: Error evaluating factor: ValueError: Unable to avoid copy while creating an array as requested.
FAILED patsy/test_highlevel.py::test_formula_likes - ValueError: Unable to avoid copy while creating an array as requested.
FAILED patsy/test_highlevel.py::test_incremental - patsy.PatsyError: Error evaluating factor: ValueError: Unable to avoid copy while creating an array as requested.
FAILED patsy/test_state.py::test_Center - ValueError: Unable to avoid copy while creating an array as requested.
FAILED patsy/test_state.py::test_stateful_transform_wrapper - ValueError: Unable to avoid copy while creating an array as requested.
FAILED patsy/util.py::test_asarray_or_pandas - ValueError: Unable to avoid copy while creating an array as requested.
For more details, see https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword.')
If using ...r more details, see https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword.')
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).
new_exc    = PatsyError('Error evaluating factor: ValueError: Unable to avoid copy while creating an array as requested.
new_exc = PatsyError('Error evaluating factor: ValueError: Unable to avoid copy while creating an array as requested.
patsy/test_highlevel.py::test_builtins FAILED                         [111/148]
patsy/test_highlevel.py::test_formula_likes FAILED                    [106/148]
patsy/test_highlevel.py::test_incremental FAILED                      [112/148]
patsy/test_state.py::test_Center FAILED                               [125/148]
patsy/test_state.py::test_stateful_transform_wrapper FAILED           [126/148]
patsy/util.py::test_asarray_or_pandas FAILED                          [133/148]
Comment 3 Larry the Git Cow gentoo-dev 2024-06-30 02:52:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc1d6783a8580929079c7ef61bd8a898a2e109ea

commit dc1d6783a8580929079c7ef61bd8a898a2e109ea
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-06-30 01:39:03 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-06-30 01:39:03 +0000

    dev-python/patsy: Require <dev-python/numpy-2
    
    Closes: https://bugs.gentoo.org/932480
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/patsy/{patsy-0.5.6.ebuild => patsy-0.5.6-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)