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

🐛 Bug Report: Upgrade http library to latest stable #179

Closed
2 tasks done
istornz opened this issue Nov 2, 2023 · 8 comments
Closed
2 tasks done

🐛 Bug Report: Upgrade http library to latest stable #179

istornz opened this issue Nov 2, 2023 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@istornz
Copy link

istornz commented Nov 2, 2023

👟 Reproduction steps

More and more other dependency upgrade http to latest stable version, we can't upgrade others dependencies since this library depends on '>=0.13.6 <1.0.1', example with basic_utils v5.7.0 (latest).

Because basic_utils >=5.6.1 depends on http ^1.1.0 and appwrite 11.0.0 depends on http >=0.13.6 <1.0.1, basic_utils >=5.6.1 is incompatible with appwrite 11.0.0.
And because no versions of appwrite match >11.0.0 <12.0.0, basic_utils >=5.6.1 is incompatible with appwrite ^11.0.0.
So, because dart_rss depends on both appwrite ^11.0.0 and basic_utils ^5.7.0, version solving failed.

Thanks :

👍 Expected behavior

It should use latest stable http version

👎 Actual Behavior

It use version '>=0.13.6 <1.0.1' of http package

🎲 Appwrite version

Version 2.0.x

💻 Operating system

MacOS

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@istornz istornz added the bug Something isn't working label Nov 2, 2023
@furkanbora239
Copy link

use this

I have same problem so i just fork his stomic and change http package then pull his stomic again now its working fine for me.

use client like this btw.

static Client client =
Client(endPoint: 'https://cloud.appwrite.io/v1', selfSigned: true)
.setProject('-----------your key------');
Account account = Account(client);

@lohanidamodar
Copy link
Member

@istornz Thank you for reporting the issue. Will update soon.

@mark-at-pieces
Copy link

Also experiencing the same issue with the dart SDK as well

https://github.com/appwrite/sdk-for-dart

@agabeyre
Copy link

agabeyre commented Jan 25, 2024

Same issue with dart sdk here too. I cannot install Flutter Quil Extensions package as it requires http 1.0.0 package while Appwrite Dart SDK package uses http 0.13 so I am getting this error when calling pub get:
Because flutter_quill_extensions >=0.5.0 depends on http ^1.1.0 and appwrite 11.0.1 depends on http >=0.13.6 <1.0.1, flutter_quill_extensions >=0.5.0 is incompatible with appwrite 11.0.1.

Is anyone from Appwrite team resolving this issue? Flutter Quil is a popular text editor for Flutter and the Flutter Quil Extensions allows inserting images and attachments to the edited documents. It is Appwrite or the editor for me now and that is a tough choice really.

@istornz
Copy link
Author

istornz commented Jan 25, 2024

I think, as a workaround, we can override http version in the pubpec.yaml but this issue need to be fixed ASAP thanks 👍

@agabeyre
Copy link

agabeyre commented Jan 26, 2024 via email

@istornz
Copy link
Author

istornz commented Feb 6, 2024

Hi @lohanidamodar, do you have any news about this issue? 👍

@stnguyen90
Copy link
Contributor

Related to appwrite/sdk-for-dart#59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants