Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove aiofiles dependency #24

Merged
merged 1 commit into from May 29, 2022
Merged

Remove aiofiles dependency #24

merged 1 commit into from May 29, 2022

Conversation

bollwyvl
Copy link
Contributor

It appears aiofiles is no longer used... and an older FastAPI would have brought it along if needed.

@turettn
Copy link
Owner

turettn commented May 28, 2022

Thanks for the PR!

At one point, starlette.staticfiles depended on aiofiles, but didn't automatically install it. This led to problems like this.

Starlette fixes this in 0.15, by switching to anyio. FastAPI didn't start requiring Starlette >= 0.15 until 0.69 (October 2021).

I'm going to merge this, and start requiring FastAPI >= 0.75.2. That way, I know that it will be anyio, not aiofiles based. It will also include the bump to swagger v4.

I'll cut & upload the release sometime this weekend.

@turettn turettn merged commit df0c184 into turettn:main May 29, 2022
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.

None yet

2 participants