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

dependencies issue #130

Closed
zaqwery opened this issue Jan 25, 2024 · 5 comments
Closed

dependencies issue #130

zaqwery opened this issue Jan 25, 2024 · 5 comments
Assignees

Comments

@zaqwery
Copy link
Contributor

zaqwery commented Jan 25, 2024

hi,

I'm trying to resolve this while upgrading uuid to latest 4.3.2 but getting this issue with nhost_dart:

Because no versions of nhost_dart match >2.0.1 <3.0.0 and nhost_dart 2.0.1 depends on nhost_graphql_adapter ^4.0.1, nhost_dart ^2.0.1 requires nhost_graphql_adapter ^4.0.1.
And because no versions of nhost_graphql_adapter match >4.0.1 <5.0.0 and nhost_graphql_adapter 4.0.1 depends on nhost_gql_links ^4.0.1, nhost_dart ^2.0.1 requires nhost_gql_links ^4.0.1.
And because no versions of nhost_gql_links match >4.0.1 <5.0.0 and nhost_gql_links 4.0.1 depends on gql_websocket_link ^1.1.0, nhost_dart ^2.0.1 requires gql_websocket_link ^1.1.0.
Because gql_websocket_link 1.1.0 depends on uuid ^3.0.1 and no versions of gql_websocket_link match >1.1.0 <2.0.0, gql_websocket_link ^1.1.0 requires uuid ^3.0.1.
Thus, nhost_dart ^2.0.1 requires uuid ^3.0.1.
So, because 123_app depends on both nhost_dart ^2.0.1 and uuid ^4.3.2, version solving failed.

You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on uuid: flutter pub add uuid:^3.0.7
exit code 1

thoughts?

thanks!

@dbarrosop
Copy link
Member

This is a dependency of our dependencies so we'd need to investigate which versions of those dependencies have the latest version of that package. If you want to take a look and open PR it will be most welcomed. Thanks!

@knaeckeKami
Copy link

knaeckeKami commented Jan 28, 2024

Maintainer of gql-dart here.

It's gql_websocket_link link, which should be bumped to 2.0.0 to support the latest uuid package (there was a change which is technically breaking, but should not affect most users https://github.com/gql-dart/gql/pull/418/files )

@dbarrosop
Copy link
Member

Thanks a lot for the extra information!

zaqwery added a commit to zaqwery/nhost-dart that referenced this issue Jan 29, 2024
@zaqwery
Copy link
Contributor Author

zaqwery commented Jan 29, 2024

Hi @onehassan , @dbarrosop
upgraded your dependencies, please check out pr#132.
Regards,

onehassan added a commit that referenced this issue Jan 31, 2024
* dependencies upgrade (#130)

* chore: remove dangling comment to improve package score

---------

Co-authored-by: Hassan Ben Jobrane <[email protected]>
@onehassan
Copy link
Contributor

fixed in #132

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

4 participants