I think this fixes #1614. It could use tests though.
Handle mixed case package names. I think this fixes #1614. It could use tests though.
from pyodide_build.testing import run_in_pyodide


@run_in_pyodide(packages=["regex"])
def test_regex():
    import regex

    assert regex.search("o", "foo").end() == 2

from pyodide_build.testing import run_in_pyodide


@run_in_pyodide(packages=["regex"])
def test_regex():
    import regex

    assert regex.search("o", "foo").end() == 2
