Commit f4cf91c
authored
util/resolve: adjust require of
Currently I'm getting an error over at `osv-scalibr` when trying to run
`go list` which is used by my IDE:
```
/home/jones/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.4.linux-amd64/bin/go list -json -m -u -mod=readonly all #gosetup
go: deps.dev/util/pypi@v0.0.0-00010101000000-000000000000: invalid version: unknown revision 000000000000
```
From my research, it seems that this revision is used by Go in some
situations, such as when you have a `replace` directive without a
corresponding `require` directive, though I'm still not actually sure if
that is invalid.
I am suspect though that there are direct requires for the other
`replace`'d utils which have more expected revision SHAs - ~I suspect
this might have been the result of the new package being introduced in
the same PR as it was being required, so it literally didn't exist
upstream at the time?~
I've attempted to fix this by running `go get deps.dev/util/pypi@latest`deps.dev/util/pypi (google#203)1 parent d811e36 commit f4cf91c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | | - | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments