[GH-ISSUE #7] The dependency on cloud.google.com/go doesn't need to be 0.19.0 #2154

Closed
opened 2026-03-15 17:47:19 +03:00 by kerem · 3 comments
Owner

Originally created by @gracenoah on GitHub (Apr 13, 2018).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/7

In Gopkg.toml, there's a dependency on

  name = "cloud.google.com/go"
  version = "0.19.0"

and this was forcing me to upgrade cloud.google.com/go, but fake-gcs-server doesn't actually depend on anything new in this version, so I would prefer it if a lower version was required, such as 0.18.0. I'm working around this with a fork because I already have a fork, but maybe there's a way to tell dep to override it. Either way, it seems simple enough to lower the required version in this repo. Any objections?

Originally created by @gracenoah on GitHub (Apr 13, 2018). Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/7 In Gopkg.toml, there's a dependency on ``` name = "cloud.google.com/go" version = "0.19.0" ``` and this was forcing me to upgrade cloud.google.com/go, but fake-gcs-server doesn't actually depend on anything new in this version, so I would prefer it if a lower version was required, such as 0.18.0. I'm working around this with a fork because I already have a fork, but maybe there's a way to tell dep to override it. Either way, it seems simple enough to lower the required version in this repo. Any objections?
kerem closed this issue 2026-03-15 17:47:24 +03:00
Author
Owner

@fsouza commented on GitHub (Apr 13, 2018):

Hey @gracenoah, can you try overriding it in your Gopkg.toml?

[[override]]
  name = "cloud.google.com/go"
  version = "0.18.0"
<!-- gh-comment-id:381184069 --> @fsouza commented on GitHub (Apr 13, 2018): Hey @gracenoah, can you try overriding it in your ``Gopkg.toml``? ``` [[override]] name = "cloud.google.com/go" version = "0.18.0" ```
Author
Owner

@gracenoah commented on GitHub (Apr 13, 2018):

Ah, sorry, yes, the override does work as expected. I'm pretty impressed with dep :P Feel free to close if you think that's a reasonable compromise.

<!-- gh-comment-id:381201949 --> @gracenoah commented on GitHub (Apr 13, 2018): Ah, sorry, yes, the override does work as expected. I'm pretty impressed with dep :P Feel free to close if you think that's a reasonable compromise.
Author
Owner

@fsouza commented on GitHub (Apr 13, 2018):

@gracenoah thanks for confirming! :D

<!-- gh-comment-id:381240005 --> @fsouza commented on GitHub (Apr 13, 2018): @gracenoah thanks for confirming! :D
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/fake-gcs-server#2154
No description provided.