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
Bug 1914335 - python-tables fails to build with new NumPy
Summary: python-tables fails to build with new NumPy
Alias: None
Product: Fedora
Classification: Fedora
Component: python-tables
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Thibault North
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F34FTBFS PYTHON3.10
TreeView+ depends on / blocked
Reported: 2021-01-08 15:39 UTC by Miro Hrončok
Modified: 2021-01-24 16:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-01-24 16:07:02 UTC
Type: Bug

Attachments (Terms of Use)

Description Miro Hrončok 2021-01-08 15:39:27 UTC
python-tables fails to build with Python 3.10.0a4 and 3.9.1:

FAIL: from_sctype (tables.atom.Atom)
Doctest: tables.atom.Atom.from_sctype
Traceback (most recent call last):
  File "/usr/lib64/python3.9/", line 2204, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.atom.Atom.from_sctype
  File "/builddir/build/BUILDROOT/python-tables-3.6.1-1.fc34.x86_64/usr/lib64/python3.9/site-packages/tables/", line 326, in from_sctype
File "/builddir/build/BUILDROOT/python-tables-3.6.1-1.fc34.x86_64/usr/lib64/python3.9/site-packages/tables/", line 341, in tables.atom.Atom.from_sctype
Failed example:
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib64/python3.9/", line 1336, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest tables.atom.Atom.from_sctype[3]>", line 1, in <module>
      File "/builddir/build/BUILDROOT/python-tables-3.6.1-1.fc34.x86_64/usr/lib64/python3.9/site-packages/tables/", line 348, in from_sctype
        raise ValueError("unknown NumPy scalar type: %r" % (sctype,))
    ValueError: unknown NumPy scalar type: 'Float64'
Ran 6355 tests in 133.412s

For the build logs with Python 3.10, see:

For all our attempts to build python-tables with Python 3.10, see:

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.10:

Let us know here if you have any questions.

Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Fedora Release Engineering 2021-01-24 04:22:46 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 34.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-03-05).

A week before the mass branching of Fedora 35 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 33 will be
retired regardless of the status of this bug.


Comment 2 Zbigniew Jędrzejewski-Szmek 2021-01-24 16:07:02 UTC
Fix pushed to dist-git. A rebuild is not needed.

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