Bug 263109 - www/py-flask should depend on devel/py-importlib-metadata
Summary: www/py-flask should depend on devel/py-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 Only Me
Assignee: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-07 07:15 UTC by ml
Modified: 2022-04-10 23:54 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ml 2022-04-07 07:15:39 UTC
Today I upgraded a jail of mine to 2022Q2 branch, only to discover a Flask app would no longer work.
After a brief research, I found out I needed to install py-importlib-metadata.

In fact py-flask's setup.py requires:
        "importlib-metadata; python_version < '3.10'",
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-04-07 23:41:04 UTC
A commit in branch main references this bug:

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

commit 428d3522c21d1326b7f377b629d2a3273049e119
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-04-07 11:06:01 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2022-04-07 11:06:01 +0000

    www/py-flask: Add missing DEPENDS

    PR:             263109
    Reported by:    ml@netfence.it

 www/py-flask/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
Comment 2 wen 2022-04-07 23:42:04 UTC
Fixed.
Thank you !