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

Dependency Conflict with intl (0.20.1) #2209

Open
soufianebenyaala opened this issue Dec 16, 2024 · 2 comments
Open

Dependency Conflict with intl (0.20.1) #2209

soufianebenyaala opened this issue Dec 16, 2024 · 2 comments
Labels
calendar Calendar component open Open

Comments

@soufianebenyaala
Copy link

Bug description

There is a dependency conflict involving the intl package when using syncfusion_flutter_calendar with flutter pub upgrade .

The package syncfusion_flutter_calendar: ^28.1.33 depends on intl: >=0.18.1 <0.20.0, which causes a conflict with my app's dependency on intl: ^0.20.1. This prevents dependency resolution during flutter pub upgrade.

Steps to reproduce

  1. Add syncfusion_flutter_calendar: ^28.1.33 to the pubspec.yaml.
  2. Add intl: ^0.20.1 to the pubspec.yaml.
  3. Run flutter pub get in the terminal.

Code sample

Code sample
dependencies:
  flutter:
    sdk: flutter
  syncfusion_flutter_calendar: ^28.1.33
  intl: ^0.20.1

Screenshots or Video

Screenshots / Video demonstration

image

Stack Traces

Stack Traces
Resolving dependencies... (1.3s)
Because my_project depends on syncfusion_flutter_calendar ^28.1.33 which depends on intl >=0.18.1 <0.20.0, intl >=0.18.1 <0.20.0 is required.
So, because my_project depends on intl ^0.20.1, version solving failed.

On which target platforms have you observed this bug?

Android, iOS

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.27.0, on Ubuntu 20.04.3 LTS (fossa-kingdra-adl
    X127) 5.13.0-1022-oem, locale en_US.UTF-8)
    • Flutter version 3.27.0 on channel stable at
      /home/USER/snap/flutter/common/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 8495dee1fd (5 days ago), 2024-12-10 14:23:39 -0800
    • Engine revision 83bacfc525
    • Dart version 3.6.0
    • DevTools version 2.40.2

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at /home/USER/Android/Sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: /snap/android-studio/161/jbr/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.10+0-17.0.10b1087.21-11609105)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 2023.3)
    • Android Studio at /snap/android-studio/157
    • Flutter plugin version 79.0.2
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      17.0.10+0-17.0.10b1087.21-11572160)

[✓] Android Studio (version 2024.1)
    • Android Studio at /snap/android-studio/161
    • Flutter plugin version 83.0.2
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      17.0.10+0-17.0.10b1087.21-11609105)

[✓] IntelliJ IDEA Ultimate Edition (version 2024.3)
    • IntelliJ at /snap/intellij-idea-ultimate/555
    • 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

[✓] VS Code (version 1.96.0)
    • VS Code at /snap/code/current/usr/share/code
    • Flutter extension version 3.102.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Ubuntu 20.04.3 LTS
      (fossa-kingdra-adl X127) 5.13.0-1022-oem
    • Chrome (web)    • chrome • web-javascript • Google Chrome 95.0.4638.69

[✓] Network resources
    • All expected network resources are available.

• No issues found!
@LavanyaGowtham2021 LavanyaGowtham2021 added calendar Calendar component open Open labels Dec 16, 2024
@rjkolli7
Copy link

Am also getting same issue.

Library/Android/flutter/bin/flutter --no-color pub get
Resolving dependencies...
Because syncfusion_flutter_charts >=24.1.46+1 depends on intl >=0.18.1 <0.20.0 and "myproject" depends on intl ^0.20.1, syncfusion_flutter_charts >=24.1.46+1 is forbidden.
So, because "myproject" depends on syncfusion_flutter_charts ^28.1.33, version solving failed.
Process finished with exit code 1

@enzo-desimone
Copy link

Am also getting same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
calendar Calendar component open Open
Projects
None yet
Development

No branches or pull requests

4 participants