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

Bump drift version to ^2.18.0 #4845

Open
2 of 14 tasks
priyanshu-sekhar opened this issue May 7, 2024 · 5 comments
Open
2 of 14 tasks

Bump drift version to ^2.18.0 #4845

priyanshu-sekhar opened this issue May 7, 2024 · 5 comments
Assignees
Labels
dependencies Pull requests that update a dependency file feature-request A request for a new feature or an enhancement to an existing API or category.

Comments

@priyanshu-sekhar
Copy link

Description

I am using amplify_storage_s3 ^1.8.0 in my flutter package. Tried adding the latest available version of drift package (^2.18.0) but am getting the following error -

Because no versions of amplify_storage_s3 match >1.8.0 <2.0.0 and amplify_storage_s3 1.8.0 depends on amplify_storage_s3_dart ^0.3.11, amplify_storage_s3 ^1.8.0 requires amplify_storage_s3_dart ^0.3.11.
Because amplify_storage_s3_dart 0.3.11 depends on drift >=2.14.0 <2.15.0 and no versions of amplify_storage_s3_dart match >0.3.11 <0.4.0, amplify_storage_s3_dart ^0.3.11 requires drift >=2.14.0 <2.15.0.
Thus, amplify_storage_s3 ^1.8.0 requires drift >=2.14.0 <2.15.0.

Categories

  • Analytics
  • API (REST)
  • API (GraphQL)
  • Auth
  • Authenticator
  • DataStore
  • Notifications (Push)
  • Storage

Steps to Reproduce

  1. Create a new project
  2. Add amplify_storage_s3: ^1.8.0 to pubspec.yaml
  3. Add drift: ^2.18.0 to pubsec.yaml
  4. Run flutter pub get

Screenshots

No response

Platforms

  • iOS
  • Android
  • Web
  • macOS
  • Windows
  • Linux

Flutter Version

3.19.3

Amplify Flutter Version

1.8.0

Deployment Method

Amplify CLI

Schema

No response

@khatruong2009 khatruong2009 added pending-triage This issue is in the backlog of issues to triage dependencies Pull requests that update a dependency file labels May 7, 2024
@khatruong2009
Copy link
Contributor

Hi @priyanshu-sekhar, we will look into this issue and get back to you when we have an update.

@khatruong2009
Copy link
Contributor

Hi @priyanshu-sekhar, we have the upper bound of our drift dependency set to 2.15.0. Anything at or above 2.14.0 and below 2.15.0 will work. Can you try setting your drift version to 2.14.0?

@khatruong2009 khatruong2009 added the pending-response Issue is pending response from the issue requestor label May 8, 2024
@priyanshu-sekhar
Copy link
Author

@khatruong2009 Yes I have updated my specs to use ^2.14.1 for now, but I wanted to use some functionalities introduced in drift ^2.16.0 and above. Is there a plan to upgrade the dependency constraints ?

@khatruong2009 khatruong2009 added feature-request A request for a new feature or an enhancement to an existing API or category. and removed pending-triage This issue is in the backlog of issues to triage pending-response Issue is pending response from the issue requestor labels May 9, 2024
@khatruong2009 khatruong2009 self-assigned this May 9, 2024
@khatruong2009
Copy link
Contributor

Hi @priyanshu-sekhar, we are working to upgrade the drift dependency. You can follow the progress in the PR mentioned above.

@priyanshu-sekhar
Copy link
Author

Perfect, thanks! Will keep an eye on this 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file feature-request A request for a new feature or an enhancement to an existing API or category.
Projects
None yet
Development

No branches or pull requests

2 participants