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

Bug: AttributeError: attribute '__default__' of 'typing.ParamSpec' objects is not writable #527

Open
Shanmukh-C opened this issue Jan 30, 2025 · 1 comment

Comments

@Shanmukh-C
Copy link

Shanmukh-C commented Jan 30, 2025

Image

Hello,

Getting above error when deploying my fastapi based service. Here is my poetry files for your refference. I am using lastest version.

[tool.poetry.dependencies]
python = "^3.13"
fastapi = ">=0.101.1,<0.102.0"
uvicorn = ">=0.23.2,<0.24.0"
websockets = "^14.1"
pydantic = ">=1.10.12,<1.11.0"
aiokafka = "^0.12.0"
faststream = "^0.5.34"
fast-depends = "^2.4.12"
typing-extensions = "4.12.2"

[tool.poetry.group.dev.dependencies]
setuptools = "^75.6.0"

[build-system]
requires = ["poetry-core", "setuptools", "wheel"]
build-backend = "setuptools.build_meta"

@JelleZijlstra
Copy link
Member

I think your environment is in some weird state. The typing-extensions code that errors is the branch for before Python 3.13, but you are evidently running 3.13. I couldn't reproduce this on 3.13.0.

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

No branches or pull requests

2 participants