Commit ae06ef1
authored
fix(ci): Remove tracerite pin (almost) (#4504)
This reverts commit 3f9acc4.
- tracerite 1.12 contained syntax that did not work on Python 3.x
- tracerite 1.13 was then released, containing a fix
- however, on Python 3.8 newest tracerite seems to be using importlib
features that were only added in 3.9 (see below), so still pinning it to
an older version there
```
Traceback:
.tox/py3.8-sanic-v24.6/lib/python3.8/site-packages/_pytest/python.py:493: in importtestmodule
mod = import_path(
.tox/py3.8-sanic-v24.6/lib/python3.8/site-packages/_pytest/pathlib.py:587: in import_path
importlib.import_module(module_name)
../../.pyenv/versions/3.8.18/lib/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
???
<frozen importlib._bootstrap>:991: in _find_and_load
???
<frozen importlib._bootstrap>:961: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
???
<frozen importlib._bootstrap>:1014: in _gcd_import
???
<frozen importlib._bootstrap>:991: in _find_and_load
???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:671: in _load_unlocked
???
<frozen importlib._bootstrap_external>:843: in exec_module
???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
???
tests/integrations/sanic/__init__.py:3: in <module>
import sanic
.tox/py3.8-sanic-v24.6/lib/python3.8/site-packages/sanic/__init__.py:6: in <module>
from sanic.app import Sanic
.tox/py3.8-sanic-v24.6/lib/python3.8/site-packages/sanic/app.py:58: in <module>
from sanic.application.state import ApplicationState, ServerStage
.tox/py3.8-sanic-v24.6/lib/python3.8/site-packages/sanic/application/state.py:13: in <module>
from sanic.server.async_server import AsyncioServer
.tox/py3.8-sanic-v24.6/lib/python3.8/site-packages/sanic/server/__init__.py:5: in <module>
from sanic.server.runners import serve
.tox/py3.8-sanic-v24.6/lib/python3.8/site-packages/sanic/server/runners.py:6: in <module>
from sanic.config import Config
.tox/py3.8-sanic-v24.6/lib/python3.8/site-packages/sanic/config.py:13: in <module>
from sanic.errorpages import DEFAULT_FORMAT, check_error_format
.tox/py3.8-sanic-v24.6/lib/python3.8/site-packages/sanic/errorpages.py:27: in <module>
from sanic.pages.error import ErrorPage
.tox/py3.8-sanic-v24.6/lib/python3.8/site-packages/sanic/pages/error.py:3: in <module>
import tracerite.html
.tox/py3.8-sanic-v24.6/lib/python3.8/site-packages/tracerite/__init__.py:1: in <module>
from .html import html_traceback
.tox/py3.8-sanic-v24.6/lib/python3.8/site-packages/tracerite/html.py:5: in <module>
from importlib.resources import files
E ImportError: cannot import name 'files' from 'importlib.resources' (/Users/ivana/.pyenv/versions/3.8.18/lib/python3.8/importlib/resources.py)
```1 parent d39599f commit ae06ef1
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
330 | 329 | | |
331 | 330 | | |
332 | 331 | | |
| 332 | + | |
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
490 | | - | |
491 | 490 | | |
492 | 491 | | |
493 | 492 | | |
| 493 | + | |
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| |||
0 commit comments