← All tasks
pythonvega/altair #3879Not a task: already works

Cannot import altair Chart in python 3.14

envgap__vega__altair-3879

01 / FAILURE SIGNATURE

As reported upstream

ModuleNotFoundError: No module named 'typing_extensions'
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
4080730bdf143f0918947b5f08c1803f7824f4f8
Manifest
pyproject.toml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

vega/altair #3879 · read the original issue
### What happened?

I'm testing python 3.14 with altair and get the following error:

```sh
    from altair import Chart
  File ".venv/lib/python3.14/site-packages/altair/__init__.py", line 649, in <module>
    from altair.vegalite import *
  File ".venv/lib/python3.14/site-packages/altair/vegalite/__init__.py", line 2, in <module>
    from .v5 import *
  File ".venv/lib/python3.14/site-packages/altair/vegalite/v5/__init__.py", line 2, in <module>
    from altair.expr.core import datum
  File ".venv/lib/python3.14/site-packages/altair/expr/__init__.py", line 11, in <module>
    from altair.expr.core import ConstExpression, FunctionExpression
  File ".venv/lib/python3.14/site-packages/altair/expr/core.py", line 6, in <module>
    from altair.utils import SchemaBase
  File ".venv/lib/python3.14/site-packages/altair/utils/__init__.py", line 1, in <module>
    from .core import (
    ...<9 lines>...
    )
  File ".venv/lib/python3.14/site-packages/altair/utils/core.py", line 22, in <module>
    from altair.utils.schemapi import SchemaBase, SchemaLike, Undefined
  File ".venv/lib/python3.14/site-packages/altair/utils/schemapi.py", line 29, in <module>
    from typing_extensions import TypeAlias
ModuleNotFoundError: No module named 'typing_extensions'
```

### What would you like to happen instead?

no error

### Which version of Altair are you using?

altair 5.5.0 with python 3.14-rc3
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]