Skip to content

[pigeon] Support analyzer 6.x #138616

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

Closed
2 tasks done
yuukiw00w opened this issue Nov 17, 2023 · 1 comment · Fixed by flutter/packages#5418
Closed
2 tasks done

[pigeon] Support analyzer 6.x #138616

yuukiw00w opened this issue Nov 17, 2023 · 1 comment · Fixed by flutter/packages#5418
Assignees
Labels
p: pigeon related to pigeon messaging codegen tool P2 Important issues not at the top of the work list package flutter/packages repository. See also p: labels. team-ecosystem Owned by Ecosystem team triaged-ecosystem Triaged by Ecosystem team

Comments

@yuukiw00w
Copy link

Is there an existing issue for this?

What package does this bug report belong to?

pigeon

What target platforms are you seeing this bug on?

Android, iOS

Have you already upgraded your packages?

Yes

Dependency versions

No response

Steps to reproduce

  1. add latest pigeon & riverpod_lint to pubspec.yaml
  2. do pub get

Expected results

pub get successfully

Actual results

Because riverpod_lint >=2.2.1 depends on analyzer ^6.0.0 and pigeon >=10.0.1 depends on analyzer ^5.13.0, riverpod_lint >=2.2.1 is incompatible with pigeon >=10.0.1.

Code sample

pubspec.yaml sample
dependencies:
  flutter:
    sdk: flutter
  pigeon: ^13.1.1

dev_dependencies:
  flutter_test:
    sdk: flutter
  riverpod_lint: ^2.3.4

Screenshots or Videos

No response

Logs

No response

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.16.0, on macOS 13.6.2 22G320 darwin-arm64, locale
    ja-JP)
    • Flutter version 3.16.0 on channel stable at
      /Users/noseda-yuki/work/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db7ef5bf9f (2 days ago), 2023-11-15 11:25:44 -0800
    • Engine revision 74d16627b9
    • Dart version 3.2.0
    • DevTools version 2.28.2

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/noseda-yuki/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.2

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

[✓] Android Studio (version 2022.3)
    • 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
      17.0.6+0-17.0.6b829.9-10027231)

[✓] Connected device (3 available)
    • iPhone SE (3rd generation) (mobile) • 99B26C2E-F4D7-449D-BBED-D440B809B209
      • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)                     • macos
      • darwin-arm64   • macOS 13.6.2 22G320 darwin-arm64
    • Chrome (web)                        • chrome
      • web-javascript • Google Chrome 119.0.6045.159

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

• No issues found!
@stuartmorgan-g stuartmorgan-g self-assigned this Nov 17, 2023
@stuartmorgan-g stuartmorgan-g added package flutter/packages repository. See also p: labels. team-ecosystem Owned by Ecosystem team p: pigeon related to pigeon messaging codegen tool P2 Important issues not at the top of the work list triaged-ecosystem Triaged by Ecosystem team labels Nov 17, 2023
@stuartmorgan-g stuartmorgan-g changed the title [pigeon] dependent analyzer package is old [pigeon] Support analyzer 6.x Nov 17, 2023
stuartmorgan-g added a commit to stuartmorgan-g/packages that referenced this issue Nov 17, 2023
`analyzer` 6.0 just removes deprecated methods, so we can add support
for 6.x without changes, as well as keeping 5.13 compatibility for now
to minimize incompatibilities.

Fixes flutter/flutter#138616
auto-submit bot pushed a commit to flutter/packages that referenced this issue Nov 17, 2023
`analyzer` 6.0 just removes deprecated methods, so we can add support for 6.x without changes, as well as keeping 5.13 compatibility for now to minimize incompatibilities.

Fixes flutter/flutter#138616
Copy link

github-actions bot commented Dec 1, 2023

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 1, 2023
HugoOlthof pushed a commit to moneybird/packages that referenced this issue Dec 13, 2023
`analyzer` 6.0 just removes deprecated methods, so we can add support for 6.x without changes, as well as keeping 5.13 compatibility for now to minimize incompatibilities.

Fixes flutter/flutter#138616
arc-yong pushed a commit to Arctuition/packages-arc that referenced this issue Jun 14, 2024
`analyzer` 6.0 just removes deprecated methods, so we can add support for 6.x without changes, as well as keeping 5.13 compatibility for now to minimize incompatibilities.

Fixes flutter/flutter#138616
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
p: pigeon related to pigeon messaging codegen tool P2 Important issues not at the top of the work list package flutter/packages repository. See also p: labels. team-ecosystem Owned by Ecosystem team triaged-ecosystem Triaged by Ecosystem team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants