python-cocotb fails to build with Python 3.9.0a2. Traceback (most recent call last): File "/builddir/build/BUILD/cocotb-1.2.0/./bin/combine_results.py", line 85, in <module> rc = main() File "/builddir/build/BUILD/cocotb-1.2.0/./bin/combine_results.py", line 55, in main for ts in tree.getiterator("testsuite"): AttributeError: 'ElementTree' object has no attribute 'getiterator' See https://docs.python.org/3.9/whatsnew/3.9.html#removed "Methods getchildren() and getiterator() in the ElementTree module have been removed. They were deprecated in Python 3.2. Use functions list() and iter() instead. The xml.etree.cElementTree module has been removed." For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01168075-python-cocotb/ For all our attempts to build python-cocotb with Python 3.9, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/python-cocotb/ 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.9: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/ Let us know here if you have any questions. Python 3.9 will be included in Fedora 33. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.9. 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.
Thanks for the report! This should be fixed in cocotb 1.3, which I need to import and build (I sent a patch upstream [1] during the review process, but I never bothered to apply it downstream). I'll build 1.3 in Rawhide and then I guess it should automatically be pulled into the next round of builds in the copr? [1] https://github.com/cocotb/cocotb/pull/1123
Okay, well, the build is broken for a different reason now: DEBUG util.py:596: Error: DEBUG util.py:596: Problem: conflicting requests DEBUG util.py:596: - nothing provides libgnat-9.so()(64bit) needed by ghdl-0.37dev-9.20191224git38c38e7.fc32.x86_64 https://koji.fedoraproject.org/koji/taskinfo?taskID=40823380 ghdl is only needed to run (some of) the tests; it could be removed if necessary.
> it should automatically be pulled into the next round of builds in the copr? Yes, The copr should pick up any push automatically, it evens attempt to build Pull Requests. If it doesn't it will get picked next time I try to rebuild everything.
It looks like the most recent build succeeded in the copr, so I guess this can be closed now. https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/python-cocotb/
Yes, thanks!