Py2app

Latest version: v0.28.8

Safety actively analyzes 688735 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 11

0.27

-----------

* 377: The qt5 and qt6 recipes caused a py2app crash when
the PyQt5 or PyQt6 is not installed.

* 401: Fix incompatibility with setuptools 60.7 and later

* 391: Drop usage of tempfile.mktemp

* 387: Add ``site.ENABLE_USER_SITE`` in the site.py file
for applications (value is always ``False``).

0.26.1

-------------

* 374: Actually ship the "old" stub executables introduced in version 0.26

0.26

-----------

* Stub executables were recompiled on macOS 11

This means support for light mode/dark mode should now work out of the
box.

The old stub executables are still used when detecting that Tkinter
is used with an old build of Tk.

* 1: Include ".egg-info" and ".dist-info" information in the bundled application

This fixes any python package that uses ``pkg_resources`` to look for
specific distributions.

* ``py2app.filters.not_stdlib_filter`` now knows about Python's "venv"

* 368: Add recipe "detect_dunder_file"

This recipe will ensure that a Python package is stored outside
of site-packages.zip when a module in that package uses the
``__file__`` variable.

This variable is most commonly used to load resources stored in
the package (instead of the newer ``importlib.resources`` and ``pkg_resources``
libraries).

* 339: Add recipe for pydantic

The recipe is needed because pydantic uses Cython to compile
all sources (including the package ``__init__``) and therefore
hides imports from the dependency analyzer.

* 338: Add "imageio_ffmpeg" to autopackages

* PR367: Add recipes for pandas, pylsp, and zmq

* PR367: Add docutils and pylint to autopackages

PR by Ryan Clary (mrclary on GitHub)

* 344: Invocation of codesign on the whole bundle sometimes fails

Py2app will now try this a number of times before giving up. This
is at best a workaround for and doesn't completely fix the problem.

* 370: py2app now works with Python 3.10

Python 3.10 no longer exports a (private) symbol used by the py2app
stub executable. Switched to a public API to accomplish the same task where
available.

* 110: Add recipe for SQLAlchemy

The recipe includes all dialects and connectors, including implicit
dependencies, because SQLAlchemy uses ``__import__`` to load dependencies.

* 328: Add recipe for gcloud

* 195: Add ``USER_BASE``, ``getuserbase()`` and ``getusersitepackages()`` to
py2app's version of ``site.py``.

* 184: Add recipe for 'ssl'

This recipe is only used for Python 3.4 or later and ensures that the
CA bundle used by Python's ssl module is included in the app bundle and OpenSSL
is configured to look for that bundle in the application bundle.

* 371: change default error message on launch problems

The default error message shown when the application cannot be launched is now
slightly more useful and refers the
`py2app debug page <https://py2app.readthedocs.io/en/latest/debugging.html>`_.

* 345, 169: Adjust qt5 and qt6 recipes for non-PyPI installations

The qt5 and qt6 recipes now should work when the Qt installation prefix
is outside of the PyQt package, for example when PyQt was installed through
homebrew.

I've tested this for PyQt5 and made the same change to the PyQt6 recipe, although
I haven't tested that change.

0.25

-----------

* 358: Add recipe for multiprocessing

* PR363: Add recipe for platformdirs

PR by Ryan Clary (mrclary on GitHub)

* PR353: Add recipe for sphinx

PR by Ryan Clary (mrclary on GitHub)

* PR352: Fix for using ipython

PR by Ryan Clary (mrclary on GitHub)

* PR351: Tweak the matplotlib recipe

PR by Ryan Clary (mrclary on GitHub)

* PR348: Fix for checking for dead symlinks links in py2app

PR by Oliver Cordes (ocordes on GitHub)

* 354: Fix buggy "autopackages" and "automissing" recipes

* 350: Add sentencepiece to the autopackages list

* 359: Add recipe for PyQt6

* 349: Add recipe for OpenCV (opencv-python, ``import cv2``)

* PR365: Add RTree recipe

PR by Ryan Clary (mrclary on GitHub)

0.24

-----------

* Consolidate recipes that just include a package
as is into a single recipe to reduce code complexity.

* Consolidate recipes that just mark imports as expected
missing into a single recipe to reduce code complexity.

* 334: Include binary stubs for Universal 2 and arm64 binaries in the archives

The files were in the repository, but were excluded from the source
and wheel archives.

0.23

-----------

* 315: Stub executables have an LC_RPATH that points to the Frameworks folder

PR by Aleksandar Topuzović (atopuzov)

* 322: Port wxPython examples to 4.0

PR by Hamish Mcintyre-Bhatty (hamishmb)

* 314: Don't use Image.DEBUG in the PIL recipy, that attribute is not longer valid

PR by Aleksandar Topuzović

* 320: Process "loader_path" in load commands

A popular pattern in C extensions with bindings to C library on PyPI is to
copy those C libraries into the wheel and reference those using
an "loader_path" linker command in the C extension. Until this release
py2app could not process those linker commands correctly.

* 298: Add recipe for pycryptodome

* 282: Add recipe for h5py

* 283: Add recipe for tensorflow

The recipe just includes the entire package into the generated app bundle,
I haven't checked yet if there is a way to reduce the size of this
package (which is rather huge).

Page 2 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.