Skip to content

Commit 0355d4f

Browse files
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="https://github.com/shirou/gopsutil/commit/02f56286d39e5e08b74923227d9d3ae3c6b32042"><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="https://github.com/shirou/gopsutil/commit/1d96565ed22e74987aca0a58853a618c849b25ec"><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="https://github.com/shirou/gopsutil/commit/b1b09bc0146911007027da9775a88c2643396dfc"><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="https://github.com/shirou/gopsutil/commit/3d59eeb23d9b71eff1393cb75726f921bb9cc9af"><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="https://github.com/shirou/gopsutil/commit/97f9dfe771743ce72b8a525dbe9b14ba799bd21f"><code>97f9dfe</code></a> chore: bump power-devops/perfstat to a compatible version</li> <li><a href="https://github.com/shirou/gopsutil/commit/519169e1cb421925d041d87c6ffc7b41b3d476ef"><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="https://github.com/shirou/gopsutil/commit/84ffa6adcb24913bec809632abc1982cf2c61647"><code>84ffa6a</code></a> chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1</li> <li><a href="https://github.com/shirou/gopsutil/commit/7247909af5f6a5a2abcdcfda4444cb861cc04bad"><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="https://github.com/shirou/gopsutil/commit/f37ef4772dbcd4baa62e14fcbc05fe3257e06b41"><code>f37ef47</code></a> [cpu][mem][linux]: throw error on Readline failed</li> <li><a href="https://github.com/shirou/gopsutil/commit/2758ffc346a65bc99084e20ff3c2dee4b8ce7b58"><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>
1 parent a632f59 commit 0355d4f

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ require (
2626
github.com/mitchellh/mapstructure v1.5.0
2727
github.com/sashabaranov/go-openai v1.41.1
2828
github.com/sawka/txwrap v0.2.0
29-
github.com/shirou/gopsutil/v4 v4.25.7
29+
github.com/shirou/gopsutil/v4 v4.25.8
3030
github.com/skeema/knownhosts v1.3.1
3131
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
3232
github.com/spf13/cobra v1.10.1
@@ -78,7 +78,7 @@ require (
7878
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
7979
github.com/mailru/easyjson v0.7.7 // indirect
8080
github.com/mattn/go-isatty v0.0.20 // indirect
81-
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
81+
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
8282
github.com/rivo/uniseg v0.4.7 // indirect
8383
github.com/sirupsen/logrus v1.9.3 // indirect
8484
github.com/spf13/pflag v1.0.9 // indirect

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ github.com/photostorm/pty v1.1.19-0.20230903182454-31354506054b h1:cLGKfKb1uk0hx
137137
github.com/photostorm/pty v1.1.19-0.20230903182454-31354506054b/go.mod h1:KO+FcPtyLAiRC0hJwreJVvfwc7vnNz77UxBTIGHdPVk=
138138
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
139139
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
140-
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw=
141-
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
140+
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 h1:o4JXh1EVt9k/+g42oCprj/FisM4qX9L3sZB3upGN2ZU=
141+
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
142142
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
143143
github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
144144
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
148148
github.com/sashabaranov/go-openai v1.41.1/go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg=
149149
github.com/sawka/txwrap v0.2.0 h1:V3LfvKVLULxcYSxdMguLwFyQFMEU9nFDJopg0ZkL+94=
150150
github.com/sawka/txwrap v0.2.0/go.mod h1:wwQ2SQiN4U+6DU/iVPhbvr7OzXAtgZlQCIGuvOswEfA=
151-
github.com/shirou/gopsutil/v4 v4.25.7 h1:bNb2JuqKuAu3tRlPv5piSmBZyMfecwQ+t/ILq+1JqVM=
152-
github.com/shirou/gopsutil/v4 v4.25.7/go.mod h1:XV/egmwJtd3ZQjBpJVY5kndsiOO4IRqy9TQnmm6VP7U=
151+
github.com/shirou/gopsutil/v4 v4.25.8 h1:NnAsw9lN7587WHxjJA9ryDnqhJpFH6A+wagYWTOH970=
152+
github.com/shirou/gopsutil/v4 v4.25.8/go.mod h1:q9QdMmfAOVIw7a+eF86P7ISEU6ka+NLgkUxlopV4RwI=
153153
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
154154
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
155155
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
163163
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
164164
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
165165
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
166-
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
167-
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
166+
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
167+
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
168168
github.com/tklauser/go-sysconf v0.3.15 h1:VE89k0criAymJ/Os65CSn1IXaol+1wrsFHEB8Ol49K4=
169169
github.com/tklauser/go-sysconf v0.3.15/go.mod h1:Dmjwr6tYFIseJw7a3dRLJfsHAMXZ3nEnL/aZY+0IuI4=
170170
github.com/tklauser/numcpus v0.10.0 h1:18njr6LDBk1zuna922MgdjQuJFjrdppsZG60sHGfjso=

0 commit comments

Comments
 (0)