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

Replace Outdated Dependencies with Built-in Go Functionality #2045

Closed
hj-johannes-lee opened this issue Jan 22, 2025 · 3 comments
Closed

Replace Outdated Dependencies with Built-in Go Functionality #2045

hj-johannes-lee opened this issue Jan 22, 2025 · 3 comments
Labels
area/v2 relates to / is being considered for v2 kind/question someone asking a question status/triage maintainers still need to look into this

Comments

@hj-johannes-lee
Copy link

hj-johannes-lee commented Jan 22, 2025

Hi,

I’ve noticed that the first two dependencies of the cli package haven’t been updated and no longer maintained. For example, go-spew hasn't had updates for about 7 years. Considering that Go now has the v+ argument for printing structs, I’m wondering if this dependency is still necessary.

  1. Are these outdated dependencies still required for cli?
  2. Could these dependencies be replaced with built-in Go functionality, considering Go’s "evolution"?

Thanks.

@hj-johannes-lee hj-johannes-lee added area/v2 relates to / is being considered for v2 kind/question someone asking a question status/triage maintainers still need to look into this labels Jan 22, 2025
@dearchap
Copy link
Contributor

-@hj-johannes-lee go-spew isnt a direct dependency. The dependency is due to the testify library. We have no plans to replace testify.

 github.com/stretchr/[email protected] github.com/davecgh/[email protected]

We made an effort to remove all dependencies from v3. As you can see from go.mod v3 has only one dependency(testify). v2 we dont have any plans to rework unless there is a security issue.

@dearchap dearchap closed this as not planned Won't fix, can't repro, duplicate, stale Feb 16, 2025
@eero-t
Copy link

eero-t commented Feb 17, 2025

Browsing through testify repo tickets, shows two open tickets on unmaintained deps:

(And several similar ones, closed as not-planned, with comments that they are kept until there's some known security exploit.)

Perhaps commenting / adding thumb-ups on those tickets would have some impact...

@dearchap
Copy link
Contributor

@eero-t Did that . Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/v2 relates to / is being considered for v2 kind/question someone asking a question status/triage maintainers still need to look into this
Projects
None yet
Development

No branches or pull requests

3 participants