Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710062 - dev-python/pandas: weird runtime issues when compiled with default MAKEOPTS
Summary: dev-python/pandas: weird runtime issues when compiled with default MAKEOPTS
Status: RESOLVED DUPLICATE of bug 710030
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-18 14:28 UTC by Joonas Niilola
Modified: 2020-02-18 14:32 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joonas Niilola gentoo-dev 2020-02-18 14:28:12 UTC
[ebuild   R    ] dev-python/pandas-0.24.2::gentoo  USE="X (-doc) -full-support -minimal -test" PYTHON_TARGETS="python3_6 python3_7" 0 KiB

If I compile it with default settings, 
  MAKEOPTS="-j16 -l16"

I start getting these weird assertion errors:
============================================ ERRORS ============================================
__________________ ERROR collecting spyder_kernels/utils/tests/test_nsview.py __________________
spyder_kernels/utils/tests/test_nsview.py:18: in <module>
    import pandas as pd
/usr/lib64/python3.6/site-packages/pandas/__init__.py:26: in <module>
    from pandas._libs import (hashtable as _hashtable,
/usr/lib64/python3.6/site-packages/pandas/_libs/__init__.py:4: in <module>
    from .tslibs import (
/usr/lib64/python3.6/site-packages/pandas/_libs/tslibs/__init__.py:4: in <module>
    from .conversion import normalize_date, localize_pydatetime, tz_convert_single
pandas/_libs/tslibs/conversion.pyx:234: in init pandas._libs.tslibs.conversion
    ???
E   AttributeError: type object 'pandas._libs.tslibs.conversion._TSObject' has no attribute '__reduce_cython__'
!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!

On different packages that import from pandas.

It is weirdly fixed by emerging pandas with MAKEOPTS="-j1". Maybe the installation phase can't keep up with higher MAKEOPTS?

Fast-fix: Just export MAKEOPTS="-j1" in the ebuild.
Comment 1 Joonas Niilola gentoo-dev 2020-02-18 14:32:39 UTC

*** This bug has been marked as a duplicate of bug 710030 ***