kgabryje commented on PR #30134:
URL: https://github.com/apache/superset/pull/30134#issuecomment-2796091331

   > It looks like the Python unit tests on HEAD of master seem to have a 
different failure:
   > 
   > ```
   > 
/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/_pytest/config/__init__.py:331:
 PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style 
hookwrapper teardown.
   > Plugin: helpconfig, Hook: pytest_cmdline_parse
   > ConftestImportFailure: ModuleNotFoundError: No module named 
'wsgiref.types' (from /home/runner/work/superset/superset/tests/conftest.py)
   > For more information see 
https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning
   >   config = pluginmanager.hook.pytest_cmdline_parse(
   > ImportError while loading conftest 
'/home/runner/work/superset/superset/tests/conftest.py'.
   > tests/conftest.py:41: in <module>
   >     from tests.integration_tests.test_app import app
   > tests/integration_tests/test_app.py:20: in <module>
   >     from superset.app import create_app
   > superset/__init__.py:20: in <module>
   >     from superset.app import create_app  # noqa: F401
   > superset/app.py:21: in <module>
   >     from wsgiref.types import StartResponse, WSGIApplication, 
WSGIEnvironment
   > E   ModuleNotFoundError: No module named 'wsgiref.types'
   > ```
   > 
   > Is that expected?
   
   I think that the problem is that wsgiref types is available since Python 
3.11 and master branch runs on 3.10. But I can’t understand why those tests 
passed in this branch though…


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to