Bug 281337 - security/nyx: crashing with Python >= 3.11
Summary: security/nyx: crashing with Python >= 3.11
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Carlo Strub
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-07 11:28 UTC by Manuel Wiesinger
Modified: 2024-11-18 07:26 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (cs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Wiesinger freebsd_committer freebsd_triage 2024-09-07 11:28:44 UTC
The upstream release is not compatible with Python 3.11. This incompatibility causes crashes during normal usage (e.g., when scrolling or viewing connections). There's a (two-line) fix available.

Upstream PR:
https://github.com/torproject/nyx/issues/63

Patch fixing the crashes:
https://github.com/torproject/nyx/commit/dcaddf2ab7f9d2ef8649f98bb6870995ebe0b893
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-11-18 07:26:11 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=14bfcede4d86c65fe810fb644a0f1f8449fe4703

commit 14bfcede4d86c65fe810fb644a0f1f8449fe4703
Author:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
AuthorDate: 2024-11-18 07:22:56 +0000
Commit:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2024-11-18 07:22:56 +0000

    security/nyx: fix runtime with python 3.11

    switch to pep517 while here

    taken from upstream commit:
    https://github.com/torproject/nyx/commit/dcaddf2ab

    PR:             281337
    Reported by:    mdw
    Approved by:    maintainer timeout

 security/nyx/Makefile                                    |  6 ++++--
 security/nyx/files/patch-nyx_panel_____init____.py (new) | 11 +++++++++++
 security/nyx/files/patch-test_____init____.py (new)      | 11 +++++++++++
 3 files changed, 26 insertions(+), 2 deletions(-)
Comment 2 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2024-11-18 07:26:32 UTC
Committed, thank you!