Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: require fastapi>=0.121.0 for Depends scope parameter#737

Merged
aldbr merged 1 commit into
DIRACGrid:mainfrom
chrisburr:fix/fastapi-min-version
Jan 20, 2026
Merged

fix: require fastapi>=0.121.0 for Depends scope parameter#737
aldbr merged 1 commit into
DIRACGrid:mainfrom
chrisburr:fix/fastapi-min-version

Conversation

@chrisburr

Copy link
Copy Markdown
Member

Summary

  • Bump minimum FastAPI version to 0.121.0 to support the scope parameter in Depends()
  • The scope parameter was introduced in FastAPI 0.121.0 via PR #14262
  • Without this, tests fail with: TypeError: Depends() got an unexpected keyword argument 'scope'

The scope parameter for Depends() was introduced in FastAPI 0.121.0.
Without this minimum version, tests fail with:
TypeError: Depends() got an unexpected keyword argument 'scope'
@chrisburr chrisburr force-pushed the fix/fastapi-min-version branch from bab741d to 2a49c4d Compare January 20, 2026 08:06
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

πŸ“š diracx | πŸ› οΈ Build #31070689 | πŸ“ Comparing 2a49c4d against latest (581517d)


πŸ” Preview build

Show files changed (1 files in total): πŸ“ 1 modified | βž• 0 added | βž– 0 deleted
File Status
admin/reference/values/index.html πŸ“ modified

@aldbr aldbr merged commit fb15f9c into DIRACGrid:main Jan 20, 2026
27 checks passed
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.

2 participants