Hide Forgot
python-eventlet fails to build with Python 3.10.0a4. + sphinx-build-3.10 -b html -d doctrees doc html-3 Running Sphinx v3.3.1 Configuration error: There is a programmable error in your configuration file: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/sphinx/config.py", line 319, in eval_config_file execfile_(filename, namespace) File "/usr/lib/python3.10/site-packages/sphinx/util/pycompat.py", line 89, in execfile_ exec(code, _globals) File "/builddir/build/BUILD/eventlet-0.30.0/doc/conf.py", line 52, in <module> import eventlet File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/__init__.py", line 17, in <module> from eventlet import convenience File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/convenience.py", line 7, in <module> from eventlet.green import socket File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/green/socket.py", line 4, in <module> __import__('eventlet.green._socket_nodns') File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/green/_socket_nodns.py", line 11, in <module> from eventlet import greenio File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/greenio/__init__.py", line 3, in <module> from eventlet.greenio.base import * # noqa File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/greenio/base.py", line 32, in <module> socket_timeout = eventlet.timeout.wrap_is_timeout(socket.timeout) File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/timeout.py", line 166, in wrap_is_timeout base.is_timeout = property(lambda _: True) TypeError: can't set attributes of built-in/extension type 'TimeoutError' For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/01860849-python-eventlet/ For all our attempts to build python-eventlet with Python 3.10, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/python-eventlet/ 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.
Disabling the docs gets us no further: + nosetests-3.10 -v Failure: TypeError (can't set attributes of built-in/extension type 'TimeoutError') ... ERROR Failure: AttributeError (partially initialized module 'eventlet' has no attribute 'patcher' (most likely due to a circular import)) ... ERROR Failure: AttributeError (partially initialized module 'eventlet' has no attribute 'patcher' (most likely due to a circular import)) ... ERROR ====================================================================== ERROR: Failure: TypeError (can't set attributes of built-in/extension type 'TimeoutError') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.10/site-packages/nose/loader.py", line 416, in loadTestsFromName module = self.importer.importFromPath( File "/usr/lib/python3.10/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.10/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib64/python3.10/imp.py", line 244, in load_module return load_package(name, filename) File "/usr/lib64/python3.10/imp.py", line 216, in load_package return _load(spec) File "<frozen importlib._bootstrap>", line 729, in _load File "<frozen importlib._bootstrap>", line 698, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 833, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/builddir/build/BUILD/eventlet-0.30.0/benchmarks/__init__.py", line 12, in <module> import eventlet File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/__init__.py", line 17, in <module> from eventlet import convenience File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/convenience.py", line 7, in <module> from eventlet.green import socket File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/green/socket.py", line 4, in <module> __import__('eventlet.green._socket_nodns') File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/green/_socket_nodns.py", line 11, in <module> from eventlet import greenio File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/greenio/__init__.py", line 3, in <module> from eventlet.greenio.base import * # noqa File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/greenio/base.py", line 32, in <module> socket_timeout = eventlet.timeout.wrap_is_timeout(socket.timeout) File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/timeout.py", line 166, in wrap_is_timeout base.is_timeout = property(lambda _: True) TypeError: can't set attributes of built-in/extension type 'TimeoutError' ====================================================================== ERROR: Failure: AttributeError (partially initialized module 'eventlet' has no attribute 'patcher' (most likely due to a circular import)) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.10/site-packages/nose/loader.py", line 416, in loadTestsFromName module = self.importer.importFromPath( File "/usr/lib/python3.10/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.10/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib64/python3.10/imp.py", line 244, in load_module return load_package(name, filename) File "/usr/lib64/python3.10/imp.py", line 216, in load_package return _load(spec) File "<frozen importlib._bootstrap>", line 729, in _load File "<frozen importlib._bootstrap>", line 698, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 833, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/__init__.py", line 17, in <module> from eventlet import convenience File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/convenience.py", line 7, in <module> from eventlet.green import socket File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/green/socket.py", line 4, in <module> __import__('eventlet.green._socket_nodns') File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/green/_socket_nodns.py", line 7, in <module> eventlet.patcher.slurp_properties(__socket, globals(), ignore=__patched__, srckeys=dir(__socket)) AttributeError: partially initialized module 'eventlet' has no attribute 'patcher' (most likely due to a circular import) ====================================================================== ERROR: Failure: AttributeError (partially initialized module 'eventlet' has no attribute 'patcher' (most likely due to a circular import)) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.10/site-packages/nose/loader.py", line 416, in loadTestsFromName module = self.importer.importFromPath( File "/usr/lib/python3.10/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.10/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib64/python3.10/imp.py", line 244, in load_module return load_package(name, filename) File "/usr/lib64/python3.10/imp.py", line 216, in load_package return _load(spec) File "<frozen importlib._bootstrap>", line 729, in _load File "<frozen importlib._bootstrap>", line 698, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 833, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/builddir/build/BUILD/eventlet-0.30.0/tests/__init__.py", line 25, in <module> import eventlet File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/__init__.py", line 17, in <module> from eventlet import convenience File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/convenience.py", line 7, in <module> from eventlet.green import socket File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/green/socket.py", line 4, in <module> __import__('eventlet.green._socket_nodns') File "/builddir/build/BUILD/eventlet-0.30.0/eventlet/green/_socket_nodns.py", line 7, in <module> eventlet.patcher.slurp_properties(__socket, globals(), ignore=__patched__, srckeys=dir(__socket)) AttributeError: partially initialized module 'eventlet' has no attribute 'patcher' (most likely due to a circular import) ---------------------------------------------------------------------- Ran 3 tests in 0.043s FAILED (errors=3)
Hello, is there any update on this?
I have not had a chance to look into this, so no, no update.
Tomáš, let'' report this upstream please: https://github.com/eventlet/eventlet/issues I imagine Kevin is swamped with infra things.
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.
Upstream issue: https://github.com/eventlet/eventlet/issues/687