Comments (9)
I just tried this on a fresh Ubuntu install:
$ /usr/lib/go-1.16/bin/go get -v github.com/google/gousb
go: downloading github.com/google/gousb v1.1.1
github.com/google/gousb
seems to work as expected. Can you add steps for reproducing the error and some information about the environment in which you're building? Is it possible that you're using Go 1.13, which didn't ignore +incompatible
versions? In which case I think you'll have to run go get github.com/google/gousb@v1
explicitly before you can run go get -t
. Or upgrade to Go 1.14 or higher.
from gousb.
Ah yeah that's it - current golang version available on Ubuntu 20.04 repo is 1.13
Thanks for clarifying
from gousb.
FWIW, v2.1.0+incompatible
was suddenly picked up by Github's dependabot. Any thoughts what triggers this?
from gousb.
No. Do you have steps to reproduce? If so, please open a new issue about this.
from gousb.
It's run by Github automatically so I've not tried to run reproduce it. The logs are:
...
updater | INFO <job_254573248> Checking if github.com/google/gousb 1.1.1 needs updating
proxy | 2022/01/11 20:25:04 [211] GET https://proxy.golang.org:443/github.com/google/gousb/@v/list
proxy | 2022/01/11 20:25:04 [211] 200 https://proxy.golang.org:443/github.com/google/gousb/@v/list
proxy | 2022/01/11 20:25:04 [213] GET https://proxy.golang.org:443/github.com/google/gousb/@v/v1.1.1.mod
proxy | 2022/01/11 20:25:04 [213] 200 https://proxy.golang.org:443/github.com/google/gousb/@v/v1.1.1.mod
proxy | 2022/01/11 20:25:04 [215] GET https://proxy.golang.org:443/sumdb/sum.golang.org/supported
proxy | 2022/01/11 20:25:04 [215] 410 https://proxy.golang.org:443/sumdb/sum.golang.org/supported
proxy | 2022/01/11 20:25:04 [217] GET https://sum.golang.org:443/lookup/github.com/google/[email protected]
proxy | 2022/01/11 20:25:04 [217] 200 https://sum.golang.org:443/lookup/github.com/google/[email protected]
proxy | 2022/01/11 20:25:04 [219] GET https://sum.golang.org:443/tile/8/0/x033/976.p/104
proxy | 2022/01/11 20:25:04 [219] 200 https://sum.golang.org:443/tile/8/0/x033/976.p/104
proxy | 2022/01/11 20:25:04 [222] GET https://sum.golang.org:443/tile/8/1/027
proxy | 2022/01/11 20:25:04 [223] GET https://sum.golang.org:443/tile/8/0/x007/072
proxy | 2022/01/11 20:25:04 [222] 200 https://sum.golang.org:443/tile/8/1/027
proxy | 2022/01/11 20:25:04 [223] 200 https://sum.golang.org:443/tile/8/0/x007/072
proxy | 2022/01/11 20:25:04 [225] GET https://proxy.golang.org:443/github.com/google/gousb/@v/v1.1.1.info
proxy | 2022/01/11 20:25:04 [225] 200 https://proxy.golang.org:443/github.com/google/gousb/@v/v1.1.1.info
updater | INFO <job_254573248> Latest version is 2.1.0+incompatible
updater | INFO <job_254573248> Requirements to unlock own
updater | INFO <job_254573248> Requirements update strategy
updater | INFO <job_254573248> Updating github.com/google/gousb from 1.1.1 to 2.1.0+incompatible
...
from gousb.
As far as I can tell, this second issue is related to dependabot relying on go list -m -version
to find the latest version. It seems like we'll need to add a retract
statement to the latest release to remove v2.1.0
from the list. #109 to address that issue, expect v1.1.2 to be released soon.
from gousb.
$ go list -m -versions
github.com/google/gousb v1.1.0 v1.1.1 v1.1.2
I think this should be solved. Please open a new issue if it still isn't.
from gousb.
@zagrodzki thanks!
from gousb.
$ go list -m -versions github.com/google/gousb v1.1.0 v1.1.1 v1.1.2
I think this should be solved. Please open a new issue if it still isn't.
FYI: dependabot
picked the right version for us. thank you again
from gousb.
Related Issues (20)
- Clear installation of Gosub on the Windows 10 - using msys64 HOT 3
- I can't open hp printer device with gousb HOT 7
- why connect printer return code -5? HOT 1
- Linux: How to get block devices list provided by usb stick? HOT 1
- incorrect device class HOT 2
- WinUSB drivers HOT 3
- libusb: bad access [code -3] HOT 8
- Windows: go build github.com/google/gousb: C:\Program Files\Go\pkg\tool\windows_amd64\cgo.exe: exit status 2 HOT 1
- Can't detach kernel driver. Invalid param [code -2] for iOS 16 devices HOT 5
- How to use in a Docker container without --privileged HOT 1
- CDC device HOT 5
- Cannot claim interface even when there are no other apps are using the device HOT 4
- Status of the tag v2.1.0 HOT 1
- Errors on install; macos HOT 3
- Error when WriteContext is called HOT 10
- Device detach: libusb: error [darwin_claim_interface] USBInterfaceOpen: another process has device opened for exclusive access HOT 3
- Memory Leak in CGO part HOT 1
- Memory Leak HOT 4
- Android Support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gousb.