Bug 267133 - net/py-trio: Add missing dependency: exceptiongroup (Python < 3.11) since 0.22.0
Summary: net/py-trio: Add missing dependency: exceptiongroup (Python < 3.11) since 0.22.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Emanuel Haupt
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2022-10-16 23:35 UTC by freebsd
Modified: 2022-11-14 15:12 UTC (History)
3 users (show)

See Also:
koobs: maintainer-feedback? (ehaupt)
koobs: merge-quarterly?


Attachments
Add runtime & test dependency on "exceptiongroup" (1.19 KB, patch)
2022-10-16 23:35 UTC, freebsd
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd 2022-10-16 23:35:13 UTC
Created attachment 237388 [details]
Add runtime & test dependency on "exceptiongroup"

"trio" 0.22.0 needs "exceptiongroup" package, backported from python 3.11 ...

  https://trio.readthedocs.io/en/latest/history.html#trio-0-22-0-2022-09-28

  Replace MultiError with (Base)ExceptionGroup #2211
  https://github.com/python-trio/trio/issues/2211

  https://github.com/python-trio/trio/pull/2213


Attached is a patch which adds ">=1.0.0rc9" version dependency; bumps PORTREVISION.

The "trio" requirements also note that "exceptiongroup" is to be used when "python < 3.11". How does one note that for a dependency in the Makefile?
Comment 1 Emanuel Haupt freebsd_committer freebsd_triage 2022-11-14 15:02:28 UTC
I'm on it. Sorry for the delay.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-11-14 15:11:26 UTC
A commit in branch main references this bug:

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

commit ee1cad90ea2430c6148eed8c11e841a4360b5e03
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-11-14 15:09:51 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-11-14 15:09:57 +0000

    net/py-trio: Add missing dependency

    Add missing dependency (exceptiongroup), backported from python 3.11.

    PR:             267133
    Reported by:    parv.0zero9+freebsd@gmail.com

 net/py-trio/Makefile | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-11-14 15:12:27 UTC
A commit in branch 2022Q4 references this bug:

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

commit 922f4a85e95bccf9e0524ab37bf8e694ae0919c4
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-11-14 15:09:51 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-11-14 15:10:31 +0000

    net/py-trio: Add missing dependency

    Add missing dependency (exceptiongroup), backported from python 3.11.

    PR:             267133
    Reported by:    parv.0zero9+freebsd@gmail.com

    (cherry picked from commit ee1cad90ea2430c6148eed8c11e841a4360b5e03)

 net/py-trio/Makefile | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
Comment 4 Emanuel Haupt freebsd_committer freebsd_triage 2022-11-14 15:12:51 UTC
Committed, thanks for the patience.