py2app icon indicating copy to clipboard operation
py2app copied to clipboard

released version of py2app incompatible with 3.14

Open glyph opened this issue 1 month ago • 4 comments

I can't upgrade any of my apps to use python 3.14 because attempting to do so results in an exception.

I filed this against modulegraph because that's where the bug is, but filing here because maybe the actual resolution is to start using modulegraph2?

https://github.com/ronaldoussoren/modulegraph/issues/60

glyph avatar Oct 30 '25 02:10 glyph

The head of the v0.28-branch branch is as of now compabible with Python 3.14.

I want to do a number of additional tests because I've changed a number of recipes to deal with the pending removal of pkg_resources. Changes like those need more manual testing because the py2app test suite does not cover these.

ronaldoussoren avatar Nov 25 '25 21:11 ronaldoussoren

@ronaldoussoren would attempting test releases of my projects be helpful to validate that removal? I think zope.interface just got rid of the hard dependency so it may be removed entirely from my packages now…

glyph avatar Nov 25 '25 21:11 glyph

I've just pushed out py2app 0.28.9, which should work fine with 3.14 and without pkg_resources (due to using different code paths in recent enough python versions).

I'll push out a new release when new issues crop up. That should happen sooner than the huge gap between this release and the previous (fingers crossed).

ronaldoussoren avatar Nov 29 '25 12:11 ronaldoussoren

FYI, this is still happening:

…/lib/python3.14/site-packages/py2app/util.py:30: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.

glyph avatar Nov 30 '25 20:11 glyph

Despite the aforementioned warning, it seems to be working great with 3.14, so I'm going to close this as it's in production for me for a week now :)

glyph avatar Dec 09 '25 21:12 glyph