monkeytoolbox 1.0.0__tar.gz → 1.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,6 +7,11 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to
7
7
  the [PEP 440 version scheme](https://peps.python.org/pep-0440/#version-scheme).
8
8
 
9
9
 
10
+ ## [1.0.1] - 2026-02-03
11
+ ### Fixed
12
+ - A loose dependency specifier for the psutils dependency, which could render
13
+ monkeytoolbox uninstallable or broken. #7
14
+
10
15
  ## [1.0.0] - 2024-07-09
11
16
  This release is identical to 0.4.0.
12
17
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: monkeytoolbox
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Miscellaneous convenience utilities for Python programs
5
5
  Home-page: https://github.com/guardicode/monkeytoolbox
6
6
  License: GPLv3
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3.12
15
15
  Requires-Dist: egg-timer
16
16
  Requires-Dist: ifaddr
17
17
  Requires-Dist: monkey-types
18
- Requires-Dist: psutil (>=5.7.0)
18
+ Requires-Dist: psutil (>=7.2.2,<8.0.0)
19
19
  Requires-Dist: pywin32 ; sys_platform == "win32"
20
20
  Project-URL: Repository, https://github.com/guardicode/monkeytoolbox
21
21
  Description-Content-Type: text/markdown
@@ -1,7 +1,7 @@
1
1
  import ipaddress
2
+ from collections.abc import Iterable, Sequence
2
3
  from ipaddress import IPv4Address, IPv4Interface
3
4
  from typing import Optional
4
- from collections.abc import Iterable, Sequence
5
5
 
6
6
  import ifaddr
7
7
  import psutil
@@ -42,7 +42,7 @@ def port_is_used(
42
42
  def get_connections(
43
43
  ports: Optional[Sequence[int]] = None,
44
44
  ip_addresses: Optional[Sequence[IPv4Address]] = None,
45
- ) -> list[psutil._common.sconn]:
45
+ ) -> list[psutil._ntuples.sconn]:
46
46
  connections = psutil.net_connections()
47
47
  if ports:
48
48
  connections = [connection for connection in connections if connection.laddr.port in ports]
@@ -43,7 +43,7 @@ paths = ["monkeytoolbox", "vulture_allowlist.py"]
43
43
 
44
44
  [tool.poetry]
45
45
  name = "monkeytoolbox"
46
- version = "v1.0.0"
46
+ version = "v1.0.1"
47
47
  description = "Miscellaneous convenience utilities for Python programs"
48
48
  authors = [
49
49
  "Ilija Lazoroski <ilija.la@live.com>",
@@ -64,7 +64,7 @@ include = ["CHANGELOG.md", "README.md"]
64
64
  python = "^3.11"
65
65
  monkey-types = "*"
66
66
  egg-timer = "*"
67
- psutil = ">=5.7.0"
67
+ psutil = "^7.2.2"
68
68
  ifaddr = "*"
69
69
  pywin32 = {version = "*", markers = "sys_platform == 'win32'"}
70
70
 
File without changes
File without changes