[GODRIVER-2831] Import failure in release v1.11.5 Created: 03/May/23  Updated: 28/Oct/23  Resolved: 03/May/23

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.11.6

Type: Task Priority: Unknown
Reporter: Qingyang Hu Assignee: Qingyang Hu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to GODRIVER-2837 Prevent Makefile targets from swallow... Closed
Documentation Changes: Not Needed
Documentation Changes Summary:

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?


 Description   

We had an import failure in release v1.11.5:

❯ 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.



 Comments   
Comment by Githook User [ 03/May/23 ]

Author:

{'name': 'Qingyang Hu', 'email': '103950869+qingyang-hu@users.noreply.github.com', 'username': 'qingyang-hu'}

Message: GODRIVER-2831 Retract v1.11.5 (#1249)
Branch: release/1.11
https://github.com/mongodb/mongo-go-driver/commit/92ee9a7e2ab2c6d65096aff783cc465a91c1b1ad

Comment by Githook User [ 03/May/23 ]

Author:

{'name': 'Qingyang Hu', 'email': '103950869+qingyang-hu@users.noreply.github.com', 'username': 'qingyang-hu'}

Message: GODRIVER-2831 Retract v1.11.5 (#1249)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/b6480d808f7e27c7317f9e8b2403ad646f6d6afe

Comment by Qingyang Hu [ 03/May/23 ]

PR: https://github.com/mongodb/mongo-go-driver/pull/1249 to retract v1.11.5 in the go.mod.

Comment by Qingyang Hu [ 03/May/23 ]

Fixed in https://github.com/mongodb/mongo-go-driver/commit/75cd8c51263c7803861093761754cf5958bc9276

Generated at Thu Feb 08 08:39:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.