pydantic / logfire

Uncomplicated Observability for Python and beyond! 🪵🔥
https://logfire.pydantic.dev/docs/
MIT License
2.23k stars 66 forks source link

Vendor dependencies #235

Open Kludex opened 6 months ago

Kludex commented 6 months ago

Description

The idea is to vendor/remove the following dependencies:

dependencies = [
    "opentelemetry-sdk >= 1.21.0",
    "opentelemetry-exporter-otlp-proto-http >= 1.21.0",  # vendor
    "opentelemetry-instrumentation >= 0.41b0",
    "rich >= 13.4.2",  # remove
    "protobuf >= 4.23.4",  # vendor
    "typing-extensions >= 4.1.0",
    "tomli >= 2.0.1; python_version < '3.11'",
    "executing>=2.0.1",  # vendor
]

The first step here is actually to investigate the ratio between amount of work and dependencies removed.

samuelcolvin commented 4 months ago

Let's start by trying to remove rich.