-
Notifications
You must be signed in to change notification settings - Fork 1k
Update dependency versions #271
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
Conversation
bshaffer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, I would prefer to have ^0.20, since the convention followed by google/cloud is to break BC on minor releases. This way, we would know for sure that all samples are on the same version. With the current syntax, one sample could be on 0.40 and another on 0.20.
Also, w/o commenting on every single one, I'd like to know why google/auth is added as a dependency.
| "paragonie/random_compat": " ^2.0", | ||
| "google/cloud-tools": "~0.6" | ||
| }, | ||
| "require": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can remove the empty require statement here.
| "paragonie/random_compat": " ^2.0", | ||
| "google/cloud-tools": "~0.6" | ||
| }, | ||
| "require": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove empty require statement here!
speech/api/composer.json
Outdated
| "symfony/console": "^3.0" | ||
| "google/cloud": "~0.20", | ||
| "symfony/console": "^3.0", | ||
| "google/auth": "~0.11" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we adding the auth line? This should be left to the google/cloud library unless we are consuming the library directly (which we aren't).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added google/auth because I saw an error like this:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for google/cloud ^0.20 -> satisfiable by google/cloud[v0.20.0].
- Conclusion: remove google/auth v0.10
- google/cloud v0.20.0 requires google/auth ^0.11 -> satisfiable by google/auth[v0.11.0, v0.11.1].
- Can only install one of: google/auth[v0.11.0, v0.10].
- Can only install one of: google/auth[v0.11.1, v0.10].
- Installation request for google/auth (installed at v0.10) -> satisfiable by google/auth[v0.10].
in some sub directories, but you're right
speech/quickstart/composer.json
Outdated
| "php": ">=5.4", | ||
| "google/cloud": "0.10" | ||
| "google/cloud": "~0.20", | ||
| "google/auth": "~0.11" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, we can leave this out.
9169e7f to
75628ec
Compare
|
@bshaffer PTAL |
|
Finally the test passes. @bshaffer PTAL |
Uh oh!
There was an error while loading. Please reload this page.