Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 5.3.6 to 5.4.1 - test failed #2100

Open
coogor opened this issue Oct 4, 2024 · 1 comment
Open

Update 5.3.6 to 5.4.1 - test failed #2100

coogor opened this issue Oct 4, 2024 · 1 comment
Labels

Comments

@coogor
Copy link

coogor commented Oct 4, 2024

Hello,
I'm trying to upgrade from 5.3.6 to 5.4.1 for openSUSE Tumbleweed (Rolling Release) and run into a test error:

[code]

[    9s] + python3.10 -m unittest -v test_socketio.py
[   10s] Traceback (most recent call last):
[   10s]   File "/usr/lib64/python3.10/runpy.py", line 196, in _run_module_as_main
[   10s]     return _run_code(code, main_globals, None,
[   10s]   File "/usr/lib64/python3.10/runpy.py", line 86, in _run_code
[   10s]     exec(code, run_globals)
[   10s]   File "/usr/lib64/python3.10/unittest/__main__.py", line 18, in <module>
[   10s]     main(module=None)
[   10s]   File "/usr/lib64/python3.10/unittest/main.py", line 100, in __init__
[   10s]     self.parseArgs(argv)
[   10s]   File "/usr/lib64/python3.10/unittest/main.py", line 147, in parseArgs
[   10s]     self.createTests()
[   10s]   File "/usr/lib64/python3.10/unittest/main.py", line 158, in createTests
[   10s]     self.test = self.testLoader.loadTestsFromNames(self.testNames,
[   10s]   File "/usr/lib64/python3.10/unittest/loader.py", line 220, in loadTestsFromNames
[   10s]     suites = [self.loadTestsFromName(name, module) for name in names]
[   10s]   File "/usr/lib64/python3.10/unittest/loader.py", line 220, in <listcomp>
[   10s]     suites = [self.loadTestsFromName(name, module) for name in names]
[   10s]   File "/usr/lib64/python3.10/unittest/loader.py", line 154, in loadTestsFromName
[   10s]     module = __import__(module_name)
[   10s]   File "/home/abuild/rpmbuild/BUILD/flask_socketio-5.4.1/test_socketio.py", line 11, in <module>
[   10s]     socketio = SocketIO(app)
[   10s]   File "/home/abuild/rpmbuild/BUILDROOT/python-Flask-SocketIO-5.4.1-0.x86_64/usr/lib/python3.10/site-packages/flask_socketio/__init__.py", line 187, in __init__
[   10s]     self.init_app(app, **kwargs)
[   10s]   File "/home/abuild/rpmbuild/BUILDROOT/python-Flask-SocketIO-5.4.1-0.x86_64/usr/lib/python3.10/site-packages/flask_socketio/__init__.py", line 243, in init_app
[   10s]     self.server = socketio.Server(**self.server_options)
[   10s]   File "/usr/lib/python3.10/site-packages/socketio/base_server.py", line 31, in __init__
[   10s]     self.eio = self._engineio_server_class()(**engineio_options)
[   10s]   File "/usr/lib/python3.10/site-packages/engineio/base_server.py", line 81, in __init__
[   10s]     raise ValueError('Invalid async_mode specified')
[   10s] ValueError: Invalid async_mode specified
[   10s] error: Bad exit status from /var/tmp/rpm-tmp.vl0P2D (%check)

[/code]

Any idea?
Thanks

@miguelgrinberg
Copy link
Owner

I don't know what to suggest, as the tests pass on my CI. My guess is that this isn't related to the update but to some other condition in your environment, like maybe the dependencies that you have installed or any changes or patches you may have applied to the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants