Opened 3 years ago

Closed 3 years ago

#64385 closed defect (fixed)

py-markdown needs importlib-metadata dep for py39 and less

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: py-markdown

Description

Pete 302 /\ pip check
markdown 3.3.6 requires importlib-metadata, which is not installed.
root 303 /\ port deps py38-markdown
Full Name: py38-markdown @3.3.6_0
Library Dependencies: py38-setuptools, python38

I have installed:

  py38-pip @21.3.1_0 (active) requested_variants='' platform='darwin 9' archs='noarch' date='2021-11-29T20:16:40+0100'

Installing the dependency

  py38-importlib-metadata @4.8.2_0 (active) requested_variants='' platform='darwin 9' archs='noarch' date='2022-01-07T22:38:37+0100'

solves the problem of #64370.

Change History (3)

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

solves the problem of #64370.

Not particularly: the problem in #64370 is that pango's build system is looking for things the port doesn't declare dependencies on and won't use even if it finds them.

comment:2 Changed 3 years ago by jmroot (Joshua Root)

Cc: stromnov@… removed
Keywords: leopard removed
Owner: set to stromnov
Port: py-markdown added; py38-markdown removed
Status: newassigned
Summary: pip reports that py38-markdown has one more dependencypy-markdown needs importlib-metadata dep for py39 and less

Strange since importlib.metadata was added to the stdlib in 3.8, but it does indeed declare a dependency on importlib-metadata for python<3.10.

comment:3 Changed 3 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In ac9cab9a08dd7584895a69279d06401596af3ff5/macports-ports (master):

py-markdown: correct dependencies

Closes: #64385

Note: See TracTickets for help on using tickets.