question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Broken against latest release of Starlette

See original GitHub issue

Describe the bug The latest release of Starlette 0.12.13 introduced a breaking change to the way it initialises the core Starlette class which is incompatible with FastAPI’s use (lack of use of super()). Introduced by this change: https://github.com/encode/starlette/commit/91eefb2af3940364b051138bed47319e189d31be

To Reproduce Steps to reproduce the behavior:

  1. Install Starlette 0.12.13 and FastAPI
  2. Attempt to start a FastAPI server

Expected behavior Fast API server starts

Screenshots If applicable, add screenshots to help explain your problem.

Environment:

  • OS: Linux
  • FastAPI version: 0.42.0, but problem exists in master
  • Python version: 3.8.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
prostomarkeloffcommented, Nov 9, 2019

Now in fastapi pinned the 0.12.9 version. I think it isn’t bug (at least in current release).

0reactions
github-actions[bot]commented, Apr 23, 2020

Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Release Notes - Starlette
Deprecate Starlette and Router decorators #1897. Fixed. Fix bug on FloatConvertor regex #1973. 0.22.0. November 17, 2022. Changed.
Read more >
FastAPI on Twitter: "Here we go! Just released: FastAPI 0.86 ...
The latest starlette release comes with some breaking changes to the TestClient as mentioned in the release notes: This release ...
Read more >
Release Notes - FastAPI
This release just upgrades Starlette to the latest version, 0.16.0 , which includes several bug fixes and some small breaking changes.
Read more >
Changelog — Authlib 0.15.5 documentation
Here you can see the full list of changes between each Authlib release. Version 0.15.5¶. Released on Oct 18, 2021. Make Authlib compatible...
Read more >
keepachangelog | Convert keep a changelog markdown file ...
If new_version parameter is not provided, guess the new version number and return it: Removed or Changed sections will be considered as breaking...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found