Bump github.com/shirou/gopsutil/v4 from 4.25.7 to 4.25.8 (#2343)

Bumps
[github.com/shirou/gopsutil/v4](https://github.com/shirou/gopsutil) from
4.25.7 to 4.25.8.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/shirou/gopsutil/releases">github.com/shirou/gopsutil/v4's
releases</a>.</em></p>
<blockquote>
<h2>v4.25.8</h2>
<!-- raw HTML omitted -->
<h1>Important Change</h1>
<p>Starting from this release, <code>VirtualMemoryStat.Used</code> on
Linux is now calculated based on <code>MemAvailable</code> in
<code>meminfo</code>. This may cause a difference of approximately 6–10%
compared to the previous calculation.</p>
<p>To address this, we have introduced an opt-out mechanism. You can
disable the new calculation by setting the context key
<code>WillBeDeletedOptOutMemAvailableCalc</code> to <code>true</code>.
Please note that this option is undocumented and <strong>will be removed
in six months</strong> (Feb. 2026).</p>
<p>For more details, see <a
href="https://redirect.github.com/shirou/gopsutil/issues/1873">#1873</a>
and <a
href="https://redirect.github.com/shirou/gopsutil/issues/1882">#1882</a>.</p>
<h2>What's Changed</h2>
<h3>cpu</h3>
<ul>
<li>Do not return an error on unknown CPU stepping by <a
href="https://github.com/pgimalac"><code>@​pgimalac</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1895">shirou/gopsutil#1895</a></li>
<li>Remove common test helper to skip tests by <a
href="https://github.com/rosstimothy"><code>@​rosstimothy</code></a> in
<a
href="https://redirect.github.com/shirou/gopsutil/pull/1894">shirou/gopsutil#1894</a></li>
<li>feat(cpu): add Neoverse-V2/* other models by <a
href="https://github.com/gyuho"><code>@​gyuho</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1902">shirou/gopsutil#1902</a></li>
<li>[cpu][mem][linux]: throw error on Readline failed by <a
href="https://github.com/shirou"><code>@​shirou</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1908">shirou/gopsutil#1908</a></li>
</ul>
<h3>disk</h3>
<ul>
<li>[disk][process][freebsd]: remove binary.go from common by <a
href="https://github.com/shirou"><code>@​shirou</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1907">shirou/gopsutil#1907</a></li>
</ul>
<h3>mem</h3>
<ul>
<li>[mem][linux]: Used calculated from Total and Available by <a
href="https://github.com/shirou"><code>@​shirou</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1882">shirou/gopsutil#1882</a></li>
</ul>
<h3>process</h3>
<ul>
<li>process: Fix data race on darwin by <a
href="https://github.com/prashantv"><code>@​prashantv</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1901">shirou/gopsutil#1901</a></li>
</ul>
<h3>Other Changes</h3>
<ul>
<li>chore: enable fatcontext linter by <a
href="https://github.com/mmorel-35"><code>@​mmorel-35</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1885">shirou/gopsutil#1885</a></li>
<li>chore: enable time-date and time-equal rules from revive by <a
href="https://github.com/mmorel-35"><code>@​mmorel-35</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1891">shirou/gopsutil#1891</a></li>
<li>Fix: use compatible perfstat version to fix aix cgo builds by <a
href="https://github.com/gremat"><code>@​gremat</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1910">shirou/gopsutil#1910</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/rosstimothy"><code>@​rosstimothy</code></a>
made their first contribution in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1894">shirou/gopsutil#1894</a></li>
<li><a href="https://github.com/prashantv"><code>@​prashantv</code></a>
made their first contribution in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1901">shirou/gopsutil#1901</a></li>
<li><a href="https://github.com/gyuho"><code>@​gyuho</code></a> made
their first contribution in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1902">shirou/gopsutil#1902</a></li>
<li><a href="https://github.com/gremat"><code>@​gremat</code></a> made
their first contribution in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1910">shirou/gopsutil#1910</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/shirou/gopsutil/compare/v4.25.7...v4.25.8">https://github.com/shirou/gopsutil/compare/v4.25.7...v4.25.8</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="02f56286d3"><code>02f5628</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1910">#1910</a>
from gremat/fix/use-compatible-perfstat-version-to-f...</li>
<li><a
href="1d96565ed2"><code>1d96565</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1891">#1891</a>
from mmorel-35/revive/time</li>
<li><a
href="b1b09bc014"><code>b1b09bc</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1907">#1907</a>
from shirou/feat/remove_binary_go_file</li>
<li><a
href="3d59eeb23d"><code>3d59eeb</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1885">#1885</a>
from mmorel-35/fatcontext</li>
<li><a
href="97f9dfe771"><code>97f9dfe</code></a>
chore: bump power-devops/perfstat to a compatible version</li>
<li><a
href="519169e1cb"><code>519169e</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1909">#1909</a>
from shirou/dependabot/go_modules/github.com/stretch...</li>
<li><a
href="84ffa6adcb"><code>84ffa6a</code></a>
chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1</li>
<li><a
href="7247909af5"><code>7247909</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1908">#1908</a>
from shirou/feat/throw_error_on_readline_failed</li>
<li><a
href="f37ef4772d"><code>f37ef47</code></a>
[cpu][mem][linux]: throw error on Readline failed</li>
<li><a
href="2758ffc346"><code>2758ffc</code></a>
[disk][process][freebsd]: remove binary.go from common</li>
<li>Additional commits viewable in <a
href="https://github.com/shirou/gopsutil/compare/v4.25.7...v4.25.8">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/shirou/gopsutil/v4&package-manager=go_modules&previous-version=4.25.7&new-version=4.25.8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2025-09-12 09:23:01 -07:00 committed by GitHub
parent a632f59cde
commit 0355d4fda9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 8 deletions

4
go.mod
View file

@ -26,7 +26,7 @@ require (
github.com/mitchellh/mapstructure v1.5.0
github.com/sashabaranov/go-openai v1.41.1
github.com/sawka/txwrap v0.2.0
github.com/shirou/gopsutil/v4 v4.25.7
github.com/shirou/gopsutil/v4 v4.25.8
github.com/skeema/knownhosts v1.3.1
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
github.com/spf13/cobra v1.10.1
@ -78,7 +78,7 @@ require (
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/spf13/pflag v1.0.9 // indirect

12
go.sum
View file

@ -137,8 +137,8 @@ github.com/photostorm/pty v1.1.19-0.20230903182454-31354506054b h1:cLGKfKb1uk0hx
github.com/photostorm/pty v1.1.19-0.20230903182454-31354506054b/go.mod h1:KO+FcPtyLAiRC0hJwreJVvfwc7vnNz77UxBTIGHdPVk=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw=
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 h1:o4JXh1EVt9k/+g42oCprj/FisM4qX9L3sZB3upGN2ZU=
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII=
@ -148,8 +148,8 @@ github.com/sashabaranov/go-openai v1.41.1 h1:zf5tM+GuxpyiyD9XZg8nCqu52eYFQg9OOew
github.com/sashabaranov/go-openai v1.41.1/go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg=
github.com/sawka/txwrap v0.2.0 h1:V3LfvKVLULxcYSxdMguLwFyQFMEU9nFDJopg0ZkL+94=
github.com/sawka/txwrap v0.2.0/go.mod h1:wwQ2SQiN4U+6DU/iVPhbvr7OzXAtgZlQCIGuvOswEfA=
github.com/shirou/gopsutil/v4 v4.25.7 h1:bNb2JuqKuAu3tRlPv5piSmBZyMfecwQ+t/ILq+1JqVM=
github.com/shirou/gopsutil/v4 v4.25.7/go.mod h1:XV/egmwJtd3ZQjBpJVY5kndsiOO4IRqy9TQnmm6VP7U=
github.com/shirou/gopsutil/v4 v4.25.8 h1:NnAsw9lN7587WHxjJA9ryDnqhJpFH6A+wagYWTOH970=
github.com/shirou/gopsutil/v4 v4.25.8/go.mod h1:q9QdMmfAOVIw7a+eF86P7ISEU6ka+NLgkUxlopV4RwI=
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/skeema/knownhosts v1.3.1 h1:X2osQ+RAjK76shCbvhHHHVl3ZlgDm8apHEHFqRjnBY8=
@ -163,8 +163,8 @@ github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
github.com/tklauser/go-sysconf v0.3.15 h1:VE89k0criAymJ/Os65CSn1IXaol+1wrsFHEB8Ol49K4=
github.com/tklauser/go-sysconf v0.3.15/go.mod h1:Dmjwr6tYFIseJw7a3dRLJfsHAMXZ3nEnL/aZY+0IuI4=
github.com/tklauser/numcpus v0.10.0 h1:18njr6LDBk1zuna922MgdjQuJFjrdppsZG60sHGfjso=