Fedora Account System
Red Hat Associate
Red Hat Customer
python-webob fails to build with Python 3.9.0a2: E AttributeError: 'Thread' object has no attribute 'isAlive' Indeed, isAlive was deprecated since 3.2 and removed in 3.9. Use is_alive instead. For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01140700-python-webob/ For all our attempts to build python-webob with Python 3.9, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/python-webob/ 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, but the initial bootstrapping has already started. A build failure this early in the bootstrap sequence blocks us very much.
Patch for fixing it: diff --git a/tests/conftest.py b/tests/conftest.py index ec47c86..174aebf 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -60,7 +60,7 @@ def serve(): log.debug("shutting server down") server.shutdown() worker.join(1) - if worker.isAlive(): + if worker.is_alive(): log.warning('worker is hanged') else: log.debug("server stopped")
https://src.fedoraproject.org/rpms/python-webob/pull-request/5
The PR is already merged and the package builds.