Ray's Knowledge Base
Unlock

dftracer keeps its own typing_extensions dependency because pydftracer imports it on every Python

FactVerified 1 Oct 2026Holds project: dftracer
Fact. A statement and the evidence for it.

Statement#

pydftracer imports typing_extensions unconditionally, but declares it only for Python below 3.10. This is true for 2.0.4 and is still true for 2.0.5. dftracer's pyproject.toml thus keeps a separate typing_extensions dependency next to the pydftracer pin. Do not remove it when you raise the pin, until a pydftracer release fixes the declaration.

Evidence#

Checked on 2026-10-01 for the dftracer 2.2.0 release: in a python:3.12-slim container, the pins dftracer-utils>=0.0.13 and pydftracer>=2.0.5 with typing_extensions>=4.0 installed dftracer-utils 0.0.13, pydftracer 2.0.5 and typing_extensions 4.16.0, and both packages imported.