[deb13] sixgill: AttributeError: module 'typing' has no attribute 're'
Categories
(Firefox Build System :: Toolchains, task)
Tracking
(firefox149 fixed)
| Tracking | Status | |
|---|---|---|
| firefox149 | --- | fixed |
People
(Reporter: jcristau, Assigned: jcristau)
References
Details
Attachments
(1 file, 1 external file)
|
963 bytes,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
The sixgill toolchain task fails when using the deb13-toolchain-build docker image:
[task 2026-01-15T06:06:47.034+00:00] Traceback (most recent call last):
[task 2026-01-15T06:06:47.036+00:00] File "/builds/worker/fetches/sixgill/test/run-test.py", line 131, in <module>
[task 2026-01-15T06:06:47.036+00:00] execfile(os.path.join(indir, "test.py"))
[task 2026-01-15T06:06:47.036+00:00] ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2026-01-15T06:06:47.036+00:00] File "/builds/worker/fetches/sixgill/test/run-test.py", line 14, in execfile
[task 2026-01-15T06:06:47.036+00:00] exec(builtins.compile(open(thefile).read(), thefile, "exec"), globals)
[task 2026-01-15T06:06:47.036+00:00] ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2026-01-15T06:06:47.036+00:00] File "/builds/worker/fetches/sixgill/test/gchazard/test.py", line 5, in <module>
[task 2026-01-15T06:06:47.036+00:00] body = process_body(load_db_entry("src_body", re.compile(r'root_arg'))[0])
[task 2026-01-15T06:06:47.036+00:00] ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2026-01-15T06:06:47.036+00:00] File "/builds/worker/fetches/sixgill/test/run-test.py", line 107, in load_db_entry
[task 2026-01-15T06:06:47.036+00:00] if not isinstance(pattern, typing.re.Pattern):
[task 2026-01-15T06:06:47.036+00:00] ^^^^^^^^^
[task 2026-01-15T06:06:47.036+00:00] File "/usr/lib/python3.13/typing.py", line 3817, in getattr
[task 2026-01-15T06:06:47.036+00:00] raise AttributeError(f"module {name!r} has no attribute {attr!r}")
[task 2026-01-15T06:06:47.036+00:00] AttributeError: module 'typing' has no attribute 're'
Per https://docs.python.org/3.11/library/typing.html#typing.Pattern
"Deprecated since version 3.8, will be removed in version 3.13: The typing.re namespace is deprecated and will be removed. These types should be directly imported from typing instead."
| Assignee | ||
Comment 1•10 months ago
|
||
Comment 2•10 months ago
|
||
Comment 3•10 months ago
|
||
| Comment hidden (Intermittent Failures Robot) |
Comment 6•10 months ago
|
||
| bugherder | ||
Description
•