| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Fix quart.request.get_data signature QuartClient -> TestClientProtocol
DeprecationWarning: Use 'content=<...>' to upload raw bytes/text content.
"All versions of graphiql < 1.4.7 are vulnerable to an XSS attack." https://github.com/graphql/graphiql/blob/ab2b52f06213bd9bf90c905c1b460b6939f3d856/docs/security/2021-introspection-schema-xss.md
Was working by accident before
cannot collect test class 'TestClientProtocol' because it has a __init__ constructor
There was a problem hiding this comment.
Great Job! The minimum version changes look reasonable, given the long time this library has been resting dormant.
Please see my comments attached below.
Sorry, something went wrong.
| install_requires = ["graphql-core>=3.2,<3.3", "typing-extensions>=4,<5"] | ||
| install_requires = [ | ||
| "graphql-core>=3.2,<3.3", | ||
| "Jinja2>=3.1,<4", |
There was a problem hiding this comment.
Why is jinja now a required dependency? AFAIK it's only used for GraphiQL, which users can disable.
Sorry, something went wrong.
There was a problem hiding this comment.
Yup you're right. Just moved it back to test dependencies.
Sorry, something went wrong.
|
|
||
| GRAPHIQL_VERSION = "1.0.3" | ||
| GRAPHIQL_VERSION = "1.4.7" | ||
|
|
There was a problem hiding this comment.
Any reason to not update to 2.2.0 straight away?
Sorry, something went wrong.
There was a problem hiding this comment.
We definitely should upgrade to 2.2.0. I was basing this on https://github.com/graphql/express-graphql/blob/main/src/renderGraphiQL.ts plus the graphiql readme recommending upgrading to 1.4.7 so I was under the impression that 1.4.7 is the latest version. Will try upgrading to 2.2.0 and verifying that everything's working, but maybe we should merge this first and I'll submit a subsequent PR for that?
Sorry, something went wrong.
There was a problem hiding this comment.
Sounds good!
Sorry, something went wrong.
|
Push a few more commits to add python 3.11 and remove 3.6 (EOL) which I suspect is what makes the tests fail. |
Sorry, something went wrong.
…m v3.0.0 (#45831) ## Description Replace the pinned `dannygoldstein/graphql-server` fork with the official upstream `graphql-server[flask]>=3.0.0` from PyPI. The fork was a workaround for [graphql-python/graphql-server#98](graphql-python/graphql-server#98), which has since been resolved (via [PR #99](graphql-python/graphql-server#99)). The upstream package received a stable 3.0.0 release on 2025-08-17. This only affects test dependencies (`requirements.test.txt`), not production code. ## Testing - [ ] CI passes with the upstream package (weave-python tests install and run against the official release) Link to Devin session: https://app.devin.ai/sessions/12314a9b91584f3281223bf90e11cd0b Requested by: @blalor --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Update dependencies so that the package works with the latest framework versions in preparation for a stable v3 release. See #96 for context.
The PR's been rebased for convenient commit by commit review.
From sanic v21 view now requires defining the method get, post, ... independently otherwise will throw 405, thus the current approach of overriding dispatch_request won't work. The workaround is to just assign the individual method to dispatch_request
Close #86
Close #92
Close #94
Close #98
Supersede #87, #89, #91, #95.
@erikwrede