graphql-server icon indicating copy to clipboard operation
graphql-server copied to clipboard

Latest version on Pypi broken?

Open cameronclaero opened this issue 6 months ago • 3 comments

Hi we were using graphql_server==3.0.0b7 without any issues.

with the 3.0 release on pypi, im getting the following error now:

from graphql_server import (

ImportError: cannot import name 'HttpQueryError' from 'graphql_server' (/usr/local/lib/python3.10/dist-packages/graphql_server/init.py) 2025-08-18 07:52:22,718 247 INFO odoo odoo.service.server: Stopping gracefully

I have since reverted to b7, to solve for now

cameronclaero avatar Aug 18 '25 07:08 cameronclaero

Hey @cameronclaero , the API for using GraphQL-server 3.0 has changed since 3.0.0b7. Please see the examples on how to use it

syrusakbary avatar Aug 18 '25 20:08 syrusakbary

The issue I had was with aiohttp. I had to switch from:

from graphql_server.aiohttp import GraphQLView

To:

from graphql_server.aiohttp.views import GraphQLView

If it's intentional, then I guess the docs need to be updated: https://github.com/graphql-python/graphql-server/blob/main/docs/aiohttp.md#usage

kaime avatar Aug 19 '25 13:08 kaime

There are no releases on this repo for b8, b9, or 3.0.0. There are no tags either. I cannot find a changelog, or good place to review changes.

As a heads up, for someone consuming a library, this starts to look like a supply chain attack when there are 3 pypi releases in one day, with no supporting docs, reference, changelog etc.

ElementalWarrior avatar Aug 26 '25 18:08 ElementalWarrior