python-exdir fails to build with Python 3.14.0b1. _________________ ERROR at setup of test_quantities_attributes _________________ tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_quantities_attributes0') @pytest.fixture def quantities_tmpfile(tmpdir): testpath = pathlib.Path(tmpdir.strpath) / "test.exdir" > f = exdir.File(testpath, mode="w", plugins=exdir.plugins.quantities) tests/conftest.py:79: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.14/site-packages/exdir/core/exdir_file.py:85: in __init__ self.plugin_manager = exdir.plugin_interface.plugin_interface.Manager(plugins) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <exdir.plugin_interface.plugin_interface.Manager object at 0x7f5ad849dcd0> plugins = <module 'exdir.plugins.quantities' from '/builddir/build/BUILD/python-exdir-0.5.0.1-build/BUILDROOT/usr/lib/python3.14/site-packages/exdir/plugins/quantities.py'> def __init__(self, plugins): file_plugins = [] group_plugins = [] dataset_plugins = [] attribute_plugins = [] raw_plugins = [] if plugins is None: plugins = [] # make iterable if not already so try: _ = (e for e in plugins) except TypeError: plugins = [plugins] self.plugins = [] > for plugin in plugins: E TypeError: 'module' object is not iterable ../BUILDROOT/usr/lib/python3.14/site-packages/exdir/plugin_interface/plugin_interface.py:289: TypeError __________________________________ test_noop ___________________________________ setup_teardown_folder = (PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_noop0'), PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_noop0/test.exdir'), PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_noop0/exdir_dir')) def test_noop(setup_teardown_folder): class DatasetPlugin(exdir.plugin_interface.Dataset): def prepare_read(self, dataset_data): return dataset_data def prepare_write(self, dataset_data): return dataset_data noop = exdir.plugin_interface.Plugin( "noop", dataset_plugins=[DatasetPlugin()] ) > f = exdir.File(setup_teardown_folder[1], 'w', plugins=noop) tests/test_plugins.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.14/site-packages/exdir/core/exdir_file.py:85: in __init__ self.plugin_manager = exdir.plugin_interface.plugin_interface.Manager(plugins) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <exdir.plugin_interface.plugin_interface.Manager object at 0x7f5ad8865650> plugins = <exdir.plugin_interface.plugin_interface.Plugin object at 0x7f5ad864a7b0> def __init__(self, plugins): file_plugins = [] group_plugins = [] dataset_plugins = [] attribute_plugins = [] raw_plugins = [] if plugins is None: plugins = [] # make iterable if not already so try: _ = (e for e in plugins) except TypeError: plugins = [plugins] self.plugins = [] > for plugin in plugins: E TypeError: 'Plugin' object is not iterable https://docs.python.org/3.14/whatsnew/3.14.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.14-b1/fedora-rawhide-x86_64/09062447-python-exdir/ For all our attempts to build python-exdir with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/package/python-exdir/ 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.14: https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/ Let us know here if you have any questions. Python 3.14 is planned to be included in Fedora 43. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.14. 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.
Patch sent upstream and applied downstream: https://src.fedoraproject.org/rpms/python-exdir/pull-request/5
*** Bug 2371894 has been marked as a duplicate of this bug. ***