-
Notifications
You must be signed in to change notification settings - Fork 232
Description
Originally opened as dart-lang/sdk#7436
This issue was originally filed by ali....@gmail.com
What steps will reproduce the problem?
- create a project and specify the following dependency:
dependencies:
options_file: any
logging: 0.2.8+2 - Run Pub Install
3.
What is the expected output? What do you see instead?
All dependencies should be installed correctly. Get the following error instead:
Pub install failed, [1] Resolving dependencies...
Incompatible dependencies on 'unittest':
- 'logging' depends on it from source 'hosted'
- 'options_file' depends on it from source 'sdk'
What version of the product are you using? On what operating system?
Please provide any additional information below.
the pubspec.yaml file of options_file library has the unittest source correctly set to "any" (https://github.com/jamesots/optionsfile/blob/master/pubspec.yaml)
dependencies:
unittest: any
looks like the logging library has the unittest source explicitly defined. Please fix this to "any" in the logging library so that the above dependency issue is resolved