Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2831

Import failure in release v1.11.5

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.11.6
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      We had an import failure in release v1.11.5:

      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      ❯ go get go.mongodb.org/mongo-driver@latest
      go: downloading go.mongodb.org/mongo-driver v1.11.5
      go: upgraded go.mongodb.org/mongo-driver v1.10.3 => v1.11.5
      ❯ go mod tidy
      go: finding module for package go.mongodb.org/mongo-driver/internal/assert
      loadtest imports
              go.mongodb.org/mongo-driver/mongo/options tested by
              go.mongodb.org/mongo-driver/mongo/options.test imports
              go.mongodb.org/mongo-driver/internal/assert: module go.mongodb.org/mongo-driver@latest found (v1.11.5), but does not contain package go.mongodb.org/mongo-driver/internal/assert 

      This is caused by changestreamoptions_test.go, which uses a different assert package location than the location in the release/1.11 branch.

            Assignee:
            qingyang.hu@mongodb.com Qingyang Hu
            Reporter:
            qingyang.hu@mongodb.com Qingyang Hu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: