Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1750695 - python-nistats fails to build with Python 3.8 on Fedora 32+
Summary: python-nistats fails to build with Python 3.8 on Fedora 32+
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-nistats
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-09-10 09:36 UTC by Miro Hrončok
Modified: 2019-09-10 10:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-10 10:47:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2019-09-10 09:36:28 UTC
python-nistats fails to build with Python 3.8.0b4 in Fedora 32.

See the build failures at https://koji.fedoraproject.org/koji/search?match=glob&type=package&terms=python-nistats

======================================================================
ERROR: nistats.tests.test_dmtx.test_csv_io
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/builddir/build/BUILD/nistats-rel0.0.1b/nistats/tests/test_dmtx.py", line 465, in test_csv_io
    DM2 = pd.DataFrame().from_csv(path)
  File "/usr/lib64/python3.8/site-packages/pandas/core/generic.py", line 5179, in __getattr__
    return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'from_csv'
----------------------------------------------------------------------
Ran 126 tests in 79.446s
FAILED (errors=1)

It is not important whether the problem is relevant to Python 3.8, this issue is blocking the Python 3.8 rebuilds.
If this package won't build with 3.8, it won't be installable, along with all its dependent packages, in Fedora 32 and further.

Furthermore, as it fails to install, its dependent packages will fail to install and/or build as well.

Please rebuild the package in Fedora 32 (rawhide).

Let us know here if you have any questions. Thank You!

Comment 1 Ankur Sinha (FranciscoD) 2019-09-10 10:47:38 UTC
Was a pandas issue rather then a py3.8---the from_csv method call is no longer part of pandas.DataFrame.

Fixed in rawhide.

Comment 2 Miro Hrončok 2019-09-10 10:50:20 UTC
Thanks.


Note You need to log in before you can comment on or make changes to this bug.