Skip to content

chore: upgrade lite-bootstrap to 1.13.0 - #87

Merged
lesnik512 merged 2 commits into
mainfrom
chore/lite-bootstrap-1.13
Oct 16, 2026
Merged

lesnik512 merged 2 commits into
mainfrom
chore/lite-bootstrap-1.13

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Upgrades lite-bootstrap from 1.9.3 to 1.13.0 and folds the two tracing tests into one. This keeps the template in step with modern-python/litestar-sqlalchemy-template#64.

Upgrade

The lock moves only lite-bootstrap. The breaking changes in this range don't touch FastAPI apps: modern-python/lite-bootstrap#279 changes Litestar tracing, and modern-python/lite-bootstrap#270 drops Python 3.10. pyproject.toml stays unpinned, since opentelemetry_exclude_spans already works for FastAPI on 1.9.3 (#86).

On the upgrade alone the suite passed with one new warning:

tests/test_tracing.py::test_request_has_no_asgi_event_spans
  UserWarning: a TracerProvider is already installed; the configured exporter, sampler and resource will not be used

Tests

Since modern-python/lite-bootstrap#264, lite-bootstrap warns when build_app() runs with tracing after a TracerProvider is already installed. test_db_queries_produce_sqlalchemy_spans and test_request_has_no_asgi_event_spans each built a traced app, so the second one triggered the warning. They are now one test, test_traced_request_records_server_and_db_spans_only, with the same assertions as the Litestar template: the request records SQLAlchemy SELECT spans with parents, and apart from those only the SERVER span. The suite now passes with no warnings.

@lesnik512
lesnik512 merged commit 0d6473e into main Oct 16, 2026
2 checks passed
@lesnik512
lesnik512 deleted the chore/lite-bootstrap-1.13 branch October 16, 2026 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant