anasfik / openai

Dart/Flutter SDK for ChatGPT and all OpenAI APIs (GPT, Dall-e..)
https://pub.dev/packages/dart_openai
MIT License
578 stars 180 forks source link

Dependency solving fail #88

Closed Beyga closed 12 months ago

Beyga commented 1 year ago

Can we update http dependency in the project?

I try to use websafe_svg: 3.0.1+1 but I am getting this error

Because websafe_svg >=3.0.1+1 depends on http ^1.1.0 and dart_openai 3.0.0 depends on http ^0.13.5, websafe_svg >=3.0.1+1 is incompatible with dart_openai 3.0.0.
And because every version of data from path depends on dart_openai 3.0.0, websafe_svg >=3.0.1+1 is incompatible with data from path.
So, because baby_name_knockout_game depends on both data from path and websafe_svg 3.0.1+1, version solving failed.

Flutter doctor:

[!] Flutter (Channel stable, 3.10.2, on macOS 13.1 22C65 darwin-arm64, locale en-US)
    • Flutter version 3.10.2 on channel stable at /Users/konradbejger/fvm/versions/3.10.2
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart-sdk/3.0.5/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/konradbejger/fvm/versions/3.10.2. Consider adding /Users/konradbejger/fvm/versions/3.10.2/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9cd3d0d9ff (7 weeks ago), 2023-05-23 20:57:28 -0700
    • Engine revision 90fa3ae28f
    • Dart version 3.0.2
    • DevTools version 2.23.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/konradbejger/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.77.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.42.0

[✓] Connected device (4 available)
    • iPhone (Konrad) (mobile) • 00008030-001C29963420202E            • ios            • iOS 16.5.1 20F75
    • iPhone 14 Plus (mobile)  • 86ED5AFD-90C5-4E17-8C3A-662584FA1A5E • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)          • macos                                • darwin-arm64   • macOS 13.1 22C65 darwin-arm64
    • Chrome (web)             • chrome                               • web-javascript • Google Chrome 114.0.5735.198
    ! Error: iPhone (Konrad) is busy: Fetching debug symbols for iPhone (Konrad). Xcode will continue when iPhone (Konrad) is finished. (code -10)

[✓] Network resources
    • All expected network resources are available.
scris commented 1 year ago

Please go to #81 for more information.