Deepfreeze essential parts of the encodings module. ### Description

This is a split off from #3582.

Deepfreeze essential parts of encodings module (encodings.\__init__, encodings.utf_8, and encodings.aliases), which is required during the Python bootstrap.

[tool:pytest]
norecursedirs =
    build
    cpython
    emsdk
    .artifacts
addopts =
    --doctest-modules
    --ignore="packages/matplotlib/src"
    --ignore-glob="**/dist/"
    --tb=short
    --dist-dir=dist

testpaths =
    src
    pyodide-build
    packages

asyncio_mode = strict

[tool:pytest]
norecursedirs =
    build
    cpython
    emsdk
    .artifacts
addopts =
    --doctest-modules
    --ignore="packages/matplotlib/src"
    --ignore-glob="**/dist/"
    --tb=short
    --dist-dir=dist

testpaths =
    src
    pyodide-build
    packages

asyncio_mode = strict
