python strawberry-asgi was not found in the package registry


Bump into this error while trying to run uv pip install . 

Because strawberry-asgi was not found in the package registry and graphql-microservice==0.1.0 depends on strawberry-asgi, we can conclude that graphql-microservice==0.1.0 cannot be used. And because only graphql-microservice==0.1.0 is available and you require graphql-microservice, we can conclud that your requirements are unsatisfiable.

And the solution I need to add "strawberry-graphql[asgi]" to my pyproject.toml 

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "graphql-microservice"
version = "0.1.0"
dependencies = [
    "strawberry-graphql[asgi]", <---- Added this
    "uvicorn",
    "python-dotenv",
    "google-cloud-aiplatform",
]


Comments