Syseggrecipe

Latest version: v1.5.1

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

Scan your dependencies

Page 1 of 3

1.6

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

- Nothing changed yet.

1.5.1

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

- Added a little bit of extra logging. for 1.5's feature.
[reinout]

1.5

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

- If a package isn't found, it sometimes only is a matter of a missing
``*.egg-info`` file. Like ubuntu, that misses the egg-info file for mapnik,
even though mapnik itself is installed.

We now attempt to import such a package (simply using the package name) and
use the directory it is installed in, if found. Note: the package name might
not be a valid import name. Support might have to be added for corner cases.
[reinout]

1.4

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

- We now also find pip-installed packages (which end in
``.dist-info``). (Support added by Olivier Bornet, thanks!)

1.3

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

- Fixed bug: ``%S`` instead of ``%s`` (lowercase) in a log message. You'd get
a ``ValueError: unsupported format character in recipe.py`` if you got hit
by the bug (which only happens in a corner case).

1.2

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

- Using ``os.path.lexists()`` instead of ``os.path.exists()``, this one
returns True also if there's a symlink that leads nowhere. ``exists()``
follows the symlink so returns False for broken symlinks. In our case that
means that the broken symlink isn't removed so that the subsequent creation
of a new symlink fails as the filename is already in use. Fixes 3.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.