The NetBSD Project

CVS log for pkgsrc/sysutils/py-psutil/PLIST.NetBSD

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / py-psutil

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Nov 3 14:33:59 2025 UTC (12 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, HEAD
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -2 lines
py-psutil: updated to 7.1.3

7.1.3

**Enhancements**

- 2667_: enforce `clang-format` on all C and header files. It is now the
  mandatory formatting style for all C sources.
- 2672_, [macOS], [BSD]: increase the chances to recognize zombie processes and
  raise the appropriate exception (`ZombieProcess`_).
- 2676_, 2678_: replace unsafe `sprintf` / `snprintf` / `sprintf_s` calls with
  `str_format()`. Replace `strlcat` / `strlcpy` with safe `str_copy` /
  `str_append`. This unifies string handling across platforms and reduces
  unsafe usage of standard string functions, improving robustness.

**Bug fixes**

- 2674_, [Windows]: `disk_usage()`_ could truncate values on 32-bit platforms,
  potentially reporting incorrect total/free/used space for drives larger than
  4GB.
- 2675_, [macOS]: `Process.status()`_ incorrectly returns "running" for 99%
  of the processes.
- 2677_, [Windows]: fix MAC address string construction in `net_if_addrs()`_.
  Previously, the MAC address buffer was incorrectly updated using a fixed
  increment and `sprintf_s`, which could overflow or misformat the
  string if the MAC length or formatting changed. Also, the final '\n' was
  inserted unnecessarily.

7.1.2

2025-10-25

**Enhancements**

- 2657_: stop publishing prebuilt Linux and Windows wheels for 32-bit Python.
  32-bit CPython is still supported, but psutil must now be built from source.
  2565_: produce wheels for free-thread cPython 3.13 and 3.14 (patch by
  Lysandros Nikolaou)

**Bug fixes**

- 2650_, [macOS]: `Process.cmdline()`_ and `Process.environ()`_ may incorrectly
  raise `NoSuchProcess`_ instead of `ZombieProcess`_.
- 2658_, [macOS]: double ``free()`` in `Process.environ()`_ when it fails
  internally. This posed a risk of segfault.
- 2662_, [macOS]: massive C code cleanup to guard against possible segfaults
  which were (not so) sporadically spotted on CI.

**Compatibility notes**

- 2657_: stop publishing prebuilt Linux and Windows wheels for 32-bit Python.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Oct 26 07:42:27 2024 UTC (2 years ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4
py-psutil: Introduce per-OS PLIST

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>