Bug 275291 - net/py-zeroconf missing dependency
Summary: net/py-zeroconf missing dependency
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: John Hixson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-24 06:35 UTC by Stephen Hurd
Modified: 2023-12-15 15:16 UTC (History)
2 users (show)

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


Attachments
patch v1 (730 bytes, patch)
2023-11-29 09:10 UTC, Guido Falsi
madpilot: maintainer-approval? (jhixson)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Hurd freebsd_committer freebsd_triage 2023-11-24 06:35:11 UTC
The lib/python3.9/site-packages/zeroconf/_utils/asyncio.py file installed by net/py-zeroconf imports async_timeout, but devel/py-async_timeout is not a dependency, causing software that uses py-zeroconf (such as deskutils/calibre) to fail.
Comment 1 Guido Falsi freebsd_committer freebsd_triage 2023-11-29 09:10:24 UTC
Created attachment 246654 [details]
patch v1

HI,

I can confirm this issue. I noticed it while testing calibre server functionality (from deskutils/calibre).

I'm attaching a patch that adds the dependency for approval.

Thanks in advance!
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-12-15 15:14:10 UTC
A commit in branch main references this bug:

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

commit b73567fa42be40b945b81e981836ca9f1cc6a6f4
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2023-12-15 15:12:36 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2023-12-15 15:12:36 +0000

    net/py-zeroconf: Add missing dependency

    PR:             275291
    Approved by:    jhixson@ (maintainer timeout)
    MFH:            2023Q4

 net/py-zeroconf/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-12-15 15:15:11 UTC
A commit in branch 2023Q4 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=481e8d83b47c0c7a39911c65e93b823a181e4c4d

commit 481e8d83b47c0c7a39911c65e93b823a181e4c4d
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2023-12-15 15:12:36 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2023-12-15 15:14:32 +0000

    net/py-zeroconf: Add missing dependency

    PR:             275291
    Approved by:    jhixson@ (maintainer timeout)
    MFH:            2023Q4

    (cherry picked from commit b73567fa42be40b945b81e981836ca9f1cc6a6f4)

 net/py-zeroconf/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 4 Guido Falsi freebsd_committer freebsd_triage 2023-12-15 15:16:44 UTC
Patch committed with timeout.

I also merged this to quarterly, since it fixes an actual problem.

Thanks!