Bug 269858 - sysutils/py-salt: runtime conflict with py39-importlib-metadata
Summary: sysutils/py-salt: runtime conflict with py39-importlib-metadata
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Kirill Ponomarev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-27 19:51 UTC by Alan Somers
Modified: 2023-03-21 15:16 UTC (History)
3 users (show)

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


Attachments
Fix py-salt in the presence of py-importlib-metadata (1.66 KB, patch)
2023-02-27 19:51 UTC, Alan Somers
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Somers freebsd_committer freebsd_triage 2023-02-27 19:51:55 UTC
Created attachment 240461 [details]
Fix py-salt in the presence of py-importlib-metadata

Salt 3005.1 has a runtime conflict with py39-importlib-metadata-6.0.0.  Though it doesn't depend on it, the mere presence of importlib-metadata causes salt_minion to crash when starting.  The attached patch fixes the problem.

Upstream issue: https://github.com/saltstack/salt/issues/62851
Patch source: https://github.com/Foxboron/archlinux-pkgbuilds/commit/045bd1404c9383d4b37ec4ac5c7da2b168b87c35
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-03-21 15:06:59 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=97d1d164cab342554bc413f269bab95752d3e704

commit 97d1d164cab342554bc413f269bab95752d3e704
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2023-03-21 15:02:58 +0000
Commit:     Brad Davis <brd@FreeBSD.org>
CommitDate: 2023-03-21 15:05:28 +0000

    sysutils/py-salt: fix runtime conflict with py39-importlib-metadata

    PR:             269858
    Approved by:    maintainer timeout

 sysutils/py-salt/Makefile                          |  1 +
 .../files/patch-salt_utils_entrypoints.py (new)    | 27 ++++++++++++++++++++++
 2 files changed, 28 insertions(+)