dep: remove broken inet.af/netaddr dependency and associated deprecated functions #2262
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey,
I am using
gomplate
as a library in another project, and noticed that builds started failing due to being unable to pull the moduleinet.af/netaddr
.It seems like the domain no longer resolves. It could be related to the fact this is a .AF domain, and there have been some payment disputes between the country NIC and registrars recently[0], and the project's new README even warns about deprecating this domain name[1].
Since the IP, IPPrefix and IPRange (and other parts of
netaddr
) have been merged into the standard librarynet/netip
, and the lack of references to these deprecated internal utility functions, I think it's safe to remove them from the code and tests.[0] https://www.reuters.com/technology/brokeaf-goes-offline-afghan-web-domains-suspended-amid-payment-dispute-2024-02-16/
[1] https://github.com/go4org/netipx