Opened 12 months ago

Closed 12 months ago

Last modified 12 months ago

#68764 closed defect (fixed)

py-poppler-qt5 @21.3.0: only installs documentation and examples

Reported by: perojonsson (Per Jonsson) Owned by: dliessi (Davide Liessi)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: dliessi (Davide Liessi)
Port: py-poppler-qt5

Description

Trying to install py310-poppler-qt5 on a MacBook Air M2 recently updated to MacOS Sonoma, the port only installs the following (output of port contents py310-poppler-qt5):

  /opt/local/share/doc/py310-poppler-qt5/ChangeLog
  /opt/local/share/doc/py310-poppler-qt5/LICENSE
  /opt/local/share/doc/py310-poppler-qt5/README.rst
  /opt/local/share/examples/py310-poppler-qt5/demo.py
  /opt/local/share/examples/py310-poppler-qt5/merge-annotations.py

Trying to run the demo.py with the python3.10 from MacPorts results in:

Traceback (most recent call last):
  File "/opt/local/share/examples/py310-poppler-qt5/demo.py", line 3, in <module>
    import popplerqt5
ModuleNotFoundError: No module named 'popplerqt5'

Looking at https://ports.macports.org/port/py310-poppler-qt5/details/ port Health for older targets, approx 25 additional files was installed under /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/. For Sonoma x86_64 the same number of files I see are listed.

Error was found when investigating why freescobaldi reported that it could not load poppler-qt5.

Change History (4)

comment:1 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)

This also affects all OS versions of py311-poppler-qt5.

This looks like the same problem as comment:ticket:68643:9.

comment:2 Changed 12 months ago by perojonsson (Per Jonsson)

After investigation: Yes, it is the same problem.

Have submitted pull-request for this: https://github.com/macports/macports-ports/pull/21523

comment:3 Changed 12 months ago by perojonsson (Per Jonsson)

Resolution: fixed
Status: assignedclosed

In 9d7b8fe48c5c4be4060af9961df2e81c6a37e4f2/macports-ports (master):

py-poppler-qt5: unbreak installation for python 3.7 and later

  • set python.pep517 to no so that install is done properly

Closes: #68764

comment:4 Changed 12 months ago by jmroot (Joshua Root)

Note that setup.py install is deprecated and will be removed in a future version of setutools.

Version 0, edited 12 months ago by jmroot (Joshua Root) (next)
Note: See TracTickets for help on using tickets.