Opened 4 years ago

Closed 4 years ago

#62362 closed defect (fixed)

py-py2app missing arm prebuilt templates (main-arm64)

Reported by: jhoyt4 Owned by: jhoyt4
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jhoyt4, jmroot (Joshua Root)
Port: py-py2app

Description

I'm getting the following error from py38-applet

error: [Errno 2] No such file or directory: b'/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/py2app/apptemplate/prebuilt/main-arm64'

Checking py2app's documentation, ARM support was added in v0.22 https://py2app.readthedocs.io/en/latest/changelog.html#py2app-0-24

They can also be found in the git repo https://github.com/ronaldoussoren/py2app/tree/master/py2app/apptemplate/prebuilt

ls /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/py2app/apptemplate/prebuilt/
main-fat            main-i386           main-ppc            main-universal      secondary-fat       secondary-i386      secondary-ppc       secondary-universal
main-fat3           main-intel          main-ppc64          main-x86_64         secondary-fat3      secondary-intel     secondary-ppc64     secondary-x86_64

Change History (8)

comment:1 Changed 4 years ago by jhoyt4

Cc: jhoyt4 added

comment:2 Changed 4 years ago by jhoyt4

missing in both py38-app and py39-app

ls /opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/py2app/apptemplate/prebuilt/
main-fat            main-i386           main-ppc            main-universal      secondary-fat       secondary-i386      secondary-ppc       secondary-universal
main-fat3           main-intel          main-ppc64          main-x86_64         secondary-fat3      secondary-intel     secondary-ppc64     secondary-x86_64

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

Cc: jmroot added

They're not present in the wheel from PyPI either:

% ls py2app-0.23-py2.py3-none-any.whl/py2app/apptemplate/prebuilt
main-fat            main-ppc            secondary-fat       secondary-ppc
main-fat3           main-ppc64          secondary-fat3      secondary-ppc64
main-i386           main-universal      secondary-i386      secondary-universal
main-intel          main-x86_64         secondary-intel     secondary-x86_64

Apparently upstream has either forgotten or chosen not to install them. You'd probably have to ask them which it is.

comment:4 Changed 4 years ago by jhoyt4

@jmroot - thank you for the quick reply.

Is there a suggested place to pose the question upstream? I can make an issue request on the github site, but that doesn't seem quite right since they have the missing parts in the git repo.

pypi.org also points you to the issue tracker.

comment:5 Changed 4 years ago by jhoyt4

it looks like someone has already started an issue ticket here: https://github.com/ronaldoussoren/py2app/issues/334

comment:6 Changed 4 years ago by jhoyt4

The missing ARM pieces were added to the upstream git hub repo yesterday. The repo owner stated in the ticket that they'll be pushing a release soon. When that happens I'll probably make up a PR to rev bump py2app to the latest.

comment:7 Changed 4 years ago by jhoyt4

comment:8 Changed 4 years ago by jhoyt4

Owner: set to jhoyt4
Resolution: fixed
Status: newclosed

In cdbc9c4f5a7adbbd71464ca97ae07c017b70b85e/macports-ports (master):

py-py2app: update to 0.24

Closes: #62362

Note: See TracTickets for help on using tickets.