question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade strawberry-graphql version

See original GitHub issue

Description

The current requirement strawberry-graphql~=0.93.14 pins graphql-core = "~3.1.0" (https://github.com/strawberry-graphql/strawberry/blob/b69473a082665b08a9be1e246f317ca9cb6ea964/pyproject.toml#L38) which conflicts with gql 's requirement of graphql-core>=3.2,<3.3 (https://github.com/graphql-python/gql/blob/master/setup.py#L6)

Context

Any kedro project utilizing gql will have a difficult time also using kedro-viz

Possible Implementation

Is it possible to bump up kedro-viz 's requirement for strawberry-graphql ? Or make it more flexible?

Checklist

  • Include labels so that we can categorise your feature request

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
JasonTamcommented, Apr 4, 2022

My inclination is also to use >=0.93.14,<1.0 or similar and let the environment solver figure things out. But I’ll be honest, I haven’t spent time looking at the related deps.

1reaction
limdautocommented, Apr 5, 2022

@AntonyMilneQB IIRC most of the problems with strawberry have seen are mypy-related, so I think it’s safe to relax the dependency and maybe be a bit less strict about mypy next time it blows up for strawberry.

Re dependabots, it’s similar to the CI config situation … I just never got to it 😦 I’m sorry.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Python library for GraphQL | Strawberry GraphQL
Strawberry is Python library to build GraphQL APIs, built on top of dataclasses. ... Do you want to receive the latest updates on...
Read more >
strawberry-graphql - PyPI
A library for creating GraphQL APIs.
Read more >
Strawberry GraphQL Updates (@strawberry_gql) / Twitter
Updates on Strawberry - a modern Python library for building GraphQL APIs, ... Strawberry GraphQL (@strawberry@farbun.social) ... Release 0.151.2 is out!
Read more >
Add Python to your GraphQL API with GraphOS and ...
In this post, we'll look at how to create a subgraph in Python using the Strawberry GraphQL library. Python is an extremely popular...
Read more >
GraphQL library for Python - Strawberry
An initial version of Strawberry has been released on GitHub. To follow the project, you can sign up to get updates on the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found