This is for future-proofing in case we decide to add more options at
some point. Old usage is still accepted but causes a deprecation warning.

- [x] Add a [CHANGELOG](https://github.com/pyodide/pyodide/blob/main/docs/project/changelog.md) entry
- [x] Add / update tests
- [x] Add new / update outdated documentation

Change runPython and runPythonAsync 'globals' to be passed as a named argument. This is for future-proofing in case we decide to add more options at
some point. Old usage is still accepted but causes a deprecation warning.

- [x] Add a [CHANGELOG](https://github.com/pyodide/pyodide/blob/main/docs/project/changelog.md) entry
- [x] Add / update tests
- [x] Add new / update outdated documentation

queries:
  - exclude: py/import-and-import-from

extraction:
  cpp:
    prepare:
      packages:
        - python3-yaml

queries:
  - exclude: py/import-and-import-from

extraction:
  cpp:
    prepare:
      packages:
        - python3-yaml
