Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package stuck at older version #82

Open
arp242 opened this issue Oct 22, 2023 · 0 comments
Open

Package stuck at older version #82

arp242 opened this issue Oct 22, 2023 · 0 comments

Comments

@arp242
Copy link

arp242 commented Oct 22, 2023

https://gopkg.in/fsnotify.v1 lists the latest version as "v1.6.0", which is correct, but when using go get:

% go get gopkg.in/fsnotify/fsnotify.v1
go: added golang.org/x/sys v0.13.0
go: added gopkg.in/fsnotify/fsnotify.v1 v1.4.7

# I'm not sure this is supposed to work?
% go get gopkg.in/fsnotify/[email protected]
go: gopkg.in/fsnotify/[email protected]: invalid version: go.mod has non-....v1 module path "github.com/fsnotify/fsnotify" at revision v1.6.0

There's been loads of newer versions since 1.4.7, which is from Jan 2018.

I'm not entirely sure why it broke at that version, as it's from before I got involved in this project, but as far as I can tell not much changed; master branch changed to main, but that wasn't until 2022, and a few releases between that.

(gopkg.in isn't really needed any more since Go modules were added, but a quick search reveals about 1.2k repos on GitHub using the old import path, and I'm not going to update them all)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant