python-tables fails to build with Python 3.10.0a1. ====================================================================== FAIL: copy (tables.filters.Filters) Doctest: tables.filters.Filters.copy ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python3.10/doctest.py", line 2204, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for tables.filters.Filters.copy File "/builddir/build/BUILDROOT/python-tables-3.5.2-10.fc34.x86_64/usr/lib64/python3.10/site-packages/tables/filters.py", line 416, in copy ---------------------------------------------------------------------- File "/builddir/build/BUILDROOT/python-tables-3.5.2-10.fc34.x86_64/usr/lib64/python3.10/site-packages/tables/filters.py", line 441, in tables.filters.Filters.copy Failed example: filters1.copy(foobar=42) Expected: Traceback (most recent call last): ... TypeError: __init__() got an unexpected keyword argument 'foobar' Got: Traceback (most recent call last): File "/usr/lib64/python3.10/doctest.py", line 1336, in __run exec(compile(example.source, filename, "single", File "<doctest tables.filters.Filters.copy[8]>", line 1, in <module> filters1.copy(foobar=42) File "/builddir/build/BUILDROOT/python-tables-3.5.2-10.fc34.x86_64/usr/lib64/python3.10/site-packages/tables/filters.py", line 450, in copy return self.__class__(**newargs) TypeError: Filters.__init__() got an unexpected keyword argument 'foobar' ====================================================================== FAIL: copy (tables.atom.Atom) Doctest: tables.atom.Atom.copy ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python3.10/doctest.py", line 2204, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for tables.atom.Atom.copy File "/builddir/build/BUILDROOT/python-tables-3.5.2-10.fc34.x86_64/usr/lib64/python3.10/site-packages/tables/atom.py", line 559, in copy ---------------------------------------------------------------------- File "/builddir/build/BUILDROOT/python-tables-3.5.2-10.fc34.x86_64/usr/lib64/python3.10/site-packages/tables/atom.py", line 576, in tables.atom.Atom.copy Failed example: atom1.copy(foobar=42) Expected: Traceback (most recent call last): ... TypeError: __init__() got an unexpected keyword argument 'foobar' Got: Traceback (most recent call last): File "/usr/lib64/python3.10/doctest.py", line 1336, in __run exec(compile(example.source, filename, "single", File "<doctest tables.atom.Atom.copy[7]>", line 1, in <module> atom1.copy(foobar=42) File "/builddir/build/BUILDROOT/python-tables-3.5.2-10.fc34.x86_64/usr/lib64/python3.10/site-packages/tables/atom.py", line 584, in copy return self.__class__(**newargs) TypeError: _create_numeric_class.<locals>.__init__() got an unexpected keyword argument 'foobar' ---------------------------------------------------------------------- Ran 6385 tests in 201.512s FAILED (failures=2, skipped=44) error: Bad exit status from /var/tmp/rpm-tmp.Rv7J9v (%check) Bad exit status from /var/tmp/rpm-tmp.Rv7J9v (%check) For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/01741498-python-tables/ For all our attempts to build python-tables with Python 3.10, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/python-tables/ 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: https://copr.fedorainfracloud.org/coprs/g/python/python3.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.
I pushed a fix for this to dist-git. I didn't build because the fix is conditionalized on python version, and will have an effect only with python3.10. Do I need to do something special to build it in the python3.10 copr?
Thanks. Nope, the build runs automatically (most of the time): https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/python-tables/
Yeah, I see it's building already. The build passes locally, but let's see if copr likes it too.
https://copr.fedorainfracloud.org/coprs/g/python/python3.10/build/1770436/ was successful.