Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710030 - dev-python/pandas-0.24.2 type object 'pandas._libs.tslibs.conversion._TSObject' has no attribute '__reduce_cython__'
Summary: dev-python/pandas-0.24.2 type object 'pandas._libs.tslibs.conversion._TSObje...
Status: RESOLVED FIXED
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:
: 710062 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-02-18 14:01 UTC by Andrew Ammerlaan
Modified: 2020-08-18 11:36 UTC (History)
2 users (show)

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


Attachments
buildlog without MAKEOPTS=j1 (buildlog.tar.gz,46.74 KB, application/gzip)
2020-02-18 14:03 UTC, Andrew Ammerlaan
Details
emerge --inof (emerge-info,6.67 KB, text/plain)
2020-02-18 14:04 UTC, Andrew Ammerlaan
Details
buildlog with MAKEOPTS=j1 (buildlog_1.tar.gz,46.81 KB, application/gzip)
2020-02-18 15:00 UTC, Andrew Ammerlaan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Ammerlaan gentoo-dev 2020-02-18 14:01:19 UTC
Pandas-0.24.2 seems to behave differently if it is built with MAKEOPTS=-j1. If it is built without MAKEOPTS=-j1, tests on dev-python/spyder fail:
============================================ 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 !!!!!!!!!!!!!!!!!!!!!!!!!!!!

It works just fine if pandas is built with MAKEOPTS=j1
Comment 1 Andrew Ammerlaan gentoo-dev 2020-02-18 14:03:25 UTC
Created attachment 614246 [details]
buildlog without MAKEOPTS=j1
Comment 2 Andrew Ammerlaan gentoo-dev 2020-02-18 14:04:59 UTC
Created attachment 614248 [details]
emerge --inof
Comment 3 Joonas Niilola gentoo-dev 2020-02-18 14:32:39 UTC
*** Bug 710062 has been marked as a duplicate of this bug. ***
Comment 4 Andrew Ammerlaan gentoo-dev 2020-02-18 15:00:49 UTC
Created attachment 614254 [details]
buildlog with MAKEOPTS=j1
Comment 5 Pacho Ramos gentoo-dev 2020-06-07 10:42:17 UTC
can you retry with 1.0.4?
Comment 6 Andrew Ammerlaan gentoo-dev 2020-06-07 12:33:44 UTC
(In reply to Pacho Ramos from comment #5)
> can you retry with 1.0.4?

Tests on spyder seem to pass just fine now with pandas-1.0.4 (without MAKEOPTS=-j1)

791 passed, 96 skipped, 3 xfailed, 68 warnings in 136.97s (0:02:16)