Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Feb 20, 2025

This PR contains the following updates:

Package Change Age Confidence
psutil ^6.0.0 -> ^7.0.0 age confidence

Release Notes

giampaolo/psutil (psutil)

v7.1.0

Compare Source

=====

2025-09-17

Enhancements

  • 2581_, [Windows]: publish ARM64 wheels. (patch by Matthieu Darbois)
  • 2571_, [FreeBSD]: Dropped support for FreeBSD 8 and earlier. FreeBSD 8 was
    maintained from 2009 to 2013.
  • 2575_: introduced dprint CLI tool to format .yml and .md files.

Bug fixes

  • 2473_, [macOS]: Fix build issue on macOS 11 and lower.
  • 2494_, [Windows]: All APIs dealing with paths, such as
    Process.memory_maps(), Process.exe() and Process.open_files()_ does
    not properly handle UNC paths. Paths such as \\??\\C:\\Windows\\Temp and
    '\\Device\\HarddiskVolume1\\Windows\\Temp' are now converted to
    C:\\Windows\\Temp. (patch by Ben Peddell)
  • 2506_, [Windows]: Windows service APIs had issues with unicode services using
    special characters in their name.
  • 2514_, [Linux]: Process.cwd()_ sometimes fail with FileNotFoundError due
    to a race condition.
  • 2526_, [Linux]: Process.create_time(), which is used to univocally
    identify a process over time, is subject to system clock updates, and as such
    can lead to Process.is_running()
    returning a wrong result. A monotonic
    creation time is now used instead. (patch by Jonathan Kohler)
  • 2528_, [Linux]: Process.children()_ may raise PermissionError. It will
    now raise AccessDenied_ instead.
  • 2540_, [macOS]: boot_time()_ is off by 45 seconds (C precision issue).
  • 2541_, 2570_, 2578_ [Linux], [macOS], [NetBSD]: Process.create_time()_ does
    not reflect system clock updates.
  • 2542_: if system clock is updated Process.children()_ and
    Process.parent()_ may not be able to return the right information.
  • 2545_: [Illumos]: Fix handling of MIB2_UDP_ENTRY in net_connections()_.
  • 2552_, [Windows]: boot_time()_ didn't take into account the time spent
    during suspend / hibernation.
  • 2560_, [Linux]: Process.memory_maps()_ may crash with IndexError on
    RISCV64 due to a malformed /proc/{PID}/smaps file. (patch by Julien
    Stephan)
  • 2586_, [macOS], [CRITICAL]: fixed different places in C code which can
    trigger a segfault.
  • 2604_, [Linux]: virtual_memory()_ "used" memory does not match recent
    versions of free CLI utility. (patch by Isaac K. Ko)
  • 2605_, [Linux]: psutil.sensors_battery() reports a negative amount for
    seconds left.
  • 2607_, [Windows]: WindowsService.description() method may fail with
    ERROR_NOT_FOUND. Now it returns an empty string instead.
  • 2610:, [macOS], [CRITICAL]: fix cpu_freq()_ segfault on ARM architectures.

Compatibility notes

  • 2571_: dropped support for FreeBSD 8 and earlier.

v7.0.0

Compare Source

=====

2025-02-13

Enhancements

  • 669_, [Windows]: net_if_addrs()_ also returns the broadcast address
    instead of None.
  • 2480_: Python 2.7 is no longer supported. Latest version supporting Python
    2.7 is psutil 6.1.X. Install it with: pip2 install psutil==6.1.*.
  • 2490_: removed long deprecated Process.memory_info_ex() method. It was
    deprecated in psutil 4.0.0, released 8 years ago. Substitute is
    Process.memory_full_info().

Bug fixes

  • 2496_, [Linux]: Avoid segfault (a cPython bug) on Process.memory_maps()
    for processes that use hundreds of GBs of memory.
  • 2502_, [macOS]: virtual_memory()_ now relies on host_statistics64
    instead of host_statistics. This is the same approach used by vm_stat
    CLI tool, and should grant more accurate results.

Compatibility notes

  • 2480_: Python 2.7 is no longer supported.
  • 2490_: removed long deprecated Process.memory_info_ex() method.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/psutil-7.x branch from 628594e to 86d69f9 Compare September 24, 2025 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants