Giter VIP home page Giter VIP logo

Comments (9)

zagrodzki avatar zagrodzki commented on June 2, 2024

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.

willmcenaney avatar willmcenaney commented on June 2, 2024

Ah yeah that's it - current golang version available on Ubuntu 20.04 repo is 1.13

Thanks for clarifying

from gousb.

mythi avatar mythi commented on June 2, 2024

FWIW, v2.1.0+incompatible was suddenly picked up by Github's dependabot. Any thoughts what triggers this?

from gousb.

zagrodzki avatar zagrodzki commented on June 2, 2024

No. Do you have steps to reproduce? If so, please open a new issue about this.

from gousb.

mythi avatar mythi commented on June 2, 2024

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.

zagrodzki avatar zagrodzki commented on June 2, 2024

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.

zagrodzki avatar zagrodzki commented on June 2, 2024
$ 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.

mythi avatar mythi commented on June 2, 2024

@zagrodzki thanks!

from gousb.

mythi avatar mythi commented on June 2, 2024
$ 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: dependabotpicked the right version for us. thank you again

from gousb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.