Upgrade package dependencies
Closed this issue · 2 comments
jtmcdole commented
appengine is using a discontinued package and an older version of grpc. This is hampering some work we're doing on Flutter's cocoon appengine service.
I'm unable to test locally as there are no instructions for setting E2E_TEST_PROJECT and E2E_TEST_KEY required environment variables. There appears to be no errors reported by the analyzer though.
diff --git a/pkgs/appengine/analysis_options.yaml b/pkgs/appengine/analysis_options.yaml
index 62ee108f..d92e572d 100644
--- a/pkgs/appengine/analysis_options.yaml
+++ b/pkgs/appengine/analysis_options.yaml
@@ -1,5 +1,3 @@
-include: package:pedantic/analysis_options.1.8.0.yaml
-
analyzer:
errors:
# This is triggered in generated code.
diff --git a/pkgs/appengine/pubspec.yaml b/pkgs/appengine/pubspec.yaml
index d092d9f8..323540e4 100644
--- a/pkgs/appengine/pubspec.yaml
+++ b/pkgs/appengine/pubspec.yaml
@@ -17,7 +17,7 @@ dependencies:
fixnum: ^1.0.0
gcloud: ^0.8.10
googleapis_auth: ^1.1.0
- grpc: ^3.1.0
+ grpc: ^4.0.1
http: '>=0.13.3 <2.0.0'
logging: ^1.0.1
path: ^1.8.0
@@ -25,6 +25,5 @@ dependencies:
stack_trace: ^1.10.0
dev_dependencies:
- pedantic: ^1.11.0
protoc_plugin: ^21.1.2
test: ^1.17.5jtmcdole commented
fyi @matanlurey
devoncarew commented
fixed by #195