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 1718246
Summary: | python-tables fails to build with Python 3.8 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | python-tables | Assignee: | Thibault North <thibault.north> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | sergio.pasra, thibault.north, zbyszek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/python-tables/ | ||
Whiteboard: | |||
Fixed In Version: | python-tables-3.5.2-3.fc31 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-07-12 12:14:25 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1686977, 1705462 |
Description
Miro Hrončok
2019-06-07 11:17:21 UTC
+ PYTHONPATH=/builddir/build/BUILDROOT/python-tables-3.5.2-1.fc31.x86_64/usr/lib64/python3.8/site-packages + /usr/bin/python3 bench/check_all.py Traceback (most recent call last): File "bench/check_all.py", line 1, in <module> import sys, tables; sys.exit(tables.test(verbose=1)) File "/builddir/build/BUILDROOT/python-tables-3.5.2-1.fc31.x86_64/usr/lib64/python3.8/site-packages/tables/__init__.py", line 131, in <module> from .file import File, open_file, copy_file File "/builddir/build/BUILDROOT/python-tables-3.5.2-1.fc31.x86_64/usr/lib64/python3.8/site-packages/tables/file.py", line 55, in <module> from .table import Table File "/builddir/build/BUILDROOT/python-tables-3.5.2-1.fc31.x86_64/usr/lib64/python3.8/site-packages/tables/table.py", line 44, in <module> from .index import ( File "/builddir/build/BUILDROOT/python-tables-3.5.2-1.fc31.x86_64/usr/lib64/python3.8/site-packages/tables/index.py", line 26, in <module> from time import time, clock ImportError: cannot import name 'clock' from 'time' (unknown location) error: Bad exit status from /var/tmp/rpm-tmp.Q8DRnt (%check) clock.time was deprecated and now it is removed. $ python3.7 -c 'from time import clock; clock()' -c:1: DeprecationWarning: time.clock has been deprecated in Python 3.3 and will be removed from Python 3.8: use time.perf_counter or time.process_time instead 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, after the side tag is merged. Furthermore, as it fails to install, its dependent packages will fail to install and/or build as well. The fix should be pushed on the master branch and no release bump is required. 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.8: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/ This issue needs to be resolved by next week, if other rebuilds of Python 3.8 beta 1 go well. If this is unrealistic for you, let us know how much time you need. If you don't have free cycles to dedicate fixing your package, notify us and we'll try to provide some pointers. Let us know if we can push a fix directly without a pull request, in the case we happen to have one before you do. We recommend always consulting with upstream, chances are this is already fixed there. Please respond. Upstream is not aware. I have created an issue. https://github.com/PyTables/PyTables/issues/744 A quick fix could be to change anywhere in the code from time import clock by from time import perf_counter as clock Build in rawhide and copr: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/build/968717/ The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |