Skip to content

'dart test' prints a pub deprecation notice #44105

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
bkonyi opened this issue Nov 7, 2020 · 4 comments
Closed

'dart test' prints a pub deprecation notice #44105

bkonyi opened this issue Nov 7, 2020 · 4 comments
Assignees
Labels
area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool. dart-cli-pub Issues related to the 'dart pub' tool dart-cli-test Issues related to the 'dart test' tool P1 A high priority bug; for example, a single project is unusable or has many test failures

Comments

@bkonyi
Copy link
Contributor

bkonyi commented Nov 7, 2020

Running dart test results in the following output to console:

The pubcommand is deprecated. Rundart pub instead.

This is due to the fact that the test command is still running pub from snapshot whereas the pub command is embedded from package:pub as of this change.

We should either update the test command to not run from the pub snapshot or we should disable the deprecation notice until we can update the command.

cc/ @jonasfj @sigurdm

@bkonyi bkonyi added area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool. dart-cli-pub Issues related to the 'dart pub' tool dart-cli-test Issues related to the 'dart test' tool labels Nov 7, 2020
@bkonyi bkonyi added the P2 A bug or feature request we're likely to work on label Nov 7, 2020
@pq
Copy link
Member

pq commented Nov 7, 2020

See also: dart-lang/pub#2734.

@mit-mit mit-mit added P1 A high priority bug; for example, a single project is unusable or has many test failures and removed P2 A bug or feature request we're likely to work on labels Nov 7, 2020
@mit-mit
Copy link
Member

mit-mit commented Nov 9, 2020

Being worked on in dart-lang/pub#2735

@franklinyow
Copy link
Contributor

Is there any work left for this one?

@bkonyi
Copy link
Contributor Author

bkonyi commented Nov 12, 2020

No this is complete.

@bkonyi bkonyi closed this as completed Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool. dart-cli-pub Issues related to the 'dart pub' tool dart-cli-test Issues related to the 'dart test' tool P1 A high priority bug; for example, a single project is unusable or has many test failures
Projects
None yet
Development

No branches or pull requests

5 participants