pip tells me: root@deblndw011x1j:/usr/ports/www/py-flask # pip check flask 2.1.0 requires importlib-metadata, which is not installed. click 8.0.3 requires importlib-metadata, which is not installed. because both https://cgit.freebsd.org/ports/tree/devel/py-click/Makefile#n36 and https://cgit.freebsd.org/ports/tree/devel/py-click/Makefile?h=2022Q2 miss dependency on devel/py-importlib-metadata. Apply the same hunk as in www/py-flask: https://cgit.freebsd.org/ports/tree/www/py-flask/Makefile#n32 to BOTH branches.
Ref from Python 3.10: https://docs.python.org/3/library/importlib.metadata.html
Created attachment 235521 [details] Git-formatted patch Here is a patch against main. Please apply against main and 2022Q3.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=631cbf11b6594c79aaa85f97d4cdc27f4d65a66b commit 631cbf11b6594c79aaa85f97d4cdc27f4d65a66b Author: Michael Osipov <michael.osipov@siemens.com> AuthorDate: 2022-07-28 09:16:44 +0000 Commit: Kurt Jaeger <pi@FreeBSD.org> CommitDate: 2022-07-28 09:16:44 +0000 devel/py-click: add missing dependency for python < 3.10 - see https://docs.python.org/3/library/importlib.metadata.html PR: 264043 Approved: robak (maintainer timeout) devel/py-click/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
A commit in branch 2022Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=399486c657b0053ddc7c41b985aaecf6d134ecee commit 399486c657b0053ddc7c41b985aaecf6d134ecee Author: Michael Osipov <michael.osipov@siemens.com> AuthorDate: 2022-07-28 09:16:44 +0000 Commit: Kurt Jaeger <pi@FreeBSD.org> CommitDate: 2022-07-28 09:27:23 +0000 devel/py-click: add missing dependency for python < 3.10 - see https://docs.python.org/3/library/importlib.metadata.html PR: 264043 Approved: robak (maintainer timeout) (cherry picked from commit 631cbf11b6594c79aaa85f97d4cdc27f4d65a66b) devel/py-click/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
Fantastic, thank you.