Skip to content

Conversation

@sl0thentr0py
Copy link
Member

@sl0thentr0py sl0thentr0py commented Jan 10, 2025

python 3.7 doesnt work on ubuntu 24.04

@codecov
Copy link

codecov bot commented Jan 10, 2025

❌ 352 Tests Failed:

Tests completed Failed Passed Skipped
20000 352 19648 4481
View the top 3 failed tests by shortest run time
 tests.integrations.celery.test_celery
Stack Traces | 0s run time
ImportError while importing test module '.../integrations/celery/test_celery.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
.tox/py3.7-celery-v5.1/lib/python3.7.../site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
.tox/py3.7-celery-v5.1/lib/python3.7.../site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
.../hostedtoolcache/Python/3.7.17.../x64/lib/python3.7/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1006: in _gcd_import
    ???
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:677: in _load_unlocked
    ???
.tox/py3.7-celery-v5.1/lib/python3.7.../_pytest/assertion/rewrite.py:186: in exec_module
    exec(co, module.__dict__)
.../integrations/celery/test_celery.py:6: in <module>
    from celery import Celery, VERSION
E   ImportError: cannot import name 'Celery' from 'celery' (.../sentry-python/sentry-python/.tox/py3.7-celery-v5.1/lib/python3.7.../site-packages/celery/__init__.py)
 tests.integrations.celery.test_celery_beat_crons
Stack Traces | 0s run time
ImportError while importing test module '.../integrations/celery/test_celery_beat_crons.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
.tox/py3.7-celery-v5.1/lib/python3.7.../site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
.tox/py3.7-celery-v5.1/lib/python3.7.../site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
.../hostedtoolcache/Python/3.7.17.../x64/lib/python3.7/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1006: in _gcd_import
    ???
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:677: in _load_unlocked
    ???
.tox/py3.7-celery-v5.1/lib/python3.7.../_pytest/assertion/rewrite.py:186: in exec_module
    exec(co, module.__dict__)
.../integrations/celery/test_celery_beat_crons.py:6: in <module>
    from celery.schedules import crontab, schedule
.tox/py3.7-celery-v5.1/lib/python3.7.../site-packages/celery/schedules.py:12: in <module>
    from . import current_app
E   ImportError: cannot import name 'current_app' from 'celery' (.../sentry-python/sentry-python/.tox/py3.7-celery-v5.1/lib/python3.7.../site-packages/celery/__init__.py)
pytest internal
Stack Traces | 0s run time
Traceback (most recent call last):
  File ".../sentry-python/sentry-python/.tox/py3.7-falcon-v1/lib/python3.7....../site-packages/_pytest/main.py", line 271, in wrap_session
    session.exitstatus = doit(config, session) or 0
  File ".../sentry-python/sentry-python/.tox/py3.7-falcon-v1/lib/python3.7....../site-packages/_pytest/main.py", line 325, in _main
    config.hook.pytest_runtestloop(session=session)
  File ".../sentry-python/sentry-python/.tox/py3.7-falcon-v1/lib/python3.7.../site-packages/pluggy/_hooks.py", line 433, in __call__
    return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
  File ".../sentry-python/sentry-python/.tox/py3.7-falcon-v1/lib/python3.7.../site-packages/pluggy/_manager.py", line 112, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File ".../sentry-python/sentry-python/.tox/py3.7-falcon-v1/lib/python3.7.../site-packages/pluggy/_callers.py", line 133, in _multicall
    teardown[0].send(outcome)
  File ".../sentry-python/sentry-python/.tox/py3.7-falcon-v1/lib/python3.7.../site-packages/pytest_cov/plugin.py", line 298, in pytest_runtestloop
    self.cov_controller.finish()
  File ".../sentry-python/sentry-python/.tox/py3.7-falcon-v1/lib/python3.7....../site-packages/pytest_cov/engine.py", line 44, in ensure_topdir_wrapper
    return meth(self, *args, **kwargs)
  File ".../sentry-python/sentry-python/.tox/py3.7-falcon-v1/lib/python3.7....../site-packages/pytest_cov/engine.py", line 249, in finish
    self.cov.stop()
  File ".../sentry-python/sentry-python/.tox/py3.7-falcon-v1/lib/python3.7.../site-packages/coverage/control.py", line 815, in combine
    message=self._message,
  File ".../sentry-python/sentry-python/.tox/py3.7-falcon-v1/lib/python3.7.../site-packages/coverage/data.py", line 148, in combine_parallel_data
    with open(f, "rb") as fobj:
FileNotFoundError: [Errno 2] No such file or directory: '.../sentry-python/sentry-python/.coverage-sentry-py3.7-falcon-v1.4.fv-az658-476.3450.091286'

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@sl0thentr0py sl0thentr0py merged commit 525d156 into potel-base Jan 10, 2025
74 of 122 checks passed
@sl0thentr0py sl0thentr0py deleted the neel/potel/pin-ubunti branch January 10, 2025 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants